Bug 492834

Summary: Filelight crashed when I tried to delete files from proton-ge via the app
Product: [Applications] filelight Reporter: Leonardo da Silva <leonardodasilva1915>
Component: generalAssignee: Unassigned bugs <unassigned-bugs-null>
Status: REPORTED ---    
Severity: crash CC: martin.sandsmark
Priority: NOR Keywords: drkonqi
Version First Reported In: 24.08.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report: https://crash-reports.kde.org/organizations/kde/issues/63610/events/b71f5ec135f9431ab18e1b10f5eb5068/
Attachments: New crash information added by DrKonqi

Description Leonardo da Silva 2024-09-08 19:07:16 UTC
Application: filelight (24.08.0)

Qt Version: 6.7.2
Frameworks Version: 6.5.0
Operating System: Linux 6.10.8-zen1-1-zen x86_64
Windowing System: Wayland
Distribution: "Arch Linux"
DrKonqi: 6.1.4 [CoredumpBackend]

-- Information about the crash:
Inside the folder:
/home/user/.steam/steam/compatibilitytools.d/
Have an unzipped proton-ge folder.
https://github.com/GloriousEggroll/proton-ge-custom/releases
After that, analyze the disk starting with the home folder.
The file system is btrfs:
UUID=some-uuid /home btrfs rw,relatime,compress=zstd:9,ssd,discard=async,space_cache=v2,subvolid=260,subvol=/@home
This is how it is mounted.
With filelight after running the scan, left-click on the folder and click delete.
Every time I did this the app crashed, but the folders were deleted.

The crash can be reproduced every time.

-- Backtrace (Reduced):
#5  QArrayDataPointer<char>::data (this=<optimized out>, this=<optimized out>) at /usr/include/qt6/QtCore/qarraydatapointer.h:120
#6  QByteArray::data (this=<optimized out>, this=<optimized out>) at /usr/include/qt6/QtCore/qbytearray.h:602
#7  QByteArray::constData (this=<optimized out>, this=<optimized out>) at /usr/include/qt6/QtCore/qbytearray.h:121
#8  File::name8Bit (this=0x0) at /usr/src/debug/filelight/filelight-24.08.0/src/fileTree.h:61
#10 0x00005f47a5bdf237 in Filelight::ContextMenuContext::deleteFile (this=0x5f47b8c595c0, file=std::shared_ptr<File> (empty) = {...}) at /usr/src/debug/filelight/filelight-24.08.0/src/contextMenuContext.cpp:77


Reported using DrKonqi
Comment 1 Leonardo da Silva 2024-09-08 19:07:18 UTC
Created attachment 173454 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.