Bug#868700: claws-mail: Segfaults when selected from application menu or command line
On Sun, 30 Jul 2017 12:33:36 +0200 Ricardo Mones wrote: > > Once you have the debug archive just install claws-mail-dbgsym package > and repeat the gdb steps and post back the output. > Hold everything: I have an old unstable i386 installation on a portable hard drive. I haven't used it for a long time, and I don't normally use it with this netbook, but it will boot, and today I did a full upgrade and then tried claws-mail: it worked perfectly. It's a larger installation, but the claws-mail dependencies are the same versions as for the netbook native installation. So presumably the netbook installation has a broken package, maybe with a corrupt file. It isn't claws-mail itself, I've reinstalled that. Sorry to bother you. I'd completely forgotten this old drive, or I'd have tried this experiment much sooner. Best regards, Joe
Bug#868700: claws-mail: Segfaults when selected from application menu or command line
On Sun, Jul 23, 2017 at 03:13:21PM +0100, Joe wrote: > On Sat, 22 Jul 2017 23:14:15 +0200 > Ricardo Mones wrote: > > > On Tue, Jul 18, 2017 at 09:22:12PM +0100, Joe wrote: > > > On Tue, 18 Jul 2017 18:57:24 +0200 > > > Ricardo Mones wrote: > > [...] > > > > Does this crash happen when you start claws-mail from command > > > > line? > > > > > > Yes, this output was from a command line. > > > > > > > > > > > If it does, can you install debug packages¹ and get the backtrace > > > > when running inside gdb²? > > > > > > > > > > Hope this helps: > > > > > > joe@jrenet:~$ gdb claws-mail > > [...[ > > > (gdb) run > > [...[ > > > Program received signal SIGSEGV, Segmentation fault. > > > __strchr_sse2 () at ../sysdeps/i386/i686/multiarch/strchr-sse2.S:90 > > > 90../sysdeps/i386/i686/multiarch/strchr-sse2.S: No such > > > file or directory. (gdb) > > > > You forgot to type "thread apply all bt" command at this point, and > > post the backtraces which are printed after it ;-) > > OK, I'm not a developer, I had to look up how to make a program work in > gdb. I've included the whole output, in case the earlier numbers were > different for this run: [...] Please do it again with the debug packages installed first, as mentioned in the first message, though the provided link was probably not the best one, my apologies. See this link for instructions on how to add the archive for debug packages installed: https://wiki.debian.org/HowToGetABacktrace#Installing_the_debugging_symbols Once you have the debug archive just install claws-mail-dbgsym package and repeat the gdb steps and post back the output. Thanks in advance, -- Ricardo Mones ~ I'm sorry, my responses are limited. You must ask the right questions. A hologram signature.asc Description: PGP signature
Bug#868700: claws-mail: Segfaults when selected from application menu or command line
On Sat, 22 Jul 2017 23:14:15 +0200 Ricardo Mones wrote: > On Tue, Jul 18, 2017 at 09:22:12PM +0100, Joe wrote: > > On Tue, 18 Jul 2017 18:57:24 +0200 > > Ricardo Mones wrote: > [...] > > > Does this crash happen when you start claws-mail from command > > > line? > > > > Yes, this output was from a command line. > > > > > > > > If it does, can you install debug packages¹ and get the backtrace > > > when running inside gdb²? > > > > > > > Hope this helps: > > > > joe@jrenet:~$ gdb claws-mail > [...[ > > (gdb) run > [...[ > > Program received signal SIGSEGV, Segmentation fault. > > __strchr_sse2 () at ../sysdeps/i386/i686/multiarch/strchr-sse2.S:90 > > 90 ../sysdeps/i386/i686/multiarch/strchr-sse2.S: No such > > file or directory. (gdb) > > You forgot to type "thread apply all bt" command at this point, and > post the backtraces which are printed after it ;-) OK, I'm not a developer, I had to look up how to make a program work in gdb. I've included the whole output, in case the earlier numbers were different for this run: (gdb) run Starting program: /usr/bin/claws-mail [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1". (claws-mail:1691): Claws-Mail-WARNING **: Wrong column position (claws-mail:1691): Claws-Mail-CRITICAL **: imap_item_get_path: assertion 'folder_path != NULL' failed folder.c:3967 Condition path != NULL failed traceback: 0: /usr/bin/claws-mail() [0x80cf2f8] 1: /usr/bin/claws-mail() [0x80d275f] 2: /usr/bin/claws-mail(folder_item_get_msg_list+0x7f) [0x80d311f] 3: /usr/bin/claws-mail() [0x80dc881] 4: /usr/bin/claws-mail() [0x80dd017] 5: /usr/bin/claws-mail(gtk_sctree_insert_gnode+0x136) [0x828f386] 6: /usr/bin/claws-mail(gtk_sctree_insert_gnode+0x1f7) [0x828f447] 7: /usr/bin/claws-mail(gtk_sctree_insert_gnode+0x1f7) [0x828f447] 8: /usr/bin/claws-mail(folderview_set+0x25c) [0x80df4bc] 9: /usr/bin/claws-mail() [0x80df701] 10: /usr/bin/claws-mail() [0x822de41] 11: /lib/i386-linux-gnu/libglib-2.0.so.0(g_hook_list_marshal+0x67) [0xb72d7847] 12:/usr/bin/claws-mail(hooks_invoke+0x64) [0x822e554] 13: /usr/bin/claws-mail(folder_add+0xc1) [0x80cc151] 14: /usr/bin/claws-mail(folder_read_list+0x79) [0x80d0959] 15: /usr/bin/claws-mail(main+0xc65) [0x80839d5] 16: /lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf6) [0xb69e9276] 17:/usr/bin/claws-mail() [0x80857ea] (claws-mail:1691): Claws-Mail-CRITICAL **: imap_item_get_path: assertion 'folder_path != NULL' failed folder.c:3991 Condition path != NULL failed traceback: 0: /usr/bin/claws-mail() [0x80cf608] 1: /usr/bin/claws-mail() [0x80d276c] 2: /usr/bin/claws-mail(folder_item_get_msg_list+0x7f) [0x80d311f] 3: /usr/bin/claws-mail() [0x80dc881] 4: /usr/bin/claws-mail() [0x80dd017] 5: /usr/bin/claws-mail(gtk_sctree_insert_gnode+0x136) [0x828f386] 6: /usr/bin/claws-mail(gtk_sctree_insert_gnode+0x1f7) [0x828f447] 7: /usr/bin/claws-mail(gtk_sctree_insert_gnode+0x1f7) [0x828f447] 8: /usr/bin/claws-mail(folderview_set+0x25c) [0x80df4bc] 9: /usr/bin/claws-mail() [0x80df701] 10: /usr/bin/claws-mail() [0x822de41] 11: /lib/i386-linux-gnu/libglib-2.0.so.0(g_hook_list_marshal+0x67) [0xb72d7847] 12:/usr/bin/claws-mail(hooks_invoke+0x64) [0x822e554] 13: /usr/bin/claws-mail(folder_add+0xc1) [0x80cc151] 14: /usr/bin/claws-mail(folder_read_list+0x79) [0x80d0959] 15: /usr/bin/claws-mail(main+0xc65) [0x80839d5] 16: /lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf6) [0xb69e9276] 17:/usr/bin/claws-mail() [0x80857ea] msgcache.c:586 Condition cache_file != NULL failed traceback: 0: /usr/bin/claws-mail(msgcache_read_cache+0xd7b) [0x812e3cb] 1: /usr/bin/claws-mail() [0x80d2783] 2: /usr/bin/claws-mail(folder_item_get_msg_list+0x7f) [0x80d311f] 3: /usr/bin/claws-mail() [0x80dc881] 4: /usr/bin/claws-mail() [0x80dd017] 5: /usr/bin/claws-mail(gtk_sctree_insert_gnode+0x136) [0x828f386] 6: /usr/bin/claws-mail(gtk_sctree_insert_gnode+0x1f7) [0x828f447] 7: /usr/bin/claws-mail(gtk_sctree_insert_gnode+0x1f7) [0x828f447] 8: /usr/bin/claws-mail(folderview_set+0x25c) [0x80df4bc] 9: /usr/bin/claws-mail() [0x80df701] 10: /usr/bin/claws-mail() [0x822de41] 11: /lib/i386-linux-gnu/libglib-2.0.so.0(g_hook_list_marshal+0x67) [0xb72d7847] 12:/usr/bin/claws-mail(hooks_invoke+0x64) [0x822e554] 13: /usr/bin/claws-mail(folder_add+0xc1) [0x80cc151] 14: /usr/bin/claws-mail(folder_read_list+0x79) [0x80d0959] 15: /usr/bin/claws-mail(main+0xc65) [0x80839d5] 16: /lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf6) [0xb69e9276] 17:/usr/bin/claws-mail() [0x80857ea] (claws-mail:1691): Claws-Mail-CRITICAL **: imap_item_get_path: assertion 'folder_path != NULL' failed Program received signal SIGSEGV, Segmentation fault. __strchr_sse2 () at ../sysdeps/i386/i686/mul
Bug#868700: claws-mail: Segfaults when selected from application menu or command line
On Tue, Jul 18, 2017 at 09:22:12PM +0100, Joe wrote: > On Tue, 18 Jul 2017 18:57:24 +0200 > Ricardo Mones wrote: [...] > > Does this crash happen when you start claws-mail from command line? > > Yes, this output was from a command line. > > > > > If it does, can you install debug packages¹ and get the backtrace when > > running inside gdb²? > > > > Hope this helps: > > joe@jrenet:~$ gdb claws-mail [...[ > (gdb) run [...[ > Program received signal SIGSEGV, Segmentation fault. > __strchr_sse2 () at ../sysdeps/i386/i686/multiarch/strchr-sse2.S:90 > 90../sysdeps/i386/i686/multiarch/strchr-sse2.S: No such file or directory. > (gdb) You forgot to type "thread apply all bt" command at this point, and post the backtraces which are printed after it ;-) regards, P.S.: Please, don't remove bug's address from Cc, it helps me tracking bugs better, thanks! -- Ricardo Mones ~ You have the capacity to learn from mistakes. You'll learn a lot today. /usr/games/fortune signature.asc Description: PGP signature
Processed: Re: Bug#868700: claws-mail: Segfaults when selected from application menu or command line
Processing control commands: > tags -1 moreinfo Bug #868700 [claws-mail] claws-mail: Segfaults when selected from application menu or command line Added tag(s) moreinfo. -- 868700: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=868700 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
Bug#868700: claws-mail: Segfaults when selected from application menu or command line
Control: tags -1 moreinfo Hi Joe, On Mon, Jul 17, 2017 at 08:54:20PM +0100, Joe wrote: > Package: claws-mail > Version: 3.15.0-2+b1 > Severity: grave > Justification: renders package unusable > > Since upgrade to 3.15.0-2, claws-mail segfaults when I try to run it: > > joe@jrenet:~$ claws-mail > > (claws-mail:3276): Claws-Mail-CRITICAL **: imap_item_get_path: assertion > 'folder_path != NULL' failed > folder.c:3967 Condition path != NULL failed > traceback: > 0:claws-mail() [0x80cf2f8] > 1:claws-mail() [0x80d275f] > 2:claws-mail(folder_item_get_msg_list+0x7f) [0x80d311f] > 3:claws-mail() [0x80dc881] > 4:claws-mail() [0x80dd017] > 5:claws-mail(gtk_sctree_insert_gnode+0x136) [0x828f386] > 6:claws-mail(gtk_sctree_insert_gnode+0x1f7) [0x828f447] > 7:claws-mail(gtk_sctree_insert_gnode+0x1f7) [0x828f447] > 8:claws-mail(folderview_set+0x25c) [0x80df4bc] > 9:claws-mail() [0x80df701] > 10: claws-mail() [0x822de41] > 11: /lib/i386-linux-gnu/libglib-2.0.so.0(g_hook_list_marshal+0x67) > [0xb6a7f847] > 12: claws-mail(hooks_invoke+0x64) [0x822e554] > 13: claws-mail(folder_add+0xc1) [0x80cc151] > 14: claws-mail(folder_read_list+0x79) [0x80d0959] > 15: claws-mail(main+0xc65) [0x80839d5] > 16: /lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf6) [0xb6191276] > 17: claws-mail() [0x80857ea] > > > (claws-mail:3276): Claws-Mail-CRITICAL **: imap_item_get_path: assertion > 'folder_path != NULL' failed > folder.c:3991 Condition path != NULL failed > traceback: > 0:claws-mail() [0x80cf608] > 1:claws-mail() [0x80d276c] > 2:claws-mail(folder_item_get_msg_list+0x7f) [0x80d311f] > 3:claws-mail() [0x80dc881] > 4:claws-mail() [0x80dd017] > 5:claws-mail(gtk_sctree_insert_gnode+0x136) [0x828f386] > 6:claws-mail(gtk_sctree_insert_gnode+0x1f7) [0x828f447] > 7:claws-mail(gtk_sctree_insert_gnode+0x1f7) [0x828f447] > 8:claws-mail(folderview_set+0x25c) [0x80df4bc] > 9:claws-mail() [0x80df701] > 10: claws-mail() [0x822de41] > 11: /lib/i386-linux-gnu/libglib-2.0.so.0(g_hook_list_marshal+0x67) > [0xb6a7f847] > 12: claws-mail(hooks_invoke+0x64) [0x822e554] > 13: claws-mail(folder_add+0xc1) [0x80cc151] > 14: claws-mail(folder_read_list+0x79) [0x80d0959] > 15: claws-mail(main+0xc65) [0x80839d5] > 16: /lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf6) [0xb6191276] > 17: claws-mail() [0x80857ea] > > msgcache.c:586 Condition cache_file != NULL failed > traceback: > 0:claws-mail(msgcache_read_cache+0xd7b) [0x812e3cb] > 1:claws-mail() [0x80d2783] > 2:claws-mail(folder_item_get_msg_list+0x7f) [0x80d311f] > 3:claws-mail() [0x80dc881] > 4:claws-mail() [0x80dd017] > 5:claws-mail(gtk_sctree_insert_gnode+0x136) [0x828f386] > 6:claws-mail(gtk_sctree_insert_gnode+0x1f7) [0x828f447] > 7:claws-mail(gtk_sctree_insert_gnode+0x1f7) [0x828f447] > 8:claws-mail(folderview_set+0x25c) [0x80df4bc] > 9:claws-mail() [0x80df701] > 10: claws-mail() [0x822de41] > 11: /lib/i386-linux-gnu/libglib-2.0.so.0(g_hook_list_marshal+0x67) > [0xb6a7f847] > 12: claws-mail(hooks_invoke+0x64) [0x822e554] > 13: claws-mail(folder_add+0xc1) [0x80cc151] > 14: claws-mail(folder_read_list+0x79) [0x80d0959] > 15: claws-mail(main+0xc65) [0x80839d5] > 16: /lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf6) [0xb6191276] > 17: claws-mail() [0x80857ea] > > > (claws-mail:3276): Claws-Mail-CRITICAL **: imap_item_get_path: assertion > 'folder_path != NULL' failed > Segmentation fault > joe@jrenet:~$ Does this crash happen when you start claws-mail from command line? If it does, can you install debug packages¹ and get the backtrace when running inside gdb²? Thanks in advance, ¹ https://wiki.debian.org/AutomaticDebugPackages ² http://www.claws-mail.org/faq/index.php/Debugging_Claws -- Ricardo Mones ~ RTFM - "Read The Manual" (The 'F' is silent). Usually a very good idea. Bjarne Stroustrup signature.asc Description: PGP signature
Bug#868700: claws-mail: Segfaults when selected from application menu or command line
Package: claws-mail Version: 3.15.0-2+b1 Severity: grave Justification: renders package unusable Since upgrade to 3.15.0-2, claws-mail segfaults when I try to run it: joe@jrenet:~$ claws-mail (claws-mail:3276): Claws-Mail-CRITICAL **: imap_item_get_path: assertion 'folder_path != NULL' failed folder.c:3967 Condition path != NULL failed traceback: 0: claws-mail() [0x80cf2f8] 1: claws-mail() [0x80d275f] 2: claws-mail(folder_item_get_msg_list+0x7f) [0x80d311f] 3: claws-mail() [0x80dc881] 4: claws-mail() [0x80dd017] 5: claws-mail(gtk_sctree_insert_gnode+0x136) [0x828f386] 6: claws-mail(gtk_sctree_insert_gnode+0x1f7) [0x828f447] 7: claws-mail(gtk_sctree_insert_gnode+0x1f7) [0x828f447] 8: claws-mail(folderview_set+0x25c) [0x80df4bc] 9: claws-mail() [0x80df701] 10: claws-mail() [0x822de41] 11: /lib/i386-linux-gnu/libglib-2.0.so.0(g_hook_list_marshal+0x67) [0xb6a7f847] 12: claws-mail(hooks_invoke+0x64) [0x822e554] 13: claws-mail(folder_add+0xc1) [0x80cc151] 14: claws-mail(folder_read_list+0x79) [0x80d0959] 15: claws-mail(main+0xc65) [0x80839d5] 16: /lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf6) [0xb6191276] 17: claws-mail() [0x80857ea] (claws-mail:3276): Claws-Mail-CRITICAL **: imap_item_get_path: assertion 'folder_path != NULL' failed folder.c:3991 Condition path != NULL failed traceback: 0: claws-mail() [0x80cf608] 1: claws-mail() [0x80d276c] 2: claws-mail(folder_item_get_msg_list+0x7f) [0x80d311f] 3: claws-mail() [0x80dc881] 4: claws-mail() [0x80dd017] 5: claws-mail(gtk_sctree_insert_gnode+0x136) [0x828f386] 6: claws-mail(gtk_sctree_insert_gnode+0x1f7) [0x828f447] 7: claws-mail(gtk_sctree_insert_gnode+0x1f7) [0x828f447] 8: claws-mail(folderview_set+0x25c) [0x80df4bc] 9: claws-mail() [0x80df701] 10: claws-mail() [0x822de41] 11: /lib/i386-linux-gnu/libglib-2.0.so.0(g_hook_list_marshal+0x67) [0xb6a7f847] 12: claws-mail(hooks_invoke+0x64) [0x822e554] 13: claws-mail(folder_add+0xc1) [0x80cc151] 14: claws-mail(folder_read_list+0x79) [0x80d0959] 15: claws-mail(main+0xc65) [0x80839d5] 16: /lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf6) [0xb6191276] 17: claws-mail() [0x80857ea] msgcache.c:586 Condition cache_file != NULL failed traceback: 0: claws-mail(msgcache_read_cache+0xd7b) [0x812e3cb] 1: claws-mail() [0x80d2783] 2: claws-mail(folder_item_get_msg_list+0x7f) [0x80d311f] 3: claws-mail() [0x80dc881] 4: claws-mail() [0x80dd017] 5: claws-mail(gtk_sctree_insert_gnode+0x136) [0x828f386] 6: claws-mail(gtk_sctree_insert_gnode+0x1f7) [0x828f447] 7: claws-mail(gtk_sctree_insert_gnode+0x1f7) [0x828f447] 8: claws-mail(folderview_set+0x25c) [0x80df4bc] 9: claws-mail() [0x80df701] 10: claws-mail() [0x822de41] 11: /lib/i386-linux-gnu/libglib-2.0.so.0(g_hook_list_marshal+0x67) [0xb6a7f847] 12: claws-mail(hooks_invoke+0x64) [0x822e554] 13: claws-mail(folder_add+0xc1) [0x80cc151] 14: claws-mail(folder_read_list+0x79) [0x80d0959] 15: claws-mail(main+0xc65) [0x80839d5] 16: /lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf6) [0xb6191276] 17: claws-mail() [0x80857ea] (claws-mail:3276): Claws-Mail-CRITICAL **: imap_item_get_path: assertion 'folder_path != NULL' failed Segmentation fault joe@jrenet:~$ -- System Information: Debian Release: buster/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing') Architecture: i386 (i686) Kernel: Linux 4.11.0-1-686-pae (SMP w/2 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages claws-mail depends on: ii libatk1.0-0 2.24.0-1 ii libc62.24-12 ii libcairo21.14.10-1 ii libcompfaceg11:1.5.2-5+b2 ii libcurl3-gnutls 7.52.1-5 ii libdb5.3 5.3.28-13 ii libdbus-1-3 1.10.20-1 ii libdbus-glib-1-2 0.108-2 ii libenchant1c2a 1.6.0-11+b2 ii libetpan20 1.8.0-1 ii libexpat12.2.2-2 ii libfontconfig1 2.12.3-0.2 ii libfreetype6 2.8-0.2 ii libgdk-pixbuf2.0-0 2.36.5-2 ii libglib2.0-0 2.52.3-1 ii libgnutls30 3.5.14-2 ii libgtk2.0-0 2.24.31-2 ii libice6 2:1.0.9-2 ii libldap-2.4-22.4.44+dfsg-8 ii liblockfile1 1.14-1+b1 ii libpango-1.0-0 1.40.6-1 ii libpangocairo-1.0-0 1.40.6-1 ii libpangoft2-1.0-01.40.6-1 ii libpisock9 0.12.5-dfsg-2+b3 ii librsvg2-2 2.40.16-1+b1 ii libsasl2-2 2.1.27~101-g0780600+dfsg-3 ii libsm6 2:1.2.2-1+b3 ii xdg-utils1.1.1-1 ii zlib1g 1:1.2.8.dfsg-5 Versions of packages claws-mail recommends: ii aspell-en [aspell-dictionary] 2017.01.22-0-0.1 ii claws-mail-i18n3.1