Bug 2654

Summary: random core dumped and error "*** longjmp causes uninitialized stack frame ***: claws-mail terminated"
Product: Claws Mail (GTK 2) Reporter: Drey Tee <drey.tee>
Component: OtherAssignee: users
Status: RESOLVED INVALID    
Severity: normal CC: patrice.allais
Priority: P3    
Version: 3.8.0   
Hardware: PC   
OS: Linux   

Description Drey Tee 2012-05-01 13:03:38 UTC
Randomly get this error if claws-mail started from command-line:
"*** longjmp causes uninitialized stack frame ***: claws-mail terminated"
just after this row we have this output:
"======= Backtrace: =========
/lib/i386-linux-gnu/libc.so.6(__fortify_fail+0x50)[0x105c0a0]
/lib/i386-linux-gnu/libc.so.6(+0xe700a)[0x105c00a]
/usr/lib/libcurl-gnutls.so.4(+0x8b38)[0xdc3b38]
[0x387400]
/lib/i386-linux-gnu/libglib-2.0.so.0(g_poll+0x2b)[0x9d184b]
/lib/i386-linux-gnu/libglib-2.0.so.0(+0x411af)[0x9c11af]
/lib/i386-linux-gnu/libglib-2.0.so.0(g_main_loop_run+0x17b)[0x9c192b]
/usr/lib/libgtk-x11-2.0.so.0(gtk_main+0xb9)[0x6d9c39]
claws-mail(main+0x20fd)[0x8140d3d]
/lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xe7)[0xf8be37]
claws-mail[0x807ea51]
======= Memory map: ========
00110000-001a5000 r-xp 00000000 08:06 137133     /usr/lib/libgdk-x11-2.0.so.0.2400.4
001a5000-001a6000 ---p 00095000 08:06 137133     /usr/lib/libgdk-x11-2.0.so.0.2400.4
001a6000-001a8000 r--p 00095000 08:06 137133     /usr/lib/libgdk-x11-2.0.so.0.2400.4
001a8000-001a9000 rw-p 00097000 08:06 137133     /usr/lib/libgdk-x11-2.0.so.0.2400.4
001a9000-001ab000 r-xp 00000000 08:06 139343     /usr/lib/i386-linux-gnu/libgmodule-2.0.so.0.2800.6
001ab000-001ac000 r--p 00002000 08:06 139343     /usr/lib/i386-linux-gnu/libgmodule-2.0.so.0.2800.6
001ac000-001ad000 rw-p 00003000 08:06 139343     /usr/lib/i386-linux-gnu/libgmodule-2.0.so.0.2800.6
001ad000-001ef000 r-xp 00000000 08:06 137375     /usr/lib/libldap_r-2.4.so.2.5.6
001ef000-001f0000 r--p 00041000 08:06 137375     /usr/lib/libldap_r-2.4.so.2.5.6
001f0000-001f1000 rw-p 00042000 08:06 137375     /usr/lib/libldap_r-2.4.so.2.5.6
001f1000-001f2000 rw-p 00000000 00:00 0 
001f2000-001f5000 r-xp 00000000 08:06 133422     /usr/lib/libcompface.so.1.0.0
001f5000-001f6000 r--p 00002000 08:06 133422     /usr/lib/libcompface.so.1.0.0
001f6000-001f8000 rw-p 00003000 08:06 133422     /usr/lib/libcompface.so.1.0.0
001f8000-001fe000 rw-p 00000000 00:00 0 
001fe000-00212000 r-xp 00000000 08:06 139268     /usr/lib/i386-linux-gnu/libICE.so.6.3.0
00212000-00213000 r--p 00013000 08:06 139268     /usr/lib/i386-linux-gnu/libICE.so.6.3.0
00213000-00214000 rw-p 00014000 08:06 139268     /usr/lib/i386-linux-gnu/libICE.so.6.3.0
00214000-00216000 rw-p 00000000 00:00 0 
00216000-0022b000 r-xp 00000000 08:06 16741      /lib/i386-linux-gnu/libpthread-2.13.so
0022b000-0022c000 r--p 00015000 08:06 16741      /lib/i386-linux-gnu/libpthread-2.13.so
0022c000-0022d000 rw-p 00016000 08:06 16741      /lib/i386-linux-gnu/libpthread-2.13.so
0022d000-0022f000 rw-p 00000000 00:00 0 
0022f000-00232000 r-xp 00000000 08:06 139357     /usr/lib/i386-linux-gnu/libgthread-2.0.so.0.2800.6
00232000-00233000 r--p 00003000 08:06 139357     /usr/lib/i386-linux-gnu/libgthread-2.0.so.0.2800.6
00233000-00234000 rw-p 00004000 08:06 139357     /usr/lib/i386-linux-gnu/libgthread-2.0.so.0.2800.6
00234000-00236000 r-xp 00000000 08:06 139294     /usr/lib/i386-linux-gnu/libXinerama.so.1.0.0
00236000-00237000 r--p 00001000 08:06 139294     /usr/lib/i386-linux-gnu/libXinerama.so.1.0.0
00237000-00238000 rw-p 00002000 08:06 139294     /usr/lib/i386-linux-gnu/libXinerama.so.1.0.0
00238000-00243000 r-xp 00000000 08:06 137374     /usr/lib/liblber-2.4.so.2.5.6
00243000-00244000 r--p 0000a000 08:06 137374     /usr/lib/liblber-2.4.so.2.5.6
00244000-00245000 rw-p 0000b000 08:06 137374     /usr/lib/liblber-2.4.so.2.5.6
00245000-00249000 r-xp 00000000 08:06 139288     /usr/lib/i386-linux-gnu/libXfixes.so.3.1.0
00249000-0024a000 r--p 00003000 08:06 139288     /usr/lib/i386-linux-gnu/libXfixes.so.3.1.0
0024a000-0024b000 rw-p 00004000 08:06 139288     /usr/lib/i386-linux-gnu/libXfixes.so.3.1.0
0024b000-00253000 r-xp 00000000 08:06 139298     /usr/lib/i386-linux-gnu/libXrender.so.1.3.0
00253000-00254000 r--p 00007000 08:06 139298     /usr/lib/i386-linux-gnu/libXrender.so.1.3.0
00254000-00255000 rw-p 00008000 08:06 139298     /usr/lib/i386-linux-gnu/libXrender.so.1.3.0
00255000-00257000 r-xp 00000000 08:06 139422     /usr/lib/i386-linux-gnu/libxcb-shm.so.0.0.0
00257000-00258000 r--p 00001000 08:06 139422     /usr/lib/i386-linux-gnu/libxcb-shm.so.0.0.0
00258000-00259000 rw-p 00002000 08:06 139422     /usr/lib/i386-linux-gnu/libxcb-shm.so.0.0.0
0025b000-00263000 r-xp 00000000 08:06 5597       /lib/i386-linux-gnu/libcrypt-2.13.so
00263000-00264000 r--p 00007000 08:06 5597       /lib/i386-linux-gnu/libcrypt-2.13.so
00264000-00265000 rw-p 00008000 08:06 5597       /lib/i386-linux-gnu/libcrypt-2.13.so
00265000-0028c000 rw-p 00000000 00:00 0 
0028c000-0033a000 r-xp 00000000 08:06 136970     /usr/lib/libcairo.so.2.11000.2
0033a000-0033b000 ---p 000ae000 08:06 136970     /usr/lib/libcairo.so.2.11000.2
0033b000-0033c000 r--p 000ae000 08:06 136970     /usr/lib/libcairo.so.2.11000.2
0033c000-0033d000 rw-p 000af000 08:06 136970     /usr/lib/libcairo.so.2.11000.2
0033d000-0033f000 rw-p 00000000 00:00 0 
0033f000-00372000 r-xp 00000000 08:06 134496     /usr/lib/libpisock.so.9.0.2
00372000-00373000 r--p 00032000 08:06 134496     /usr/lib/libpisock.so.9.0.2
00373000-00377000 rw-p 00033000 08:06 134496     /usr/lib/libpisock.so.9.0.2
00377000-0037b000 rw-p 00000000 00:00 0 
0037b000-00381000 r-xp 00000000 08:06 139418     /usr/lib/i386-linux-gnu/libxcb-render.so.0.0.0
00381000-00382000 r--p 00005000 08:06 139418     /usr/lib/i386-linux-gnu/libxcb-render.so.0.0.0
00382000-00383000 rw-p 00006000 08:06 139418     /usr/lib/i386-linux-gnu/libxcb-render.so.0.0.0
00383000-00385000 r-xp 00000000 08:06 5601       /lib/i386-linux-gnu/libdl-2.13.so
00385000-00386000 r--p 00001000 08:06 5601       /lib/i386-linux-gnu/libdl-2.13.so
00386000-00387000 rw-p 00002000 08:06 5601       /lib/i386-linux-gnu/libdl-2.13.so
00387000-00388000 r-xp 00000000 00:00 0          [vdso]
00388000-00416000 r-xp 00000000 08:06 134237     /usr/lib/libetpan.so.13.1.3
00416000-00417000 r--p 0008d000 08:06 134237     /usr/lib/libetpan.so.13.1.3
00417000-0041a000 rw-p 0008e000 08:06 134237     /usr/lib/libetpan.so.13.1.3
0041a000-0041d000 rw-p 00000000 00:00 0 
0041d000-00423000 r-xp 00000000 08:06 274        /lib/libusb-0.1.so.4.4.4
00423000-00424000 r--p 00005000 08:06 274        /lib/libusb-0.1.so.4.4.4
00424000-00425000 rw-p 00006000 08:06 274        /lib/libusb-0.1.so.4.4.4
00425000-00426000 rw-p 00000000 00:00 0 
00427000-00442000 r-xp 00000000 08:06 137135     /usr/lib/libgdk_pixbuf-2.0.so.0.2300.3
00442000-00443000 r--p 0001a000 08:06 137135     /usr/lib/libgdk_pixbuf-2.0.so.0.2300.3
00443000-00444000 rw-p 0001b000 08:06 137135     /usr/lib/libgdk_pixbuf-2.0.so.0.2300.3
"

