Skip to content

Zen reliably crashes on my laptop when I resume from suspend #4089

Closed

Description

@akkartik

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

Activity

  1. dosubot commented on Dec 31, 2024

    @dosubot

    I found 1 similar issue that might be helpful:

    To continue talking to Dosu, mention @dosu.


    Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other

  2. mr-cheffy commented on Jan 1, 2025

    @mr-cheffy
    Member
  3. akkartik commented on Jan 1, 2025

    @akkartik
    Author

    Thanks for the suggestion, but I'm afraid that didn't improve matters..

  4. fancypantalons commented on Jan 7, 2025

    @fancypantalons

    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.

  5. JohnnyWulgaru commented on Jan 21, 2025

    @JohnnyWulgaru

    This looks like it could be the same issue as in #3732

  6. manu68-debugs commented on Jan 22, 2025

    @manu68-debugs

    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

    
    user@1000.service 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'
    systemd-coredump@11-82502-0.service 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
    
    
  7. nijin26 commented on Jan 23, 2025

    @nijin26

    I am also facing the same issue in linux (Ubuntu 22).

  8. mr-cheffy commented on Jan 26, 2025

    @mr-cheffy
    Member

    Is it only on the appimage version?

  9. JohnnyWulgaru commented on Jan 26, 2025

    @JohnnyWulgaru

    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.

  10. scabidi commented on Jan 26, 2025

    @scabidi

    I also have this problem

  11. scabidi commented on Jan 26, 2025

    @scabidi

    This looks like it could be the same issue as in #3732

    It is

  12. JohnnyWulgaru commented on Jan 28, 2025

    @JohnnyWulgaru

    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)

  13. scabidi commented on Jan 29, 2025

    @scabidi

    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

  14. nijin26 commented on Jan 30, 2025

    @nijin26

    Is it only on the appimage version?

    Ys. Now I've moved to Flatpak version of Zen. Now there is no issues.

  15. siraht commented on Feb 3, 2025

    @siraht

    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.

  16. NoelClick commented on Feb 7, 2025

    @NoelClick

    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.

  17. Samueru-sama commented on Mar 6, 2025

    @Samueru-sama
    Contributor

    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 a squashfs-root directory 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-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.
  18. pixlxip commented on Mar 7, 2025

    @pixlxip

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions