desktop: Zen reliably crashes on my laptop when I resume from suspend

Captchas

  • I have read the instructions.
  • I have searched existing issues and avoided creating duplicates.
  • 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?

  • 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

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 4
  • Comments: 18 (3 by maintainers)

Most upvoted comments

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)

Is it only on the appimage version?

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.