I have an issue with Tor Browser crashing in Whonix in debian virtualbox.
The issue seems to be whonix related as I did the following after it started crashing:
I upgraded debian to the latest. (only TZDATA needed upgrading, my system is alaways within a day of latest update)
It still crashed
I upgraded to the latest virtualbox and extensions pack (from 6.1.30 to 6.1.34)
still crashed
I downloaded latest tor browser on my workstation. Worked with no issue.
I downloaded the same tor-browser within whonix-workstation and ran that version.
It crashed as the default installed one!
Running from the terminal, in debug mode, I got the following:
user@host:~$ torbrowser
Fontconfig warning: â/home/user/.tb/tor-browser/Browser/TorBrowser/Data/fontconfig/fonts.confâ, line 85: unknown element âblankâ
Fontconfig warning: â/home/user/.tb/tor-browser/Browser/TorBrowser/Data/fontconfig/fonts.confâ, line 85: unknown element âblankâ
Fontconfig warning: â/home/user/.tb/tor-browser/Browser/TorBrowser/Data/fontconfig/fonts.confâ, line 85: unknown element âblankâ
Fontconfig warning: â/home/user/.tb/tor-browser/Browser/TorBrowser/Data/fontconfig/fonts.confâ, line 85: unknown element âblankâ
Fontconfig warning: â/home/user/.tb/tor-browser/Browser/TorBrowser/Data/fontconfig/fonts.confâ, line 85: unknown element âblankâ
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
/home/user/.tb/tor-browser/Browser/start-tor-browser: line 362: 7071 Segmentation fault (core dumped) TOR_CONTROL_PASSWD=${TOR_CONTROL_PASSWD} ./firefox --class âTor Browserâ -profile TorBrowser/Data/Browser/profile.default â${@}â < /dev/null
[ERROR] [torbrowser] Tor Browser ended with non-zero (error) exit code!
Tor Browser was started with:
/home/user/.tb/tor-browser/Browser/start-tor-browser --verbose --allow-remote .
Tor Browser exited with code: 139
Yes, I had sen and read that before posting here. It is after following the instructions there and the following facts that I posted here.
Facts:
In Whonix I download a new copy of TOR browser with the same issue.
The very same TOR browser works perfectly in the workstation running Whonix.
I downloaded and installed a new Whonix with the same issue again.
I upgraded VirtualBox and still had the same issue.
This seems to indicate to me that the problem is most likely Whonix (and something else since others do not seem to have this problem) related.
So currently I cannot use Whonix which I have been using for a number of years on a daily basis without any issues. I have to rely on the not complete satisfactory solution of using TOR browser naked on my workstation.
But thanks for reading my post and trying to help.
I most likely cannot help any further than whatâs already in documentation.
This is always a bad sign.
Whonix didnât change anything related to its Tor Browser integration. The thing that changed is most likely Tor Browser. The issue is in source code / program (Tor Browser) written by a different project. As said in documentation:
Even though this is happening inside Whonix â˘, the cause is most often unrelated to Whonix ⢠code. Tor Browser is developed by The Tor Project, which is an independent entity. The is the norm in Linux distributions. To learn more about such relationships see Linux User Experience versus Commercial Operating Systems.
Whonix ⢠does integration work to get Tor Browser into the platform. To use a simple analogy, Whonix ⢠stays âon the outsideâ. Very few internal modifications are made to Tor Browser as described in the Whonix ⢠Tor Browser Differences chapter.
To remedy this kind of issue, there are three different promising approaches.
I will confirm that I have the same symptoms. The screen is noisy. It seems that it is a graphics issue. It generates strange visual and crashes, usually within the first 30 seconds, especially if I move the mouse over it.
Here is the output when running TOR browser form the terminal:
user@host:~$ torbrowser Fontconfig warning: â/home/user/.tb/tor-browser/Browser/TorBrowser/Data/fontconfig/fonts.confâ, line 85: unknown element âblankâ Fontconfig warning: â/home/user/.tb/tor-browser/Browser/TorBrowser/Data/fontconfig/fonts.confâ, line 85: unknown element âblankâ Fontconfig warning: â/home/user/.tb/tor-browser/Browser/TorBrowser/Data/fontconfig/fonts.confâ, line 85: unknown element âblankâ Fontconfig warning: â/home/user/.tb/tor-browser/Browser/TorBrowser/Data/fontconfig/fonts.confâ, line 85: unknown element âblankâ Fontconfig warning: â/home/user/.tb/tor-browser/Browser/TorBrowser/Data/fontconfig/fonts.confâ, line 85: unknown element âblankâ Fontconfig warning: â/home/user/.tb/tor-browser/Browser/TorBrowser/Data/fontconfig/fonts.confâ, line 85: unknown element âblankâ Exiting due to channel error. Exiting due to channel error. Exiting due to channel error. Exiting due to channel error. Exiting due to channel error. /home/user/.tb/tor-browser/Browser/start-tor-browser: line 362: 2953 Segmentation fault (core dumped) TOR_CONTROL_PASSWD=${TOR_CONTROL_PASSWD} ./firefox --class âTor Browserâ -profile TorBrowser/Data/Browser/profile.default â${@}â < /dev/null [ERROR] [torbrowser] Tor Browser ended with non-zero (error) exit code! Tor Browser was started with: /home/user/.tb/tor-browser/Browser/start-tor-browser --verbose --allow-remote . Tor Browser exited with code: 139 To see this for yourself, you could try: Start Menu â System â Xfce Terminal Then run: torbrowser See online documentation: XhttpsX://www.whonix.org/wiki/Tor_Browser#Tor_Browser_Crash_Errors user@host:~$
I cannot post to TOR browser as yet as I was not a registered user and am waiting for the confirmation of my account by the TOR admin.
Most of these terminal messages happened in earlier versions too. The ones present earlier are highly unlikely to be the cause now.
Most of these messages are generated by Tor Browser by The Tor Project. Only the last message Tor Browser ended with non-zero (error) exit code! is generated by Whonixâs torbrowser script. But it shouldnât be used in this case.
During debug attempts, do not use torbrowser command (/usr/bin/torbrowser script) or the Tor Browser start menu entry because these are provided by Whonix ⢠and are not the cause here.
A) Advanced users can try to start Tor Browser without the help of /usr/bin/torbrowser by Whonix â˘, thereby bypassing that part of Whonix ⢠Tor Browser integration. Tor Browser resides in folder ~/.tb/tor-browser. Therefore Tor Browser can be launched in Debugging Mode, which is a Tor Browser (not Whonix â˘) feature. If that does not helpâŚ
As I mentioned in my earlier posts, I have test all possible combinations including downloading and installing or re-installing, virtualbox, Whonix and TOR-browser. All give me the same issue in Whonix.
I have no issue with TOR-browser on the same workstation outside of Whonix.
Somehow the issue is graphic orientated.
I am running the above on the latest Debian, I have two different monitors running in 4K. That may be the problem, perhaps.
It is totally unusable now as it crash within 30 seconds of loading and does create strange transient artefacts in the TOR-browser window that are very noticeable if I move the mouse cursor.
Thanks for your interest in this.
Problem is most likely the latest kernel version 5.10.0-15, it ruined all my VMs very badlyâŚ, just downgrade kernel on your host and try if this fixes your problem.
No panic. Nothing is broken. Just some rare condition has been hit.
Try again later. There is likely a solution for this problem.
Please see Whonix News, Whonix Blog and Whonix User Help Forum.
Please report this bug!
I think you are on the right track.
The little research I have done seems to indicate that too. The issue is between virtualbox and the kernel version 5.10.0-15.
I will not be able to check for sure until tomorrow (restarting my workstation is a huge job) when I will report the results here.
Thanks for that insight.
I am very sure the problem will be fixed after you downgrade the kernel on your debian host from 5.15 to 5.14. This version gave me tons of problems, didnt know what to do for days and had to reinstall all my VMs from the stratch.
I had segmentation fault errors in almost every app, broken update and upgrade(bizzare errors i have never seen before like âHash Sum Mismatchâ after apt update) , SIGSEGV errors in all chromium based browser, broken TOR, sdwdate and swap file creator on Gateway, all messengers broken/crashed and tons of other problems and errors. Now everything works good after kernel downgrade.
Dont reinstall your Workstation, first try to downgrade and check if problems on your WS are fixed.
Thanks anonimac. Rebooting my workstation with the previous kernel (5.14 instead of 5.15) did indeed fix the problem occurring. No need to make any changes to any VM or whatever. Just boot the workstation with the previous kernel.
Still donât know what the problem is, but at least I have a working whonix until the issue does get resolved by virtualbox, linux kernel or whatever.
I had some of these isues when I updated to wayland and installed the hardened kernel, the xwayland server where flickering and I was having crashes in whonix.
Are you running Xorg?
Are you running the hardened kernel?
Kernel 5.15 does not cause any problems on the host but only on all VBox VMs. I tried to install kernel 5.15 on my VMs and so far as i can see it did not do any harm.