Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 365659 - mail-client/claws-mail-3.7.9 segfault at startup
Summary: mail-client/claws-mail-3.7.9 segfault at startup
Status: RESOLVED DUPLICATE of bug 362297
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Christian Faulhammer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-02 05:04 UTC by Dominique Michel
Modified: 2011-06-25 10:25 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
output of emerge --info (emerge.info,14.70 KB, text/plain)
2011-05-02 05:06 UTC, Dominique Michel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dominique Michel 2011-05-02 05:04:34 UTC
When startin claws-mail, I get the following:

claws-mail

** (claws-mail:17578): WARNING **: plugin loading error: /usr/lib/claws-mail/plugins/cachesaver.so: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type


** (claws-mail:17578): WARNING **: plugin loading error: /usr/lib/claws-mail/plugins/gtkhtml2_viewer.so: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type

Erreur de segmentation (core dumped)

The 2 warnings are about missing plugins, I try to umerge all of them, but the problem was the same. Il also try without success to remove ~/.claws-mail, same issue. I try to downgrade claws-mail to 3.7.8 and libX11, same result.

Reproducible: Always

Steps to Reproduce:
1. claws-mail
2.
3.
Actual Results:  
Program received signal SIGSEGV, Segmentation fault.
XGetXCBConnection (dpy=0xa10020)
    at /var/tmp/portage/x11-libs/libX11-1.4.3/work/libX11-1.4.3/src/x11_xcb.c:8
8   /var/tmp/portage/x11-libs/libX11-1.4.3/work/libX11-1.4.3/src/x11_xcb.c: Aucun fichier ou dossier de ce type.
   in /var/tmp/portage/x11-libs/libX11-1.4.3/work/libX11-1.4.3/src/x11_xcb.c

bt
#0  XGetXCBConnection (dpy=0xa10020)
    at /var/tmp/portage/x11-libs/libX11-1.4.3/work/libX11-1.4.3/src/x11_xcb.c:8
#1  0x00007ffff5a71b92 in sn_display_new (xdisplay=0xa10020,
    push_trap_func=0x4edde0 <sn_error_trap_push>, pop_trap_func=0x4eddc0 <sn_error_trap_pop>)
    at /var/tmp/portage/x11-libs/startup-notification-0.10_p20110426/work/startup-notification-0.10_p20110426/libsn/sn-common.c:77
#2  0x00000000004edd07 in startup_notification_complete (with_window=0) at main.c:335
#3  0x00000000004f1584 in main (argc=1, argv=0x7fffffffbdb8) at main.c:1620


Expected Results:  
a successful run

I try to start claws-mail from other wm using xephyr. Same result. With gnome, I get this:

System: Linux 2.6.37-gentoo-3Dnew #4 SMP PREEMPT Sun Apr 24 02:42:56 CEST 2011 x86_64
X Vendor: The X.Org Foundation
X Vendor Release: 11001000
Selinux: No
Accessibility: Disabled
GTK+ Theme: Crux
Icon Theme: crystalsvg
GTK+ Modules: gnomesegvhandler, canberra-gtk-module

Memory status: size: 289460224 vsize: 289460224 resident: 50991104 share: 22110208 rss: 50991104 rss_rlim: 18446744073709551615
CPU usage: start_time: 1304305716 rtime: 87 utime: 72 stime: 15 cutime:0 cstime: 1 timeout: 0 it_real_value: 0 frequency: 100

Backtrace was generated from '/usr/bin/claws-mail'

