After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 363282 - crash in Encryption Keys: Sending a key to the rem...
crash in Encryption Keys: Sending a key to the rem...
Status: RESOLVED FIXED
Product: seahorse
Classification: Applications
Component: general
0.9.5
Other All
: High critical
: 1.0.0
Assigned To: Seahorse Maintainer
Seahorse Maintainer
: 361824 364813 365806 365895 369183 374117 399785 408005 423221 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-10-19 00:11 UTC by clemen00
Modified: 2007-03-27 11:41 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16


Attachments
Terminal output from seahorse 0.9.5 (781 bytes, text/x-log)
2006-10-24 14:36 UTC, clemen00
Details

Description clemen00 2006-10-19 00:11:43 UTC
What were you doing when the application crashed?
Sending a key to the remote server with "Configure SSH Key for Login"...


Distribution: Ubuntu 6.10 (edgy)
Gnome Release: 2.16.1 2006-10-02 (Ubuntu)
BugBuddy Version: 2.16.0

Memory status: size: 48136192 vsize: 0 resident: 48136192 share: 0 rss: 17141760 rss_rlim: 0
CPU usage: start_time: 1161213248 rtime: 0 utime: 1564 stime: 0 cutime:908 cstime: 0 timeout: 656 it_real_value: 0 frequency: 244

Backtrace was generated from '/usr/bin/seahorse'

(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1225832256 (LWP 8914)]
[New Thread -1242715232 (LWP 10384)]
(no debugging symbols found)
0xffffe410 in __kernel_vsyscall ()

Thread 1 (Thread -1225832256 (LWP 8914))

  • #0 __kernel_vsyscall
  • #1 __waitpid_nocancel
    from /lib/tls/i686/cmov/libpthread.so.0
  • #2 gnome_gtk_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #3 <signal handler called>
  • #4 __kernel_vsyscall
  • #5 raise
    from /lib/tls/i686/cmov/libc.so.6
  • #6 abort
    from /lib/tls/i686/cmov/libc.so.6
  • #7 g_logv
    from /usr/lib/libglib-2.0.so.0
  • #8 g_log
    from /usr/lib/libglib-2.0.so.0
  • #9 g_assert_warning
    from /usr/lib/libglib-2.0.so.0
  • #10 ??
  • #11 ??
  • #0 __kernel_vsyscall

Comment 1 Stef Walter 2006-10-24 01:36:14 UTC
Do you have a moment to run seahorse from a terminal, get the crash to happen again, and post the terminal output at this bug?
Comment 2 clemen00 2006-10-24 14:36:10 UTC
Created attachment 75307 [details]
Terminal output from seahorse 0.9.5

Sure. This attachment contains the terminal output from the initial start to bug-buddy.

The initial report doesn't mention the steps taken to reproduce this bug. This is what I am doing:
1. "Create a new key (Ctrl-N)"
2. Select "SSH Key".
3. Enter e-mail address in "Email address", check "Configure my new key on another computer", then click "Create".
4. Enter a passphrase twice.
5. "Configure SSH Key for Login" window: enter the login name and the server. I have tried with two SSH servers: iroquois.gel.ulaval.ca and anemone.oceanosoft.ca. I have the necessary access on both.

Hope this will help.
Comment 3 Karsten Bräckelmann 2006-10-27 18:52:21 UTC
*** Bug 361824 has been marked as a duplicate of this bug. ***
Comment 4 Karsten Bräckelmann 2006-10-27 18:52:35 UTC
*** Bug 364813 has been marked as a duplicate of this bug. ***
Comment 5 Karsten Bräckelmann 2006-10-27 18:52:40 UTC
*** Bug 365806 has been marked as a duplicate of this bug. ***
Comment 6 Karsten Bräckelmann 2006-10-27 18:52:49 UTC
*** Bug 365895 has been marked as a duplicate of this bug. ***
Comment 7 Karsten Bräckelmann 2006-10-27 18:56:16 UTC
REOPENing, since the requested information has been provided.

Also confirming due to duplicates. (Although the stacktraces are rather short and don't have much information, they are identical with matching descriptions.)


From the stacktrace of duplicate bug 364813:

  • #9 IA__g_assert_warning

Comment 8 omahns.home 2006-10-27 19:05:11 UTC
A quick compile of the latest development version appears to fix this problem. I'm running Ubuntu Edgy. Can anybody else confirm that the latest version works for them too?

I've filed a bug in Launchpad to investigate further:

https://launchpad.net/distros/ubuntu/+source/seahorse/+bug/68691

Thanks.
Comment 9 Stef Walter 2006-11-02 20:26:28 UTC
It seems this was a race condition caused by reloading of the keys from the disk while the 'configure key for SSH login' dialog had a reference to the key. 

This bug would only show up when creating a key and using the 'Create and configure' button to immediately configure the key in question. 

Cleaned up a bunch of the loading and reloading code. This should be fixed in HEAD.

2006-11-02  Nate Nielsen  <nielsen@memberwebs.com>

    * libseahorse/seahorse-context.c:
    * libseahorse/seahorse-context.h:
    * libseahorse/seahorse-hkp-source.c:
    * libseahorse/seahorse-key-source.c:
    * libseahorse/seahorse-key-source.h:
    * libseahorse/seahorse-ldap-source.c:
    * libseahorse/seahorse-pgp-source.c:
    * libseahorse/seahorse-pgp-source.h:
    * libseahorse/seahorse-server-source.c:
    * libseahorse/seahorse-ssh-operation.c:
    * libseahorse/seahorse-ssh-source.c:
    * libseahorse/seahorse-unknown-source.c:
    * plugins/applet/seahorse-applet.c:
    * src/seahorse-gkeyring-item-properties.c:
    * src/seahorse-gkeyring-operation.c:
    * src/seahorse-gkeyring-source.c:
    * src/seahorse-key-properties.c
    * src/seahorse-key-manager.c: Cleanup the key loading and searching code.
    Don't unnecessary remove keys from context. Fixes bug #363282
Comment 10 Stef Walter 2006-11-02 23:01:34 UTC
*** Bug 369183 has been marked as a duplicate of this bug. ***
Comment 11 Stef Walter 2006-11-23 17:13:02 UTC
*** Bug 374117 has been marked as a duplicate of this bug. ***
Comment 12 André Klapper 2007-02-18 00:20:29 UTC
*** Bug 408005 has been marked as a duplicate of this bug. ***
Comment 13 Adam Schreiber 2007-02-18 19:41:43 UTC
*** Bug 399785 has been marked as a duplicate of this bug. ***
Comment 14 Adam Schreiber 2007-03-27 11:41:59 UTC
*** Bug 423221 has been marked as a duplicate of this bug. ***