Bug 251129

Summary: seahorse Encription Manager crashes frequently (invalid pointer) as to be unusable!
Product: [openSUSE] openSUSE 10.2 Reporter: Carlos Robinson <carlos.e.r>
Component: GNOMEAssignee: E-mail List <gnome-bugs>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: captain.magnus, vuntz
Version: Final   
Target Milestone: ---   
Hardware: PC   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Carlos Robinson 2007-03-04 20:41:46 UTC
I understand "seahorse" is a security component of gnome.

I start seahorse in an xterm. First error:

|
|cer@nimrodel:~> seahorse
|** Message: init gpgme version 1.1.2
|
|** (seahorse:7627): WARNING **: Owner of /tmp/orbit-cer2 is not the current user
|
|(seahorse:7627): GConf-WARNING **: Owner of /tmp/gconfd-cer2 is not the current user
|

Notice that I'm running as "cer", yet it is searching for "cer2" data. This has already been reported, no comment so far.

I select "preferences", then "close" - ¡CRASH! The app stucks and has to be forced quit:

|
|** Message: Another passphrase caching agent is running. Disabling cache preferences.
|*** glibc detected *** seahorse: free(): invalid pointer: 0x081f6b60 ***
|Killed
|

The other agent mentioned could be gpg-agent, which is indeed running. Doesn't matter, it also crashes for two other users in the same system that don't use gpg-agent.

I start another session. I choose "properties" of a key, select "close", CRASH. Log:

cer@nimrodel:~> seahorse
** Message: init gpgme version 1.1.2

** (seahorse:7713): WARNING **: Owner of /tmp/orbit-cer2 is not the current user


(seahorse:7713): GConf-WARNING **: Owner of /tmp/gconfd-cer2 is not the current user

