[tor-bugs] #12481 [Firefox Patch Issues]: Tor Browser crashes on shutdown on Linux and Mac OS X debug builds

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Jun 27 14:56:38 UTC 2014


#12481: Tor Browser crashes on shutdown on Linux and Mac OS X debug builds
----------------------------------+---------------------------
 Reporter:  gk                    |          Owner:  mikeperry
     Type:  defect                |         Status:  new
 Priority:  major                 |      Milestone:
Component:  Firefox Patch Issues  |        Version:
 Keywords:  tbb-crash             |  Actual Points:
Parent ID:                        |         Points:
----------------------------------+---------------------------
 Testing the debug build for #10533 yields another crash which is
 reproducible during shutdown:
 {{{
 WARNING: NS_ENSURE_TRUE(mThread != PR_GetCurrentThread()) failed: file
 /home/firefox/tor-browser/xpcom/threads/nsThread.cpp, line 445
 WARNING: nsExceptionService ignoring thread destruction after shutdown:
 file /home/firefox/tor-browser/xpcom/base/nsExceptionService.cpp, line 167
 Hit MOZ_CRASH() at /home/firefox/tor-
 browser/storage/src/mozStorageService.cpp:789
 }}}
 {{{
 0  0xb77a1424 in __kernel_vsyscall ()
 #1  0xb75140a6 in nanosleep () at ../sysdeps/unix/syscall-template.S:81
 #2  0xb7513e7d in __sleep (seconds=0)
     at ../sysdeps/unix/sysv/linux/sleep.c:137
 #3  0xb2b0d016 in ah_crap_handler (signum=11)
     at /home/firefox/tor-browser/toolkit/xre/nsSigHandlers.cpp:88
 #4  0xb2b1436e in nsProfileLock::FatalSignalHandler (signo=11,
     info=0xbfb329cc, context=0xbfb32a4c)
     at /home/firefox/tor-browser/obj-i686-pc-linux-
 gnu/toolkit/profile/nsProfileLock.cpp:190
 #5  <signal handler called>
 #6  0xb40e03c0 in mozilla::storage::Service::Observe (this=0xad8aa780,
     aTopic=0xb608bb93 "xpcom-shutdown-threads")
     at /home/firefox/tor-browser/storage/src/mozStorageService.cpp:789
 #7  0xb49ea49d in nsObserverList::NotifyObservers (this=0xa97ee87c,
     aSubject=0x0, aTopic=0xb608bb93 "xpcom-shutdown-threads",
 someData=0x0)
     at /home/firefox/tor-browser/xpcom/ds/nsObserverList.cpp:99
 #8  0xb49ec8b2 in nsObserverService::NotifyObservers (this=0xafe0da90,
     aSubject=0x0, aTopic=0xb608bb93 "xpcom-shutdown-threads",
 someData=0x0)
     at /home/firefox/tor-browser/xpcom/ds/nsObserverService.cpp:161
 #9  0xb49d6f25 in mozilla::ShutdownXPCOM (servMgr=0xb7211604)
     at /home/firefox/tor-browser/xpcom/build/nsXPComInit.cpp:589
 #10 0xb49d6c9e in NS_ShutdownXPCOM (servMgr=0xb7211604)
     at /home/firefox/tor-browser/xpcom/build/nsXPComInit.cpp:540
 ---Type <return> to continue, or q <return> to quit---
 #11 0xb2aff8d6 in ScopedXPCOMStartup::~ScopedXPCOMStartup
 (this=0xb725d248,
     __in_chrg=<optimized out>)
     at /home/firefox/tor-browser/toolkit/xre/nsAppRunner.cpp:1141
 #12 0xb2b087e9 in XREMain::XRE_main (this=0xbfb32f90, argc=4,
     argv=0xbfb342e4, aAppData=0xbfb330d8)
     at /home/firefox/tor-browser/toolkit/xre/nsAppRunner.cpp:3961
 #13 0xb2b0899a in XRE_main (argc=4, argv=0xbfb342e4, aAppData=0xbfb330d8,
     aFlags=0) at /home/firefox/tor-
 browser/toolkit/xre/nsAppRunner.cpp:4138
 #14 0x0804bce5 in do_main (argc=4, argv=0xbfb342e4,
 xreDirectory=0xb7238480)
     at /home/firefox/tor-browser/browser/app/nsBrowserApp.cpp:272
 #15 0x0804c1a1 in main (argc=4, argv=0xbfb342e4)
     at /home/firefox/tor-browser/browser/app/nsBrowserApp.cpp:632
 }}}
 Might be related to #11258 although this crash happens with a clean, new
 bundle when shutting down after about:tor shows up.
 Whether this happens with a vanilla Firefox 24.6.0 ESR needs to be
 investigated yet.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/12481>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list