[Thread debugging using libthread_db enabled]
0x00007f2d231f239e in __libc_waitpid (pid=<value optimized out>, stat_loc=0x7fffb19e2f20, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:32
	in ../sysdeps/unix/sysv/linux/waitpid.c
#0  0x00007f2d231f239e in __libc_waitpid (pid=<value optimized out>, stat_loc=0x7fffb19e2f20, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:32
#1  0x00007f2d23c6d491 in g_spawn_sync (working_directory=<value optimized out>, argv=<value optimized out>, envp=<value optimized out>, flags=<value optimized out>, child_setup=<value optimized out>, user_data=<value optimized out>, standard_output=0x0, standard_error=0x0, exit_status=0x0, error=0x7fffb19e2ff8) at gspawn.c:392
#2  0x00007f2d23c6d9e7 in g_spawn_command_line_sync (command_line=<value optimized out>, standard_output=0x0, standard_error=0x0, exit_status=0x0, error=0x7fffb19e2ff8) at gspawn.c:706
#3  0x00007f2d19a2f47c in ?? () from /usr/lib64/gtk-2.0/modules/libgnomesegvhandler.so
#4  <signal handler called>
#5  XGetXCBConnection (dpy=0xa6b020) at /var/tmp/portage/x11-libs/libX11-1.4.2/work/libX11-1.4.2/src/x11_xcb.c:8
#6  0x00007f2d24585b92 in sn_display_new (xdisplay=0xa6b020, push_trap_func=0x4edde0 <sn_error_trap_push>, pop_trap_func=0x4eddc0 <sn_error_trap_pop>) at /var/tmp/portage/x11-libs/startup-notification-0.10_p20110426/work/startup-notification-0.10_p20110426/libsn/sn-common.c:77
#7  0x00000000004edd07 in startup_notification_complete (with_window=0) at main.c:335
#8  0x00000000004f1584 in main (argc=1, argv=0x7fffb19e3928) at main.c:1620

Thread 1 (Thread 0x7f2d26aad900 (LWP 7369)):
#0  0x00007f2d231f239e in __libc_waitpid (pid=<value optimized out>, stat_loc=0x7fffb19e2f20, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:32
        resultvar = 18446744073709551104
        oldtype = <value optimized out>
#1  0x00007f2d23c6d491 in g_spawn_sync (working_directory=<value optimized out>, argv=<value optimized out>, envp=<value optimized out>, flags=<value optimized out>, child_setup=<value optimized out>, user_data=<value optimized out>, standard_output=0x0, standard_error=0x0, exit_status=0x0, error=0x7fffb19e2ff8) at gspawn.c:392
        outpipe = -1
        errpipe = -1
        pid = 7379
        fds = {__fds_bits = {16, 585935980, 139831850230080, 140736173322232, 14695280, 15468048, 3, 0, 15468072, 139831850316133, 14054176, 4294967295, 140736173322016, 140736173322024, 140736173322152, 0}}
        ret = <value optimized out>
        outstr = 0x0
        errstr = 0x0
        failed = <value optimized out>
        status = <value optimized out>
        __PRETTY_FUNCTION__ = "g_spawn_sync"
#2  0x00007f2d23c6d9e7 in g_spawn_command_line_sync (command_line=<value optimized out>, standard_output=0x0, standard_error=0x0, exit_status=0x0, error=0x7fffb19e2ff8) at gspawn.c:706
        retval = <value optimized out>
        argv = 0xec0610
        __PRETTY_FUNCTION__ = "g_spawn_command_line_sync"
#3  0x00007f2d19a2f47c in ?? () from /usr/lib64/gtk-2.0/modules/libgnomesegvhandler.so
No symbol table info available.
#4  <signal handler called>
No symbol table info available.
#5  XGetXCBConnection (dpy=0xa6b020) at /var/tmp/portage/x11-libs/libX11-1.4.2/work/libX11-1.4.2/src/x11_xcb.c:8
No locals.
#6  0x00007f2d24585b92 in sn_display_new (xdisplay=0xa6b020, push_trap_func=0x4edde0 <sn_error_trap_push>, pop_trap_func=0x4eddc0 <sn_error_trap_pop>) at /var/tmp/portage/x11-libs/startup-notification-0.10_p20110426/work/startup-notification-0.10_p20110426/libsn/sn-common.c:77
        display = 0x0
#7  0x00000000004edd07 in startup_notification_complete (with_window=0) at main.c:335
        xdisplay = 0xa6b020
        hack = 0x0
#8  0x00000000004f1584 in main (argc=1, argv=0x7fffb19e3928) at main.c:1620
        connection = 0xaced08
        error = 0x0
        userrc = <value optimized out>
        mainwin = 0xaf4970
        folderview = 0xc3ce00
        icon = 0xae3190
        crash_file_present = <value optimized out>
        num_folder_class = <value optimized out>
        asked_for_migration = <value optimized out>
        start_done = 1
        gui_manager = <value optimized out>
        plug_list = 0x0
        never_ran = 0
        start = {tv_sec = 1304305717, tv_usec = 290964}
        end = {tv_sec = 6, tv_usec = 139831897245461}
        timing_name = 0x65a148 "startup"
        __FUNCTION__ = "main"
A debugging session is active.

	Inferior 1 [process 7369] will be detached.

Quit anyway? (y or n) [answered Y; input not from terminal]


----------- .xsession-errors (2279792 sec old) ---------------------
      after 182 requests (182 known processed) with 0 events remaining.
XIO:  fatal IO error 4 (Interrupted system call) on X server ":0"
      after 228 requests (228 known processed) with 0 events remaining.
XIO:  fatal IO error 4 (Interrupted system call) on X server ":0"
      after 150 requests (140 known processed) with 0 events remaining.
XIO:  fatal IO error 4 (Interrupted system call) on X server ":0"
      after 165 requests (140 known processed) with 0 events remaining.
XIO:  fatal IO error 104 (Connection reset by peer) on X server ":0"
      after 166 requests (166 known processed) with 0 events remaining.
XIO:  fatal IO error 104 (Connection reset by peer) on X server ":0"
      after 166 requests (166 known processed) with 0 events remaining.
XIO:  fatal IO error 104 (Connection reset by peer) on X server ":0"
XIO:  fatal IO error 104 (Connection reset by peer) on X server ":0"
      after 145 requests (145 known processed) with 0 events remaining.
      after 160 requests (160 known processed) with 0 events remaining.
--------------------------------------------------
Comment 1 Dominique Michel 2011-05-02 05:06:21 UTC
Created attachment 271841 [details]
output of emerge --info
Comment 2 tman 2011-05-02 06:20:01 UTC
after updating of xcb-util-0.38 there is this problem.

try to emerge with USE="-startup-notification", and it would be a temporary workaround yet
Comment 3 Dominique Michel 2011-05-02 15:57:53 UTC
Thanks a lot tman for the prompt answer. I merged claws-mail as you suggested and it is running fine again.
Comment 4 Christian Faulhammer (RETIRED) gentoo-dev 2011-05-06 22:36:31 UTC
Please test with 3.7.9-r1 and USE=startup-notification.
Comment 5 Dominique Michel 2011-06-18 19:59:51 UTC
(In reply to comment #4)
> Please test with 3.7.9-r1 and USE=startup-notification.

I am sure of anything. I done an emerge world, and now, claws-mail is starting but the only thing I get is its icon on the desktop. If I click on the icon, the claws-mail window appear bur remain desperately empty. All the sub-window are empty. No console message, no nothing. Just htop that show me than claws-mail is between 90 and 98 % cpu. I will wait until tomorrow.
Comment 6 Dominique Michel 2011-06-19 14:47:39 UTC
(In reply to comment #4)
> Please test with 3.7.9-r1 and USE=startup-notification.

This bug is fixed for me as claws-mail start. I am investigating the other problem.
Comment 7 Myckel Habets 2011-06-23 22:01:53 UTC
Blocking Xorg stabilization list of June, because it stabilizes x11-libs/xcb-util-0.3.8 and friends.
Comment 8 Myckel Habets 2011-06-23 22:28:09 UTC
(In reply to comment #4)
> Please test with 3.7.9-r1 and USE=startup-notification.

Seems to fix this for me on x86. Time for stabilization of this version?
Comment 9 Christian Faulhammer (RETIRED) gentoo-dev 2011-06-25 10:25:04 UTC

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