Browser freezes (Sig 5 Trap) when launched in KDE (Kubuntu 26.04)

@craig270

Submitted the following to ChatGPT:

Kubuntu 26.04

Brave Browser 1.91.172

On startup, browser completely frozen and unresponsive.

KDE Crash Processes Viewer below:

   PID: 44982 (brave)
   UID: xxxxxxxxxxxxxxxx
   GID: xxxxxxxxxxxxxxxx
Signal: 5 (TRAP)

ChatGPT response:


A Signal 5 (TRAP) crash in Brave at startup usually means the browser intentionally triggered a breakpoint/assertion rather than being terminated by the kernel. Common causes on Linux include:

  • Corrupted browser profile data
  • Broken extensions
  • GPU/graphics initialization issues
  • Chromium sandbox problems
  • Incompatible flags in the startup configuration
  • A regression in the specific Brave build

A few diagnostic steps can narrow it down quickly.

1. Launch Brave from a terminal

Run:

brave-browser

or

brave

and capture the output.

If it immediately crashes, the terminal messages are often more informative than the KDE crash viewer.


2. Try disabling GPU acceleration

brave-browser --disable-gpu

If Brave starts normally, the issue is likely related to graphics drivers, Wayland/X11, or Chromium GPU initialization.

You can then permanently disable GPU acceleration from Settings or investigate graphics drivers.


3. Test with a temporary profile

This is one of the fastest ways to determine whether your profile is corrupted.

mkdir /tmp/brave-test brave-browser --user-data-dir=/tmp/brave-test

If Brave opens successfully with the temporary profile, the problem is inside your normal profile directory.

Your profile is typically located at:

~/.config/BraveSoftware/Brave-Browser


4. Disable extensions

If a temporary profile works, try:

brave-browser --disable-extensions

A problematic extension can freeze Chromium-based browsers before the UI becomes responsive.


5. Check for sandbox issues

Try:

brave-browser --no-sandbox

Only use this as a test.

If it starts with --no-sandbox, there may be a permissions or namespace issue affecting Chromium’s sandbox.


I wonder if the issue is related to:

‘Will not start on MacOS 26.5 (apple silicon) - #2 by 289wk’