*** glibc detected *** seahorse: munmap_chunk(): invalid pointer: 0x081bafa8 ***
======= Backtrace: =========
/lib/libc.so.6[0xb6d6d6e1]
/opt/gnome/lib/libglib-2.0.so.0(g_free+0x31)[0xb6e750d1]
/opt/gnome/lib/libseahorse-internal.so.0[0xb7ee83e7]
/opt/gnome/lib/libgobject-2.0.so.0(g_object_unref+0x16c)[0xb7159f8c]
/opt/gnome/lib/libseahorse-internal.so.0(seahorse_widget_destroy+0x6f)[0xb7ee7d2f]
/opt/gnome/lib/libseahorse-internal.so.0[0xb7ee7d8d]
/opt/gnome/lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__VOID+0x49)[0xb71650b9]
/opt/gnome/lib/libgobject-2.0.so.0(g_closure_invoke+0x12b)[0xb7157c0b]
/opt/gnome/lib/libgobject-2.0.so.0[0xb7168d3d]
/opt/gnome/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x8c7)[0xb716a247]
/opt/gnome/lib/libgobject-2.0.so.0(g_signal_emit+0x35)[0xb716a415]
/opt/gnome/lib/libgtk-x11-2.0.so.0(gtk_button_clicked+0x53)[0xb78ef043]
/opt/gnome/lib/libgtk-x11-2.0.so.0[0xb78f0c8e]
/opt/gnome/lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__VOID+0x49)[0xb71650b9]
/opt/gnome/lib/libgobject-2.0.so.0[0xb7156407]
/opt/gnome/lib/libgobject-2.0.so.0(g_closure_invoke+0x12b)[0xb7157c0b]
/opt/gnome/lib/libgobject-2.0.so.0[0xb71691ca]
/opt/gnome/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x8c7)[0xb716a247]
/opt/gnome/lib/libgobject-2.0.so.0(g_signal_emit+0x35)[0xb716a415]
/opt/gnome/lib/libgtk-x11-2.0.so.0(gtk_button_released+0x53)[0xb78ef0d3]
/opt/gnome/lib/libgtk-x11-2.0.so.0[0xb78ef131]
/opt/gnome/lib/libgtk-x11-2.0.so.0[0xb79bf1b0]
/opt/gnome/lib/libgobject-2.0.so.0[0xb7156407]
/opt/gnome/lib/libgobject-2.0.so.0(g_closure_invoke+0x12b)[0xb7157c0b]
/opt/gnome/lib/libgobject-2.0.so.0[0xb7169383]
/opt/gnome/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x68f)[0xb716a00f]
/opt/gnome/lib/libgobject-2.0.so.0(g_signal_emit+0x35)[0xb716a415]
/opt/gnome/lib/libgtk-x11-2.0.so.0[0xb7ad2b18]
/opt/gnome/lib/libgtk-x11-2.0.so.0(gtk_propagate_event+0x183)[0xb79b8653]
/opt/gnome/lib/libgtk-x11-2.0.so.0(gtk_main_do_event+0x317)[0xb79b9857]
/opt/gnome/lib/libgdk-x11-2.0.so.0[0xb784d02a]
/opt/gnome/lib/libglib-2.0.so.0(g_main_context_dispatch+0x182)[0xb6e6dde2]
/opt/gnome/lib/libglib-2.0.so.0[0xb6e70e1f]
/opt/gnome/lib/libglib-2.0.so.0(g_main_loop_run+0x1a9)[0xb6e711c9]
/opt/gnome/lib/libgtk-x11-2.0.so.0(gtk_main+0xb4)[0xb79b9cd4]
seahorse[0x804f8f5]
/lib/libc.so.6(__libc_start_main+0xdc)[0xb6d1ef9c]
seahorse[0x804f311]
======= Memory map: ========
08048000-08061000 r-xp 00000000 03:10 3559       /opt/gnome/bin/seahorse
08061000-08063000 rw-p 00018000 03:10 3559       /opt/gnome/bin/seahorse
08063000-082cc000 rw-p 08063000 00:00 0          [heap]
b08a7000-b08a8000 ---p b08a7000 00:00 0 
b08a8000-b10a8000 rw-p b08a8000 00:00 0 
b28ab000-b28ac000 ---p b28ab000 00:00 0 
b28ac000-b30ac000 rw-p b28ac000 00:00 0 
b3700000-b3721000 rw-p b3700000 00:00 0 
b3721000-b3800000 ---p b3721000 00:00 0 
b385a000-b38a0000 r--p 00000000 16:46 1563456    /usr/X11R6/lib/X11/fonts/truetype/arialbd.ttf
b38a0000-b38ad000 r--s 00000000 16:46 229603     /usr/share/mime/mime.cache
b38ad000-b38ae000 ---p b38ad000 00:00 0 
b38ae000-b40ae000 rw-p b38ae000 00:00 0 
b40ae000-b40af000 ---p b40ae000 00:00 0 
b40af000-b48af000 rw-p b40af000 00:00 0 
b48af000-b48b9000 r-xp 00000000 03:10 5785       /opt/gnome/lib/gtk-2.0/2.10.0/filesystems/libgnome-vfs.so
b48b9000-b48bb000 rw-p 00009000 03:10 5785       /opt/gnome/lib/gtk-2.0/2.10.0/filesystems/libgnome-vfs.so
b48bb000-b48e8000 r--p 00000000 16:46 748335     /var/cache/libx11/compose/l4_024_313cb605_00280cc0
b48e8000-b4948000 rw-s 00000000 00:07 122880030  /SYSV00000000 (deleted)
b4948000-b498b000 r--p 00000000 16:46 1563452    /usr/X11R6/lib/X11/fonts/truetype/arial.ttf
b498b000-b498d000 r-xp 00000000 03:10 104766     /opt/gnome/lib/pango/1.5.0/modules/pango-basic-fc.so
b498d000-b498f000 rw-p 00001000 03:10 104766     /opt/gnome/lib/pango/1.5.0/modules/pango-basic-fc.so
b498f000-b4996000 r--s 00000000 16:46 749076     /var/cache/fontconfig/77e41c5059666d75f92e318d4be8c21e-x86.cache-2
b4996000-b499a000 r--s 00000000 16:46 749253     /var/cache/fo
** (gnome_segv2:7782): WARNING **: Owner of /tmp/orbit-cer2 is not the current user


(gnome_segv2:7782): GConf-WARNING **: Owner of /tmp/gconfd-cer2 is not the current user


** (bug-buddy:7783): WARNING **: Owner of /tmp/orbit-cer2 is not the current user


(bug-buddy:7783): GConf-WARNING **: Owner of /tmp/gconfd-cer2 is not the current user


** (bug-buddy:7783): WARNING **: Couldn't load icon for Bonobo Component Browser

** (bug-buddy:7783): WARNING **: Couldn't load icon for Open Folder
Failed to read a valid object file image from memory.




Those are just two sample crashes of "seahorse". It just crashes doing anything. It crashed more than six times on me: obviously, this app is fully buggy and unready!
Comment 2 Magnus Boman 2008-03-07 13:36:31 UTC

*** This bug has been marked as a duplicate of bug 246956 ***
Comment 3 Carlos Robinson 2008-03-07 13:54:09 UTC
As there was no comment on this report since I wrote it, I didn't bother to mention that it works OK in 10.3.

There are other nuisances/problems in 10.3, though, that I think I reported.

However, this bug is certainly no duplicate of bug 246956 (gconf tries to use the wrong user), which happens to be mine, too. Thus I reopen so that you can close it properly with the right duplicate number, or as solved in 10.3

This bug is about seahorse crashing. Don't look so much at the "warnings" about "cer2".
Comment 4 Vincent Untz 2008-03-07 14:01:50 UTC
Since it has been fixed in 10.3, we'll close as FIXED. If some people are still hitting the bug in 10.2, there are newer seahorse packages in GNOME:STABLE.

Thanks for the feedback!