Bug 502722 - Falkon crashes on startup with hardware acceleration enabled and Qt 6.9
Summary: Falkon crashes on startup with hardware acceleration enabled and Qt 6.9
Status: REPORTED
Alias: None
Product: Falkon
Classification: Applications
Component: general (show other bugs)
Version: 24.12.3
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2025-04-12 18:34 UTC by Jure Repinc
Modified: 2025-04-12 22:01 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report: https://crash-reports.kde.org/organizations/kde/issues/162263/events/798e7a4423364274a5c01606d4961e63/


Attachments
New crash information added by DrKonqi (86.62 KB, text/plain)
2025-04-12 18:34 UTC, Jure Repinc
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jure Repinc 2025-04-12 18:34:14 UTC
Application: falkon (24.12.3)

ApplicationNotResponding [ANR]: false
Qt Version: 6.9.0
Frameworks Version: 6.12.0
Operating System: Linux 6.14.1-1-default x86_64
Windowing System: Wayland
Distribution: "openSUSE Tumbleweed"
DrKonqi: 6.3.4 [CoredumpBackend]

-- Information about the crash:
Falkon started crashing on start-up. This started after I tried to share a page link via KDE Connect. I have right-clicked on a webpage, and selected to share to some other device via KDE Connect. Instead of the dialog being open to select the target device Falkon crashed. Now after this each time I try to start Falkon it just crashes.

The reporter is unsure if this crash is reproducible.

-- Backtrace (Reduced):
#5  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#6  0x00007f886fa9b453 in __pthread_kill_internal (threadid=<optimized out>, signo=6) at pthread_kill.c:89
#7  0x00007f886fa41cb6 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#8  0x00007f886fa2938b in __GI_abort () at abort.c:73
#9  0x000055c7402fc9e7 in msgHandler (type=<optimized out>, context=<optimized out>, msg=<optimized out>) at /usr/src/debug/falkon-24.12.3/src/main/main.cpp:41


Reported using DrKonqi
Comment 1 Jure Repinc 2025-04-12 18:34:15 UTC
Created attachment 180209 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Juraj 2025-04-12 21:07:48 UTC
Hello and thank you for the report.
I do not see anything directly related to Falkon in the backtrace.

Because backtrace in Thread1 mentions stuff around GPU stuff I would try to disable the GPU acceleration in Falkon settings (if it was enabled before).

The falkon profile is located at around "home/<user>/.config/falkon/profiles/<profile, often default>".
Open settings.ini and modify it
> [Web-Browser-Settings]
> hardwareAccel=false

*NOTE*: It should only be one in the file, otherwise it may not work.
Comment 3 Jure Repinc 2025-04-12 21:41:42 UTC
Yeah disabling hardware accelleration made it launch again. Although I do not see any update of Mesa in between, still the same version as before. The only bigger change I can see so far is that Qt has been updated from 6.8.2 to 6.9.0.
Comment 4 Juraj 2025-04-12 21:45:21 UTC
The Qt6.9 only supports the "angle" backend and the falkon hardware acceleration tries to enable "desktop" backend. This could be causing problems on older versions. the soon to be released version fixes this.

I do not know if this is the real problem or not at the moment.
Comment 5 Jure Repinc 2025-04-12 21:54:39 UTC
Yeah looks like you are right. This is the command line output if I start Falkon with HW accel enabled:

Only --use-gl=angle is supported on this platform.
[27293:27351:0412/235144.006405:ERROR:gl_factory.cc(103)] Requested GL implementation (gl=none,angle=none) not found in allowed implementations: [(gl=egl-angle,angle=default),(gl=disabled,angle=none)].
Falkon: 2 extensions loaded
Fatal: GLOzone not found for unknown
KCrash: Application 'falkon' crashing... crashRecursionCounter = 2