Skip to content

[Bug]: Chromium-based browsers (including Brave) crash with 1.16.5 #6582

Description

@oggytheman

Checklist

  • I agree to follow the Code of Conduct that this project adheres to.
  • I have searched the issue tracker for a bug that matches the one I want to file, without success.
  • If this is an issue with a particular app, I have tried filing it in the appropriate issue tracker for the app (e.g. under https://github.com/flathub/) and determined that it is an issue with Flatpak itself.
  • This issue is not a report of a security vulnerability (see here if you need to report a security issue).

Flatpak version

1.16.5

What Linux distribution are you using?

Arch Linux

Linux distribution version

No response

What architecture are you using?

x86_64

How to reproduce

open a brave browser and be on flatpak 1.16.5

Expected Behavior

to show the normal home screen tab

Actual Behavior

the tab crashes and every attempt of opening a new tab makes it crash as well

Additional Information

launching from a terminal i get these errors

Image

Activity

  1. altger commented on Apr 9, 2026

    @altger

    In my case this applies to any chromium-based browser:
    chromium
    ungoogled-chromium
    brave

    also on Arch with flatpak 1.16.5.

    Behavior differs - brave shows dark page upon startup, chromium shows "Aw snap!" message and dumps core in background.

    Please note that before ptrace errors, another one shows up at the beginning which may be closer to the source of issue:

    ~$ com.brave.Browser
    [63:63:0409/073652.339457:ERROR:base/memory/shared_memory_switch.cc:289] Failed global descriptor lookup: 7
    
    ~$ org.chromium.Chromium
    [48:48:0409/073503.604685:ERROR:base/memory/shared_memory_switch.cc:289] Failed global descriptor lookup: 7
    
  2. altger commented on Apr 9, 2026

    @altger

    Btw, as a quick workaround for having a working browsers, downgrading flatpak (NOT SECURE as CVE's are not patched in previous versions!) worked for me. Will have to stick to that until real solution comes up.

    ~$ sudo pacman -U file:///var/cache/pacman/pkg/flatpak-1\:1.16.3-1-x86_64.pkg.tar.zst
    
    ~$ flatpak --version
    Flatpak 1.16.3
    
  3. oggytheman commented on Apr 9, 2026

    @oggytheman
    Author

    something interesting to note that if i uninstall brave then install it again on the first launch it does work but every launch after that it crashes

  4. grigio commented on Apr 9, 2026

    @grigio

    something interesting to note that if i uninstall brave then install it again on the first launch it does work but every launch after that it crashes

    Yes i have the same issue after the flatpak upgrade, it breaks at the 2nd execution

    ➜  flatpak run com.brave.Browser
    [75:75:0408/095317.600617:ERROR:base/memory/shared_memory_switch.cc:289] Failed global descriptor lookup: 7
    [2:2:0408/095317.850892:ERROR:chrome/browser/ui/views/user_education/impl/browser_user_education_interface_impl.cc:154] Attempting to show IPH IPH_DiscardRing before browser initialization complete; IPH will not be shown.
    ➜  flatpak run com.brave.Browser
    [2 zypak-helper] Wait found events, but sd-event found none
    error: /proc/self/fd/18 resolves to non-absolute path anon_inode:inotify
    [2 preload-host-spawn-strategy] Failed to let stub process know of exit: Bad file descriptor (errno 9)
    
    
  5. Pamalosebi commented on Apr 9, 2026

    @Pamalosebi

    Browser are broken since Flatpak 1.16.4. But they now throw different errors with 1.16.5...

  6. rumboon commented on Apr 9, 2026

    @rumboon

    Additional diagnostics

    This affects all Chromium-based browsers installed via Flatpak, not just Brave — I can reproduce it with io.github.ungoogled_software.ungoogled_chromium as well.

    Key behavior: Works correctly on the very first run after a clean install. Tabs crash on every subsequent run. --no-sandbox resolves it, which points to a sandbox bootstrap failure rather than an app-level issue.

    Environment:

    • Flatpak: 1.16.5
    • bubblewrap: 0.11.1
    • Kernel: 6.12.11.arch1-1
    • Arch Linux x86_64
    • Runtime: org.freedesktop.Platform/x86_64/25.08

    The specific error from verbose logging:

    [48:48:0409/134429.297773:ERROR:base/memory/shared_memory_switch.cc:289] Failed global descriptor lookup: 7
    

    This appears in every failing run. The child process (PID 48) cannot find file descriptor 7 in the global descriptor table. This fd is not being correctly inherited by the sandboxed child process.

    This is corroborated by the histogram output at shutdown:

    Histogram: NetworkService.GrantSandboxResult recorded 3 samples, mean = 7.0
    

    Value 7 in GrantSandboxResult corresponds to kFailed_CouldNotGrantAccessToFile.

    What does NOT fix it:

    • --disable-features=NetworkServiceSandbox
    • flatpak override --user --device=shm
    • flatpak override --user --allow=devel
    • Raising user.max_user_namespaces
    • --disable-gpu
    • Clearing all app data and reinstalling

    What does fix it:

    • --no-sandbox

    Full verbose log attached.

    chromium-flatpak.log

  7. changed the title [-][Bug]: Brave crashing 1.16.5[/-] [+][Bug]: Chromium-based browsers (including Brave) crash with 1.16.5[/+] on Apr 9, 2026
  8. smcv commented on Apr 9, 2026

    @smcv
    Collaborator

    Additional diagnostics

    Thanks, this helps!

    The child process (PID 48) cannot find file descriptor 7 in the global descriptor table. This fd is not being correctly inherited by the sandboxed child process.

    This points to the fd reshuffling in flatpak-portal still not being completely right.

    --no-sandbox [is a workaround]

    That's consistent with this being a problem with flatpak-portal. When you run a Chromium-based browser with --no-sandbox, it doesn't need to create a Flatpak "subsandbox", so it won't be talking to the portal.

    This is a less harmful workaround than downgrading Flatpak.

    Works correctly on the very first run after a clean install. Tabs crash on every subsequent run.

    This is surprising, but might help to point to where the problem is.

  9. smcv commented on Apr 9, 2026

    @smcv
    Collaborator

    To check, have the users experiencing this crash restarted Flatpak's various systemd services since applying the 1.16.5 update?

    The easiest way to confirm that this has been done would be to reboot the whole system.

    If this problem persists after a reboot, then we still need to investigate further. If it fixes itself after a reboot, then it's solved already.

  10. altger commented on Apr 9, 2026

    @altger

    I noticed it straight after the update without reboot, as well as after a full OS reboot.

  11. janost commented on Apr 9, 2026

    @janost

    The issue persists after a reboot. For me it affects both Chromium and Brave.
    Rolling back to 1.16.4-2.1 fixes the issue.

  12. 38 remaining items

  13. intrigeri commented on Apr 11, 2026

    @intrigeri

    Thank you @smcv for the quick fix!

  14. Ren-B-7 commented on Apr 11, 2026

    @Ren-B-7

    @smcv bug fixed! Amazing and thank you for your work here.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions