Opened 6 years ago

Last modified 20 months ago

#12481 new defect

Tor Browser crashes on shutdown on Linux and Mac OS X debug builds

Reported by: gk Owned by: tbb-team
Priority: High Milestone:
Component: Applications/Tor Browser Version:
Severity: Normal Keywords: tbb-crash, tbb-firefox-patch
Cc: mcs, brade Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


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.

Child Tickets

Change History (5)

comment:1 Changed 6 years ago by mcs

Cc: mcs brade added

comment:2 Changed 6 years ago by erinn

Keywords: tbb-firefox-patch added

comment:3 Changed 6 years ago by erinn

Component: Firefox Patch IssuesTor Browser
Owner: changed from mikeperry to tbb-team

comment:4 Changed 3 years ago by teor

Severity: Normal

Set all open tickets without a severity to "Normal"

comment:5 Changed 20 months ago by traumschule

comment:1:issue:27815 could be related

Note: See TracTickets for help on using tickets.