googling lead me to similar bug, but in it user had a reference to vcalendar plugin and he could just turn it off. I haven't this reference in debug, so asking for help here.
Comment 1 Paul 2012-05-16 05:12:09 UTC
doesn't look like a Claws bug.
Comment 2 Drey Tee 2012-05-16 06:18:16 UTC
Great answer.
Can you give me a tip to search?
Comment 3 Paul 2012-05-16 06:21:42 UTC
a great bug report deserves a great answer.
could be your compiler options, could be in curl...
Comment 4 Drey Tee 2012-05-16 06:28:11 UTC
Can you tell me what I missed in my bugreport?
I started app with --debug option, I told you version of product, I told you when and how i getting this crash.
Comment 5 Paul 2012-05-16 06:37:14 UTC
vcalendar uses curl, search for this and you see curl reports
Comment 6 Drey Tee 2012-05-16 06:46:47 UTC
If you'll read my 1st message once again, you'll see that I haven't any reference to vcalendar. I just mentioned vcalendar in similar problem.
Comment 7 Paul 2012-05-16 07:28:20 UTC
i read it, therefore i know that you weren't using vcalendar. but the thing that connects vcalendar and your report is curl
Comment 8 Drey Tee 2012-05-16 07:43:44 UTC
Okay, thanks.
Comment 9 Patrice Allais 2013-07-26 14:57:04 UTC
ii  claws-mail                       3.8.0-1ubuntu1                   Fast, lightweight and user-friendly GTK2 based email client
ii  claws-mail-bogofilter            3.8.0-1ubuntu1                   Bogofilter plugin for Claws Mail
ii  claws-mail-html2-viewer          3.8.0-1build1                    HTML mail or attachment viewer for Claws Mail
ii  claws-mail-i18n                  3.8.0-1ubuntu1                   Locale data for Claws Mail (i18n support)
ii  claws-mail-pgpinline             3.8.0-1ubuntu1                   PGP/inline plugin for Claws Mail
ii  claws-mail-pgpmime               3.8.0-1ubuntu1                   PGP/MIME plugin for Claws Mail
ii  claws-mail-plugins               3.8.0-1ubuntu1                   Installs plugins for the Claws Mail mailer
ii  claws-mail-smime-plugin          3.8.0-1ubuntu1                   S/MIME signature/encryption handling for Claws Mail
ii  claws-mail-spamassassin          3.8.0-1ubuntu1                   SpamAssassin plugin for Claws Mail
ii  claws-mail-themes                20110216.dfsg-1                  Pixmap icon themes for the Claws Mail mailer
ii  claws-mail-trayicon              3.8.0-1ubuntu1                   Notification area plugin for Claws Mail
ii  claws-mail-vcalendar-plugin      3.8.0-1build1                    vCalendar message handling plugin for Claws Mail

