Ever since I updated to the latest version 7, the browser crashes every single time on exit.
I have no idea if there are any hidden logs anywhere, but this is what I can see in Windows EventLog:
Faulting application name: firefox.exe, version: 52.1.2.6242, time stamp: 0x00000000
Faulting module name: nssckbi.dll_unloaded, version: 0.0.0.0, time stamp: 0x00000000
Exception code: 0xc0000005
Fault offset: 0x624cda4c
Faulting process id: 0x1344
Faulting application start time: 0x01d2e38545d0b59e
Faulting application path: F:\Programy\Tor Browser\Browser\firefox.exe
Faulting module path: nssckbi.dll
Report Id: bf91d4dc-4f78-11e7-bfb4-902b34ddceaf
Trac: Username: WalrusInAnus
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items ...
Show closed items
Linked items 0
Link issues together to show that they're related.
Learn more.
Does the browser crash as well if you are not surfing to some website but are rather just opening it and then closing it again? Which Windows version is that?
Trac: Status: new to needs_information Summary: TOR crashing on exit to Tor browser is crashing on exit on Windows Keywords: N/Adeleted, tbb-crash added Priority: Medium to High Severity: Normal to Major
I am on Windows 7 x64.
It doesn't matter if I close the browser right after starting it or after an hour. I always get the crash message right after the window disappears.
Now that I think about it, I get crashes after running for longer periods of time too, but I don't do that very often so I am not sure if it's the same type of crash (the dll in question).
Calm down folks. WalrusInAnus could you remove that tool (disabling might not be enough) and test again? This is actually no nonsense. We have seen in the past a lot of "security" tools that are intercepting/interfering (with) the browser or tor and are causing crashes. This might be another instance of that.
Well I've been using it for several years now AND I didn't have the crashing problem with TOR version 6 (any of them I believe), so it definitely is not the cause. It started again when TOR updated to v7.
Well I've been using it for several years now AND I didn't have the crashing problem with TOR version 6 (any of them I believe), so it definitely is not the cause. It started again when TOR updated to v7.
Alright, I just looked at it on my Windows 7 64bit machine but could not reproduce these problems. Do they go away if you set browser.tabs.remote.autostart.2 to false in your about:config and restart Tor Browser (this disables the multiprocess mode, maybe the crash is related to that one on your computer)?
Nope, unfortunately no change.
I tried a fresh "installation" as well in case it was something wrong with the profile (which I've been using for quite some time), but no luck.
Are there old TOR versions to be downloaded from somewhere? I'd like to confirm v6 doesn't crash like I believe it didn't.
Could you test 6.5.2 which is the last stable before the switch to 7.0? Would you be willing to run test builds if I'd give some to you to track the problem down? Oh, another question: Does a normal Firefox 52 ESR crash for you as well (https://www.mozilla.org/en-US/firefox/organizations/all/)?
Well, uh. I downloaded v7 again, installed to completely new folder with a new profile, and thus far it seems it's not crashing.
Are you interested in a log from my regular installation to maybe try to figure out what went wrong? Something might have broken during upgrade from v6 to v7 (which could happen to others I guess).
Well, uh. I downloaded v7 again, installed to completely new folder with a new profile, and thus far it seems it's not crashing.
Are you interested in a log from my regular installation to maybe try to figure out what went wrong? Something might have broken during upgrade from v6 to v7 (which could happen to others I guess).
What do you mean with "log"? What would help would be a diff between both folders trying to narrow down the difference that is causing the problem. Could you help with that?
Well, Tor has logging built in, which is enabled from within torrc file. I thought it might be of some use.
Don't know how to do the diff thing though, unfortunately. Which folders should I compare and how?
Well, Tor has logging built in, which is enabled from within torrc file. I thought it might be of some use.
Hm, maybe although I currently doubt that as it is the browser which is crashing. So, let's take this road later in case we have not solved the issue and have no clue on how to make progress.
Don't know how to do the diff thing though, unfortunately. Which folders should I compare and how?
Not sure how to do that efficiently on Windows but you could do the following things:
Copy the broken setup to a new folder (only use the one in the new folder for debugging; in case anything goes wrong you still have the broken setup at the original location to start over)
Test that it is still broken in the new folder
If 2) is the case remove the TorBrowser directory and everything below it (it is located in the Browser folder) and replace it with the TorBrowser contents of the working setup
Test whether it is still broken
This should help us narrow the issue down a lot and we can think about how to proceed further depending on the results.
Okay, the crashes are caused by something in your Data directory then. Let's see. Do the crashes stop if you replace Browser\TorBrowser\Data\Browser? If som please test with replacing Browser\TorBrowser\Data\Tor as well to double-check that we did not make any mistakes. Exactly one of them should still lead to crashes.
Replacing \Browser\TorBrowser\Data\Tor\ had no effect, but \Browser\TorBrowser\Data\Browser\ stopped the crashes.
That could indicate something rotten in the user profile, BUT if I do a clean install and copy the existing profile in there, it's not crashing.
Weird. But we still have a way forward to narrow things down. I don't know how your profile directory looks like but I guess you know how to narrow the issue down further? Could you get back to us if you have found the culprit? And the question regarding nssckbi.dll_unloaded is a good one as well.
It seems like it could be something in prefs.js (when I deleted and let it regenerate, the crashing stopped), but that's as far as I'm able to troubleshoot it. I don't know anything about the inner workings of Firefox.
Just don't use TorBrowser for Windows. Firefox for Windows were never used for real after to be built with MinGW.
PS: or use it only with default settings (private browsing mode must be enabled for TorBrowser, etc)
Thanks. So, looking at your preferences file and on our previous issues it seems you might have been running into something we had fixed in #13610 (moved)/#10761 (moved). Could you go to about:preferences#privacy in your broken Tor Browser and make sure to select the "Never remember history" option and do a restart. Do the crashes still occur afterwards?
worksforme
Then you need to disable changing for about:preferences#privacy or something yet, who knows what config can to brick user's privacy/expirience again if browser unsupport mingw build env for real.
worksforme
Then you need to disable changing for about:preferences#privacy or something yet, who knows what config can to brick user's privacy/expirience again if browser unsupport mingw build env for real.
It's not clear whether my theory in comment:39 is actually true. I could not reproduce the problem following the steps in #10761 (moved).
I could not reproduce the problem following the steps in #10761 (moved).
Because it's race condition, in ideal world (where users with bug lives) dll unloaded just after last FreeLibrary() called, in non-ideal world (where users without bug lives) code with thunk from freed library still in place and PR_Free() successfully finished.
I am wondering, though, why this is happening again (assuming it is really something like #10761 (moved)) because it seemed to me the underlying issues got fixed and the fixes are available in esr45/esr52.