Bug 458876

Summary: gwenview crashed after trying to delete image in trash folder
Product: [Applications] gwenview Reporter: Almaz <almazgaliev99>
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 22.08.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Almaz 2022-09-08 12:49:25 UTC
Application: gwenview (22.08.0)

Qt Version: 5.15.5
Frameworks Version: 5.97.0
Operating System: Linux 5.19.6-zen1-1-zen x86_64
Windowing System: X11
Distribution: "Arch Linux"
DrKonqi: 5.25.5 [KCrashBackend]

-- Information about the crash:
i opened image in trash folder and tried to delete it with delete button
STEPS TO REPRODUCE
1. move image to trash folder
2. open image inside of trash folder with gwenview
3. delete image with delete key

OBSERVED RESULT
gwenview and dolphin both crash

EXPECTED RESULT
image removed completly

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.25.5
KDE Frameworks Version: 5.97.0
Qt Version: 5.15.5
Kernel Version: 5.19.6-zen1-1-zen (64-bit)
Graphics Platform: X11

The crash can be reproduced every time.

-- Backtrace:
Application: Gwenview (gwenview), signal: Segmentation fault

[KCrash Handler]
#4  0x00007fec97b636e4 in KFileItem::KFileItem(KFileItem const&) () from /usr/lib/libKF5KIOCore.so.5
#5  0x00007fec97b610cc in ?? () from /usr/lib/libKF5KIOCore.so.5
#6  0x00007fec97be123b in ?? () from /usr/lib/libKF5KIOCore.so.5
#7  0x00007fec97be8b40 in ?? () from /usr/lib/libKF5KIOCore.so.5
#8  0x00007fec95ebe0d1 in ?? () from /usr/lib/libQt5Core.so.5
#9  0x00007fec97b4b9e4 in OrgKdeKDirNotifyInterface::FileRenamedWithLocalPath(QString const&, QString const&, QString const&) () from /usr/lib/libKF5KIOCore.so.5
#10 0x00007fec97b51833 in OrgKdeKDirNotifyInterface::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libKF5KIOCore.so.5
#11 0x00007fec971e145f in ?? () from /usr/lib/libQt5DBus.so.5
#12 0x00007fec95eb12f0 in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5
#13 0x00007fec96b78b3c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#14 0x00007fec95e8d978 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#15 0x00007fec95e8e483 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQt5Core.so.5
#16 0x00007fec95ed4478 in ?? () from /usr/lib/libQt5Core.so.5
#17 0x00007fec93d1ab2b in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#18 0x00007fec93d70e79 in ?? () from /usr/lib/libglib-2.0.so.0
#19 0x00007fec93d18252 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#20 0x00007fec95ed825c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#21 0x00007fec95e8611c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#22 0x00007fec95e90c49 in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#23 0x000055ab8784ca39 in ?? ()
#24 0x00007fec9563c2d0 in ?? () from /usr/lib/libc.so.6
#25 0x00007fec9563c38a in __libc_start_main () from /usr/lib/libc.so.6
#26 0x000055ab8784d245 in ?? ()
[Inferior 1 (process 15587) detached]

Reported using DrKonqi