-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tor-browser crashes opening about:support and shows "Gah! tab crashed" (nixos-20.03) #86356
Comments
Can you try with override |
This helps. On a quick test I didn't see any "Gah! Tab crashed" error and |
It should be off by default then, it used to work :( |
Could this be triggered by a missing or mismatched library? |
I think it's simply because the firefox jemalloc is incompatible with the hardened allocator. firefox has to be built with Relevant mailing list thread here (fair warning: it turns into a not-so-productive exchange after a few messages): https://lists.torproject.org/pipermail/tor-dev/2019-August/013982.html |
I think that at this point it'd be appropriate to revert the commit that added hardened alloc support, with a note as to why, maybe opening an issue to track work (if anyone cares) to make hardened malloc work with tbb/firefox. |
I'm not into the differences/advantages of each allocator. In this case I have the user hat on and unless there's a critical aspect of relevance I'm happy to trade that in favour of a functional browser. |
this seems to cause crashes with certain tabs. relevant issue: NixOS#86356
* tor-browser: disable hardening by default this seems to cause crashes with certain tabs. relevant issue: #86356 * Update pkgs/applications/networking/browsers/tor-browser-bundle-bin/default.nix Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
Describe the bug
After upgrading to nixos-20.03 and enabling pulseaudio support I started experiencing the "Gah! tab crashed" error too often, to the point that browsing sites with certain types of embedded media (mostly audio/video) instantly triggers the error (e.g browsing https://www.washingtonpost.com/).
While troubleshooting this I also noticed that opening
about:support
crashes not the tab but the browser. On the console I can see:This crash is present with default options (i.e.
mediaSupport = false
andpulseaudioSupport = false
).In addition, after several crashes Tor asks to start in "Safe mode". I'm not sure what safe mode disables but it allows opening
about:support
without crashing and/or triggering the segfault.This seems to hint at some interaction with external libraries and my assumption that this is somehow related to pulseaudio.
To Reproduce
Steps to reproduce the behavior:
nix-env -iA tor-browser-bundle-bin
tor-browser
about:support
Notify maintainers
@offlinehacker @matejc @doublec @thoughtpolice @joachifm @hax404 @scaredmushroom
Metadata
The following expression was used to enable
mediaSupport
andpuseaudioSupport
:and installed with
nix-env -iA torbrowserWithAudio
.The text was updated successfully, but these errors were encountered: