I've tested this with both the security slider on low as on medium-high and that changes nothing.
I went ahead and downloaded the debug systems and got a backtrace in gdb, which I'll include.
If there is anything else that I can help with, do let me know!
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.
A first look at it: this is due to one of our patches and it is already available on 6.0a5. Arthur/Mark/Kathy have any of you time to start working on this. I can continue tomorrow if you run out of time today.
Trac: Keywords: N/Adeleted, tbb-crash added Severity: Normal to Critical Priority: Medium to Very High Cc: N/Ato arthuredelstein, brade
I can also reproduce this on Mac OS. I am out of time for today, but I will attach a debugger session log for a debug build, where an assertion fails inside the JS interpreter.
For me (on Mac OS), the crash only occurs when the developer tools are open and the Network tab is active (although the game does not load in other cases; I always see a "Failed to download game data" message).
The crash still occurs when I set dom.indexedDB.enabled = true.
FWIW, I noticed that if I disable the NoScript extension (using the Add-Ons Manager) then the crash does not occur. On the other hand, if I use Firefox 45 ESR with NoScript installed, then I also do not see the crash.
For me (on Mac OS), the crash only occurs when the developer tools are open and the Network tab is active (although the game does not load in other cases; I always see a "Failed to download game data" message).
For me (on Mac OS), the crash only occurs when the developer tools are open and the Network tab is active (although the game does not load in other cases; I always see a "Failed to download game data" message).
That might be a related but different issue.
That's actually the case. This is due to us using private browsing mode and is reproducible in a vanilla Firefox as well.
Good find. Avoiding connectTimeline() makes it do timeline events are not created, which avoids the codepath where Tor Browser crashes.
After trying for a while to find the root cause of this issue, Kathy and I started to look and see if Mozilla made any changes after ESR45 in code near the crash location. We found the following bug which looks like a duplicate of this ticket:
https://bugzilla.mozilla.org/show_bug.cgi?id=1258535
The crash does disappear when I disable NoScript. Mozilla made two fixes, one to add more assertions and one to add an additional null pointer check:
https://hg.mozilla.org/mozilla-central/rev/cd0123e0a09dhttps://hg.mozilla.org/mozilla-central/rev/029c36687f2f
I am not convinced that they fixed the bug though. Applying their second patch did not fix this crash. Kathy and I are about out of time for today, but hopefully this gets us a little closer to a solution.
On second thought, this may not be an exact duplicate of the Mozilla bug because of our dependency on the #16528 (moved) patch. But it sure is close.
It is not. I applied both fixes but the issue remains. I still don't understand why cx->compartment() returns a null pointer with our patch applied. One way to handle that could be to do simply return false in this case, quick and dirty. I am not that happy about this solution though, as this introcuces a second order patch which might have issues on its own.
Another way forward would be trying to understand why our patch is causing issues. I am still trying to wrap my head around the fact that basically just falling back to the PBM permission check is causing this. Why does commenting out those two code blocks cause our problem given that a normal Firefox in PBM does not care about those two code blocks either but does not crash anymore. (after bug 125835.
A third approach might be to understand what role NoScript plays. Why is it causing cx->compartment() to be null. We could ask Giorgio if he'd merge a patch for us.
I think I prefer option 2) right but time is up for now. I am back again in a couple of hours and I still have hope we can get that fixed in 6.0.1.
Here is another piece of data: Kathy and I can reproduce the crash after backing out the #16528 (moved) patch if we also flip dom.indexedDB.enabled to true (and stay in private browsing mode). In fact, we can also reproduce it with Firefox 46.0.1 in private browsing mode on Mac OS using a clean profile that has NoScript installed (with "Allow Scripts Globally" on).
We cannot reproduce it using Firefox Developer Edition (48.0a2 2016-06-02) using the same profile.
Mozilla's fixes look like "bandaids" to me; the comments in the Mozilla bugs we have found so far do not indicate a deep understanding of the problem(s).
Arthur is fine with it, too, so taking for 6.0.1. In fact all other possible fixes would likely have been more complex making them more unsuitable for the stable. This is commit d7f98ce46b9cc43bb4ec8482938cb04f6ca99e21 on tor-browser-45.1.1esr-6.0-1.
Trac: Status: new to closed Resolution: N/Ato fixed