(gdb) bt
#0 0x00007f8418598ea0 in raise () at /usr/lib/libpthread.so.0
#1 0x00007f84141a319c in () at /home/jb/Downloads/tor-browser_en-US/Browser/libxul.so
#2 (closed) 0x00007f8414c78c36 in () at /home/jb/Downloads/tor-browser_en-US/Browser/libxul.so
#3 (closed) 0x00007f8418598fe0 in () at /usr/lib/libpthread.so.0
#4 (closed) 0x00007f841419f0b7 in () at /home/jb/Downloads/tor-browser_en-US/Browser/libxul.so
#5 (closed) 0x00007f8418989568 in () at /home/jb/Downloads/tor-browser_en-US/Browser/libnspr4.so
#6 (closed) 0x00007f841858e2e7 in start_thread () at /usr/lib/libpthread.so.0
#7 (closed) 0x00007f841760a54f in clone () at /usr/lib/libc.so.6
(gdb) info threads
Id Target Id Frame
1 Thread 0x7f83bd8ff700 (LWP 5626) 0x00007f8418598ea0 in raise () from /usr/lib/libpthread.so.0
2 Thread 0x7f84042fa700 (LWP 2198) 0x00007f8418594756 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
3 Thread 0x7f84189a5740 (LWP 2186) 0x00007f8418594756 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
4 Thread 0x7f83f48f8700 (LWP 2214) 0x00007f8418594756 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
5 Thread 0x7f8408dff700 (LWP 2189) 0x00007f8417605889 in syscall () from /usr/lib/libc.so.6
6 Thread 0x7f8405eff700 (LWP 2190) 0x00007f841760067d in poll () from /usr/lib/libc.so.6
7 Thread 0x7f83d57ff700 (LWP 2235) 0x00007f841760067d in poll () from /usr/lib/libc.so.6
8 Thread 0x7f8404cff700 (LWP 2193) 0x00007f8418594756 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
9 Thread 0x7f8404afe700 (LWP 2194) 0x00007f8418594756 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
10 Thread 0x7f84048fd700 (LWP 2195) 0x00007f8418594756 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
11 Thread 0x7f84046fc700 (LWP 2196) 0x00007f8418594756 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
12 Thread 0x7f84044fb700 (LWP 2197) 0x00007f8418594756 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
13 Thread 0x7f8402fff700 (LWP 2199) 0x00007f8418594756 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
14 Thread 0x7f8402279700 (LWP 2200) 0x00007f8418594756 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
15 Thread 0x7f84004ff700 (LWP 2202) 0x00007f8418594ca6 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
16 Thread 0x7f83f80ff700 (LWP 2206) 0x00007f841760067d in poll () from /usr/lib/libc.so.6
17 Thread 0x7f83edef5700 (LWP 2219) 0x00007f841760067d in poll () from /usr/lib/libc.so.6
18 Thread 0x7f83e08ff700 (LWP 2224) 0x00007f841760067d in poll () from /usr/lib/libc.so.6
19 Thread 0x7f83bbcff700 (LWP 2275) 0x00007f841760067d in poll () from /usr/lib/libc.so.6
(gdb) thread apply all bt
Thread 19 (Thread 0x7f83bbcff700 (LWP 2275)):
#0 0x00007f841760067d in poll () at /usr/lib/libc.so.6
#1 0x00007f84015e2ee1 in () at /usr/lib/libpulse.so.0
#2 (closed) 0x00007f84015d46f1 in pa_mainloop_poll () at /usr/lib/libpulse.so.0
#3 (closed) 0x00007f84015d4d8e in pa_mainloop_iterate () at /usr/lib/libpulse.so.0
#4 (closed) 0x00007f84015d4e40 in pa_mainloop_run () at /usr/lib/libpulse.so.0
#5 (closed) 0x00007f84015e2e29 in () at /usr/lib/libpulse.so.0
#6 (closed) 0x00007f8401380fe8 in () at /usr/lib/pulseaudio/libpulsecommon-10.0.so
#7 (closed) 0x00007f841858e2e7 in start_thread () at /usr/lib/libpthread.so.0
#8 (closed) 0x00007f841760a54f in clone () at /usr/lib/libc.so.6
Thread 18 (Thread 0x7f83e08ff700 (LWP 2224)):
#0 0x00007f841760067d in poll () at /usr/lib/libc.so.6
#1 0x00007f8410d659b6 in () at /usr/lib/libglib-2.0.so.0
#2 (closed) 0x00007f8410d65acc in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3 (closed) 0x00007f8410d65b11 in () at /usr/lib/libglib-2.0.so.0
#4 (closed) 0x00007f8410d8d295 in () at /usr/lib/libglib-2.0.so.0
#5 (closed) 0x00007f841858e2e7 in start_thread () at /usr/lib/libpthread.so.0
#6 (closed) 0x00007f841760a54f in clone () at /usr/lib/libc.so.6
Thread 17 (Thread 0x7f83edef5700 (LWP 2219)):
#0 0x00007f841760067d in poll () at /usr/lib/libc.so.6
#1 0x00007f84015e2ee1 in () at /usr/lib/libpulse.so.0
#2 (closed) 0x00007f84015d46f1 in pa_mainloop_poll () at /usr/lib/libpulse.so.0
#3 (closed) 0x00007f84015d4d8e in pa_mainloop_iterate () at /usr/lib/libpulse.so.0
#4 (closed) 0x00007f84015d4e40 in pa_mainloop_run () at /usr/lib/libpulse.so.0
#5 (closed) 0x00007f84015e2e29 in () at /usr/lib/libpulse.so.0
#6 (closed) 0x00007f8401380fe8 in () at /usr/lib/pulseaudio/libpulsecommon-10.0.so
#7 (closed) 0x00007f841858e2e7 in start_thread () at /usr/lib/libpthread.so.0
#8 (closed) 0x00007f841760a54f in clone () at /usr/lib/libc.so.6
Thread 16 (Thread 0x7f83f80ff700 (LWP 2206)):
#0 0x00007f841760067d in poll () at /usr/lib/libc.so.6
#1 0x00007f8418987377 in () at /home/jb/Downloads/tor-browser_en-US/Browser/libnspr4.so
#2 (closed) 0x00007f841898be02 in () at /home/jb/Downloads/tor-browser_en-US/Browser/libnspr4.so
#3 (closed) 0x00007f8418989568 in () at /home/jb/Downloads/tor-browser_en-US/Browser/libnspr4.so
#4 (closed) 0x00007f841858e2e7 in start_thread () at /usr/lib/libpthread.so.0
#5 (closed) 0x00007f841760a54f in clone () at /usr/lib/libc.so.6
Thread 15 (Thread 0x7f84004ff700 (LWP 2202)):
#0 0x00007f8418594ca6 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1 0x00007f8418983a68 in () at /home/jb/Downloads/tor-browser_en-US/Browser/libnspr4.so
#2 (closed) 0x00007f8418983f3e in PR_WaitCondVar () at /home/jb/Downloads/tor-browser_en-US/Browser/libnspr4.so
#3 (closed) 0x00007f8412b76285 in () at /home/jb/Downloads/tor-browser_en-US/Browser/libxul.so
#4 (closed) 0x00007f8412b7e181 in () at /home/jb/Downloads/tor-browser_en-US/Browser/libxul.so
#5 (closed) 0x00007f8412b7a1d6 in () at /home/jb/Downloads/tor-browser_en-US/Browser/libxul.so
---Type to continue, or q to quit---
#6 (closed) 0x00007f8412b960aa in () at /home/jb/Downloads/tor-browser_en-US/Browser/libxul.so
#7 (closed) 0x00007f8412d38dfe in () at /home/jb/Downloads/tor-browser_en-US/Browser/libxul.so
#8 (closed) 0x00007f8412d0327a in () at /home/jb/Downloads/tor-browser_en-US/Browser/libxul.so
#9 (closed) 0x00007f8412b7c67e in () at /home/jb/Downloads/tor-browser_en-US/Browser/libxul.so
#10 (closed) 0x00007f8418989568 in () at /home/jb/Downloads/tor-browser_en-US/Browser/libnspr4.so
#11 (closed) 0x00007f841858e2e7 in start_thread () at /usr/lib/libpthread.so.0
#12 (closed) 0x00007f841760a54f in clone () at /usr/lib/libc.so.6
Thread 14 (Thread 0x7f8402279700 (LWP 2200)):
#0 0x00007f8418594756 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1 0x00007f8418983fc0 in PR_WaitCondVar () at /home/jb/Downloads/tor-browser_en-US/Browser/libnspr4.so
#2 (closed) 0x00007f8412b76285 in () at /home/jb/Downloads/tor-browser_en-US/Browser/libxul.so
#3 (closed) 0x00007f8412b76f9f in () at /home/jb/Downloads/tor-browser_en-US/Browser/libxul.so
#4 (closed) 0x00007f8418989568 in () at /home/jb/Downloads/tor-browser_en-US/Browser/libnspr4.so
#5 (closed) 0x00007f841858e2e7 in start_thread () at /usr/lib/libpthread.so.0
#6 (closed) 0x00007f841760a54f in clone () at /usr/lib/libc.so.6
Thread 13 (Thread 0x7f8402fff700 (LWP 2199)):
#0 0x00007f8418594756 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1 0x00007f8418983fc0 in PR_WaitCondVar () at /home/jb/Downloads/tor-browser_en-US/Browser/libnspr4.so
#2 (closed) 0x00007f8412fdba41 in () at /home/jb/Downloads/tor-browser_en-US/Browser/libxul.so
#3 (closed) 0x00007f8418989568 in () at /home/jb/Downloads/tor-browser_en-US/Browser/libnspr4.so
#4 (closed) 0x00007f841858e2e7 in start_thread () at /usr/lib/libpthread.so.0
#5 (closed) 0x00007f841760a54f in clone () at /usr/lib/libc.so.6
Thread 12 (Thread 0x7f84044fb700 (LWP 2197)):
#0 0x00007f8418594756 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1 0x00007f8418983fc0 in PR_WaitCondVar () at /home/jb/Downloads/tor-browser_en-US/Browser/libnspr4.so
#2 (closed) 0x00007f8414a55fbd in () at /home/jb/Downloads/tor-browser_en-US/Browser/libxul.so
#3 (closed) 0x00007f8418989568 in () at /home/jb/Downloads/tor-browser_en-US/Browser/libnspr4.so
#4 (closed) 0x00007f841858e2e7 in start_thread () at /usr/lib/libpthread.so.0
#5 (closed) 0x00007f841760a54f in clone () at /usr/lib/libc.so.6
Thread 11 (Thread 0x7f84046fc700 (LWP 2196)):
#0 0x00007f8418594756 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1 0x00007f8418983fc0 in PR_WaitCondVar () at /home/jb/Downloads/tor-browser_en-US/Browser/libnspr4.so
#2 (closed) 0x00007f8414a55fbd in () at /home/jb/Downloads/tor-browser_en-US/Browser/libxul.so
#3 (closed) 0x00007f8418989568 in () at /home/jb/Downloads/tor-browser_en-US/Browser/libnspr4.so
#4 (closed) 0x00007f841858e2e7 in start_thread () at /usr/lib/libpthread.so.0
#5 (closed) 0x00007f841760a54f in clone () at /usr/lib/libc.so.6
Thread 10 (Thread 0x7f84048fd700 (LWP 2195)):
#0 0x00007f8418594756 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1 0x00007f8418983fc0 in PR_WaitCondVar () at /home/jb/Downloads/tor-browser_en-US/Browser/libnspr4.so
#2 (closed) 0x00007f8414a55fbd in () at /home/jb/Downloads/tor-browser_en-US/Browser/libxul.so
#3 (closed) 0x00007f8418989568 in () at /home/jb/Downloads/tor-browser_en-US/Browser/libnspr4.so
#4 (closed) 0x00007f841858e2e7 in start_thread () at /usr/lib/libpthread.so.0
---Type to continue, or q to quit---
#5 (closed) 0x00007f841760a54f in clone () at /usr/lib/libc.so.6
Thread 9 (Thread 0x7f8404afe700 (LWP 2194)):
#0 0x00007f8418594756 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1 0x00007f8418983fc0 in PR_WaitCondVar () at /home/jb/Downloads/tor-browser_en-US/Browser/libnspr4.so
#2 (closed) 0x00007f8414a55fbd in () at /home/jb/Downloads/tor-browser_en-US/Browser/libxul.so
#3 (closed) 0x00007f8418989568 in () at /home/jb/Downloads/tor-browser_en-US/Browser/libnspr4.so
#4 (closed) 0x00007f841858e2e7 in start_thread () at /usr/lib/libpthread.so.0
#5 (closed) 0x00007f841760a54f in clone () at /usr/lib/libc.so.6
Thread 8 (Thread 0x7f8404cff700 (LWP 2193)):
#0 0x00007f8418594756 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1 0x00007f8418983fc0 in PR_WaitCondVar () at /home/jb/Downloads/tor-browser_en-US/Browser/libnspr4.so
#2 (closed) 0x00007f8414a55fbd in () at /home/jb/Downloads/tor-browser_en-US/Browser/libxul.so
#3 (closed) 0x00007f8418989568 in () at /home/jb/Downloads/tor-browser_en-US/Browser/libnspr4.so
#4 (closed) 0x00007f841858e2e7 in start_thread () at /usr/lib/libpthread.so.0
#5 (closed) 0x00007f841760a54f in clone () at /usr/lib/libc.so.6
Thread 7 (Thread 0x7f83d57ff700 (LWP 2235)):
#0 0x00007f841760067d in poll () at /usr/lib/libc.so.6
#1 0x00007f84015e2ee1 in () at /usr/lib/libpulse.so.0
#2 (closed) 0x00007f84015d46f1 in pa_mainloop_poll () at /usr/lib/libpulse.so.0
#3 (closed) 0x00007f84015d4d8e in pa_mainloop_iterate () at /usr/lib/libpulse.so.0
#4 (closed) 0x00007f84015d4e40 in pa_mainloop_run () at /usr/lib/libpulse.so.0
#5 (closed) 0x00007f84015e2e29 in () at /usr/lib/libpulse.so.0
#6 (closed) 0x00007f8401380fe8 in () at /usr/lib/pulseaudio/libpulsecommon-10.0.so
#7 (closed) 0x00007f841858e2e7 in start_thread () at /usr/lib/libpthread.so.0
#8 (closed) 0x00007f841760a54f in clone () at /usr/lib/libc.so.6
Thread 6 (Thread 0x7f8405eff700 (LWP 2190)):
#0 0x00007f841760067d in poll () at /usr/lib/libc.so.6
#1 0x00007f8412cf4ca6 in () at /home/jb/Downloads/tor-browser_en-US/Browser/libxul.so
#2 (closed) 0x00007f8412b7a1d6 in () at /home/jb/Downloads/tor-browser_en-US/Browser/libxul.so
#3 (closed) 0x00007f8412b960aa in () at /home/jb/Downloads/tor-browser_en-US/Browser/libxul.so
#4 (closed) 0x00007f8412d38e4d in () at /home/jb/Downloads/tor-browser_en-US/Browser/libxul.so
#5 (closed) 0x00007f8412d0327a in () at /home/jb/Downloads/tor-browser_en-US/Browser/libxul.so
#6 (closed) 0x00007f8412b7c67e in () at /home/jb/Downloads/tor-browser_en-US/Browser/libxul.so
#7 (closed) 0x00007f8418989568 in () at /home/jb/Downloads/tor-browser_en-US/Browser/libnspr4.so
#8 (closed) 0x00007f841858e2e7 in start_thread () at /usr/lib/libpthread.so.0
#9 (closed) 0x00007f841760a54f in clone () at /usr/lib/libc.so.6
Thread 5 (Thread 0x7f8408dff700 (LWP 2189)):
#0 0x00007f8417605889 in syscall () at /usr/lib/libc.so.6
#1 0x00007f8412d1bdd9 in epoll_wait () at /home/jb/Downloads/tor-browser_en-US/Browser/libxul.so
#2 (closed) 0x00007f8412d1bc41 in () at /home/jb/Downloads/tor-browser_en-US/Browser/libxul.so
#3 (closed) 0x00007f8412d32aa4 in () at /home/jb/Downloads/tor-browser_en-US/Browser/libxul.so
#4 (closed) 0x00007f8412d00128 in () at /home/jb/Downloads/tor-browser_en-US/Browser/libxul.so
---Type to continue, or q to quit---
#5 (closed) 0x00007f8412d0327a in () at /home/jb/Downloads/tor-browser_en-US/Browser/libxul.so
#6 (closed) 0x00007f8412d0d55c in () at /home/jb/Downloads/tor-browser_en-US/Browser/libxul.so
#7 (closed) 0x00007f8412d0924d in () at /home/jb/Downloads/tor-browser_en-US/Browser/libxul.so
#8 (closed) 0x00007f841858e2e7 in start_thread () at /usr/lib/libpthread.so.0
#9 (closed) 0x00007f841760a54f in clone () at /usr/lib/libc.so.6
Thread 4 (Thread 0x7f83f48f8700 (LWP 2214)):
#0 0x00007f8418594756 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1 0x00007f8412d108a5 in () at /home/jb/Downloads/tor-browser_en-US/Browser/libxul.so
#2 (closed) 0x00007f8412d10931 in () at /home/jb/Downloads/tor-browser_en-US/Browser/libxul.so
#3 (closed) 0x00007f8412d03484 in () at /home/jb/Downloads/tor-browser_en-US/Browser/libxul.so
#4 (closed) 0x00007f8412d0327a in () at /home/jb/Downloads/tor-browser_en-US/Browser/libxul.so
#5 (closed) 0x00007f8412d0d55c in () at /home/jb/Downloads/tor-browser_en-US/Browser/libxul.so
#6 (closed) 0x00007f8412d0924d in () at /home/jb/Downloads/tor-browser_en-US/Browser/libxul.so
#7 (closed) 0x00007f841858e2e7 in start_thread () at /usr/lib/libpthread.so.0
#8 (closed) 0x00007f841760a54f in clone () at /usr/lib/libc.so.6
Thread 3 (Thread 0x7f84189a5740 (LWP 2186)):
#0 0x00007f8418594756 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1 0x00007f8418983fc0 in PR_WaitCondVar () at /home/jb/Downloads/tor-browser_en-US/Browser/libnspr4.so
#2 (closed) 0x00007f8412b76285 in () at /home/jb/Downloads/tor-browser_en-US/Browser/libxul.so
#3 (closed) 0x00007f8412b77a50 in () at /home/jb/Downloads/tor-browser_en-US/Browser/libxul.so
#4 (closed) 0x00007f8412b7a16d in () at /home/jb/Downloads/tor-browser_en-US/Browser/libxul.so
#5 (closed) 0x00007f8412b960aa in () at /home/jb/Downloads/tor-browser_en-US/Browser/libxul.so
#6 (closed) 0x00007f8412b7b77e in () at /home/jb/Downloads/tor-browser_en-US/Browser/libxul.so
#7 (closed) 0x00007f8412cf47e4 in () at /home/jb/Downloads/tor-browser_en-US/Browser/libxul.so
#8 (closed) 0x00007f8412cf4827 in () at /home/jb/Downloads/tor-browser_en-US/Browser/libxul.so
#9 (closed) 0x00007f8412b5be0d in () at /home/jb/Downloads/tor-browser_en-US/Browser/libxul.so
#10 (closed) 0x00007f8412b5beb6 in () at /home/jb/Downloads/tor-browser_en-US/Browser/libxul.so
#11 (closed) 0x00007f8412b9099b in () at /home/jb/Downloads/tor-browser_en-US/Browser/libxul.so
#12 (closed) 0x00007f84141a5ed1 in () at /home/jb/Downloads/tor-browser_en-US/Browser/libxul.so
#13 (closed) 0x00007f84141a5ef6 in () at /home/jb/Downloads/tor-browser_en-US/Browser/libxul.so
#14 (closed) 0x00007f84141aa723 in () at /home/jb/Downloads/tor-browser_en-US/Browser/libxul.so
#15 (closed) 0x00007f84141aa8e3 in XRE_main () at /home/jb/Downloads/tor-browser_en-US/Browser/libxul.so
#16 (closed) 0x0000563c4b93659b in _start ()
Thread 2 (Thread 0x7f84042fa700 (LWP 2198)):
#0 0x00007f8418594756 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1 0x00007f8418983fc0 in PR_WaitCondVar () at /home/jb/Downloads/tor-browser_en-US/Browser/libnspr4.so
#2 (closed) 0x00007f8414a55fbd in () at /home/jb/Downloads/tor-browser_en-US/Browser/libxul.so
#3 (closed) 0x00007f8418989568 in () at /home/jb/Downloads/tor-browser_en-US/Browser/libnspr4.so
#4 (closed) 0x00007f841858e2e7 in start_thread () at /usr/lib/libpthread.so.0
#5 (closed) 0x00007f841760a54f in clone () at /usr/lib/libc.so.6
Thread 1 (Thread 0x7f83bd8ff700 (LWP 5626)):
#0 0x00007f8418598ea0 in raise () at /usr/lib/libpthread.so.0
#1 0x00007f84141a319c in () at /home/jb/Downloads/tor-browser_en-US/Browser/libxul.so
---Type to continue, or q to quit---
#2 (closed) 0x00007f8414c78c36 in () at /home/jb/Downloads/tor-browser_en-US/Browser/libxul.so
#3 (closed) 0x00007f8418598fe0 in () at /usr/lib/libpthread.so.0
#4 (closed) 0x00007f841419f0b7 in () at /home/jb/Downloads/tor-browser_en-US/Browser/libxul.so
#5 (closed) 0x00007f8418989568 in () at /home/jb/Downloads/tor-browser_en-US/Browser/libnspr4.so
#6 (closed) 0x00007f841858e2e7 in start_thread () at /usr/lib/libpthread.so.0
#7 (closed) 0x00007f841760a54f in clone () at /usr/lib/libc.so.6
I wonder if you could get gdb to read the debug symbols we provide in separate files (see the tor-browser-linux*debug.zip ones in https://dist.torproject.org/torbrowser/6.5.2/) to get better stack traces.
My regular (production) tor browser is in dir
/home/jb/Downloads/tor-browser_en-US/Browser/firefox
I unzipped debug symbols file in dir:
/home/jb/Downloads/Debug/Browser/
Can you give me instructions how to set it up properly ?
Then I can re-run the debugging session and capture whatever data you need to figure out what caused the dump.
Thanks.
I ran TB with coredump and debug files. It dies as expected.
If there is any post-run trace data (in addition to the above samples) of interest to you, let me know and I will capture it.
I tried to trace with 'br main', couple of 'next', and 'continue', but this introduces delays and distorts order of events, signals and threads, and execution ran normally with TB window open, etc, and later exited normally. So, any trace data captured during such a run is useless.
I e-mailed a link to the coredump file as requested.
Btw, in unrelated matter, I see an error msg on TB startup:
$ gdb
...
(gdb) file Downloads/tor-browser_en-US/Browser/firefox
(gdb) run
...
May 05 16:27:29.000 [notice] Bootstrapped 100%: Done
[New Thread 0x7fffd26ff700 (LWP 12887)]
[New Thread 0x7fffc06ff700 (LWP 12888)]
May 05 16:27:31.000 [notice] New control connection opened from 127.0.0.1.
[New Thread 0x7fffbf9ff700 (LWP 12889)]
May 05 16:27:31.000 [notice] New control connection opened from 127.0.0.1.
[New Thread 0x7fffbe9ff700 (LWP 12890)]
...
[Thread 0x7fffbd1fc700 (LWP 12893) exited]
1493994511800 addons.productaddons ERROR Request failed certificate checks: [Exception... "SSL is required and URI scheme is not https." nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)" location: "JS frame :: re/gre/modules/CertUtils.jsm :: checkCert :: line 145" data: no]
...
The ERROR shows up every time, but it does not have impact on TB (from user point of view).
Btw, in unrelated matter, I see an error msg on TB startup:
$ gdb
...
(gdb) file Downloads/tor-browser_en-US/Browser/firefox
(gdb) run
...
May 05 16:27:29.000 [notice] Bootstrapped 100%: Done
[New Thread 0x7fffd26ff700 (LWP 12887)]
[New Thread 0x7fffc06ff700 (LWP 12888)]
May 05 16:27:31.000 [notice] New control connection opened from 127.0.0.1.
[New Thread 0x7fffbf9ff700 (LWP 12889)]
May 05 16:27:31.000 [notice] New control connection opened from 127.0.0.1.
[New Thread 0x7fffbe9ff700 (LWP 12890)]
...
[Thread 0x7fffbd1fc700 (LWP 12893) exited]
1493994511800 addons.productaddons ERROR Request failed certificate checks: [Exception... "SSL is required and URI scheme is not https." nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)" location: "JS frame :: re/gre/modules/CertUtils.jsm :: checkCert :: line 145" data: no]
...
The ERROR shows up every time, but it does not have impact on TB (from user point of view).
That is a bit confusing but harmless. What happens is that Tor Browser checks for add-on updates but we prevent pinging Mozilla servers for Torbutton and Tor Launcher by setting the update url to data:text/plain,. The code is complaining then that cert validation failed as it expects an HTTPS URL and thus a certificate.
I have been getting similar crashes as long as I can remember. They are seemingly random and it can be weeks without an occurrence (although they happen as a result of some action, e.g. loading a new page). This time I managed to capture and analyze the dump. This was the cause (version 7.5.4):
#0 0x00007f9eb592e91b in raise () at /usr/lib/libpthread.so.0#1 0x00007f9eb1d6adaa in nsProfileLock::FatalSignalHandler(int, siginfo*, void*) (signo=11, info=0x7f9ea30fd470, context=0x7f9ea30fd340) at /var/tmp/build/firefox-deaa82b4f8ab/toolkit/profile/nsProfileLock.cpp:181#2 0x00007f9eb283fef1 in WasmFaultHandler<(Signal)0>(int, siginfo_t*, void*) (signum=<optimized out>, info=0x7f9ea30fd470, context=0x7f9ea30fd340) at /var/tmp/build/firefox-deaa82b4f8ab/js/src/wasm/WasmSignalHandlers.cpp:1239#3 0x00007f9eb592ea80 in <signal handler called> () at /usr/lib/libpthread.so.0#4 0x00007f9eb5bf7bf6 in PK11_ExitContextMonitor (cx=cx@entry=0x7f9e6e6b5160) at pk11cxt.c:50#5 0x00007f9eb5bf8c46 in PK11_DigestFinal (context=0x7f9e6e6b5160, data=0x7f9ea30fd948 <redacted>, outLen=0x7f9ea30fd93c, length=64) at pk11cxt.c:1009#6 0x00007f9eb1c49254 in nsCryptoHash::Finish(bool, nsACString_internal&) (this=0x7f9e6e777940, ascii=<optimized out>, _retval=...) at /var/tmp/build/firefox-deaa82b4f8ab/security/manager/ssl/nsCryptoHash.cpp:204#7 0x00007f9eb07fd4af in SHA256 (aResult=..., aPlainText=0x7f9e3cfa2d08 <redacted>) at /var/tmp/build/firefox-deaa82b4f8ab/netwerk/protocol/http/nsHttpConnectionInfo.cpp:42#8 0x00007f9eb07fd4af in mozilla::net::nsHttpConnectionInfo::BuildHashKey() (this=this@entry=0x7f9e8e8829d0) at /var/tmp/build/firefox-deaa82b4f8ab/netwerk/protocol/http/nsHttpConnectionInfo.cpp:204#9 0x00007f9eb07fd5f8 in mozilla::net::nsHttpConnectionInfo::SetOriginServer(nsACString_internal const&, int) (this=this@entry=0x7f9e8e8829d0, host=..., port=port@entry=80) at /var/tmp/build/firefox-deaa82b4f8ab/netwerk/protocol/http/nsHttpConnectionInfo.cpp:236#10 0x00007f9eb081733f in mozilla::net::nsHttpConnectionInfo::Init(nsACString_internal const&, int, nsACString_internal const&, nsACString_internal const&, mozilla::net::nsProxyInfo*, mozilla::NeckoOriginAttributes const&, bool) (this=0x7f9e8e8829d0, host=..., port=80, npnToken=..., username=..., proxyInfo=0x7f9e459d74c0, originAttributes=..., e2eSSL=false) at /var/tmp/build/firefox-deaa82b4f8ab/netwerk/protocol/http/nsHttpConnectionInfo.cpp:108#11 0x00007f9eb081845e in mozilla::net::nsHttpConnectionInfo::Clone() const (this=0x7f9e8d9ed690) at /var/tmp/build/firefox-deaa82b4f8ab/netwerk/protocol/http/nsHttpConnectionInfo.cpp:245#12 0x00007f9eb08189e1 in mozilla::net::nsHttpConnectionMgr::GetOrCreateConnectionEntry(mozilla::net::nsHttpConnectionInfo*, bool) (this=this@entry=0x7f9e9b23bc50, specificCI=<optimized out>, prohibitWildCard=<optimized out>, prohibitWildCard@entry=false) at /var/tmp/build/firefox-deaa82b4f8ab/netwerk/protocol/http/nsHttpConnectionMgr.cpp:2951#13 0x00007f9eb0818b2b in mozilla::net::nsHttpConnectionMgr::OnMsgSpeculativeConnect(int, mozilla::net::ARefBase*) (this=0x7f9e9b23bc50, param=0x7f9e76f58e80) at /var/tmp/build/firefox-deaa82b4f8ab/netwerk/protocol/http/nsHttpConnectionMgr.cpp:2992#14 0x00007f9eb081d72f in RefPtr<mozilla::net::nsHttpConnectionMgr>::Proxy<void, int, mozilla::net::ARefBase*>::operator()<int&, RefPtr<mozilla::net::ARefBase>&>(int&, RefPtr<mozilla::net::ARefBase>&) (this=<optimized out>) at /var/tmp/build/firefox-deaa82b4f8ab/obj-x86_64-pc-linux-gnu/dist/include/mozilla/RefPtr.h:338#15 0x00007f9eb081d72f in mozilla::net::ConnEvent::Run() (this=<optimized out>) at /var/tmp/build/firefox-deaa82b4f8ab/netwerk/protocol/http/nsHttpConnectionMgr.cpp:209#16 0x00007f9eb05973cd in nsThread::ProcessNextEvent(bool, bool*) (this=0x7f9eb46798c0, aMayWait=<optimized out>, aResult=0x7f9ea30fdc6f) at /var/tmp/build/firefox-deaa82b4f8ab/xpcom/threads/nsThread.cpp:1216#17 0x00007f9eb05b201f in NS_ProcessNextEvent(nsIThread*, bool) (aThread=<optimized out>, aMayWait=aMayWait@entry=true) at /var/tmp/build/firefox-deaa82b4f8ab/xpcom/glue/nsThreadUtils.cpp:361#18 0x00007f9eb06174c2 in mozilla::net::nsSocketTransportService::Run() (this=0x7f9eb46698a0) at /var/tmp/build/firefox-deaa82b4f8ab/netwerk/base/nsSocketTransportService2.cpp:939#19 0x00007f9eb05973cd in nsThread::ProcessNextEvent(bool, bool*) (this=0x7f9eb46798c0, aMayWait=<optimized out>, aResult=0x7f9ea30fdddf) at /var/tmp/build/firefox-deaa82b4f8ab/xpcom/threads/nsThread.cpp:1216#20 0x00007f9eb05b201f in NS_ProcessNextEvent(nsIThread*, bool) (aThread=<optimized out>, aThread@entry=0x7f9eb46798c0, aMayWait=aMayWait@entry=false) at /var/tmp/build/firefox-deaa82b4f8ab/xpcom/glue/nsThreadUtils.cpp:361#21 0x00007f9eb087dfb9 in mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*) (this=0x7f9ea3942080, aDelegate=0x7f9eb46a6840) at /var/tmp/build/firefox-deaa82b4f8ab/ipc/glue/MessagePump.cpp:338#22 0x00007f9eb084eb5e in MessageLoop::RunHandler() (this=<optimized out>) at /var/tmp/build/firefox-deaa82b4f8ab/ipc/chromium/src/base/message_loop.cc:225#23 0x00007f9eb084eb5e in MessageLoop::Run() (this=this@entry=0x7f9eb46a6840) at /var/tmp/build/firefox-deaa82b4f8ab/ipc/chromium/src/base/message_loop.cc:205#24 0x00007f9eb059615b in nsThread::ThreadFunc(void*) (aArg=0x7f9eb46798c0) at /var/tmp/build/firefox-deaa82b4f8ab/xpcom/threads/nsThread.cpp:467#25 0x00007f9eb5d16ecf in _pt_root (arg=0x7f9eb46a28e0) at /var/tmp/build/firefox-deaa82b4f8ab/nsprpub/pr/src/pthreads/ptthread.c:216#26 0x00007f9eb5924075 in start_thread () at /usr/lib/libpthread.so.0#27 0x00007f9eb491153f in clone () at /usr/lib/libc.so.6
It was a segmentation fault at PK11_ExitContextMonitor due to an invalid context pointing to freed memory (e5e5e5e5e5e5e5e5...)
Before that, the C_DigestFinal in PK11_DigestFinal successfully returned CKR_OK, the buffer contained the correct result, and outLen was about to be set to 32...
I will update this on the next crash to see if it occurs in the same place.
Thank you for a quick response. You are right, that definitely looks like it. It also activates only when a proxy is set which explains why my regular Firefox browsing seemed unaffected.
So I guess this is not related to the original Arch Linux issue. But seeing this is getting fixed in ESR 60, I will leave it here. If I get another crash after the patch hits, I will let you know.