*** longjmp causes uninitialized stack frame ***: claws-mail terminated
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x37)[0x7f9e8d71e817]
/lib/x86_64-linux-gnu/libc.so.6(+0x10a78d)[0x7f9e8d71e78d]
/lib/x86_64-linux-gnu/libc.so.6(__longjmp_chk+0x33)[0x7f9e8d71e6f3]
/usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4(+0xca45)[0x7f9e7c9a0a45]
/lib/x86_64-linux-gnu/libpthread.so.0(+0xfcb0)[0x7f9e8e789cb0]
/lib/x86_64-linux-gnu/libc.so.6(__poll+0x53)[0x7f9e8d6fc313]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x48036)[0x7f9e8e27e036]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_loop_run+0x6a)[0x7f9e8e27e49a]
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(gtk_main+0xa7)[0x7f9e905a72f7]
claws-mail(main+0xe6b)[0x446b9b]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed)[0x7f9e8d63576d]
claws-mail[0x447e39]
======= Memory map: ========
00400000-0072b000 r-xp 00000000 08:06 2505437                            /usr/bin/claws-mail
0092b000-0092d000 r--p 0032b000 08:06 2505437                            /usr/bin/claws-mail
0092d000-0097a000 rw-p 0032d000 08:06 2505437                            /usr/bin/claws-mail
0097a000-00990000 rw-p 00000000 00:00 0 
00e9b000-046b4000 rw-p 00000000 00:00 0                                  [heap]
7f9e68000000-7f9e68022000 rw-p 00000000 00:00 0 
7f9e68022000-7f9e6c000000 ---p 00000000 00:00 0 
7f9e6c22f000-7f9e6c2ee000 r-xp 00000000 08:06 2493108                    /usr/lib/libaspell.so.15.2.0
7f9e6c2ee000-7f9e6c4ed000 ---p 000bf000 08:06 2493108                    /usr/lib/libaspell.so.15.2.0
7f9e6c4ed000-7f9e6c4f3000 r--p 000be000 08:06 2493108                    /usr/lib/libaspell.so.15.2.0
7f9e6c4f3000-7f9e6c4f4000 rw-p 000c4000 08:06 2493108                    /usr/lib/libaspell.so.15.2.0
7f9e6c4f4000-7f9e6c4fc000 rw-p 00000000 00:00 0 
7f9e6c4fc000-7f9e6c4fe000 r-xp 00000000 08:06 2494046                    /usr/lib/enchant/libenchant_aspell.so
7f9e6c4fe000-7f9e6c6fd000 ---p 00002000 08:06 2494046                    /usr/lib/enchant/libenchant_aspell.so
7f9e6c6fd000-7f9e6c6fe000 r--p 00001000 08:06 2494046                    /usr/lib/enchant/libenchant_aspell.so
7f9e6c6fe000-7f9e6c6ff000 rw-p 00002000 08:06 2494046                    /usr/lib/enchant/libenchant_aspell.so
7f9e6c6ff000-7f9e6c70a000 r-xp 00000000 08:06 2494048                    /usr/lib/enchant/libenchant_ispell.so
7f9e6c70a000-7f9e6c909000 ---p 0000b000 08:06 2494048                    /usr/lib/enchant/libenchant_ispell.so
7f9e6c909000-7f9e6c90a000 r--p 0000a000 08:06 2494048                    /usr/lib/enchant/libenchant_ispell.so
7f9e6c90a000-7f9e6c90b000 rw-p 0000b000 08:06 2494048                    /usr/lib/enchant/libenchant_ispell.so
7f9e6c90b000-7f9e6c9ed000 r-xp 00000000 08:06 2498619                    /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16
7f9e6c9ed000-7f9e6cbec000 ---p 000e2000 08:06 2498619                    /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16
7f9e6cbec000-7f9e6cbf4000 r--p 000e1000 08:06 2498619                    /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16
7f9e6cbf4000-7f9e6cbf6000 rw-p 000e9000 08:06 2498619                    /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16
7f9e6cbf6000-7f9e6cc0b000 rw-p 00000000 00:00 0 
7f9e6cc0b000-7f9e6cc58000 r-xp 00000000 08:06 2498413                    /usr/lib/x86_64-linux-gnu/libhunspell-1.3.so.0.0.0
7f9e6cc58000-7f9e6ce57000 ---p 0004d000 08:06 2498413                    /usr/lib/x86_64-linux-gnu/libhunspell-1.3.so.0.0.0
7f9e6ce57000-7f9e6ce58000 r--p 0004c000 08:06 2498413                    /usr/lib/x86_64-linux-gnu/libhunspell-1.3.so.0.0.0
7f9e6ce58000-7f9e6ce5c000 rw-p 0004d000 08:06 2498413                    /usr/lib/x86_64-linux-gnu/libhunspell-1.3.so.0.0.0
7f9e6ce5c000-7f9e6ce60000 r-xp 00000000 08:06 2494049                    /usr/lib/enchant/libenchant_myspell.so
7f9e6ce60000-7f9e6d060000 ---p 00004000 08:06 2494049                    /usr/lib/enchant/libenchant_myspell.so
7f9e6d060000-7f9e6d061000 r--p 00004000 08:06 2494049                    /usr/lib/enchant/libenchant_myspell.so
7f9e6d061000-7f9e6d062000 rw-p 00005000 08:06 2494049                    /usr/lib/enchant/libenchant_myspell.so
7f9e6d062000-7f9e6d06d000 r-xp 00000000 08:06 2494047                    /usr/lib/enchant/libenchant_hspell.so
7f9e6d06d000-7f9e6d26c000 ---p 0000b000 08:06 2494047                    /usr/lib/enchant/libenchant_hspell.so
7f9e6d26c000-7f9e6d26d000 r--p 0000a000 08:06 2494047                    /usr/lib/enchant/libenchant_hspell.so
7f9e6d26d000-7f9e6d270000 rw-p 0000b000 08:06 2494047                    /usr/lib/enchant/libenchant_hspell.so
7f9e6d270000-7f9e6d291000 r--p 00000000 08:06 133981                     /usr/share/fonts/truetype/liberation/LiberationSans-BoldItalic.ttf
7f9e6d291000-7f9e6d2b9000 r--p 00000000 08:06 133982                     /usr/share/fonts/truetype/liberation/LiberationSans-Italic.ttf
7f9e6d2b9000-7f9e6d2bb000 r-xp 00000000 08:06 1310773                    /lib/libnss_mdns4.so.2
7f9e6d2bb000-7f9e6d4ba000 ---p 00002000 08:06 1310773                    /lib/libnss_mdns4.so.2
7f9e6d4ba000-7f9e6d4bb000 r--p 00001000 08:06 1310773                    /lib/libnss_mdns4.so.2
7f9e6d4bb000-7f9e6d4bc000 rw-p 00002000 08:06 1310773                    /lib/libnss_mdns4.so.2
7f9e6d4bc000-7f9e6d4c8000 r-xp 00000000 08:06 1314410                    /lib/x86_64-linux-gnu/libudev.so.0.13.0
7f9e6d4c8000-7f9e6d6c7000 ---p 0000c000 08:06 1314410                    /lib/x86_64-linux-gnu/libudev.so.0.13.0
7f9e6d6c7000-7f9e6d6c8000 r--p 0000b000 08:06 1314410                    /lib/x86_64-linux-gnu/libudev.so.0.13.0
7f9e6d6c8000-7f9e6d6c9000 rw-p 0000c000 08:06 1314410                    /lib/x86_64-linux-gnu/libudev.so.0.13.0
7f9e6d6c9000-7f9e6d6df000 r-xp 00000000 08:06 2752915                    /usr/lib/x86_64-linux-gnu/gvfs/libgvfscommon.so
7f9e6d6df000-7f9e6d8de000 ---p 00016000 08:06 2752915                    /usr/lib/x86_64-linux-gnu/gvfs/libgvfscommon.so
7f9e6d8de000-7f9e6d8df000 r--p 00015000 08:06 2752915                    /usr/lib/x86_64-linux-gnu/gvfs/libgvfscommon.so
7f9e6d8df000-7f9e6d8e0000 rw-p 00016000 08:06 2752915                    /usr/lib/x86_64-linux-gnu/gvfs/libgvfscommon.so
7f9e6d8e0000-7f9e6d908000 r-xp 00000000 08:06 2752916                    /usr/lib/x86_64-linux-gnu/gio/modules/libgvfsdbus.so
7f9e6d908000-7f9e6db07000 ---p 00028000 08:06 2752916                    /usr/lib/x86_64-linux-gnu/gio/modules/libgvfsdbus.so
7f9e6db07000-7f9e6db08000 r--p 00027000 08:06 2752916                    /usr/lib/x86_64-linux-gnu/gio/modules/libgvfsdbus.so
7f9e6db08000-7f9e6db09000 rw-p 00028000 08:06 2752916                    /usr/lib/x86_64-linux-gnu/gio/modules/libgvfsdbus.so
7f9e6db09000-7f9e6db1e000 r-xp 00000000 08:06 1314426                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7f9e6db1e000-7f9e6dd1d000 ---p 00015000 08:06 1314426                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7f9e6dd1d000-7f9e6dd1e000 r--p 00014000 08:06 1314426                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7f9e6dd1e000-7f9e6dd1f000 rw-p 00015000 08:06 1314426                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7f9e6dd1f000-7f9e6dd33000 r--p 00000000 08:06 133735                     /usr/share/fonts/type1/gsfonts/n019003l.pfb
7f9e6dd33000-7f9e6dd55000 r--p 00000000 08:06 133983                     /usr/share/fonts/truetype/liberation/LiberationSans-Regular.ttf
7f9e6dd55000-7f9e6dd56000 ---p 00000000 00:00 0 
7f9e6dd56000-7f9e6e556000 rw-p 00000000 00:00 0 
7f9e6e556000-7f9e6e594000 r-xp 00000000 08:06 2492088                    /usr/lib/x86_64-linux-gnu/libjpeg.so.8.0.2
7f9e6e594000-7f9e6e794000 ---p 0003e000 08:06 2492088                    /usr/lib/x86_64-linux-gnu/libjpeg.so.8.0.2
7f9e6e794000-7f9e6e795000 r--p 0003e000 08:06 2492088                    /usr/lib/x86_64-linux-gnu/libjpeg.so.8.0.2Abandon (core dumped)