bzr crashed with DBusException in call_blocking()

Bug #562758 reported by PresuntoRJ
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bzr (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: bzr

I was trying to verify a gpg signature in a previous commit inside the log browser using $ bzr vis

When I have clicked in the Signature tab bzr frooze for a while (went all gray in my screen) and when it woke up, there was a python error message in my shell and the GUI was alive again, although it have not shown up any values for Key ID, Fingerprint or Trust.

Apport kicked in sending this repport

It happens every time I try it

Buy the waym is there any other method of checking the gpg signature of a commit ?

ProblemType: Crash
DistroRelease: Ubuntu 10.04
Package: bzr 2.1.1-1
ProcVersionSignature: Ubuntu 2.6.32-20.30-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-20-generic i686
Architecture: i386
Date: Wed Apr 14 00:33:17 2010
ExecutablePath: /usr/bin/bzr
InstallationMedia: Ubuntu-Netbook-Remix 9.10 "Karmic Koala" - Release i386 (20091028.4)
InterpreterPath: /usr/bin/python2.6
ProcCmdline: /usr/bin/python /usr/bin/bzr vis
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, no user)
 LANG=pt_BR.utf8
 LANGUAGE=pt_BR:en_US:en
PythonArgs: ['/usr/bin/bzr', 'vis']
SourcePackage: bzr
Title: bzr crashed with DBusException in call_blocking()
UserGroups: adm admin audio cdrom dialout dip fax fuse lpadmin netdev plugdev sambashare tape video

Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/gtk/revisionview.py", line 486, in _switch_page_cb
    self.signature_table.set_revision(self._revision)
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/gtk/revisionview.py", line 210, in set_revision
    self.show_signature(crypttext)
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/gtk/revisionview.py", line 229, in show_signature
    (cleartext, key) = seahorse.verify(crypttext)
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/gtk/seahorse.py", line 83, in verify
    keyset[key] = Key(key)
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/gtk/seahorse.py", line 99, in __init__
    fields = openpgp.GetKeyFields(key, ['fingerprint', 'trust', 'flags', 'display-name', 'location'])
  File "/usr/lib/pymodules/python2.6/dbus/proxies.py", line 140, in __call__
    **keywords)
  File "/usr/lib/pymodules/python2.6/dbus/connection.py", line 620, in call_blocking
    message, timeout)
DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

Revision history for this message
PresuntoRJ (fabio-tleitao) wrote :
Revision history for this message
PresuntoRJ (fabio-tleitao) wrote :

this is what python has put in the stdout:

$ Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/gtk/revisionview.py", line 486, in _switch_page_cb
    self.signature_table.set_revision(self._revision)
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/gtk/revisionview.py", line 210, in set_revision
    self.show_signature(crypttext)
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/gtk/revisionview.py", line 229, in show_signature
    (cleartext, key) = seahorse.verify(crypttext)
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/gtk/seahorse.py", line 79, in verify
    (cleartext, key) = crypto.VerifyText(KEY_TYPE_OPENPGP, 1, crypttext)
  File "/usr/lib/pymodules/python2.6/dbus/proxies.py", line 140, in __call__
    **keywords)
  File "/usr/lib/pymodules/python2.6/dbus/connection.py", line 620, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

Revision history for this message
PresuntoRJ (fabio-tleitao) wrote :

There is a wild process from seahorse since this crash (which reopens and go berserk after every attempt) :

seahorse-daemon --no-daemonize

must be related (to handle the gpg keys, my guess)

could this be regerded as a security issue? since I cannot validate the security keys, etc.

Revision history for this message
PresuntoRJ (fabio-tleitao) wrote :
Download full text (3.2 KiB)

there was a seahorse-daemon process that went berzerk with this crash (using at least 74% of my CPU time) which goes on with every crash and I have to kill manully

this is what I have found on my /var/log/auth.log

Apr 14 00:28:44 eee-u seahorse-daemon[2764]: init gpgme version 1.2.0
Apr 14 00:30:43 eee-u seahorse-daemon[2764]: Cannot marshal type "SeahorseLocation" in variant
Apr 14 00:31:14 eee-u seahorse-daemon[2764]: last message repeated 49324 times
Apr 14 00:31:50 eee-u seahorse-daemon[2764]: last message repeated 57234 times
Apr 14 00:31:50 eee-u seahorse-daemon[2764]: left gtk_main
Apr 14 00:32:24 eee-u seahorse-daemon[2790]: init gpgme version 1.2.0
Apr 14 00:32:52 eee-u seahorse-daemon[2790]: Cannot marshal type "SeahorseLocation" in variant
Apr 14 00:33:53 eee-u seahorse-daemon[2790]: last message repeated 92092 times
Apr 14 00:34:54 eee-u seahorse-daemon[2790]: last message repeated 90792 times
Apr 14 00:35:55 eee-u seahorse-daemon[2790]: last message repeated 85122 times
Apr 14 00:36:56 eee-u seahorse-daemon[2790]: last message repeated 65578 times
Apr 14 00:37:57 eee-u seahorse-daemon[2790]: last message repeated 65555 times
Apr 14 00:38:58 eee-u seahorse-daemon[2790]: last message repeated 63916 times
Apr 14 00:39:59 eee-u seahorse-daemon[2790]: last message repeated 63525 times
Apr 14 00:41:00 eee-u seahorse-daemon[2790]: last message repeated 63420 times
Apr 14 00:42:01 eee-u seahorse-daemon[2790]: last message repeated 85668 times
Apr 14 00:43:02 eee-u seahorse-daemon[2790]: last message repeated 101611 times
Apr 14 00:44:03 eee-u seahorse-daemon[2790]: last message repeated 100003 times
Apr 14 00:45:04 eee-u seahorse-daemon[2790]: last message repeated 97615 times
Apr 14 00:46:05 eee-u seahorse-daemon[2790]: last message repeated 85017 times
Apr 14 00:47:06 eee-u seahorse-daemon[2790]: last message repeated 91545 times
Apr 14 00:48:07 eee-u seahorse-daemon[2790]: last message repeated 88705 times
Apr 14 00:48:07 eee-u seahorse-daemon[2790]: last message repeated 1580 times
Apr 14 00:48:07 eee-u seahorse-daemon[2790]: left gtk_main

and this is what the bzr vis echoed as stdout on the shell I was running during the crash:

Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/gtk/revisionview.py", line 486, in _switch_page_cb
    self.signature_table.set_revision(self._revision)
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/gtk/revisionview.py", line 210, in set_revision
    self.show_signature(crypttext)
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/gtk/revisionview.py", line 229, in show_signature
    (cleartext, key) = seahorse.verify(crypttext)
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/gtk/seahorse.py", line 79, in verify
    (cleartext, key) = crypto.VerifyText(KEY_TYPE_OPENPGP, 1, crypttext)
  File "/usr/lib/pymodules/python2.6/dbus/proxies.py", line 140, in __call__
    **keywords)
  File "/usr/lib/pymodules/python2.6/dbus/connection.py", line 620, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, ...

Read more...

tags: removed: need-duplicate-check
Martin Pool (mbp)
description: updated
Martin Pool (mbp)
visibility: private → public
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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