Since last update waterfox started to crash. At first only while playing some youtube videos, but now it crashes immediately if I have youtube as last active tab before it closed. Even if I go to another tab and another page, it crasches. I restored a backup of my waterfox directory from last morning, with another tab active, and so far it hasn't crashed, so it seems to be related to youtube. But I want to watch youtube videos... What to do, segmentation fault doesn't say much...
$ waterfox
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Segmentation fault
First test if it's related to you profile:
stop waterfox
mv ~/.waterfox ~/.waterfox-keep
start waterfox and test the problematic websites
artist
You could get the latest stable version here:
https://www.waterfox.net/download/
If you click the arrow next to the version number you can get the latest beta too, but that has some minor issues. If you unpack it then run that in a testing profile you might find out if it was Waterfox in general or something about the Artix build, also whether the problem is fixed in the beta version. You might also want to check with Firefox too, and sometimes this kind of problem can be caused by graphics drivers, mesa and so forth. Mesa and other graphics things have a cache too, in ~/.cache and Waterfox might cache things there as well as in the profile dir.
mkdir "/tmp/profiledir"
/path/to/waterfox -no-remote -profile "/tmp/profiledir"
So i renamed the .waterfox directory and then run this, and after a few second of playing a video it crasched.
[lena]:~
└─$ mkdir "/tmp/profiledir"
[lena]:~
└─$ waterfox -no-remote -profile "/tmp/profiledir"
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.
Exiting due to channel error.
Exiting due to channel error.
Crash Annotation GraphicsCriticalError: |[C0][GFX1-]: CompositorBridgeChild receives IPC close with reason=AbnormalShutdown (t=23.0458) Crash Annotation GraphicsCriticalError: |[C0][GFX1-]: CompositorBridgeChild receives IPC close with reason=AbnormalShutdown (t=26.4646) Exiting due to channel error.
Exiting due to channel error.
Segmentation fault
I downloaded the latest version, which is the same as I have from the repo, and it seems to work. It hasn't crashed yet with the same video. But i can't make use my profile.
Probably your system runs out of memory when waterfox crashes.
I found this issue: https://github.com/BrowserWorks/waterfox/issues/3778 and added this to it:
Just now I did a build of version 6.6.0-beta-1 and that does not show the memory problem. I'll do a quick test and then add it to the omniverse repository so you can choose that version or revert to the previous version until the above bug has been fixed,
artist
I have 64 Gb of RAM, could it really use up that much?
Edit: I tried it again, looking at the memory usage in conky when it crashed, and it didn't use much memory.
No sure, but it's the only bug I could find that could be related. In my case memory usage goes from near zero to 20GB in a few seconds.
Feel free to file a new bug with your symptoms.
artist
I edited my last post. It didn't use much RAM what I could see in conky.
And also, as i said above, I downloaded the precompiled version and it didn't crash.
I did build the previous and the next version with identical procedures as the problematic one.
What I'll try is rebuilding waterfox as it might be related to a library or compiler issue then.
artist
The updated version in galaxy does not fix the memory problem.
If it fixes this crash issue will have to be tested.
From our side there's nothing more we can do until upstream fixes this.
artist
The binary from Waterfox is built with more static libs, e.g. waterfox-bin in the AUR:
Depends On : gtk3 libxt startup-notification mime-types dbus-glib ffmpeg ttf-font hicolor-icon-theme
Compared to waterfox in Galaxy:
Depends On : cairo dbus ffmpeg fontconfig freetype2 gcc-libs gdk-pixbuf2 glib2 glibc gtk3 hicolor-icon-theme libpulse libx11 libxcb libxcomposite libxdamage libxext libxfixes libxrandr libxss libxt mime-types nspr nss pango ttf-font
So you could check if any of those additional deps got upgraded around the time when this problem started, if you wanted to explore further and the new build doesn't fix it, they could have brought in problems or compatibility issues.
I don't know if it's worth the trouble for a temporary fix but you can import profile data to a new one:
https://support.mozilla.org/en-US/kb/recovering-important-data-from-an-old-profile
This is an upstream issue, and working around it might take a day or more as browsers take long to build.
I'll post an announcement to use the previous version.
artist
Thanks to both of you for your help.
I'm trying the beta version from Omniverse now, and it seems to work.
I've tracked down the cause of the crashes; waterfox 6.5.9 is built with firefox-esr 128.12.0 which crashes when run standalone.
artist
firefox-esr 128.12.0?
That sort of dismisses the reason for the ERS version to exist...