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 726331 - Segmentation fault in gtk_application_add_window
Segmentation fault in gtk_application_add_window
Status: RESOLVED DUPLICATE of bug 708996
Product: seahorse
Classification: Applications
Component: general
3.10.x
Other Linux
: Normal normal
: ---
Assigned To: Seahorse Maintainer
Seahorse Maintainer
Depends on:
Blocks:
 
 
Reported: 2014-03-14 12:19 UTC by Alexander Tsoy
Modified: 2014-03-14 17:05 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
seahorse backtrace (25.78 KB, application/octet-stream)
2014-03-14 12:19 UTC, Alexander Tsoy
Details

Description Alexander Tsoy 2014-03-14 12:19:24 UTC
Created attachment 271876 [details]
seahorse backtrace

Seahorse fails to start with segfault. From dmesg:
[  366.876245] seahorse[1908]: segfault at ffffffffc8323180 ip 00007f5fc70fb2da sp 00007ffffdcb55f0 error 5 in libgtk-3.so.0.1000.7[7f5fc7025000+599000]

Package versions:
app-crypt/seahorse-3.10.2
x11-libs/gtk+-3.10.7
Comment 1 Stef Walter 2014-03-14 12:25:30 UTC
This should be fixed by this patch. Please talk to your seahorse packager (or your distribution) if you would like to request that this fix be included your version.

If the patch below does not fix your issue, then please let me know so I can reopen this bug.

commit e46d5eb408bcbabdd941de0fbcba2fb6d4f41cf8
Author: Stef Walter <stefw@gnome.org>
Date:   Thu Feb 20 09:41:54 2014 +0100

    common: Include correct headers for vala calling C code
    
    These caused crashes due to pointers being casted to int.
    Also force compiler errors when functions have no declaration
    during vala code compilation.
    
    Due to the way vala code is generated, this fix may require
    you to:
    
    $ rm common/*.c
    $ make clean all
    
    https://bugzilla.gnome.org/show_bug.cgi?id=708996

*** This bug has been marked as a duplicate of bug 708996 ***
Comment 2 Alexander Tsoy 2014-03-14 12:30:35 UTC
Hello Stef! I already applied this patch myself.
Comment 3 Alexander Tsoy 2014-03-14 12:35:33 UTC
(In reply to comment #1)
>     Due to the way vala code is generated, this fix may require
>     you to:
> 
>     $ rm common/*.c
>     $ make clean all

Hmm.. I'll try this and reopen if the issue will not be fixed.
Comment 4 Alexander Tsoy 2014-03-14 17:05:35 UTC
Thanks! This bug is indeed fixed by e46d5eb408bcbabdd941de0fbcba2fb6d4f41cf8

Downstream bug:
https://bugs.gentoo.org/show_bug.cgi?id=504582

*** This bug has been marked as a duplicate of bug 708996 ***