Summary: | Dolphin crashes when reloading a directory that no longer exists | ||
---|---|---|---|
Product: | [Applications] dolphin | Reporter: | Mattia <altermetax> |
Component: | general | Assignee: | Dolphin Bug Assignee <dolphin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | 4wy78uwh, akselmo, fanzhuyifan, kfm-devel, quantumphazor |
Priority: | NOR | Keywords: | drkonqi |
Version First Reported In: | 23.08.1 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
New crash information added by DrKonqi
New crash information added by DrKonqi |
Description
Mattia
2023-09-20 00:38:37 UTC
Created attachment 161872 [details]
New crash information added by DrKonqi
dolphin (23.08.1) using Qt 5.15.10
Dolphin was reloading a path which had been renamed. Potentially noteworthy is that the paths contained prefixed tab characters, so for diagnostic purposes, don't just perform tests with ASCII characters.
-- Backtrace (Reduced):
#4 0x00007fc2f43546f1 in KCoreDirListerCache::updateDirectory(QUrl const&) (this=<optimized out>, _dir=<optimized out>) at /usr/src/debug/kio-5.110.0/src/core/kcoredirlister.cpp:686
#5 0x00007fc2f4352d99 in KCoreDirListerPrivate::CachedItemsJob::done() (this=0x559bde3fa040) at /usr/src/debug/kio-5.110.0/src/core/kcoredirlister.cpp:289
#6 KCoreDirListerPrivate::CachedItemsJob::done() (this=0x559bde3fa040) at /usr/src/debug/kio-5.110.0/src/core/kcoredirlister.cpp:284
#7 0x00007fc2f2719320 in QObject::event(QEvent*) (this=0x559bde3fa040, e=0x559bdf191370) at kernel/qobject.cpp:1347
#8 0x00007fc2f33a519e in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x559bde3fa040, e=0x559bdf191370) at kernel/qapplication.cpp:3640
Is there a particular set of circumstances where you could always trigger this bug? I tried multiple times with the mentioned steps, with both unmounting, and unplugging and external USB, and couldn't reproduce this issue (on 23.08.2). The dolphin window gets back to the parent directory with the message "Current location changed, xxxx is no longer accessible". (In reply to fanzhuyifan from comment #2) > Is there a particular set of circumstances where you could always trigger > this bug? > > I tried multiple times with the mentioned steps, with both unmounting, and > unplugging and external USB, and couldn't reproduce this issue (on 23.08.2). > The dolphin window gets back to the parent directory with the message > "Current location changed, xxxx is no longer accessible". 0. Mount secondary internal storage device 1. Open Dolphin and navigate to it 2. Disable automounture at login 3. Enable automatic window reinitialization at login (SDDM KCM?) 4. Reboot (logout) 5. Log in 6. Refresh Dolphin 7. Crash should occur Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone! Created attachment 163182 [details]
New crash information added by DrKonqi
dolphin (23.08.3) using Qt 5.15.11
Found a way to reproduce a crash by refreshing after deleting an open folder
Steps to reproduce:
1. Go to /tmp/
2. Make a /tmp/test/ directory
3. Split view
4. Open /tmp/test/ on the right side. Make sure the right side is active before the next step
5. New tab
6. Replicate the first tab split view with /tmp/ on the left and /tmp/test/ on the right
7. Delete /tmp/test in tab 2, left pane
8. Close tab 2. You will drop to tab 1 with a warning about the folder being removed in the right pane and the right pane should be active
9. Hit F5 (refresh)
10. Segfault
-- Backtrace (Reduced):
#6 0x00007ff430e30e41 in KCoreDirListerCache::updateDirectory(QUrl const&) (this=<optimized out>, _dir=<optimized out>) at /usr/src/debug/kio5/kio-5.112.0/src/core/kcoredirlister.cpp:686
#7 0x00007ff430e2f5ad in KCoreDirListerPrivate::CachedItemsJob::done() (this=0x562d636e9890) at /usr/src/debug/kio5/kio-5.112.0/src/core/kcoredirlister.cpp:289
#8 KCoreDirListerPrivate::CachedItemsJob::done() (this=0x562d636e9890) at /usr/src/debug/kio5/kio-5.112.0/src/core/kcoredirlister.cpp:284
#9 0x00007ff42f0c3bd4 in QObject::event(QEvent*) (this=0x562d636e9890, e=0x562d639ae040) at kernel/qobject.cpp:1347
#10 0x00007ff42fd788ff in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x562d636e9890, e=0x562d639ae040) at kernel/qapplication.cpp:3640
Cant reproduce with above steps. Possibly fixed? Dolphin: Using kdesrc-build dolphin version: 24.01.75 System info: Operating System: Fedora Linux 39 KDE Plasma Version: 5.81.0 KDE Frameworks Version: 5.245.0 Qt Version: 6.6.0 Kernel Version: 6.5.11-300.fc39.x86_64 (64-bit) Graphics Platform: Wayland Processors: 12 × AMD Ryzen 5 3600 6-Core Processor Memory: 15.5 GiB of RAM Graphics Processor: AMD Radeon RX 6600 (In reply to Andrew M from comment #5) > Created attachment 163182 [details] > New crash information added by DrKonqi > > dolphin (23.08.3) using Qt 5.15.11 > > Found a way to reproduce a crash by refreshing after deleting an open folder > > Steps to reproduce: > > 1. Go to /tmp/ > 2. Make a /tmp/test/ directory > 3. Split view > 4. Open /tmp/test/ on the right side. Make sure the right side is active > before the next step > 5. New tab > 6. Replicate the first tab split view with /tmp/ on the left and /tmp/test/ > on the right > 7. Delete /tmp/test in tab 2, left pane > 8. Close tab 2. You will drop to tab 1 with a warning about the folder being > removed in the right pane and the right pane should be active > 9. Hit F5 (refresh) > 10. Segfault > > -- Backtrace (Reduced): > #6 0x00007ff430e30e41 in KCoreDirListerCache::updateDirectory(QUrl const&) > (this=<optimized out>, _dir=<optimized out>) at > /usr/src/debug/kio5/kio-5.112.0/src/core/kcoredirlister.cpp:686 > #7 0x00007ff430e2f5ad in KCoreDirListerPrivate::CachedItemsJob::done() > (this=0x562d636e9890) at > /usr/src/debug/kio5/kio-5.112.0/src/core/kcoredirlister.cpp:289 > #8 KCoreDirListerPrivate::CachedItemsJob::done() (this=0x562d636e9890) at > /usr/src/debug/kio5/kio-5.112.0/src/core/kcoredirlister.cpp:284 > #9 0x00007ff42f0c3bd4 in QObject::event(QEvent*) (this=0x562d636e9890, > e=0x562d639ae040) at kernel/qobject.cpp:1347 > #10 0x00007ff42fd788ff in QApplicationPrivate::notify_helper(QObject*, > QEvent*) (this=<optimized out>, receiver=0x562d636e9890, e=0x562d639ae040) > at kernel/qapplication.cpp:3640 Can reproduce in the mentioned version. Let me check the kde neon unstable to see if it is fixed there. Can't reproduce with the exact same steps on latest kde neon unstable, even though was able to reproduce for 23.08.3. So marking this as fixed. Feel free to reopen if you still encounter this in the latest qt6 versions. |