Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 889160

Summary: dev-qt/qtcore:5[debug]: kde-apps/filelight-22.12.0: crash on directory scan start
Product: Gentoo Linux Reporter: Thomas Bettler <thomas.bettler>
Component: Current packagesAssignee: Qt Bug Alias <qt>
Status: RESOLVED FIXED    
Severity: normal CC: jaak, kde
Priority: Normal Keywords: UPSTREAM
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bugs.kde.org/show_bug.cgi?id=449688
See Also: https://bugreports.qt.io/browse/QTBUG-109732
https://invent.kde.org/qt/qt/qtbase/-/merge_requests/224
Whiteboard: worked around in >=kde-apps/filelight-22.12.1, fixed in >=Qt-6.5
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 888946    

Description Thomas Bettler 2022-12-31 10:46:26 UTC
SUMMARY

Filelight crashes when directory scanning is initiated.

STEPS TO REPRODUCE
Start `filelight .` from home directory. Alternatively start Filelight and choose "Scan Home Folder" from the "Scan" menu.

OBSERVED RESULT
Crash

EXPECTED RESULT
Scanning starts properly

ADDITIONAL INFORMATION
full backtrace see upstream bug reports
https://bugs.kde.org/show_bug.cgi?id=449688
https://bugreports.qt.io/browse/QTBUG-109732


PROPOSED SOLUTION
backport of
- https://github.com/qt/qtbase/commit/999c79863c574bdf3e1650a1b0901fdf83a9e0b4
- https://github.com/qt/qtbase/commit/5a4b275a201bfc653a99e8b6ab546573553b79ad
Comment 1 Andreas Sturmlechner gentoo-dev 2022-12-31 10:54:18 UTC
Why did you pick 999c79863c574bdf3e1650a1b0901fdf83a9e0b4? 5a4b275a201bfc653a99e8b6ab546573553b79ad on its own is not enough?
Comment 2 Andreas Sturmlechner gentoo-dev 2022-12-31 11:37:10 UTC
No need to add me when I'm already engaging.
Comment 3 Andreas Sturmlechner gentoo-dev 2022-12-31 11:58:30 UTC
Unfortunately, the answer from Qt upstream could well be "no paying customer, use latest Qt (6) version instead.
Comment 4 Thomas Bettler 2022-12-31 14:11:00 UTC
(In reply to Andreas Sturmlechner from comment #1)
> Why did you pick 999c79863c574bdf3e1650a1b0901fdf83a9e0b4?
> 5a4b275a201bfc653a99e8b6ab546573553b79ad on its own is not enough?

999c79863c574bdf3e1650a1b0901fdf83a9e0b4 is just needed to make the real patch apply seamlessly.


> Unfortunately, the answer from Qt upstream could well be
> "no paying customer, use latest Qt (6) version instead.

True. But at least we tried to notify them. Maybe we are lucky?


PS: Thank you for engaging :-)
Comment 5 Andreas Sturmlechner gentoo-dev 2023-01-02 15:15:37 UTC
Wanna undo the filelight workaround on your system and try with new patch to qtcore (just linked in See-also) again?
Comment 6 Thomas Bettler 2023-01-03 06:09:20 UTC
(In reply to Andreas Sturmlechner from comment #5)
> Wanna undo the filelight workaround on your system and try with new patch to
> qtcore (just linked in See-also) again?

:-) checked it works perfect and confirmed (upstream)
Comment 7 Jaak Ristioja 2023-01-03 08:48:05 UTC
I can also confirm that the qtcore patch alone works. Thanks! :)
Comment 8 Andreas Sturmlechner gentoo-dev 2023-01-14 12:50:45 UTC
Will be backported downstream on upcoming qtcore revbump.
Comment 9 Larry the Git Cow gentoo-dev 2023-01-14 23:34:03 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1b11aff82e89a9657db02cf3c9ad7c6e2c9414c

commit e1b11aff82e89a9657db02cf3c9ad7c6e2c9414c
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2023-01-14 12:06:46 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2023-01-14 23:32:10 +0000

    dev-qt/qtcore: Fix runtime crash w/ USE=debug
    
    Closes: https://bugs.gentoo.org/889160
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 dev-qt/qtcore/Manifest                             |   1 +
 .../files/qtcore-5.15.8-fix-crash-w-debug.patch    |  41 +++++++
 dev-qt/qtcore/qtcore-5.15.8-r1.ebuild              | 122 +++++++++++++++++++++
 3 files changed, 164 insertions(+)