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 104204 - Seahorse crashes on startup
Seahorse crashes on startup
Status: RESOLVED FIXED
Product: seahorse
Classification: Applications
Component: general
unspecified
Other other
: Normal critical
: ---
Assigned To: Seahorse Maintainer
Seahorse Maintainer
: 104370 105995 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2003-01-23 07:51 UTC by ds98rito
Modified: 2018-08-03 00:03 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
x11: don't call gdk_display_get_name before gtk_init (4.42 KB, patch)
2017-12-11 15:41 UTC, Ray Strode [halfline]
committed Details | Review

Description ds98rito 2003-01-23 07:54:23 UTC
Package: seahorse
Severity: critical
Version: 0.6.0
Synopsis: Seahorse crashes on startup
Bugzilla-Product: seahorse
Bugzilla-Component: general
BugBuddy-GnomeVersion: 2.0 (2.0.3)

Description:
Description of Problem:
toor@~]$ rpm -q seahorse
seahorse-0.6.0-0
[toor@~]$ rpm -q gpgme
gpgme-0.3.14-1
[toor@~]$ seahorse
** (seahorse:20921): CRITICAL **: file seahorse-context.c: line 108
(seahorse_context_init): assertion `err == GPGME_No_Error' failed

Steps to reproduce the problem:
1. See above
2. 
3. 

Actual Results:
It crashes

Expected Results:
Should start up

How often does this happen?
Always

Additional Information:
RH 8.0 all upgrades applied



Debugging Information:

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

(no debugging symbols found)...[New Thread 8192 (LWP 20925)]
0x420ae169 in wait4 () from /lib/i686/libc.so.6

Thread 1 (Thread 8192 (LWP 20925))

  • #0 wait4
    from /lib/i686/libc.so.6
  • #1 __DTOR_END__
    from /lib/i686/libc.so.6
  • #2 waitpid
    from /lib/i686/libpthread.so.0
  • #3 libgnomeui_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #4 __pthread_sighandler
    from /lib/i686/libpthread.so.0
  • #5 <signal handler called>
  • #6 gpgme_op_keylist_start
    from /usr/lib/libgpgme.so.6
  • #7 seahorse_context_new
  • #8 main
  • #9 __libc_start_main
    from /lib/i686/libc.so.6
  • #0 wait4
    from /lib/i686/libc.so.6




------- Bug moved to this database by unknown@bugzilla.gnome.org 2003-01-23 02:54 -------

Reassigning to the default owner of the component, seahorse-maint@bugzilla.gnome.org.

Comment 1 Jacob Perkins 2003-01-23 13:20:49 UTC
what version of gnupg do you have?  if you have a 1.0 version, try
upgrading to 1.2.
Comment 2 Richard Torkar 2003-01-23 15:17:21 UTC
Yep that was it.
After installation of gpg 1.2.1 it worked.

Shouldn't there be a check in the source code? This shouldn't happen
to a user :)

/Richard
Comment 3 José Carlos García Sogo 2003-01-23 15:36:34 UTC
Well, this should be a dependecy of GPGME 0.3.14 package, or source
itself when you compiled it.
Anyway, I'll try to work on this later today.
Comment 4 Jacob Perkins 2003-01-23 16:17:05 UTC
It is actually GPGME that fails because of a check done in the 
Seahorse source code.  But GPGME apparently doesn't check the version 
during installation, so hopefully jose can figure this out so it 
checks during seahorse configure.
Comment 5 Bert De Meyer 2003-01-24 22:46:19 UTC
*** Bug 104370 has been marked as a duplicate of this bug. ***
Comment 6 Jacob Perkins 2003-01-24 22:46:28 UTC
*** Bug 104370 has been marked as a duplicate of this bug. ***
Comment 7 José Carlos García Sogo 2003-01-24 23:31:51 UTC
I'm not sure if checkig for GnuPG >= 1.2 belongs to Seahorse
compilation scripts. I'm thinking on filing a bug on GPGME and also
adding the check in the meantime.

Could be Seahorse 0.6.1 released after this? There are a lot of bugs
being filled about this problem.
Comment 8 Jacob Perkins 2003-01-24 23:47:28 UTC
Only 2 bugs, but since gpgme doesn't seem to be doing the check,
seahorse should.  If you can figure that out, I'll include it in
0.6.1.  Hopefully the gpgme 0.4 series will do it.
Comment 9 Elijah Newren 2003-02-13 22:23:08 UTC
*** Bug 105995 has been marked as a duplicate of this bug. ***
Comment 10 Ray Strode [halfline] 2017-12-11 15:41:51 UTC
Created attachment 365374 [details] [review]
x11: don't call gdk_display_get_name before gtk_init

The x11 plugin calls gdk_display_get_name at load time
to set the device name state.  This no longer works, since
gtk_init_check() happens later at open_device time, and
GTK+ no longer allows gdk_display_get_name before gtk_init.

This commit moves the gtk_init call earlier, to
create_backend, so gdk_display_get_name works again.
Comment 11 Ray Strode [halfline] 2017-12-11 15:43:22 UTC
Attachment 365374 [details] pushed as e953e47 - x11: don't call gdk_display_get_name before gtk_init
Comment 12 Ray Strode [halfline] 2017-12-11 16:10:12 UTC
sorry guys, wrong bugzilla!
Comment 13 Niels De Graef 2018-08-03 00:03:43 UTC
Closed as fixed, as GPG version checking was added to our build-scripts quite some time ago.