Bug 446161

Summary: [Haiku] QtWebEngine crashes after loading any website
Product: [Applications] Falkon Reporter: Lian <kde>
Component: generalAssignee: David Rosca <nowrep>
Status: REPORTED ---    
Severity: critical CC: kde
Priority: NOR    
Version First Reported In: 3.1.0   
Target Milestone: ---   
Platform: Other   
OS: Other   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Example crash log
More valuable crash log

Description Lian 2021-11-27 11:05:27 UTC
Created attachment 143995 [details]
Example crash log

SUMMARY
Falkon is completely unusable on my machine (Haiku operating system on an Acer Aspire 7738G laptop) as the QtWebEngine crashes and terminates after loading any website (notably, this one and Github).

STEPS TO REPRODUCE
1. Install Falkon on Haiku from the Depot
2. Open any website
3. Wait for the debugger to start up

OBSERVED RESULT
QtWebEngine hard crashes.

EXPECTED RESULT
A usable web browser

SOFTWARE/OS VERSIONS
Haiku: R1/beta3
Qt Version: 5.15.2
Comment 1 Lian 2021-11-27 11:09:34 UTC
I started it via the Terminal, which yielded a more interesting log:

/boot/system/apps/Falkon> Falkon
QWebEngineUrlScheme::registerScheme: Too late to register scheme "falkon"
QWebEngineUrlScheme::registerScheme: Too late to register scheme "extension"
Please register the custom scheme 'falkon' via QWebEngineUrlScheme::registerScheme() before installing the custom scheme handler.
Please register the custom scheme 'extension' via QWebEngineUrlScheme::registerScheme() before installing the custom scheme handler.
Use of deprecated not thread-safe setter, use setUrlRequestInterceptor instead.
Falkon: 1 extensions loaded
[47608:-1383709312:1127/120730.735627:ERROR:nss_util.cc(283)] After loading Root Certs, loaded==false: NSS error code: -8018
Kill Thread
/boot/system/apps/Falkon> QWebEngineUrlScheme::registerScheme: Too late to register scheme "falkon"
bash: QWebEngineUrlScheme::registerScheme:: command not found
/boot/system/apps/Falkon> QWebEngineUrlScheme::registerScheme: Too late to register scheme "extension"
bash: QWebEngineUrlScheme::registerScheme:: command not found
/boot/system/apps/Falkon> Please register the custom scheme 'falkon' via QWebEngineUrlScheme::registerScheme() before installing the custom scheme handler.
bash: syntax error near unexpected token `('
/boot/system/apps/Falkon> Please register the custom scheme 'extension' via QWebEngineUrlScheme::registerScheme() before installing the custom scheme handler.
bash: syntax error near unexpected token `('
/boot/system/apps/Falkon> Use of deprecated not thread-safe setter, use setUrlRequestInterceptor instead.
bash: Use: command not found
/boot/system/apps/Falkon> Falkon: 1 extensions loaded
bash: Falkon:: command not found
/boot/system/apps/Falkon> [47608:-1383709312:1127/120730.735627:ERROR:nss_util.cc(283)] After loading Root Certs, loaded==false: NSS error code: -8018
bash: syntax error near unexpected token `283'
/boot/system/apps/Falkon> Kill Thread
bash: Kill: command not found
/boot/system/apps/Falkon>
Comment 2 Lian 2021-11-27 11:12:36 UTC
Created attachment 143996 [details]
More valuable crash log