Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: Waterfox crashes after last update (Read 4138 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Waterfox crashes after last update

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...

Code: [Select]
$ waterfox 
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Segmentation fault

Re: Waterfox crashes after last update

Reply #1
First test if it's related to you profile:

stop waterfox
mv ~/.waterfox ~/.waterfox-keep
start waterfox and test the problematic websites

artist

Re: Waterfox crashes after last update

Reply #2
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.


Code: [Select]
mkdir "/tmp/profiledir"
/path/to/waterfox -no-remote -profile "/tmp/profiledir"

Re: Waterfox crashes after last update

Reply #3
So i renamed the .waterfox directory and then run this, and after a few second of playing a video it crasched.

Code: [Select]
[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

Re: Waterfox crashes after last update

Reply #4
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.

Re: Waterfox crashes after last update

Reply #5
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:
Quote
On artix linux I observe the following when opening a gitea page, for several seconds:

    memory used is over 19GB
    cpu load very high

Disabling all add-ons does not help, nor changing any performance setting.
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

Re: Waterfox crashes after last update

Reply #6
Probably your system runs out of memory when waterfox crashes.

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.

Re: Waterfox crashes after last update

Reply #7
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

Re: Waterfox crashes after last update

Reply #8
I edited my last post. It didn't use much RAM what I could see in conky.

Re: Waterfox crashes after last update

Reply #9
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
And also, as i said above, I downloaded the precompiled version and it didn't crash.

Re: Waterfox crashes after last update

Reply #10
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

Re: Waterfox crashes after last update

Reply #11
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

Re: Waterfox crashes after last update

Reply #12
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

Re: Waterfox crashes after last update

Reply #13
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

Re: Waterfox crashes after last update

Reply #14
Thanks to both of you for your help.
I'm trying the beta version from Omniverse now, and it seems to work.