unity-tweak-tool crashed with dbus.exceptions.DBusException in call_blocking(): org.freedesktop.DBus.Error.Spawn.ChildExited: Process /usr/bin/unity-tweak-tool exited with status 1

Bug #1168738 reported by klaipedetis
104
This bug affects 16 people
Affects Status Importance Assigned to Milestone
Unity Tweak Tool
Fix Released
Medium
J Phani Mahesh
unity-tweak-tool (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

crashed after load

ProblemType: Crash
DistroRelease: Ubuntu 13.04
Package: unity-tweak-tool 0.0.5-0~119~raring1 [origin: LP-PPA-freyja-dev-unity-tweak-tool-daily]
ProcVersionSignature: Ubuntu 3.8.0-18.28-generic 3.8.6
Uname: Linux 3.8.0-18-generic i686
NonfreeKernelModules: wl
ApportVersion: 2.9.2-0ubuntu8
Architecture: i386
CrashDB: {"impl": "launchpad", "project": "unity-tweak-tool"}
Date: Sat Apr 13 22:11:26 2013
EcryptfsInUse: Yes
ExecutablePath: /usr/bin/unity-tweak-tool
InstallationDate: Installed on 2013-04-13 (0 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Alpha i386 (20130402.1)
InterpreterPath: /usr/bin/python3.3
MarkForUpload: True
PackageArchitecture: all
ProcCmdline: /usr/bin/python3 /usr/bin/unity-tweak-tool
PythonArgs: ['/usr/bin/unity-tweak-tool']
SourcePackage: unity-tweak-tool
Title: unity-tweak-tool crashed with dbus.exceptions.DBusException in call_blocking(): org.freedesktop.DBus.Error.Spawn.ChildExited: Process /usr/bin/unity-tweak-tool exited with status 1
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

Revision history for this message
klaipedetis (voron-68) wrote :
Revision history for this message
J Phani Mahesh (phanimahesh) wrote :

We had another user report exactly the same bug, but later reported that the bug magically fixed itself.
Also, I have not yet figured out what might have caused this.

Can you delete the folder ~/.config/unity-tweak-tool and try to open the application again? If the application crashes and a file debug.log is generated in ~/.config/unity-tweak-tool , please add it as an attachment to this bug report.

information type: Private → Public
Changed in unity-tweak-tool:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Liam Joseph Mania (liamlemage) wrote :

I encountered this bug just 20 minutes ago, purged, reinstalled, no fix.

Revision history for this message
Michael Blennerhassett (mjblenner) wrote :

I far as I can tell, this is caused by ~/.config/unity-tweak-tool/pid.lockfile not being deleted on exit. After a while the pid in that file can be another random process, and trying to connect to it on startup as a unity-tweak-tool process will crash.

Workaround is to manually delete ~/.config/unity-tweak-tool/pid.lockfile when this happens

Revision history for this message
Michael Blennerhassett (mjblenner) wrote :

After a quick look at the code, something like this patch works for me, but I haven't tested it much yet.

Revision history for this message
Nick Preston (nick865onyx) wrote : Re: [Bug 1168738] Re: unity-tweak-tool crashed with dbus.exceptions.DBusException in call_blocking(): org.freedesktop.DBus.Error.Spawn.ChildExited: Process /usr/bin/unity-tweak-tool exited with status 1

ok thank u

On Sat, May 18, 2013 at 9:21 PM, Michael Blennerhassett <
<email address hidden>> wrote:

> After a quick look at the code, something like this patch works for me,
> but I haven't tested it much yet.
>
> ** Patch added: "delete_lockfile.patch"
>
> https://bugs.launchpad.net/unity-tweak-tool/+bug/1168738/+attachment/3680562/+files/delete_lockfile.patch
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1173342).
> https://bugs.launchpad.net/bugs/1168738
>
> Title:
> unity-tweak-tool crashed with dbus.exceptions.DBusException in
> call_blocking(): org.freedesktop.DBus.Error.Spawn.ChildExited: Process
> /usr/bin/unity-tweak-tool exited with status 1
>
> Status in Unity Tweak Tool:
> Confirmed
>
> Bug description:
> crashed after load
>
> ProblemType: Crash
> DistroRelease: Ubuntu 13.04
> Package: unity-tweak-tool 0.0.5-0~119~raring1 [origin:
> LP-PPA-freyja-dev-unity-tweak-tool-daily]
> ProcVersionSignature: Ubuntu 3.8.0-18.28-generic 3.8.6
> Uname: Linux 3.8.0-18-generic i686
> NonfreeKernelModules: wl
> ApportVersion: 2.9.2-0ubuntu8
> Architecture: i386
> CrashDB: {"impl": "launchpad", "project": "unity-tweak-tool"}
> Date: Sat Apr 13 22:11:26 2013
> EcryptfsInUse: Yes
> ExecutablePath: /usr/bin/unity-tweak-tool
> InstallationDate: Installed on 2013-04-13 (0 days ago)
> InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Alpha i386
> (20130402.1)
> InterpreterPath: /usr/bin/python3.3
> MarkForUpload: True
> PackageArchitecture: all
> ProcCmdline: /usr/bin/python3 /usr/bin/unity-tweak-tool
> PythonArgs: ['/usr/bin/unity-tweak-tool']
> SourcePackage: unity-tweak-tool
> Title: unity-tweak-tool crashed with dbus.exceptions.DBusException in
> call_blocking(): org.freedesktop.DBus.Error.Spawn.ChildExited: Process
> /usr/bin/unity-tweak-tool exited with status 1
> UpgradeStatus: No upgrade log present (probably fresh install)
> UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/unity-tweak-tool/+bug/1168738/+subscriptions
>

Revision history for this message
J Phani Mahesh (phanimahesh) wrote :

Thanks Michael!

Since your patch doesn't introduce any new issues, and you reported it solves this issue, I figured it is worth a shot. Merged in https://github.com/freyja-dev/unity-tweak-tool/commit/73d9ecbbeb6969d8a981032051308f25cf6e0131 with attribution. :)

@all The PPA should be updated in less than a day. If the next update solves this issue, please comment the same so that this bug can be marked fix-released.

Cheers,
JPM.

Changed in unity-tweak-tool:
status: Confirmed → In Progress
assignee: nobody → J Phani Mahesh (phanimahesh)
tags: removed: need-duplicate-check
Changed in unity-tweak-tool (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "delete_lockfile.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in unity-tweak-tool (Ubuntu):
status: New → Confirmed
Revision history for this message
J Phani Mahesh (phanimahesh) wrote :

Since the patch seems to solve the issue, I've marked this fix-released for PPA and fix-committed for Ubuntu archive

Changed in unity-tweak-tool (Ubuntu):
status: Confirmed → Fix Committed
Changed in unity-tweak-tool:
status: In Progress → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity-tweak-tool - 0.0.5

---------------
unity-tweak-tool (0.0.5) saucy; urgency=low

  [ J Phani Mahesh ]
  * New upstream release (LP: #1226059)
    - New application icon
    - Show error dialog when schemas are missing instead of crashing
    - Trigger new build of pot files
  * UnityTweakTool/section/unity.py
    - Fix Show recently used and more suggestions in dash search (LP: #1166294)
    - Fix Launcher reveal sensitivity scale update issues (LP: #1168863)
  * UnityTweakTool/elements/colorchooser.py
    - Fix TypeError in get_rgba() (LP: #1165627)
    - Fix segmentation fault on selecting custom launcher (LP: #1190398)
  * UnityTweakTool/elements/option.py
    - Fix "Restore defaults" button (LP: #1186634)
  * UnityTweakTool/__init__.py
    - Fix unity-tweak-tool crashed with dbus.exceptions.DBusException in
    call_blocking() (LP: #1168738)
    - Fix FileNotFoundError (LP: #1225463)
    - Fix dbus.exceptions.DBusException (LP: #1170571)
  * data/unity.ui
    - Remove Panel transparency switch (LP: #1168836)
    - Remove Launcher transparency switch (LP: #1168834)

  [ Barneedhar Vigneshwar ]
  * UnityTweakTool/section/unity.py
    - Fix 'Can't set background blur to static' (LP: #1167343)
    - Fix non-working Launcher only on primary desktop (LP: #1173977)
  * UnityTweakTool/section/sphagetti/compiz.py
    - Fix TypeError in color_to_hash() (LP: #1166884)
 -- Barneedhar Vigneshwar <email address hidden> Mon, 16 Sep 2013 19:34:38 +0530

Changed in unity-tweak-tool (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.