Closed Bug 1486705 Opened 7 years ago Closed 6 years ago

SEGV in tbird 60 on aarch64 with lightning add-on

Categories

(Thunderbird :: General, defect)

defect
Not set
critical

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: richard.palo, Unassigned)

Details

(Keywords: crash)

Attachments

(3 files)

User Agent: Mozilla/5.0 (X11; Linux aarch64; rv:61.0) Gecko/20100101 Firefox/61.0 Build ID: 20180809061850 Steps to reproduce: as indicated in https://bugzilla.mozilla.org/show_bug.cgi?id=1482248 I still have issues running under aarch64 and a nfs home directory. $ uname -a Linux odroid-001e06336dd6 4.18.5-1-ARCH #1 SMP Fri Aug 24 18:33:45 MDT 2018 aarch64 GNU/Linux with patched tbird 60 on x86_64 server things seem just fine and I'm able to update to 60.0 I can even run via ssh ok, but if I try to run locally on aarch64 things core right away (as appended to the before-mentioned initial bug report) If I start up with --safe-mode, tbird starts up seemingly ok and I can work for awhile albeit in en_US and no addons. Actual results: When I File->Exit, after quite a bit of ho-humming, I get a coredump: $ coredumpctl gdb -1 PID: 19674 (thunderbird) UID: 1001 (richard) GID: 100 (users) Signal: 11 (SEGV) Timestamp: Tue 2018-08-28 09:03:12 CEST (8min ago) Command Line: /usr/lib/thunderbird/thunderbird --safe-mode Executable: /usr/lib/thunderbird/thunderbird Control Group: /user.slice/user-1001.slice/session-c4.scope Unit: session-c4.scope Slice: user-1001.slice Session: c4 Owner UID: 1001 (richard) Boot ID: ea95b9049eeb4cbbb41525b0cd545eb6 Machine ID: a3cf6c7e75e14060a929d42784885d41 Hostname: odroid-001e06336dd6 Storage: /var/lib/systemd/coredump/core.thunderbird.1001.ea95b9049eeb4cbbb41525b0cd545eb6.19674.1535439792000000.lz4 Message: Process 19674 (thunderbird) of user 1001 dumped core. Stack trace of thread 20039: #0 0x0000ffff9c5cd6a4 raise (libpthread.so.0) #1 0x0000ffff986496b0 n/a (libxul.so) #2 0x0000ffff98b48330 n/a (libxul.so) #3 0x0000ffff9c64764c n/a (linux-vdso.so.1) #4 0x0000ffff9c64764c n/a (linux-vdso.so.1) #5 0x0000ffff9863dc04 n/a (libxul.so) #6 0x0000ffff504fe1b0 n/a (n/a) #7 0x0000ffff504fe1b0 n/a (n/a) #8 0x0000ffff9c331f4c thread_start (libc.so.6) Stack trace of thread 19676: #0 0x0000ffff9c328700 __poll (libc.so.6) #1 0x0000ffff9ad58938 n/a (libglib-2.0.so.0) #2 0x0000ffff9ad58ac4 g_main_context_iteration (libglib-2.0.so.0) #3 0x0000ffff9ad58b44 n/a (libglib-2.0.so.0) #4 0x0000ffff9ad876b4 n/a (libglib-2.0.so.0) #5 0x0000ffff9c5c256c start_thread (libpthread.so.0) #6 0x0000ffff9c331f4c thread_start (libc.so.6) Stack trace of thread 19677: #0 0x0000ffff9c328700 __poll (libc.so.6) #1 0x0000ffff9ad58938 n/a (libglib-2.0.so.0) #2 0x0000ffff9ad58e68 g_main_loop_run (libglib-2.0.so.0) #3 0x0000ffff9afb93c4 n/a (libgio-2.0.so.0) #4 0x0000ffff9ad876b4 n/a (libglib-2.0.so.0) #5 0x0000ffff9c5c256c start_thread (libpthread.so.0) #6 0x0000ffff9c331f4c thread_start (libc.so.6) Stack trace of thread 19693: #0 0x0000ffff9c5c87f0 pthread_cond_wait@@GLIBC_2.17 (libpthread.so.0) #1 0x0000aaaabf076244 _ZN7mozilla6detail21ConditionVariableImpl4waitERNS0_9MutexImplE (thunderbird) #2 0x0000ffff95ff1560 n/a (libxul.so) #3 0x0000ffff95ff5e04 n/a (libxul.so) #4 0x0000ffff95ffedf8 n/a (libxul.so) #5 0x0000ffff962a9284 n/a (libxul.so) #6 0x0000ffff9627a32c n/a (libxul.so) #7 0x0000ffff95ff68b0 n/a (libxul.so) #8 0x0000ffff9bee1738 n/a (libnspr4.so) #9 0x0000ffff9bee1738 n/a (libnspr4.so) #10 0x0000ffff9c5c256c start_thread (libpthread.so.0) Stack trace of thread 19680: #0 0x0000ffff9c328700 __poll (libc.so.6) #1 0x0000ffff962682b8 n/a (libxul.so) #2 0x0000ffff95ff5e78 n/a (libxul.so) #3 0x0000ffff95ffedf8 n/a (libxul.so) #4 0x0000ffff962a91b4 n/a (libxul.so) #5 0x0000ffff9627a32c n/a (libxul.so) #6 0x0000ffff95ff68b0 n/a (libxul.so) #7 0x0000ffff9bee1738 n/a (libnspr4.so) #8 0x0000ffff9bee1738 n/a (libnspr4.so) #9 0x0000ffff9c5c256c start_thread (libpthread.so.0) Stack trace of thread 19694: #0 0x0000ffff9c5c87f0 pthread_cond_wait@@GLIBC_2.17 (libpthread.so.0) #1 0x0000aaaabf076244 _ZN7mozilla6detail21ConditionVariableImpl4waitERNS0_9MutexImplE (thunderbird) #2 0x0000ffff95fe5558 n/a (libxul.so) #3 0x0000ffff9bee1738 n/a (libnspr4.so) #4 0x0000ffff9bee1738 n/a (libnspr4.so) #5 0x0000ffff9c5c256c start_thread (libpthread.so.0) Stack trace of thread 19678: #0 0x0000ffff9c32e364 syscall (libc.so.6) #1 0x0000ffff9628d714 epoll_wait (libxul.so) #2 0x0000ffff9628f9c8 n/a (libxul.so) #3 0x0000ffff9629301c n/a (libxul.so) #4 0x0000ffff96277eb8 n/a (libxul.so) #5 0x0000ffff9627a32c n/a (libxul.so) #6 0x0000ffff96287a6c n/a (libxul.so) #7 0x0000ffff96277890 n/a (libxul.so) #8 0x0000ffff9c5c256c start_thread (libpthread.so.0) #9 0x0000ffff9c331f4c thread_start (libc.so.6) Stack trace of thread 19681: #0 0x0000ffff9c328700 __poll (libc.so.6) #1 0x0000ffff9bedc6f0 n/a (libnspr4.so) #2 0x0000ffff9bedc6f0 n/a (libnspr4.so) #3 0x0000ffff960a210c n/a (libxul.so) #4 0x0000ffff9266d830 n/a (n/a) GNU gdb (GDB) 8.1.1 Copyright (C) 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "aarch64-unknown-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /usr/lib/thunderbird/thunderbird...(no debugging symbols found)...done. [New LWP 20039] [New LWP 19676] [New LWP 19677] [New LWP 19693] [New LWP 19680] [New LWP 19694] [New LWP 19678] [New LWP 19681] [New LWP 19691] [New LWP 19698] [New LWP 19712] [New LWP 19702] [New LWP 19692] [New LWP 19699] [New LWP 19731] [New LWP 19703] [New LWP 19701] [New LWP 19700] [New LWP 19732] [New LWP 19723] [New LWP 19713] [New LWP 19742] [New LWP 19745] [New LWP 19719] [New LWP 19744] [New LWP 19725] [New LWP 19721] [New LWP 19763] [New LWP 19696] [New LWP 19730] [New LWP 19674] [New LWP 19722] [New LWP 19686] [New LWP 19740] [New LWP 19724] [New LWP 19684] [New LWP 19746] [New LWP 20011] [New LWP 20023] [New LWP 20024] [New LWP 19741] [New LWP 19682] [New LWP 19743] [New LWP 19739] [New LWP 19683] [New LWP 19966] [New LWP 19736] [New LWP 19738] [New LWP 19718] [New LWP 19685] [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". Core was generated by `/usr/lib/thunderbird/thunderbird --safe-mode'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x0000ffff9c5cd6a4 in raise () from /usr/lib/libpthread.so.0 [Current thread is 1 (Thread 0xffff504fe1b0 (LWP 20039))] (gdb) bt #0 0x0000ffff9c5cd6a4 in raise () at /usr/lib/libpthread.so.0 #1 0x0000ffff986496b0 in () at /usr/lib/thunderbird/libxul.so #2 0x0000ffff98b48330 in () at /usr/lib/thunderbird/libxul.so #3 0x0000ffff9c64764c in <signal handler called> () #4 0x0000ffff9863dce4 in () at /usr/lib/thunderbird/libxul.so #5 0x0000ffff9bee1738 in () at /usr/lib/libnspr4.so #6 0x0000ffffc92de7a8 in () Expected results: Things should work at least as well as under 59.x
BTW, the backtrace when executing omitting --safe-mode is: $ coredumpctl gdb -1 PID: 21482 (thunderbird) UID: 1001 (richard) GID: 100 (users) Signal: 11 (SEGV) Timestamp: Tue 2018-08-28 09:50:33 CEST (3min 44s ago) Command Line: /usr/lib/thunderbird/thunderbird Executable: /usr/lib/thunderbird/thunderbird Control Group: /user.slice/user-1001.slice/session-c4.scope Unit: session-c4.scope Slice: user-1001.slice Session: c4 Owner UID: 1001 (richard) Boot ID: ea95b9049eeb4cbbb41525b0cd545eb6 Machine ID: a3cf6c7e75e14060a929d42784885d41 Hostname: odroid-001e06336dd6 Storage: /var/lib/systemd/coredump/core.thunderbird.1001.ea95b9049eeb4cbbb41525b0cd545eb6.21482.1535442633000000.lz4 Message: Process 21482 (thunderbird) of user 1001 dumped core. Stack trace of thread 21482: #0 0x0000ffff9c9bb6a4 raise (libpthread.so.0) #1 0x0000ffff98a406b0 n/a (libxul.so) #2 0x0000ffff98f3f330 n/a (libxul.so) #3 0x0000ffff9ca3564c n/a (linux-vdso.so.1) #4 0x0000ffff9ca3564c n/a (linux-vdso.so.1) #5 0x0000ffff98af5660 n/a (libxul.so) #6 0x0000000000000003 n/a (n/a) #7 0x0000000000000003 n/a (n/a) #8 0x0000ffff968fee44 n/a (libxul.so) Stack trace of thread 21484: #0 0x0000ffff9c716700 __poll (libc.so.6) #1 0x0000ffff9b13d938 n/a (libglib-2.0.so.0) #2 0x0000ffff9b13dac4 g_main_context_iteration (libglib-2.0.so.0) #3 0x0000ffff9b13db44 n/a (libglib-2.0.so.0) #4 0x0000ffff9b16c6b4 n/a (libglib-2.0.so.0) #5 0x0000ffff9c9b056c start_thread (libpthread.so.0) #6 0x0000ffff9c71ff4c thread_start (libc.so.6) Stack trace of thread 21486: #0 0x0000ffff9c71c364 syscall (libc.so.6) #1 0x0000ffff96684714 epoll_wait (libxul.so) #2 0x0000ffff966869c8 n/a (libxul.so) #3 0x0000ffff9668a01c n/a (libxul.so) #4 0x0000ffff9666eeb8 n/a (libxul.so) #5 0x0000ffff9667132c n/a (libxul.so) #6 0x0000ffff9667ea6c n/a (libxul.so) #7 0x0000ffff9666e890 n/a (libxul.so) #8 0x0000ffff9c9b056c start_thread (libpthread.so.0) #9 0x0000ffff9c71ff4c thread_start (libc.so.6) Stack trace of thread 21485: #0 0x0000ffff9c716700 __poll (libc.so.6) #1 0x0000ffff9b13d938 n/a (libglib-2.0.so.0) #2 0x0000ffff9b13de68 g_main_loop_run (libglib-2.0.so.0) #3 0x0000ffff9b39e3c4 n/a (libgio-2.0.so.0) #4 0x0000ffff9b16c6b4 n/a (libglib-2.0.so.0) #5 0x0000ffff9c9b056c start_thread (libpthread.so.0) #6 0x0000ffff9c71ff4c thread_start (libc.so.6) Stack trace of thread 21497: #0 0x0000ffff9c9b67f0 pthread_cond_wait@@GLIBC_2.17 (libpthread.so.0) #1 0x0000aaaabf962244 _ZN7mozilla6detail21ConditionVariableImpl4waitERNS0_9MutexImplE (thunderbird) #2 0x0000aaaabf962488 _ZN7mozilla6detail21ConditionVariableImpl8wait_forERNS0_9MutexImplERKNS_16BaseTimeDurationINS_27TimeDurationValueCalculatorEEE (thunderbird) #3 0x0000ffff98db5638 n/a (libxul.so) #4 0x0000ffff98db1db0 n/a (libxul.so) #5 0x0000ffff9c9b056c start_thread (libpthread.so.0) #6 0x0000ffff9c71ff4c thread_start (libc.so.6) Stack trace of thread 21500: #0 0x0000ffff9c9b67f0 pthread_cond_wait@@GLIBC_2.17 (libpthread.so.0) #1 0x0000aaaabf962244 _ZN7mozilla6detail21ConditionVariableImpl4waitERNS0_9MutexImplE (thunderbird) #2 0x0000aaaabf962488 _ZN7mozilla6detail21ConditionVariableImpl8wait_forERNS0_9MutexImplERKNS_16BaseTimeDurationINS_27TimeDurationValueCalculatorEEE (thunderbird) #3 0x0000ffff98db5638 n/a (libxul.so) #4 0x0000ffff98db1db0 n/a (libxul.so) #5 0x0000ffff9c9b056c start_thread (libpthread.so.0) #6 0x0000ffff9c71ff4c thread_start (libc.so.6) Stack trace of thread 21498: #0 0x0000ffff9c9b67f0 pthread_cond_wait@@GLIBC_2.17 (libpthread.so.0) #1 0x0000aaaabf962244 _ZN7mozilla6detail21ConditionVariableImpl4waitERNS0_9MutexImplE (thunderbird) #2 0x0000aaaabf962488 _ZN7mozilla6detail21ConditionVariableImpl8wait_forERNS0_9MutexImplERKNS_16BaseTimeDurationINS_27TimeDurationValueCalculatorEEE (thunderbird) #3 0x0000ffff98db5638 n/a (libxul.so) #4 0x0000ffff98db1db0 n/a (libxul.so) #5 0x0000ffff9c9b056c start_thread (libpthread.so.0) #6 0x0000ffff9c71ff4c thread_start (libc.so.6) Stack trace of thread 21502: #0 0x0000ffff9c71c364 syscall (libc.so.6) #1 0x0000ffff96684714 epoll_wait (libxul.so) #2 0x0000ffff990ce8dc n/a (libxul.so) #3 0x0000ffff9909e2c8 n/a (libxul.so) #4 0x0000ffff9909d380 n/a (libxul.so) #5 0x0000ffff9909d1e4 n/a (libxul.so) #6 0x0000ffff993dfa4c n/a (libxul.so) #7 0x0000ffff9c9b056c start_thread (libpthread.so.0) #8 0x0000ffff9c71ff4c thread_start (libc.so.6) Stack trace of thread 21494: #0 0x0000ffff9c716700 __poll (libc.so.6) #1 0x0000ffff9665f2b8 n/a (libxul.so) #2 0x0000ffff963ece78 n/a (libxul.so) #3 0x0000ffff963f5df8 n/a (libxul.so) #4 0x0000ffff966a01b4 n/a (libxul.so) #5 0x0000ffff9667132c n/a (libxul.so) #6 0x0000ffff963ed8b0 n/a (libxul.so) #7 0x0000ffff9c2e1738 n/a (libnspr4.so) #8 0x0000ffff9c2e1738 n/a (libnspr4.so) #9 0x0000ffff9c9b056c start_thread (libpthread.so.0) Stack trace of thread 21496: #0 0x0000ffff9c9b6b10 pthread_cond_timedwait@@GLIBC_2.17 (libpthread.so.0) #1 0x0000ffff9c2d9e40 n/a (libnspr4.so) #2 0x0000ffff9c2d9e40 n/a (libnspr4.so) #3 0x0000ffff9c2da448 PR_WaitCondVar (libnspr4.so) #4 0x0000ffff968c6f74 n/a (libxul.so) #5 0x0000ffff9c9b0450 start_thread (libpthread.so.0) #6 0x0000ffff9c71ff4c thread_start (libc.so.6) Stack trace of thread 21499: #0 0x0000ffff9c9b67f0 pthread_cond_wait@@GLIBC_2.17 (libpthread.so.0) #1 0x0000aaaabf962244 _ZN7mozilla6detail21ConditionVariableImpl4waitERNS0_9MutexImplE (thunderbird) #2 0x0000aaaabf962488 _ZN7mozilla6detail21ConditionVariableImpl8wait_forERNS0_9MutexImplERKNS_16BaseTimeDurationINS_27TimeDurationValueCalculatorEEE (thunderbird) #3 0x0000ffff98db5638 n/a (libxul.so) #4 0x0000ffff98db1db0 n/a (libxul.so) #5 0x0000ffff9c9b056c start_thread (libpthread.so.0) #6 0x0000ffff9c71ff4c thread_start (libc.so.6) Stack trace of thread 21503: #0 0x0000ffff9c9b67f0 pthread_cond_wait@@GLIBC_2.17 (libpthread.so.0) #1 0x0000aaaabf962244 _ZN7mozilla6detail21ConditionVariableImpl4waitERNS0_9MutexImplE (thunderbird) #2 0x0000ffff963e8560 n/a (libxul.so) #3 0x0000ffff963ece04 n/a (libxul.so) #4 0x0000ffff963f5df8 n/a (libxul.so) #5 0x0000ffff966a0284 n/a (libxul.so) #6 0x0000ffff9667132c n/a (libxul.so) #7 0x0000ffff963ed8b0 n/a (libxul.so) #8 0x0000ffff9c2e1738 n/a (libnspr4.so) #9 0x0000ffff9c2e1738 n/a (libnspr4.so) #10 0x0000ffff9c9b056c start_thread (libpthread.so.0) Stack trace of thread 21501: #0 0x0000ffff9c71c364 syscall (libc.so.6) #1 0x0000ffff96684714 epoll_wait (libxul.so) #2 0x0000ffff990ce8dc n/a (libxul.so) #3 0x0000ffff9909e2c8 n/a (libxul.so) #4 0x0000ffff990a0818 n/a (libxul.so) #5 0x0000ffff990a067c n/a (libxul.so) #6 0x0000ffff993dfa4c n/a (libxul.so) #7 0x0000ffff9c9b056c start_thread (libpthread.so.0) #8 0x0000ffff9c71ff4c thread_start (libc.so.6) Stack trace of thread 21495: #0 0x0000ffff9c716700 __poll (libc.so.6) #1 0x0000ffff9c2dc6f0 n/a (libnspr4.so) #2 0x0000ffff9c2dc6f0 n/a (libnspr4.so) #3 0x0000ffff9649910c n/a (libxul.so) #4 0x0000ffff92a6d830 n/a (n/a) GNU gdb (GDB) 8.1.1 Copyright (C) 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "aarch64-unknown-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /usr/lib/thunderbird/thunderbird...(no debugging symbols found)...done. [New LWP 21482] [New LWP 21484] [New LWP 21486] [New LWP 21485] [New LWP 21497] [New LWP 21500] [New LWP 21498] [New LWP 21502] [New LWP 21494] [New LWP 21496] [New LWP 21499] [New LWP 21503] [New LWP 21501] [New LWP 21495] [New LWP 21506] [New LWP 21509] [New LWP 21504] [New LWP 21510] [New LWP 21507] [New LWP 21512] [New LWP 21511] [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". Core was generated by `/usr/lib/thunderbird/thunderbird'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x0000ffff9c9bb6a4 in raise () from /usr/lib/libpthread.so.0 [Current thread is 1 (Thread 0xffff9ca31030 (LWP 21482))] (gdb) bt #0 0x0000ffff9c9bb6a4 in raise () at /usr/lib/libpthread.so.0 #1 0x0000ffff98a406b0 in () at /usr/lib/thunderbird/libxul.so #2 0x0000ffff98f3f330 in () at /usr/lib/thunderbird/libxul.so #3 0x0000ffff9ca3564c in <signal handler called> () #4 0x0000ffff98d0b520 in () at /usr/lib/thunderbird/libxul.so #5 0x0000ffff98af5660 in () at /usr/lib/thunderbird/libxul.so #6 0x0000ffff98aeac78 in () at /usr/lib/thunderbird/libxul.so #7 0x0000ffff98af509c in () at /usr/lib/thunderbird/libxul.so #8 0x0000ffff98af5544 in () at /usr/lib/thunderbird/libxul.so #9 0x0000ffff98aeac78 in () at /usr/lib/thunderbird/libxul.so #10 0x0000ffff98af509c in () at /usr/lib/thunderbird/libxul.so #11 0x0000ffff98af5544 in () at /usr/lib/thunderbird/libxul.so #12 0x0000ffff98af57f8 in () at /usr/lib/thunderbird/libxul.so #13 0x0000ffff98cfe21c in () at /usr/lib/thunderbird/libxul.so #14 0x0000ffff96902b28 in () at /usr/lib/thunderbird/libxul.so #15 0x0000ffff963fc59c in () at /usr/lib/thunderbird/libxul.so #16 0x0000ffff963fc85c in () at /usr/lib/thunderbird/libxul.so #17 0x0000ffff885ebfd0 in ()
Does bug 1461041 comment 1 help? And, the patch Bug 1461041 is in version 61, which thunderbird hasn't built or shipped. So you might want to try thunderbird daily code.
Severity: normal → critical
Component: Untriaged → General
Flags: needinfo?(richard)
Keywords: crash
I'll see if I can get this built to try... thanks!
Flags: needinfo?(richard)
Have not had a chance to get cross build environment up and tested, but I found by using --safe-mode that after disabling all extensions and enabling one by one that the SEGV culprit is *lightning* (which is now builtin!). Currently, my odroid-C2 is running: Linux odroid-001e06336dd6 4.18.8-1-ARCH #1 SMP Sun Sep 16 13:17:30 MDT 2018 aarch64 GNU/Linux This should be much easier for the devs to track down now.
Product: Thunderbird → Calendar
Summary: SEGV in tbird 60 on aarch64 even in safe-mode → SEGV in tbird 60 on aarch64 with lightning add-on
Version: 60 → unspecified
Unfortunately I notice as well that I can no longer right-click on an email attachment and open, for example with evince, a pdf file or an office document with libreoffice, I get systematically it seems the same SEGV: $ coredumpctl info PID: 917 (thunderbird) UID: 1001 (richard) GID: 100 (users) Signal: 11 (SEGV) Timestamp: Wed 2018-10-03 09:03:51 CEST (4min 31s ago) Command Line: /usr/lib/thunderbird/thunderbird Executable: /usr/lib/thunderbird/thunderbird Control Group: /user.slice/user-1001.slice/session-5.scope Unit: session-5.scope Slice: user-1001.slice Session: 5 Owner UID: 1001 (richard) Boot ID: cb2ac1605c6e4d40b9d12e8e3e3ac880 Machine ID: a3cf6c7e75e14060a929d42784885d41 Hostname: odroid-001e06336dd6 Storage: /var/lib/systemd/coredump/core.thunderbird.1001.cb2ac1605c6e4d40b9d12e8e3e3ac880.917.1538550231000000.lz4 Message: Process 917 (thunderbird) of user 1001 dumped core. Stack trace of thread 917: #0 0x0000ffff962ad6a4 raise (libpthread.so.0) #1 0x0000ffff921976b0 n/a (libxul.so) #2 0x0000ffff92696330 n/a (libxul.so) #3 0x0000ffff9633364c n/a (linux-vdso.so.1) #4 0x0000ffff9633364c n/a (linux-vdso.so.1) #5 0x0000ffff923309b8 n/a (libxul.so) #6 0x0000ffffc43694e8 n/a (n/a) I mention it here instead of opening a new bugreport since the traceback is the same. I hope there is very soon a return to stability...
I don't see any relation to calendar in the backtraces you posted above. And if I get the initial report correctly, TB is crashing for you also in safe mode (which obvously prevents any calendar code from being executed). Wayne, I suggest you move the bug back to TB for further anaylsis.
I believe I was clear in that using safe-mode I disabled extensions until running in safe-mode permitted normal operation... which happened when I disabled lightning. I do not run in safe-mode as, among all others, the french language extension is disabled. Also, I can spontaneously create a situation (perhaps unrelated, but with the same symptoms) of the crash by trying to open an attached document. Perhaps there is somehow some pertinent common code invoked for these two cases. cheers
Regardless, your backtraces do not refer to any piece of calendar code, so it's either unrelated to calendar (just the fact that you have Lightning enabled when it crashing while it's not crashing when Lightning disabled is just an indication but not an evedince that this is a calendar issue) or currently not (yet) actionable. Lightning uses TB code but the opposite is not true. That said, if you can produce a crash by dealing with email attachments that results in the same backtrace, this is a very strong indication that this is a TB (or Core) issue.
Just tested with the recent 60.2.1 running on Linux 4.19.0-1-ARCH with more or less the same results. That is I need to disable lightning in safe-mode in order to be able to launch tb normally, and it segfaults with the same actions. I also see the following on a terminal output now: $ thunderbird (thunderbird:1317): Gtk-WARNING **: 09:32:49.034: Theme parsing error: <data>:1:34: Expected ')' in color definition (thunderbird:1317): Gtk-WARNING **: 09:32:49.034: Theme parsing error: <data>:1:77: Expected ')' in color definition (thunderbird:1317): dconf-WARNING **: 09:35:05.057: failed to commit changes to dconf: GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._g_2dfile_2derror_2dquark.Code24: Cannot open dconf database: Failed to get attributes of file “/home/richard/.config/dconf/user”: fstat() failed: Stale file handle <this last line repeated many many times> I hope this can be soon resolved else we'll need to find a more stable alternative. BTW, the following results if I try to send the diagnostic page to myself: PID: 1181 (thunderbird) UID: 1001 (richard) GID: 100 (users) Signal: 11 (SEGV) Timestamp: Tue 2018-10-23 09:30:11 CEST (14min ago) Command Line: /usr/lib/thunderbird/thunderbird Executable: /usr/lib/thunderbird/thunderbird Control Group: /user.slice/user-1001.slice/session-2.scope Unit: session-2.scope Slice: user-1001.slice Session: 2 Owner UID: 1001 (richard) Boot ID: b0ec0787f3c64db8af3028588b9fa3a1 Machine ID: a3cf6c7e75e14060a929d42784885d41 Hostname: odroid-001e06336dd6 Storage: /var/lib/systemd/coredump/core.thunderbird.1001.b0ec0787f3c64db8af3028588b9fa3a1.1181.1540279811000000.lz4 Message: Process 1181 (thunderbird) of user 1001 dumped core. Stack trace of thread 1277: #0 0x0000ffff976496a4 raise (libpthread.so.0) #1 0x0000ffff93511500 n/a (libxul.so) #2 0x0000ffff93a08168 n/a (libxul.so) #3 0x0000ffff976cd66c n/a (linux-vdso.so.1) #4 0x0000ffff976cd66c n/a (linux-vdso.so.1) #5 0x0000ffff938f23f0 n/a (libxul.so) Stack trace of thread 1185: #0 0x0000ffff973a4700 __poll (libc.so.6) #1 0x0000ffff95bd7848 n/a (libglib-2.0.so.0) #2 0x0000ffff95bd79cc g_main_context_iteration (libglib-2.0.so.0) #3 0x0000ffff95bd7a4c n/a (libglib-2.0.so.0) #4 0x0000ffff95c053fc n/a (libglib-2.0.so.0) #5 0x0000ffff9763e56c start_thread (libpthread.so.0) #6 0x0000ffff973adf4c thread_start (libc.so.6) Stack trace of thread 1200: #0 0x0000ffff976447f0 pthread_cond_wait@@GLIBC_2.17 (libpthread.so.0) #1 0x0000aaaab208a244 _ZN7mozilla6detail21ConditionVariableImpl4waitERNS0_9MutexImplE (thunderbird) #2 0x0000aaaab208a488 _ZN7mozilla6detail21ConditionVariableImpl8wait_forERNS0_9MutexImplERKNS_16BaseTimeDurationINS_27TimeDurationValueCalculatorEEE (thunderbird) #3 0x0000ffff9387f558 n/a (libxul.so) #4 0x0000ffff9387bcd0 n/a (libxul.so) #5 0x0000ffff9763e56c start_thread (libpthread.so.0) #6 0x0000ffff973adf4c thread_start (libc.so.6) Stack trace of thread 1187: #0 0x0000ffff973aa364 syscall (libc.so.6) #1 0x0000ffff911470fc epoll_wait (libxul.so) #2 0x0000ffff911493b0 n/a (libxul.so) #3 0x0000ffff9114ba04 n/a (libxul.so) #4 0x0000ffff911318a0 n/a (libxul.so) #5 0x0000ffff91133d14 n/a (libxul.so) #6 0x0000ffff91141454 n/a (libxul.so) #7 0x0000ffff91131278 n/a (libxul.so) #8 0x0000ffff9763e56c start_thread (libpthread.so.0) #9 0x0000ffff973adf4c thread_start (libc.so.6) Stack trace of thread 1199: #0 0x0000ffff976447f0 pthread_cond_wait@@GLIBC_2.17 (libpthread.so.0) #1 0x0000aaaab208a244 _ZN7mozilla6detail21ConditionVariableImpl4waitERNS0_9MutexImplE (thunderbird) #2 0x0000aaaab208a488 _ZN7mozilla6detail21ConditionVariableImpl8wait_forERNS0_9MutexImplERKNS_16BaseTimeDurationINS_27TimeDurationValueCalculatorEEE (thunderbird) #3 0x0000ffff9387f558 n/a (libxul.so) #4 0x0000ffff9387bcd0 n/a (libxul.so) #5 0x0000ffff9763e56c start_thread (libpthread.so.0) #6 0x0000ffff973adf4c thread_start (libc.so.6) Stack trace of thread 1203: #0 0x0000ffff973aa364 syscall (libc.so.6) #1 0x0000ffff911470fc epoll_wait (libxul.so) #2 0x0000ffff93b990a0 n/a (libxul.so) #3 0x0000ffff93b672a8 n/a (libxul.so) #4 0x0000ffff93b698d0 n/a (libxul.so) #5 0x0000ffff93b69718 n/a (libxul.so) #6 0x0000ffff93eab938 n/a (libxul.so) #7 0x0000ffff9763e56c start_thread (libpthread.so.0) #8 0x0000ffff973adf4c thread_start (libc.so.6) Stack trace of thread 1202: #0 0x0000ffff976447f0 pthread_cond_wait@@GLIBC_2.17 (libpthread.so.0) #1 0x0000aaaab208a244 _ZN7mozilla6detail21ConditionVariableImpl4waitERNS0_9MutexImplE (thunderbird) #2 0x0000aaaab208a488 _ZN7mozilla6detail21ConditionVariableImpl8wait_forERNS0_9MutexImplERKNS_16BaseTimeDurationINS_27TimeDurationValueCalculatorEEE (thunderbird) #3 0x0000ffff9387f558 n/a (libxul.so) #4 0x0000ffff9387bcd0 n/a (libxul.so) #5 0x0000ffff9763e56c start_thread (libpthread.so.0) #6 0x0000ffff973adf4c thread_start (libc.so.6) Stack trace of thread 1206: #0 0x0000ffff976447f0 pthread_cond_wait@@GLIBC_2.17 (libpthread.so.0) #1 0x0000aaaab208a244 _ZN7mozilla6detail21ConditionVariableImpl4waitERNS0_9MutexImplE (thunderbird) #2 0x0000ffff90e9dd58 n/a (libxul.so) #3 0x0000ffff96f54894 n/a (libnspr4.so) #4 0x0000ffff9763e56c start_thread (libpthread.so.0) #5 0x0000ffff973adf4c thread_start (libc.so.6) Stack trace of thread 1194: #0 0x0000ffff973a4700 __poll (libc.so.6) #1 0x0000ffff91121ca0 n/a (libxul.so) #2 0x0000ffff90eae678 n/a (libxul.so) #3 0x0000ffff90eb75f8 n/a (libxul.so) #4 0x0000ffff91160b9c n/a (libxul.so) #5 0x0000ffff91133d14 n/a (libxul.so) #6 0x0000ffff90eaf0b0 n/a (libxul.so) #7 0x0000ffff96f54894 n/a (libnspr4.so) #8 0x0000ffff9763e56c start_thread (libpthread.so.0) #9 0x0000ffff973adf4c thread_start (libc.so.6) Stack trace of thread 1219: #0 0x0000ffff976447f0 pthread_cond_wait@@GLIBC_2.17 (libpthread.so.0) #1 0x0000aaaab208a244 _ZN7mozilla6detail21ConditionVariableImpl4waitERNS0_9MutexImplE (thunderbird) #2 0x0000ffff90ea9d60 n/a (libxul.so) #3 0x0000ffff90eae604 n/a (libxul.so) #4 0x0000ffff90eb75f8 n/a (libxul.so) #5 0x0000ffff91160c6c n/a (libxul.so) #6 0x0000ffff91133d14 n/a (libxul.so) #7 0x0000ffff90eaf0b0 n/a (libxul.so) #8 0x0000ffff96f54894 n/a (libnspr4.so) #9 0x0000ffff9763e56c start_thread (libpthread.so.0) #10 0x0000ffff973adf4c thread_start (libc.so.6) Stack trace of thread 1211: #0 0x0000ffff976447f0 pthread_cond_wait@@GLIBC_2.17 (libpthread.so.0) #1 0x0000aaaab208a244 _ZN7mozilla6detail21ConditionVariableImpl4waitERNS0_9MutexImplE (thunderbird) #2 0x0000ffff90ffc1c8 n/a (libxul.so) #3 0x0000ffff90ffc27c n/a (libxul.so) #4 0x0000ffff96f54894 n/a (libnspr4.so) #5 0x0000ffff9763e56c start_thread (libpthread.so.0) #6 0x0000ffff973adf4c thread_start (libc.so.6) Stack trace of thread 1201: #0 0x0000ffff976447f0 pthread_cond_wait@@GLIBC_2.17 (libpthread.so.0) #1 0x0000aaaab208a244 _ZN7mozilla6detail21ConditionVariableImpl4waitERNS0_9MutexImplE (thunderbird) #2 0x0000aaaab208a488 _ZN7mozilla6detail21ConditionVariableImpl8wait_forERNS0_9MutexImplERKNS_16BaseTimeDurationINS_27TimeDurationValueCalculatorEEE (thunderbird) #3 0x0000ffff9387f558 n/a (libxul.so) #4 0x0000ffff9387bcd0 n/a (libxul.so) #5 0x0000ffff9763e56c start_thread (libpthread.so.0) #6 0x0000ffff973adf4c thread_start (libc.so.6) Stack trace of thread 1229: #0 0x0000ffff976447f0 pthread_cond_wait@@GLIBC_2.17 (libpthread.so.0) #1 0x0000ffff93e8b8ac n/a (libxul.so) #2 0x0000ffff93e8dbf4 n/a (libxul.so) #3 0x0000ffff93e8d8fc n/a (libxul.so) #4 0x0000ffff93e8d400 n/a (libxul.so) #5 0x0000ffff93eab938 n/a (libxul.so) #6 0x0000ffff9763e56c start_thread (libpthread.so.0) #7 0x0000ffff973adf4c thread_start (libc.so.6) Stack trace of thread 1212: #0 0x0000ffff976447f0 pthread_cond_wait@@GLIBC_2.17 (libpthread.so.0) #1 0x0000aaaab208a244 _ZN7mozilla6detail21ConditionVariableImpl4waitERNS0_9MutexImplE (thunderbird) #2 0x0000ffff90ea9d60 n/a (libxul.so) #3 0x0000ffff90eae604 n/a (libxul.so) #4 0x0000ffff90eb75f8 n/a (libxul.so) #5 0x0000ffff91160c6c n/a (libxul.so) #6 0x0000ffff91133d14 n/a (libxul.so) #7 0x0000ffff90eaf0b0 n/a (libxul.so) #8 0x0000ffff96f54894 n/a (libnspr4.so) #9 0x0000ffff9763e56c start_thread (libpthread.so.0) #10 0x0000ffff973adf4c thread_start (libc.so.6) Stack trace of thread 1205: #0 0x0000ffff976447f0 pthread_cond_wait@@GLIBC_2.17 (libpthread.so.0) #1 0x0000aaaab208a244 _ZN7mozilla6detail21ConditionVariableImpl4waitERNS0_9MutexImplE (thunderbird) #2 0x0000ffff90ea9d60 n/a (libxul.so) #3 0x0000ffff90eae604 n/a (libxul.so) #4 0x0000ffff90eb75f8 n/a (libxul.so) #5 0x0000ffff91160c6c n/a (libxul.so) #6 0x0000ffff91133d14 n/a (libxul.so) #7 0x0000ffff90eaf0b0 n/a (libxul.so) #8 0x0000ffff96f54894 n/a (libnspr4.so) #9 0x0000ffff9763e56c start_thread (libpthread.so.0) #10 0x0000ffff973adf4c thread_start (libc.so.6) Stack trace of thread 1232: #0 0x0000ffff976447f0 pthread_cond_wait@@GLIBC_2.17 (libpthread.so.0) #1 0x0000aaaab208a244 _ZN7mozilla6detail21ConditionVariableImpl4waitERNS0_9MutexImplE (thunderbird) #2 0x0000ffff90ea9d60 n/a (libxul.so) #3 0x0000ffff90eae604 n/a (libxul.so) #4 0x0000ffff90eb75f8 n/a (libxul.so) #5 0x0000ffff91160c6c n/a (libxul.so) #6 0x0000ffff91133d14 n/a (libxul.so) #7 0x0000ffff90eaf0b0 n/a (libxul.so) #8 0x0000ffff96f54894 n/a (libnspr4.so) #9 0x0000ffff9763e56c start_thread (libpthread.so.0) #10 0x0000ffff973adf4c thread_start (libc.so.6) Stack trace of thread 1217: #0 0x0000ffff976447f0 pthread_cond_wait@@GLIBC_2.17 (libpthread.so.0) #1 0x0000ffff911402f4 n/a (libxul.so) #2 0x0000ffff9114033c n/a (libxul.so) #3 0x0000ffff91131b6c n/a (libxul.so) #4 0x0000ffff91133d14 n/a (libxul.so) #5 0x0000ffff91141454 n/a (libxul.so) #6 0x0000ffff91131278 n/a (libxul.so) #7 0x0000ffff9763e56c start_thread (libpthread.so.0) #8 0x0000ffff973adf4c thread_start (libc.so.6) Stack trace of thread 1214: #0 0x0000ffff976447f0 pthread_cond_wait@@GLIBC_2.17 (libpthread.so.0) #1 0x0000aaaab208a244 _ZN7mozilla6detail21ConditionVariableImpl4waitERNS0_9MutexImplE (thunderbird) #2 0x0000ffff90ea9d60 n/a (libxul.so) #3 0x0000ffff90eae604 n/a (libxul.so) #4 0x0000ffff90eb75f8 n/a (libxul.so) #5 0x0000ffff91160c6c n/a (libxul.so) #6 0x0000ffff91133d14 n/a (libxul.so) #7 0x0000ffff90eaf0b0 n/a (libxul.so) #8 0x0000ffff96f54894 n/a (libnspr4.so) #9 0x0000ffff9763e56c start_thread (libpthread.so.0) #10 0x0000ffff973adf4c thread_start (libc.so.6) Stack trace of thread 1243: #0 0x0000ffff976447f0 pthread_cond_wait@@GLIBC_2.17 (libpthread.so.0) #1 0x0000aaaab208a244 _ZN7mozilla6detail21ConditionVariableImpl4waitERNS0_9MutexImplE (thunderbird) #2 0x0000ffff90ea9d60 n/a (libxul.so) #3 0x0000ffff90eae604 n/a (libxul.so) #4 0x0000ffff90eb75f8 n/a (libxul.so) #5 0x0000ffff91160c6c n/a (libxul.so) #6 0x0000ffff91133d14 n/a (libxul.so) #7 0x0000ffff90eaf0b0 n/a (libxul.so) #8 0x0000ffff96f54894 n/a (libnspr4.so) #9 0x0000ffff9763e56c start_thread (libpthread.so.0) #10 0x0000ffff973adf4c thread_start (libc.so.6) Stack trace of thread 1224: #0 0x0000ffff976447f0 pthread_cond_wait@@GLIBC_2.17 (libpthread.so.0) #1 0x0000aaaab208a244 _ZN7mozilla6detail21ConditionVariableImpl4waitERNS0_9MutexImplE (thunderbird) #2 0x0000ffff90ea9d60 n/a (libxul.so) #3 0x0000ffff90eae604 n/a (libxul.so) #4 0x0000ffff90eb75f8 n/a (libxul.so) #5 0x0000ffff91160c6c n/a (libxul.so) #6 0x0000ffff91133d14 n/a (libxul.so) #7 0x0000ffff90eaf0b0 n/a (libxul.so) #8 0x0000ffff96f54894 n/a (libnspr4.so) #9 0x0000ffff9763e56c start_thread (libpthread.so.0) #10 0x0000ffff973adf4c thread_start (libc.so.6) Stack trace of thread 1218: #0 0x0000ffff976447f0 pthread_cond_wait@@GLIBC_2.17 (libpthread.so.0) #1 0x0000aaaab208a244 _ZN7mozilla6detail21ConditionVariableImpl4waitERNS0_9MutexImplE (thunderbird) #2 0x0000ffff9177df3c n/a (libxul.so) #3 0x0000ffff9177e2ac n/a (libxul.so) #4 0x0000ffff90eae678 n/a (libxul.so) #5 0x0000ffff90eb75f8 n/a (libxul.so) #6 0x0000ffff91160b9c n/a (libxul.so) #7 0x0000ffff91133d14 n/a (libxul.so) #8 0x0000ffff90eaf0b0 n/a (libxul.so) #9 0x0000ffff96f54894 n/a (libnspr4.so) #10 0x0000ffff9763e56c start_thread (libpthread.so.0) #11 0x0000ffff973adf4c thread_start (libc.so.6) Stack trace of thread 1244: #0 0x0000ffff976447f0 pthread_cond_wait@@GLIBC_2.17 (libpthread.so.0) #1 0x0000aaaab208a244 _ZN7mozilla6detail21ConditionVariableImpl4waitERNS0_9MutexImplE (thunderbird) #2 0x0000ffff90ea9d60 n/a (libxul.so) #3 0x0000ffff90eae604 n/a (libxul.so) #4 0x0000ffff90eb75f8 n/a (libxul.so) #5 0x0000ffff91160c6c n/a (libxul.so) #6 0x0000ffff91133d14 n/a (libxul.so) #7 0x0000ffff90eaf0b0 n/a (libxul.so) #8 0x0000ffff96f54894 n/a (libnspr4.so) #9 0x0000ffff9763e56c start_thread (libpthread.so.0) #10 0x0000ffff973adf4c thread_start (libc.so.6) Stack trace of thread 1228: #0 0x0000ffff976447f0 pthread_cond_wait@@GLIBC_2.17 (libpthread.so.0) #1 0x0000ffff93e8b8ac n/a (libxul.so) #2 0x0000ffff93e8dbf4 n/a (libxul.so) #3 0x0000ffff93e8d8fc n/a (libxul.so) #4 0x0000ffff93e8d400 n/a (libxul.so) #5 0x0000ffff93eab938 n/a (libxul.so) #6 0x0000ffff9763e56c start_thread (libpthread.so.0) #7 0x0000ffff973adf4c thread_start (libc.so.6) Stack trace of thread 1233: #0 0x0000ffff976447f0 pthread_cond_wait@@GLIBC_2.17 (libpthread.so.0) #1 0x0000aaaab208a244 _ZN7mozilla6detail21ConditionVariableImpl4waitERNS0_9MutexImplE (thunderbird) #2 0x0000ffff90ea9d60 n/a (libxul.so) #3 0x0000ffff90eae604 n/a (libxul.so) #4 0x0000ffff90eb75f8 n/a (libxul.so) #5 0x0000ffff91160c6c n/a (libxul.so) #6 0x0000ffff91133d14 n/a (libxul.so) #7 0x0000ffff90eaf0b0 n/a (libxul.so) #8 0x0000ffff96f54894 n/a (libnspr4.so) #9 0x0000ffff9763e56c start_thread (libpthread.so.0) #10 0x0000ffff973adf4c thread_start (libc.so.6) Stack trace of thread 1231: #0 0x0000ffff976447f0 pthread_cond_wait@@GLIBC_2.17 (libpthread.so.0) #1 0x0000aaaab208a244 _ZN7mozilla6detail21ConditionVariableImpl4waitERNS0_9MutexImplE (thunderbird) #2 0x0000ffff90ea9d60 n/a (libxul.so) #3 0x0000ffff90eae604 n/a (libxul.so) #4 0x0000ffff90eb75f8 n/a (libxul.so) #5 0x0000ffff91160c6c n/a (libxul.so) #6 0x0000ffff91133d14 n/a (libxul.so) #7 0x0000ffff90eaf0b0 n/a (libxul.so) #8 0x0000ffff96f54894 n/a (libnspr4.so) #9 0x0000ffff9763e56c start_thread (libpthread.so.0) #10 0x0000ffff973adf4c thread_start (libc.so.6) Stack trace of thread 1248: #0 0x0000ffff97644c4c pthread_cond_timedwait@@GLIBC_2.17 (libpthread.so.0) #1 0x0000aaaab208a3dc _ZN7mozilla6detail21ConditionVariableImpl8wait_forERNS0_9MutexImplERKNS_16BaseTimeDurationINS_27TimeDurationValueCalculatorEEE (thunderbird) #2 0x0000ffff9177de9c n/a (libxul.so) #3 0x0000ffff9177e2ac n/a (libxul.so) #4 0x0000ffff90eae678 n/a (libxul.so) #5 0x0000ffff90eb75f8 n/a (libxul.so) #6 0x0000ffff91160b9c n/a (libxul.so) #7 0x0000ffff91133d14 n/a (libxul.so) #8 0x0000ffff90eaf0b0 n/a (libxul.so) #9 0x0000ffff96f54894 n/a (libnspr4.so) #10 0x0000ffff9763e56c start_thread (libpthread.so.0) #11 0x0000ffff973adf4c thread_start (libc.so.6) Stack trace of thread 1240: #0 0x0000ffff976447f0 pthread_cond_wait@@GLIBC_2.17 (libpthread.so.0) #1 0x0000aaaab208a244 _ZN7mozilla6detail21ConditionVariableImpl4waitERNS0_9MutexImplE (thunderbird) #2 0x0000ffff9275abb0 n/a (libxul.so) #3 0x0000ffff92739e04 n/a (libxul.so) #4 0x0000ffff90eae678 n/a (libxul.so) #5 0x0000ffff90eb75f8 n/a (libxul.so) #6 0x0000ffff91160b9c n/a (libxul.so) #7 0x0000ffff91133d14 n/a (libxul.so) #8 0x0000ffff90eaf0b0 n/a (libxul.so) #9 0x0000ffff96f54894 n/a (libnspr4.so) #10 0x0000ffff9763e56c start_thread (libpthread.so.0) #11 0x0000ffff973adf4c thread_start (libc.so.6) Stack trace of thread 1252: #0 0x0000ffff976447f0 pthread_cond_wait@@GLIBC_2.17 (libpthread.so.0) #1 0x0000aaaab208a244 _ZN7mozilla6detail21ConditionVariableImpl4waitERNS0_9MutexImplE (thunderbird) #2 0x0000ffff90ea9d60 n/a (libxul.so) #3 0x0000ffff90eae604 n/a (libxul.so) #4 0x0000ffff90eb75f8 n/a (libxul.so) #5 0x0000ffff91160c6c n/a (libxul.so) #6 0x0000ffff91133d14 n/a (libxul.so) #7 0x0000ffff90eaf0b0 n/a (libxul.so) #8 0x0000ffff96f54894 n/a (libnspr4.so) #9 0x0000ffff9763e56c start_thread (libpthread.so.0) #10 0x0000ffff973adf4c thread_start (libc.so.6) Stack trace of thread 1234: #0 0x0000ffff976447f0 pthread_cond_wait@@GLIBC_2.17 (libpthread.so.0) #1 0x0000aaaab208a244 _ZN7mozilla6detail21ConditionVariableImpl4waitERNS0_9MutexImplE (thunderbird) #2 0x0000ffff90ea9d60 n/a (libxul.so) #3 0x0000ffff90eae604 n/a (libxul.so) #4 0x0000ffff90eb75f8 n/a (libxul.so) #5 0x0000ffff91160c6c n/a (libxul.so) #6 0x0000ffff91133d14 n/a (libxul.so) #7 0x0000ffff90eaf0b0 n/a (libxul.so) #8 0x0000ffff96f54894 n/a (libnspr4.so) #9 0x0000ffff9763e56c start_thread (libpthread.so.0) #10 0x0000ffff973adf4c thread_start (libc.so.6) Stack trace of thread 1245: #0 0x0000ffff976447f0 pthread_cond_wait@@GLIBC_2.17 (libpthread.so.0) #1 0x0000aaaab208a244 _ZN7mozilla6detail21ConditionVariableImpl4waitERNS0_9MutexImplE (thunderbird) #2 0x0000ffff90ea9d60 n/a (libxul.so) #3 0x0000ffff90eae604 n/a (libxul.so) #4 0x0000ffff90eb75f8 n/a (libxul.so) #5 0x0000ffff91160c6c n/a (libxul.so) #6 0x0000ffff91133d14 n/a (libxul.so) #7 0x0000ffff90eaf0b0 n/a (libxul.so) #8 0x0000ffff96f54894 n/a (libnspr4.so) #9 0x0000ffff9763e56c start_thread (libpthread.so.0) #10 0x0000ffff973adf4c thread_start (libc.so.6) Stack trace of thread 1272: #0 0x0000ffff97644c4c pthread_cond_timedwait@@GLIBC_2.17 (libpthread.so.0) #1 0x0000aaaab208a3dc _ZN7mozilla6detail21ConditionVariableImpl8wait_forERNS0_9MutexImplERKNS_16BaseTimeDurationINS_27TimeDurationValueCalculatorEEE (thunderbird) #2 0x0000ffff90eb00d8 n/a (libxul.so) #3 0x0000ffff90eae678 n/a (libxul.so) #4 0x0000ffff90eb75f8 n/a (libxul.so) #5 0x0000ffff91160b9c n/a (libxul.so) #6 0x0000ffff91133d14 n/a (libxul.so) #7 0x0000ffff90eaf0b0 n/a (libxul.so) #8 0x0000ffff96f54894 n/a (libnspr4.so) #9 0x0000ffff9763e56c start_thread (libpthread.so.0) #10 0x0000ffff973adf4c thread_start (libc.so.6) Stack trace of thread 1238: #0 0x0000ffff976447f0 pthread_cond_wait@@GLIBC_2.17 (libpthread.so.0) #1 0x0000aaaab208a244 _ZN7mozilla6detail21ConditionVariableImpl4waitERNS0_9MutexImplE (thunderbird) #2 0x0000ffff9177df3c n/a (libxul.so) #3 0x0000ffff9177e2ac n/a (libxul.so) #4 0x0000ffff90eae678 n/a (libxul.so) #5 0x0000ffff90eb75f8 n/a (libxul.so) #6 0x0000ffff91160b9c n/a (libxul.so) #7 0x0000ffff91133d14 n/a (libxul.so) #8 0x0000ffff90eaf0b0 n/a (libxul.so) #9 0x0000ffff96f54894 n/a (libnspr4.so) #10 0x0000ffff9763e56c start_thread (libpthread.so.0) #11 0x0000ffff973adf4c thread_start (libc.so.6) Stack trace of thread 1258: #0 0x0000ffff976447f0 pthread_cond_wait@@GLIBC_2.17 (libpthread.so.0) #1 0x0000ffff4a24c214 n/a (swrast_dri.so) #2 0x0000ffff4a24c124 n/a (swrast_dri.so) #3 0x0000ffff9763e56c start_thread (libpthread.so.0) #4 0x0000ffff973adf4c thread_start (libc.so.6) Stack trace of thread 1273: #0 0x0000ffff973aa360 syscall (libc.so.6) #1 0x0000ffff95c2eca8 g_cond_wait_until (libglib-2.0.so.0) #2 0x0000ffff95ba2714 n/a (libglib-2.0.so.0) #3 0x0000ffff95ba2ef8 g_async_queue_timeout_pop (libglib-2.0.so.0) #4 0x0000ffff95c061b4 n/a (libglib-2.0.so.0) #5 0x0000ffff95c053fc n/a (libglib-2.0.so.0) #6 0x0000ffff9763e56c start_thread (libpthread.so.0) #7 0x0000ffff973adf4c thread_start (libc.so.6) Stack trace of thread 1239: #0 0x0000ffff973a4700 __poll (libc.so.6) #1 0x0000ffff95bd7848 n/a (libglib-2.0.so.0) #2 0x0000ffff95bd79cc g_main_context_iteration (libglib-2.0.so.0) #3 0x0000ffff7bb3b67c n/a (libdconfsettings.so) #4 0x0000ffff95c053fc n/a (libglib-2.0.so.0) #5 0x0000ffff9763e56c start_thread (libpthread.so.0) #6 0x0000ffff973adf4c thread_start (libc.so.6) Stack trace of thread 1265: #0 0x0000ffff97647ec8 __lll_lock_wait (libpthread.so.0) #1 0x0000ffff97640da0 __pthread_mutex_lock (libpthread.so.0) #2 0x0000ffff93b8d8c8 n/a (libxul.so) #3 0x0000ffff93b8d7b4 n/a (libxul.so) #4 0x0000ffff93eab938 n/a (libxul.so) #5 0x0000ffff9763e56c start_thread (libpthread.so.0) #6 0x0000ffff973adf4c thread_start (libc.so.6) Stack trace of thread 1278: #0 0x0000ffff976447f0 pthread_cond_wait@@GLIBC_2.17 (libpthread.so.0) #1 0x0000aaaab208a244 _ZN7mozilla6detail21ConditionVariableImpl4waitERNS0_9MutexImplE (thunderbird) #2 0x0000ffff90ea9d60 n/a (libxul.so) #3 0x0000ffff90eae604 n/a (libxul.so) #4 0x0000ffff90eb75f8 n/a (libxul.so) #5 0x0000ffff91160c6c n/a (libxul.so) #6 0x0000ffff91133d14 n/a (libxul.so) #7 0x0000ffff90eaf0b0 n/a (libxul.so) #8 0x0000ffff96f54894 n/a (libnspr4.so) #9 0x0000ffff9763e56c start_thread (libpthread.so.0) #10 0x0000ffff973adf4c thread_start (libc.so.6) Stack trace of thread 1216: #0 0x0000ffff976447f0 pthread_cond_wait@@GLIBC_2.17 (libpthread.so.0) #1 0x0000ffff911402f4 n/a (libxul.so) #2 0x0000ffff9114033c n/a (libxul.so) #3 0x0000ffff91131b6c n/a (libxul.so) #4 0x0000ffff91133d14 n/a (libxul.so) #5 0x0000ffff91141454 n/a (libxul.so) #6 0x0000ffff91131278 n/a (libxul.so) #7 0x0000ffff9763e56c start_thread (libpthread.so.0) #8 0x0000ffff973adf4c thread_start (libc.so.6) Stack trace of thread 1249: #0 0x0000ffff973a4700 __poll (libc.so.6) #1 0x0000ffff87a3e0dc n/a (libpulse.so.0) #2 0x0000ffff87a2dfa8 pa_mainloop_poll (libpulse.so.0) #3 0x0000ffff87a2e6ac pa_mainloop_iterate (libpulse.so.0) #4 0x0000ffff87a2e7a0 pa_mainloop_run (libpulse.so.0) #5 0x0000ffff87a3dff8 n/a (libpulse.so.0) #6 0x0000ffff868c3364 n/a (libpulsecommon-12.2.so) #7 0x0000ffff9763e56c start_thread (libpthread.so.0) #8 0x0000ffff973adf4c thread_start (libc.so.6) Stack trace of thread 1267: #0 0x0000ffff973a4700 __poll (libc.so.6) #1 0x0000ffff87a3e0dc n/a (libpulse.so.0) #2 0x0000ffff87a2dfa8 pa_mainloop_poll (libpulse.so.0) #3 0x0000ffff87a2e6ac pa_mainloop_iterate (libpulse.so.0) #4 0x0000ffff87a2e7a0 pa_mainloop_run (libpulse.so.0) #5 0x0000ffff87a3dff8 n/a (libpulse.so.0) #6 0x0000ffff868c3364 n/a (libpulsecommon-12.2.so) #7 0x0000ffff9763e56c start_thread (libpthread.so.0) #8 0x0000ffff973adf4c thread_start (libc.so.6) Stack trace of thread 1251: #0 0x0000ffff976447f0 pthread_cond_wait@@GLIBC_2.17 (libpthread.so.0) #1 0x0000aaaab208a244 _ZN7mozilla6detail21ConditionVariableImpl4waitERNS0_9MutexImplE (thunderbird) #2 0x0000ffff90ea9d60 n/a (libxul.so) #3 0x0000ffff90eae604 n/a (libxul.so) #4 0x0000ffff90eb75f8 n/a (libxul.so) #5 0x0000ffff91160c6c n/a (libxul.so) #6 0x0000ffff91133d14 n/a (libxul.so) #7 0x0000ffff90eaf0b0 n/a (libxul.so) #8 0x0000ffff96f54894 n/a (libnspr4.so) #9 0x0000ffff9763e56c start_thread (libpthread.so.0) #10 0x0000ffff973adf4c thread_start (libc.so.6) Stack trace of thread 1181: #0 0x0000ffff93a93b0c n/a (libxul.so) #1 0x0000ffff93a9c69c n/a (libxul.so) #2 0x0000ffff93a9cc90 n/a (libxul.so) #3 0x0000ffff93a62a94 n/a (libxul.so) #4 0x0000ffff93a801d0 n/a (libxul.so) #5 0x0000ffff93a80d3c n/a (libxul.so) #6 0x0000ffff93a8102c n/a (libxul.so) #7 0x0000ffff93a81510 n/a (libxul.so) #8 0x0000ffff9197cc40 n/a (libxul.so) #9 0x0000ffff90e98fc4 n/a (libxul.so) #10 0x0000ffff90e990c4 n/a (libxul.so) #11 0x0000ffff90eb9474 n/a (libxul.so) #12 0x0000ffff90eaa348 n/a (libxul.so) #13 0x0000ffff90eae678 n/a (libxul.so) #14 0x0000ffff90eb75f8 n/a (libxul.so) #15 0x0000ffff911606cc n/a (libxul.so) #16 0x0000ffff91133d14 n/a (libxul.so) #17 0x0000ffff929204c4 n/a (libxul.so) #18 0x0000ffff93488a58 n/a (libxul.so) #19 0x0000ffff9351c994 n/a (libxul.so) #20 0x0000ffff9351d5a0 n/a (libxul.so) #21 0x0000ffff9351d8e8 n/a (libxul.so) #22 0x0000aaaab207de7c _start (thunderbird) #23 0x0000aaaab207d728 n/a (thunderbird) #24 0x0000ffff972fc2a4 __libc_start_main (libc.so.6) #25 0x0000aaaab207d87c _start (thunderbird) #26 0x0000aaaab207d87c _start (thunderbird)
Running from the command line I notice this prior to SEGV when opening attachment: $ thunderbird (thunderbird:10498): Gtk-WARNING **: 10:45:08.780: Theme parsing error: <data>:1:34: Expected ')' in color definition (thunderbird:10498): Gtk-WARNING **: 10:45:08.780: Theme parsing error: <data>:1:77: Expected ')' in color definition JavaScript error: chrome://mboximport/content/menufunctions.js, line 63: TypeError: item is null unfortunately the javascript error is not displayed each and every time, which is somewhat odd. If I use save all... instead of right click open on the attachment, I get: (thunderbird:10797): Gtk-WARNING **: 11:14:33.213: Failed to measure available space: L’emplacement indiqué n’est pas pris en charge
The javascript erroir(In reply to Richard PALO from comment #10) > Running from the command line I notice this prior to SEGV when opening > attachment: > $ thunderbird > > (thunderbird:10498): Gtk-WARNING **: 10:45:08.780: Theme parsing error: > <data>:1:34: Expected ')' in color definition > > (thunderbird:10498): Gtk-WARNING **: 10:45:08.780: Theme parsing error: > <data>:1:77: Expected ')' in color definition > JavaScript error: chrome://mboximport/content/menufunctions.js, line 63: > TypeError: item is null This is from another addon (probably named "mboximport" or similar). > If I use save all... instead of right click open on the attachment, I get: > > (thunderbird:10797): Gtk-WARNING **: 11:14:33.213: Failed to measure > available space: L’emplacement indiqué n’est pas pris en charge If you're talking about attachments, is this about attachments to calendar events or emails?
Product: Calendar → Thunderbird
yeah, you're right concerning mboximport... I'm talking about any email attachment, which means what I'm insisting is that email is more or less rendered unusable because of the extremely large proportion of emails containing attachments that can neither easily be saved to an accessible directory in able to be read... note that I *have* come across an odd case or two where the open or first save completes prior to SEGV... which ultimately, with coredump, is a horribly expensive operation on aarch64!
Do you have a master password defined to Thunderbird? Are you using Thunderbird downnloaded from https://www.thunderbird.net/en-US/ ?
Flags: needinfo?(richard)
No, no master password. I'm using thunderbird on an odroid-c2 running: $ uname -a Linux odroid-001e06336dd6 4.19.8-1-ARCH #1 SMP Sun Dec 9 16:14:09 MST 2018 aarch64 GNU/Linux with the following currently installed from standard archlinuxarm repositories found via Server = http://mirror.archlinuxarm.org/$arch/$repo extra/thunderbird 60.3.3-1 [installé] extra/thunderbird-i18n-fr 60.3.3-1 [installé]
Flags: needinfo?(richard)
Can you try please the download from https://www.thunderbird.net/ so that when it crashes we can a crash report with symbols, which will have the info we need to identify the issue.
Flags: needinfo?(richard)
Could you send me [offline] a link to the aarch64 binary as I seem to never have been able to find it in the downloads section (which is rather unintuitive to navigate)... it seems to offer only ms$win, mac, x86 & x86_64. cheers
Flags: needinfo?(richard)
There is no aarch64-specific binary at our DL site - use the linux 64bit You can find an example at https://archive.mozilla.org/pub/thunderbird/releases/60.3.3/linux-x86_64/en-US/
Attached file tb.strace

this is an strace as the latest (Thunderbird 60.5.1) running on
Linux odroid-001e06336dd6 4.20.10-1-ARCH #1 SMP Fri Feb 15 17:55:03 MST 2019 aarch64 GNU/Linux
is now impossible to launch, even in safe-mode, without a near immediate coredump.

For the record, this is with the home directory (and therefore TB profile) on an NFS mount
192.168.0.1:/home/richard on /home/richard type nfs4 (rw,nosuid,relatime,vers=4.2,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=192.168.0.30,local_lock=none,addr=192.168.0.1)

Next attachment is via root on local filesystem which also hangs (but doesn't coredump)

Attached file tb-root.strace

running root on local file system with first-time execution of thunderbird
(which hangs)

How much memory do you have?

(In reply to Richard PALO from comment #18)

Created attachment 9045168 [details]
tb.strace

this is an strace as the latest (Thunderbird 60.5.1) running on
Linux odroid-001e06336dd6 4.20.10-1-ARCH #1 SMP Fri Feb 15 17:55:03 MST 2019 aarch64 GNU/Linux
is now impossible to launch, even in safe-mode, without a near immediate coredump.

For the record, this is with the home directory (and therefore TB profile) on an NFS mount
192.168.0.1:/home/richard on /home/richard type nfs4 (rw,nosuid,relatime,vers=4.2,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=192.168.0.30,local_lock=none,addr=192.168.0.1)

Next attachment is via root on local filesystem which also hangs (but doesn't coredump)

In the trace, I see this near the end:
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x87c881e544ee0} ---

This SEGV_MAPPER would suggest dangling pointer, etc.
If nullptr reference is attempted, I think si_addr would have been all 0.

It could be that

  • the memory allocation has failed (maybe unlikely, hard to tell), or
  • pointer stored in a memory was corrupted and the dereferencing of this pointer caused memory access error, etc.

si_addr=0x87c881e544ee0 <--- strange value.

This address looks suspicious. I search for 87c8 in the file and this is the only occurence.
I think there was some kind of buffer overflow or some other form of memory corruption to produce this bogus pointer.
I am not sure if this can be aaarch64-specific or not.

I wonder if you can obtain a symbolc stack trace instead of numeric stack trace a la
Stack trace of thread 1181:
#0 0x0000ffff93a93b0c n/a (libxul.so)
#1 0x0000ffff93a9c69c n/a (libxul.so)
#2 0x0000ffff93a9cc90 n/a (libxul.so)
#3 0x0000ffff93a62a94 n/a (libxul.so)
#4 0x0000ffff93a801d0 n/a (libxul.so)
#5 0x0000ffff93a80d3c n/a (libxul.so)
#6 0x0000ffff93a8102c n/a (libxul.so)

It would he insanely great if we can get the stackdump in the form of a symbol + numeric offset...

As for memory, SBC's are typically on the order of 2GB:

$ LANG=C free -m
total used free shared buff/cache available
Mem: 1968 273 1198 16 496 1656
Swap: 10239 212 10027

I doubt I can get much usable symbolic info from a stripped binary, unfortunately:

$ file /usr/lib/thunderbird/libxul.so
/usr/lib/thunderbird/libxul.so: ELF 64-bit LSB shared object, ARM aarch64, version 1 (GNU/Linux), dynamically linked, BuildID[sha1]=878ae1e829fd09c44b88f8b96d7796f5a74c8d95, stripped

Attached file fix-stack-log.sh

(In reply to Richard PALO from comment #21)

As for memory, SBC's are typically on the order of 2GB:

$ LANG=C free -m
total used free shared buff/cache available
Mem: 1968 273 1198 16 496 1656
Swap: 10239 212 10027

I am not sure if 2GB is sufficient or not for typical TB operation these days [this should depend on the number of meessages you load into memory], but you have swap enabled, and so should be OK.

I doubt I can get much usable symbolic info from a stripped binary, unfortunately:

$ file /usr/lib/thunderbird/libxul.so
/usr/lib/thunderbird/libxul.so: ELF 64-bit LSB shared object, ARM aarch64, version 1 (GNU/Linux), dynamically linked, BuildID[sha1]=878ae1e829fd09c44b88f8b96d7796f5a74c8d95, stripped

I am afraid that you need to find someone who can create non-stripped binary for debugging for aarch64 target. Otherwise, it is really difficult to figure out where the error is occurring. (I have a suspicion that the mutex-related routines may have caused the segfault, but even then, the symbolic value would be very helpful to figure out which variable (field of a struct, etc) holds the bogus value, etc.

Sorry I do only x86_64 linux binary :-)

Wait.

/usr/lib/thunderbird/libxul.so: ELF 64-bit LSB shared object, ARM aarch64, version 1 (GNU/Linux), dynamically linked, BuildID[sha1]=878ae1e829fd09c44b88f8b96d7796f5a74c8d95, stripped

This refers to .so version of the library.
How does an OS or dynamic linker can link the executable with the function in libxul.so IF the function symbols are not there (!?)

I think the "stripped" here refers to the DEBUGGING SYMBOL INFORMATION. The dynamically linked function names ought to be in it still.

But when I did "nm my-version-of-thunderbird-libxul.so" on my linux, it says "No symbol".

Now I have it figured out.
https://stackoverflow.com/questions/20288485/how-does-the-linker-locate-code-in-stripped-dynamic-libraries

Use "nm -D libxul.so" prints out the symbols (at least the function entry names). This will be a start to obtain the numerical stack trace.

I am not sure if this is relevant for aaarch64 binary, but in TB/FF source tree there is a routine to convert the
numeric symbol of a run-time numerical dump (from ASSERT macro) to symbol+offset form.
(This is very sensitive to the particular format of the dump and you need to have cooperating objdump utlities.)

The attached script is how I obtain the symbol+offset form of ASSERT numberic dump during TB testing using that script.

As I mentioned, the script seems to expect the dump in a certain format [printed by assert macro] and you need pytyon and a host of objdump utility programs.
YMMV.

Although I didn't have time personally to do these scripts, the good news seems
that today, under 5.0.11-1-ARCH #1 SMP Fri May 3 01:14:14 UTC 2019 aarch64 GNU/Linux and

thunderbird 60.6.1-2
thunderbird-i18n-fr 60.6.1-1

I've been able to use thunderbird so far without SEGV, even when opening attachments.

I'll report back if things take a change for the worse.

cheers,

Richard

Thanks for the update

Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: