Summary: | mail-client/claws-mail-3.7.8 segfaults with startup-notification enabled | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Fabian Köster <gentoo> |
Component: | [OLD] Unspecified | Assignee: | Christian Faulhammer (RETIRED) <fauli> |
Status: | RESOLVED FIXED | ||
Severity: | critical | CC: | bugs+gentoo, david.w.noon, dominique.c.michel, jdavid.ibp, ken69267, maxbritov, neil, net-mail+disabled, rhill |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | ARM | ||
OS: | Linux | ||
URL: | http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=2414 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | gdb output |
Description
Fabian Köster
2011-04-06 14:03:19 UTC
Created attachment 268711 [details]
gdb output
Just noticed that it only crashes when started from terminal, not from the Xfce-menu... strange. I just added 3.7.9 to the tree, please test with that. Apart from that, this seems to come from your X server. Which version of libnotify is installed and did you run revdep-rebuild recently? Yes, I did run revdep-rebuild but it does not detect any inconsistencies. x11-libs/libnotify is version 0.4.5. Still segfault with version 3.7.9 :/ Ok, this is possibly a bug somewhere hidden in the combination of libnotify, X server and other stuff you use. If you do not mind, I would like to know if libnotify 0.7 solves the problem for you. That version is a major change, so you will hit a lot of rebuilds. Still happening with libnotify-0.7.2 Same issue from today mail-client/claws-mail-3.7.9 x11-libs/startup-notification-0.10_p20110426 x11-libs/xcb-util-0.3.8 Program received signal SIGSEGV, Segmentation fault. 0x00007fffef802667 in XGetXCBConnection () from /usr/lib64/libX11-xcb.so.1 (gdb) bt #0 0x00007fffef802667 in XGetXCBConnection () from /usr/lib64/libX11-xcb.so.1 #1 0x00007ffff59dbb72 in sn_display_new () from /usr/lib64/libstartup-notification-1.so.0 #2 0x00000000004edc07 in startup_notification_complete () #3 0x00000000004f1504 in main () Same here on ~AMD64 with mail-client/claws-mail-3.7.9. Libnotify was not installed, after manually emerging x11-libs/libnotify-0.7.2 the problem persisted. Re-emerging claws-mail without startup-notification solved the problem. not sure if it's the same crash, the recent bump to x11-libs/startup-notification-0.10_p20110426 causes these new non-arm segfaults. Changing the line 334 in src/main.c from xdisplay = gdk_display_get_default(); to xdisplay = GDK_DISPLAY_XDISPLAY(gdk_display_get_default()); fixes the segfault as described in the last few comments. I don't know if it matches the original segfault... (In reply to comment #10) > Changing the line 334 in src/main.c from > xdisplay = gdk_display_get_default(); > to > xdisplay = GDK_DISPLAY_XDISPLAY(gdk_display_get_default()); > > fixes the segfault as described in the last few comments. I don't know if it > matches the original segfault... This change fixes it for me, too. Thanks! Can someone push this upstream? Reported upstream. This has to do with deprecated APIs in GTK+. As I cannot reproduce I wonder which version of GTK+/GDK you are using. Also did a revision bump for Claws Mail 3.7.9 http://mail.gnome.org/archives/desktop-devel-list/2010-September/msg00025.html (In reply to comment #12) > Reported upstream. This has to do with deprecated APIs in GTK+. As I cannot > reproduce I wonder which version of GTK+/GDK you are using. Also did a > revision bump for Claws Mail 3.7.9 I use gtk+-2.22.1-r1. I can confirm that mail-client/claws-mail-3.7.9-r1 resolves the problem for me. Thank you all for your help! (In reply to comment #12) > As I cannot reproduce I wonder which version of GTK+/GDK you are using Confirming the crash with claws-mail-3.7.8 on stable x86. But the crash only occurs when trying to launch claws-mail from the /usr/bin/sylpheed-claws symlink. revdep-rebuild and rebuilding claws-mail did not help. -3.7.9-r1 fixed the crash. This is a problem into Xfce4 environment because the « exo-open --launch MailReader » command seems to use the sylpheed-claws symlink to launch claws-mail, and then it crashs. I can confirm the crash in claws-mail-3.7.8 on amd64 with the startup-notification USE flag set, and it's fixed in -3.7.9-r1. I think claws-mail-3.7.9-r1 should go stable (or the fix should be backported to some 3.7.8-r1). Andreas, thanks for pointing out the solution! *** Bug 365659 has been marked as a duplicate of this bug. *** |