GNOME Bugzilla – Bug 579891
Import option given on non-key objects
Last modified: 2009-04-23 18:21:41 UTC
Forwarded from Launchpad: (https://bugs.launchpad.net/bugs/361928) I was simply importing Truecrypt public key. Steps to reproduce the bug: search the key F0D6B1E0, selected the key (but not the first row, select the second one, with id 2-see the image) click "Import" button (or use the context menu). Result: seahorse crashes Expected behaviour: I think that seahorse should ignore the request or import the parent key (in this example the first row). Stacktrace:
+ Trace 214703
Created attachment 133153 [details] Screenshot of when seahorse crashes.
I also created a valgrind-log since the program crashed with SIGSEGV, I believe here is the error: ==11783== Invalid read of size 1 ==11783== at 0x80735C7: progress_show (seahorse-progress.c:261) ==11783== by 0x47162B5: g_timeout_dispatch (gmain.c:3253) ==11783== by 0x4715B87: g_main_context_dispatch (gmain.c:1814) ==11783== by 0x47190EA: g_main_context_iterate (gmain.c:2448) ==11783== by 0x47195B9: g_main_loop_run (gmain.c:2656) ==11783== by 0x42A97D8: gtk_main (gtkmain.c:1205) ==11783== by 0x8061B62: main (seahorse-main.c:103) ==11783== Address 0x18 is not stack'd, malloc'd or (recently) free'd ==11783== ==11783== Process terminating with default action of signal 11 (SIGSEGV) ==11783== Access not within mapped region at address 0x18 ==11783== at 0x80735C7: progress_show (seahorse-progress.c:261) ==11783== by 0x47162B5: g_timeout_dispatch (gmain.c:3253) ==11783== by 0x4715B87: g_main_context_dispatch (gmain.c:1814) ==11783== by 0x47190EA: g_main_context_iterate (gmain.c:2448) ==11783== by 0x47195B9: g_main_loop_run (gmain.c:2656) ==11783== by 0x42A97D8: gtk_main (gtkmain.c:1205) ==11783== by 0x8061B62: main (seahorse-main.c:103)
Created attachment 133157 [details] valgrind log
Fixed. commit b911de1b26c8dc936a8ab79b7d70faa5d952a032 Author: Adam Schreiber <sadam@gnome.org> Date: Thu Apr 23 14:00:53 2009 -0400 Bug 579891 – Import option given on non-key objects Moved the import context menu item and callbacks to SeahorseViewer and added an importable predicate to control the visibility/sensitivity of the item.