Bug 468993 - Dolphin kio-admin freezes and crashees, probably when text thumbnails are on
Summary: Dolphin kio-admin freezes and crashees, probably when text thumbnails are on
Status: RESOLVED DUPLICATE of bug 474909
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 23.04.0
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-04-26 10:10 UTC by yurapostates
Modified: 2024-01-22 13:31 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (81.75 KB, text/plain)
2023-04-26 10:10 UTC, yurapostates
Details
New crash information added by DrKonqi (22.06 KB, text/plain)
2024-01-21 11:48 UTC, david.hcshu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description yurapostates 2023-04-26 10:10:43 UTC
Application: dolphin (23.04.0)

Qt Version: 5.15.9
Frameworks Version: 5.105.0
Operating System: Linux 6.2.12-arch1-1 x86_64
Windowing System: Wayland
Distribution: Arch Linux
DrKonqi: 5.27.4 [KCrashBackend]

-- Information about the crash:
After installing kio-admin I tried it out by typing admin:/// in Dolphin path. While I was traversing the /tmp folder Dolphin freezed and it started leaking tons of memory while using 100% of a CPU core. It crashed when it reached ~13GB. This also happened when I accessed a random /sys folder and when I accessed by /home/ folder, but going through other folders like /root and /etc was ok.
The only option I changed in Dolphin was enabling previews for text files, I suspect that's the cause of the crash, since most crashes happened in folders with lots of text files but I'm not sure.
So in summary to replicate
1) Change Dolphin setting to enable text thumbnails/previews
2) Type admin:/// in path
3) Go into a folder with lots of text files, permissions seem to be irrelevant
4) Wait a couple of moments (the time it takes to crash varies)
5) Crash

The crash can be reproduced every time.

-- Backtrace (Reduced):
#6  0x00007f3551fc1b5a in QVector<KIO::Task>::realloc (this=this@entry=0x7f3410015650, aalloc=<optimized out>, options=...) at /usr/include/qt/QtCore/qvector.h:706
#7  0x00007f3551fc4a66 in QVector<KIO::Task>::append (t=..., this=0x7f3410015650) at /usr/include/qt/QtCore/qvector.h:806
#8  KIO::Connection::send (data=..., cmd=<optimized out>, this=<optimized out>) at /usr/src/debug/kio/kio-5.105.0/src/core/connection.cpp:172
#9  KIO::Connection::send (this=<optimized out>, cmd=<optimized out>, data=...) at /usr/src/debug/kio/kio-5.105.0/src/core/connection.cpp:166
#10 0x00007f3552000421 in KIO::SlaveBase::send (this=0x7f34100076a0, cmd=<optimized out>, arr=...) at /usr/src/debug/kio/kio-5.105.0/src/core/slavebase.cpp:1572


Reported using DrKonqi
Comment 1 yurapostates 2023-04-26 10:10:44 UTC
Created attachment 158443 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 david.hcshu 2024-01-21 11:48:33 UTC
Created attachment 165098 [details]
New crash information added by DrKonqi

dolphin (23.08.4) using Qt 5.15.11

For me the crash occured when I opened a folder with admin: which had ~30 pictures and videos (.jpg and .mp4).
Sometimes none of the thumbnails load before dolphin freezes, sometimes half of them loads, one time every thumbnail loaded and then dolphin froze.

-- Backtrace (Reduced):
#6  0x00007f602711b4f1 in KIO::SlaveBase::send(int, QByteArray const&) () at /usr/lib/libKF5KIOCore.so.5
#7  0x00007f60271162bc in KIO::SlaveBase::mimeType(QString const&) () at /usr/lib/libKF5KIOCore.so.5
[...]
#9  0x00007f5fec089421 in OrgKdeKioAdminGetCommandInterface::mimeTypeFound(QString const&) (_t1=<optimized out>, this=0x7f5fee7fba70) at /usr/src/debug/kio-admin/build/src/interface_getcommand.moc:182
#10 OrgKdeKioAdminGetCommandInterface::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=_o@entry=0x7f5fee7fba70, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=1, _a=_a@entry=0x7f5fee7fb550) at /usr/src/debug/kio-admin/build/src/interface_getcommand.moc:97
#11 0x00007f5fec089543 in OrgKdeKioAdminGetCommandInterface::qt_metacall(QMetaObject::Call, int, void**) (this=0x7f5fee7fba70, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7f5fee7fb550) at /usr/src/debug/kio-admin/build/src/interface_getcommand.moc:161
Comment 3 Nicolas Fella 2024-01-22 13:31:32 UTC

*** This bug has been marked as a duplicate of bug 474909 ***