Zen reliably crashes on my laptop when I resume from suspend
Captchas
- [X] I have read the instructions.
- [X] I have searched existing issues and avoided creating duplicates.
- [X] I am not filing an enhancement request.
What happened?
I have Zen Browser running fine on my laptop. I close the lid to suspend my laptop. I wait for it to go to sleep then open the lid to resume from shutdown. Zen crashes within a few seconds, or the first time I try to interact with its window.
Reproducible?
- [X] I have checked that this issue cannot be reproduced on Mozilla Firefox.
Version
1.0.2-b.5
What platform are you seeing the problem on?
Linux
Relevant log output
I don't know where to look for logs, but when I run Zen from the terminal I see just the following output on resume:
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=34.0139) Exiting due to channel error.
Exiting due to channel error.
Crash Annotation GraphicsCriticalError: |[C0][GFX1-]: CompositorBridgeChild receives IPC close with reason=AbnormalShutdown (t=34.498) Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
zsh: bus error (core dumped) ./browser/zen-x86_64.AppImage
I found 1 similar issue that might be helpful:
- No solution found in the comments.
To continue talking to Dosu, mention @dosu.
Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other
Could you try disabling this? https://support.mozilla.org/en-US/questions/994164
Thanks for the suggestion, but I'm afraid that didn't improve matters..
I'm also experiencing this on the latest Zen. If there's any telemetry I can gather that might help diagnose the issue, absolutely let me know.
This looks like it could be the same issue as in #3732
I am also experiencing a similar issue and noticing after latest update crashes after a few seconds usage after suspend. these are some of the logs:
Journalctl logs
[email protected] Unable to find file for pid 69900 expected at "kcrash-metadata/zen.09414c8288d248e696023830dfd79826.69900.ini"
Nothing handled the dump :O
abrtd.service Executable '/zen' doesn't belong to any package and ProcessUnpackaged is set to 'no'
abrtd.service 'post-create' on '/var/spool/abrt/ccpp-2025-01-22-23:37:34.307795-69900' exited with 1
abrtd.service Deleting problem directory '/var/spool/abrt/ccpp-2025-01-22-23:37:34.307795-69900'
[email protected] Process 66698 (zen) of user 1000 dumped core.
........
Stack trace of thread 81306:
#0 0x00007f47795990f4 __pthread_kill_implementation (libc.so.6 + 0x730f4)
#1 0x00007f477953ffde raise (libc.so.6 + 0x19fde)
#2 0x00007f47737c94f3 n/a (n/a + 0x0)
ELF object binary architecture: AMD x86-64
I am also facing the same issue in linux (Ubuntu 22).
Is it only on the appimage version?
I've been using the AppImage version only so far. I'll switch to the tar ball version for the next few days and report back.
I also have this problem
This indeed looks like an AppImage issue. I've switched to the tar.bz2 version of 1.7.2b and didn't have a single crash even though my laptop went to sleep many times.
However my application icon is now a Wayland icon instead. 👉 #3578 (Using KDE as DM, Gnome seems to be unaffected)
This indeed looks like an AppImage issue. I've switched to the tar.bz2 version of 1.7.2b and didn't have a single crash even though my laptop went to sleep many times.
However my application icon is now a Wayland icon instead. 👉 #3578 (Using KDE as DM, Gnome seems to be unaffected)
Looks like this fixed the problem moving to AUR zen-browser-bin
Is it only on the appimage version?
Ys. Now I've moved to Flatpak version of Zen. Now there is no issues.
Please fix this issue with the AppImage. I've been living with it, but now that Restore Session is broken too, this issue is a showstopper for using Zen. I can't use a browser where I will lose my session every time my computer goes to sleep.
I'm experiencing the same issue (Zen 1.7.4b, AppImage).
For now, disabling Wayland (env MOZ_ENABLE_WAYLAND=0 ./ZenBrowser.AppImage %u) serves as a simple workaround.
Edit: Never mind, it still crashes.
This is likely related to this issue.
It can be fixed, but I need a confirmation first, so please try the following:
-
Download or take the existing Zen AppImage and run the appimage in the terminal with
--appimage-extractflag this will make asquashfs-rootdirectory with the contents of the appimage extracted. -
Delete the AppImage
-
Then download appimagetool and this runtime, the file you have to download is named uruntime-appimage-squashfs-lite-xxx with the last 3 "x" being your cpu arch, likely x86_64 for most of you.
-
now use the appimagetool to turn the
squashfs-rootdirectory back into an appimage with the different runtime, that is:
./appimagetool-x86_64.AppImage ./squashfs-root --runtime-file ./uruntime-appimage-squashfs-lite-x86_64
- This will make a
Zen_Browser-x86_64.AppImageappimage, now test this and let me know if you still have the crash.
This is likely related to this issue.
It can be fixed, but I need a confirmation first, so please try the following:
* Download or take the existing Zen AppImage and run the appimage in the terminal with `--appimage-extract`flag this will make a `squashfs-root` directory with the contents of the appimage extracted. * Delete the AppImage * Then download [appimagetool](https://github.com/AppImage/appimagetool/releases/tag/continuous) and [this runtime](https://github.com/VHSgunzo/uruntime/releases/tag/v0.1.8), the file you have to download is named **uruntime-appimage-squashfs-lite-xxx** with the last 3 "x" being your cpu arch, likely x86_64 for most of you. * now use the appimagetool to turn the `squashfs-root` directory back into an appimage with the different runtime, that is:./appimagetool-x86_64.AppImage ./squashfs-root --runtime-file ./uruntime-appimage-squashfs-lite-x86_64* This will make a `Zen_Browser-x86_64.AppImage` appimage, now test this and let me know if you still have the crash.
After following this, Zen has stayed open, after many times suspending and waking, without any crashes of the app or any tabs. Tabs and, eventually, the whole app, used to crash for me, but this seems to have fixed the problem on my system.