Bug 513482 - [ANR] Dolphin hung after renaming a folder and then creating another folder
Summary: [ANR] Dolphin hung after renaming a folder and then creating another folder
Status: CONFIRMED
Alias: None
Product: dolphin
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: KDE Linux Linux
: NOR major
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2025-12-17 14:45 UTC by Nate Graham
Modified: 2025-12-17 23:48 UTC (History)
3 users (show)

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


Attachments
New crash information added by DrKonqi (66.73 KB, text/plain)
2025-12-17 14:45 UTC, Nate Graham
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nate Graham 2025-12-17 14:45:57 UTC
Application: dolphin (26.03.70)

ApplicationNotResponding [ANR]: true
Qt Version: 6.10.1
Frameworks Version: 6.22.0
Operating System: Linux 6.17.9-arch1-1 x86_64
Windowing System: Wayland
Distribution: KDE Linux
DrKonqi: 6.5.80 [CoredumpBackend]

-- Information about the crash:
This happened when I was doing some folder renaming for an album I had just purchased and downloaded to ~/Downloads/. It came in a folder named "[ARTIST NAME] - [ALBUM NAME]".

First, I renamed the folder to be just "[ALBUM NAME]".

Then, I created a new folder named "[ARTIST NAME]".

The moment I created that folder, Dolphin froze instead of showing the newly-created folder.

The reporter is unsure if this crash is reproducible.

-- Backtrace (Reduced):
#4  0x00007f722f6099a3 in tcache_get_n (tc_idx=1, ep=0x55b5bfbdf0b0, mangled=false) at malloc.c:3228
#5  tcache_get (tc_idx=1) at malloc.c:3247
#6  __GI___libc_malloc (bytes=<optimized out>) at malloc.c:3498
#7  0x00007f722fe19c58 in allocateHelper (dptr=<optimized out>, objectSize=<optimized out>, alignment=<optimized out>, capacity=<optimized out>, option=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/tools/qarraydata.cpp:178
#8  QArrayData::allocate2 (dptr=<optimized out>, capacity=<optimized out>, option=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/tools/qarraydata.cpp:212
#9  QTypedArrayData<char16_t>::allocate (capacity=<optimized out>, option=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/tools/qarraydata.h:139
#10 QArrayDataPointer<char16_t>::allocateGrow (from=..., n=1, position=QArrayData::GrowsAtEnd) at /usr/src/debug/qt6-base/qtbase/src/corelib/tools/qarraydatapointer.h:492
#11 QArrayDataPointer<char16_t>::reallocateAndGrow (this=0x55b5c0da4038, where=QArrayData::GrowsAtEnd, n=1, old=0x0) at /usr/src/debug/qt6-base/qtbase/src/corelib/tools/qarraydatapointer.h:228
#12 0x00007f722fe1a37e in QtPrivate::QCommonArrayOps<char16_t>::growAppend (this=0x55b5c0da4038, b=<optimized out>, e=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/tools/qarraydataops.h:891
#13 QString::append (this=0x55b5c0da4038, str=0x55b5c010b800, len=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/text/qstring.cpp:3190
#14 0x00007f722fdf95c9 in QString::append (this=0x55b5c0da4038, str=<optimized out>, len=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/text/qstring.cpp:3185
#15 0x00007f722fce7a4c in QString::append (this=<optimized out>, v=..., this=<optimized out>, v=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/text/qstring.h:554
#16 QString::operator+= (this=<optimized out>, v=..., this=<optimized out>, v=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/text/qstring.h:617
#17 appendToUser (appendTo=..., value=..., options=..., actions=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/io/qurl.cpp:873
#18 QUrlPrivate::appendPath (this=<optimized out>, appendTo=..., options=..., appendingTo=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/io/qurl.cpp:974
#19 0x00007f722fcf3e10 in QUrl::adjusted (this=this@entry=0x7ffc5e90f670, options=..., options@entry=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/io/qurl.cpp:2918


Reported using DrKonqi
Comment 1 Nate Graham 2025-12-17 14:45:59 UTC
Created attachment 187739 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 JanKusanagi 2025-12-17 15:24:05 UTC
I don't have any crash information, since Dolphin is hanging, not crashing for me, but I've seen this same thing since Dolphin 25.11.90.

Not sure about the specific steps. For me, it has mostly happened after creating a folder via F10 while a folder was selected, which via resurrected bug https://bugs.kde.org/show_bug.cgi?id=508196 caused it to be created inside the selected folder, not in the currently viewed folder, and then, when I'd go to click the empty parts of the window to deselect everything, then create the new folder again, I'd get Dolphin hung and using 100% CPU.