GNOME Bugzilla – Bug 607423
crash in Verify Signature: Decrypting message
Last modified: 2010-06-20 22:50:20 UTC
Version: 2.28.1 What were you doing when the application crashed? Decrypting message Distribution: Gentoo Base System release 2.0.1 Gnome Release: 2.28.2 2010-01-13 (Gentoo) BugBuddy Version: 2.28.0 System: Linux 2.6.32-gentoo-r1 #2 SMP Wed Jan 13 20:21:58 EST 2010 x86_64 X Vendor: The X.Org Foundation X Vendor Release: 10704000 Selinux: No Accessibility: Disabled GTK+ Theme: Clearlooks Gentoo Icon Theme: gnome-noble GTK+ Modules: canberra-gtk-module, gnomebreakpad Memory status: size: 219082752 vsize: 219082752 resident: 20103168 share: 13291520 rss: 20103168 rss_rlim: 18446744073709551615 CPU usage: start_time: 1263893228 rtime: 13 utime: 9 stime: 4 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 100 Backtrace was generated from '/usr/bin/seahorse-tool' [Thread debugging using libthread_db enabled] Traceback (most recent call last): File "/usr/share/gdb/auto-load/usr/lib64/libgobject-2.0.so.0.2200.3-gdb.py", line 9, in <module> from gobject import register File "/usr/share/glib-2.0/gdb/gobject.py", line 3, in <module> import gdb.backtrace ImportError: No module named backtrace 0x00007f6c1a7a1b8e in __libc_waitpid (pid=<value optimized out>, stat_loc= 0x7fff8df80050, options=<value optimized out>) at ../sysdeps/unix/sysv/linux/waitpid.c:32 in ../sysdeps/unix/sysv/linux/waitpid.c
+ Trace 220143
Thread 1 (Thread 0x7f6c1c29d780 (LWP 6668))
A debugging session is active. Inferior 1 [process 6668] will be detached. Quit anyway? (y or n) [answered Y; input not from terminal] ---- Critical and fatal warnings logged during execution ---- ** seahorse-tool **: seahorse_pgp_operation_init: assertion `GPG_IS_OK (err)' failed ----------- .xsession-errors (370367 sec old) --------------------- (firefox:8959): Gdk-WARNING **: XID collision, trouble ahead (firefox:8959): Gdk-WARNING **: XID collision, trouble ahead (firefox:8959): Gdk-WARNING **: XID collision, trouble ahead (firefox:8959): Gdk-WARNING **: XID collision, trouble ahead (firefox:8959): Gdk-WARNING **: XID collision, trouble ahead (firefox:8959): Gdk-WARNING **: XID collision, trouble ahead (firefox:8959): Gdk-WARNING **: XID collision, trouble ahead ...Too much output, ignoring rest... --------------------------------------------------
*** Bug 607424 has been marked as a duplicate of this bug. ***
*** Bug 605696 has been marked as a duplicate of this bug. ***
*** Bug 609685 has been marked as a duplicate of this bug. ***
*** Bug 609856 has been marked as a duplicate of this bug. ***
Copying traces from bug 609856
+ Trace 220562
Sorry if I missed it in the trace, but what version of GnuPG and GpgME are in use? It looks like the crash is happening in gpgme.
Hi. Here's the versions you wanted GnuPG (gpg2) - v2.0.12-2.3 gpgme - v1.2.0-2.5
Thanks! It looks like there are two bugs here: one in seahorse-tool and one in gpgme. seahorse-tool is passing pop->gctx to gpgme, but gctx is NULL, and gpgme is dereferencing it instead of just returning a GPG_ERR_INV_VALUE error. I filed the gpgme bug as PR 1195: https://bugs.g10code.com/gnupg/issue1195 I'm not sure how to fix the seahorse bug though. It's something wrong in seahorse-pgp-operation.c: http://git.gnome.org/browse/seahorse-plugins/tree/libseahorse/seahorse-pgp-operation.h http://git.gnome.org/browse/seahorse-plugins/tree/libseahorse/seahorse-pgp-operation.c seahorse_pgp_operation_init() is the function that initializes gctx, but I don't see where it's called from.
*** Bug 614380 has been marked as a duplicate of this bug. ***
The issue is that new gpgme versions require gpgme_check_version() to be called, there is a fix which has been uploaded to ubuntu lucid now for testing, see https://code.edge.launchpad.net/~ubuntu-desktop/seahorse-plugins/ubuntu revision31
the change makes all the nautilus context menu action work again there
JFTR: http://bazaar.launchpad.net/~ubuntu-desktop/seahorse-plugins/ubuntu/revision/31
Confirming, I'm seeing exactly this issue as well. Seahorse-tool and all the Nautilus context menus are completely broken right now.
Created attachment 160466 [details] [review] Patch from Sebastien Bacher This is the patch that is also in Ubuntu, and references above. Let me know if this is ok to push.
Works for me in the related bug https://bugzilla.gnome.org/show_bug.cgi?id=600804
*** Bug 600804 has been marked as a duplicate of this bug. ***
Review of attachment 160466 [details] [review]: Works for me too.
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report. http://git.gnome.org/browse/seahorse-plugins/commit/?id=e99fc5839deb86868fa4fdfbfc2fcadef2a83755