Bug 503216 - Adding Reddit page to Falkon speeddial make it crash
Summary: Adding Reddit page to Falkon speeddial make it crash
Status: CONFIRMED
Alias: None
Product: Falkon
Classification: Applications
Component: general (other bugs)
Version First Reported In: 25.04.0
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Unassigned bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2025-04-23 10:36 UTC by S.Trzmiel
Modified: 2025-04-29 19:11 UTC (History)
1 user (show)

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


Attachments
New crash information added by DrKonqi (120.34 KB, text/plain)
2025-04-23 10:36 UTC, S.Trzmiel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description S.Trzmiel 2025-04-23 10:36:11 UTC
Application: falkon (25.04.0)

ApplicationNotResponding [ANR]: false
Qt Version: 6.9.0
Frameworks Version: 6.13.0
Operating System: Linux 6.14.2-300.fc42.x86_64 x86_64
Windowing System: Wayland
Distribution: "Fedora Linux 42 (KDE Plasma Desktop Edition)"
DrKonqi: 6.3.4 [CoredumpBackend]

-- Information about the crash:
I can quite reliably crash Falkon by adding reddit (https://www.reddit.com/) to speeddial. It spins for about 20-30s like it's trying to build thumbnail image then crash occurs.
All other pages I've tried to add seem to be fine, so far its only reddit that causes crash.
Steps to reproduce:

 1. load reddit page you want to add in one tab.
 2. open new tab with speeddial, rightclick to open context menu, select 'Add new page'
 3. switch back to reddit tab, copy address, then switch to tab with speeddial.
 4. paste address in address field, check 'read title from page' box, hit apply.

Expected result:
 - Spinner on new page  placeholder gets replaced by page thumbnail
 - new page is added to speeddial

Actual result:
 - whole browser crashes
 - on next start, speeddial, has no reddit page added.

Notes:
It also happens on fresh Falkon config (for test I've moved ~/.config/falkon ~/.config/falkonrc and ~/.local/share/falkon to other location) .
There was one case where I've managed to add reddit page to speeddial. I'm not sure how, but in that case somehow add page dialog got cancelled. On next try speeddial context menu had no 'add page' item so I've opened speedial settings applied it with no changes, possibly opened some other page settings and closed it with no changes, then refreshed whole speeddial tab. Once I got 'add page back, I've just pasted address to the address field from clipboard and put name in the box (read name from page remained unchecked). Reddit page appeared on speeddial and the thumbnail was ok. I've edited page settings to read title from page, hit apply and it still worked.


Software specs:
Fedora 42 x64
Plasma 6.3.4
KF6 6.13.0
Qt: 6.9.0
falkon-25.04.0-3.fc42.x86_64 (nested folders bookmarks crash fix included)
Wayland session

The crash can be reproduced sometimes.

-- 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  0x00007f4db4a80f23 in __pthread_kill_internal (threadid=<optimized out>, signo=6) at pthread_kill.c:89
#7  0x00007f4db4a27abe in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#8  0x00007f4db4a0f6d0 in __GI_abort () at abort.c:73
#9  0x00007f4db4c0b052 in std::__glibcxx_assert_fail (file=<optimized out>, line=<optimized out>, function=<optimized out>, condition=<optimized out>) at ../../../../../libstdc++-v3/src/c++11/assert_fail.cc:41


Reported using DrKonqi
Comment 1 S.Trzmiel 2025-04-23 10:36:12 UTC
Created attachment 180560 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Juraj 2025-04-23 17:58:42 UTC
I can confirm.
Normal sites work fine (like my blog) and reddit crashes.

> check 'read title from page' box, hit apply.
It crashes for me regardless of the state of this checkbox.

To me, the errors seems to be coming from inside of Chromium and Qt code, but I will have to investigate more.

Thank you for the report.
Comment 3 Juraj 2025-04-27 19:17:07 UTC
With Qt 6.9 closing a tab with Reddit crashes the browser, the backtrace seems to be the same as well.
Comment 4 Juraj 2025-04-29 06:06:47 UTC
Hello,
This bug could be related / caused by an upstream Qt bug:
https://bugs.kde.org/show_bug.cgi?id=503216
Comment 5 Juraj 2025-04-29 19:11:46 UTC
(In reply to Juraj from comment #4)
> Hello,
> This bug could be related / caused by an upstream Qt bug:
> https://bugs.kde.org/show_bug.cgi?id=503216

Correction for the link:
https://bugreports.qt.io/browse/QTBUG-136131