I am NixOS 24.11. I installed Waterfox as a Flatpak since it is available as a direct Nix package.
But it keeps crashing.
Here is the error I see in journalctl
:
Process 5657 (waterfox) of user 1000 dumped core.
Stack trace of thread 148:
#0 0x00007f1823495db4 n/a (/usr/lib/x86_64-linux-gnu/libc.so.6 + 0x99db4)
#1 0x00007f182343d08e n/a (/usr/lib/x86_64-linux-gnu/libc.so.6 + 0x4108e)
#2 0x00007f181f136813 n/a (/app/opt/waterfox/libxul.so + 0x8136813)
ELF object binary architecture: AMD x86-64
What can I do from there?
So first of all which version of waterfox are you running?
Also since this is probably not nix related i would recommend you to open a issue on the waterfox github page: GitHub - BrowserWorks/Waterfox: The official Waterfox 💧 source code repository
But to be sure it is not a nix issue, can you post info of your system (wayland/X, hardware infos, kernel versions,…)
I had Flatpak installed at the user level, and I made a change to have it installed for all users to see the issue could be related. Since then, I haven’t experienced a crash. Although, this is only a correlation. When I say crash, I mean both Waterfox was crashing and sometimes my whole machine.
OS: NixOS 24.11.20250313.cdd2ef0 (Vicuna) x86_64
Host: Micro-Star International Co., Ltd. MAG B550M MORTAR WIFI (MS-7C94)
Kernel: 6.6.82
Uptime: 2 days, 22 hours, 31 mins
Packages: 1081 (nix-system), 1316 (nix-user), 2 (nix-default), 9 (flatpak)
Shell: zsh 5.9
Resolution: 3840x2160
DE: GNOME 47.2 (Wayland)
WM: Mutter
WM Theme: Adwaita
Theme: Graphite-blue-Dark-nord [GTK2/3]
Icons: WhiteSur-dark [GTK2/3]
Terminal: ghostty
CPU: AMD Ryzen 7 5700G with Radeon Graphics (16) @ 4.673GHz
GPU: AMD ATI Radeon Vega Series / Radeon Vega Mobile Series
Memory: 14383MiB / 60159MiB
Waterfox 64bits 6.5.4
So, for the moment, the problem seems to be gone. I’ll keep an eye on this.
when you mean your whole system crashed do you mean your whole computer or could you change your tty?
Yes, the whole computer. I had a still image and nothing was responding. I tried to change the tty, but even that was not possible.
These crashes were happening more often when the machine was waking up from sleep.
The bug started happening with these changes in configuration.nix
.
Since I have restored my Flatpak config to what it was, I had no issue.
Ok just two questions with the config.
For what did you create a systemd service?:
services.flatpak.enable = true;
systemd.services.flatpak-repo = {
wantedBy = [ "multi-user.target" ];
path = [ pkgs.flatpak ];
script = ''
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
'';
Have you tried it just without this change:
flatpak --user=pierre override --env=GTK_THEME=Graphite-blue-Dark-nord
The service was based on the wiki.
Yes, initially. I had to search for awhile to find it. But it is pretty cool because my Flatpak apps have the same style as my native app. I use the Gnome extension Night Theme Switcher to run my theme setting scripts. But, it is not perfect: the window title bar of some apps is not changing, and I have to quit and restart these apps to update the title bar. Some apps need a restart to be updated.
Since I updated my config to have Flatpak installed globally, I am no longer experiencing any issue.