[dolphin] [Bug 493319] Dolphin segfaults when a file created in a directory whose parent directory is not readable for the user

Akseli Lahtinen bugzilla_noreply at kde.org
Fri Oct 25 13:57:33 BST 2024


https://bugs.kde.org/show_bug.cgi?id=493319

Akseli Lahtinen <akselmo at akselmo.dev> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REPORTED                    |CONFIRMED
     Ever confirmed|0                           |1
                 CC|                            |akselmo at akselmo.dev

--- Comment #3 from Akseli Lahtinen <akselmo at akselmo.dev> ---
Can confirm the crash on git master version of dolphin

Followed your steps and opened the folder panel with F7. However, I had to
create a folder inside the "visible" folder for the crash to occur.

System info:

Operating System: Fedora Linux 40
KDE Plasma Version: 6.2.80
KDE Frameworks Version: 6.8.0
Qt Version: 6.7.2
Kernel Version: 6.11.4-201.fc40.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

Backtrace:

#0  __pthread_kill_implementation (threadid=<optimized out>,
signo=signo at entry=11, no_tid=no_tid at entry=0)
at pthread_kill.c:44
#1  0x00007f2f61ca86d3 in __pthread_kill_internal (threadid=<optimized out>,
signo=11) at pthread_kill.c:78
#2  0x00007f2f61c4fc4e in __GI_raise (sig=11) at ../sysdeps/posix/raise.c:26
#3  0x00007f2f650875ab in KCrash::defaultCrashHandler (sig=11)
at /home/akseli/Repositories/kde/src/kcrash/src/kcrash.cpp:596
#4  0x00007f2f61c4fd00 in <signal handler called> () at /lib64/libc.so.6
#5  QSharedDataPointer<KFileItemPrivate>::~QSharedDataPointer (this=0x0,
__in_chrg=<optimized out>)
at /usr/include/qt6/QtCore/qshareddata.h:56
#6  KFileItem::~KFileItem (this=0x0, __in_chrg=<optimized out>)
at /home/akseli/Repositories/kde/src/kio/src/core/kfileitem.cpp:630
#7  0x00007f2f651ad9ac in std::destroy_at<KFileItem> (__location=0x0) at
/usr/include/c++/14/bits/stl_construct.h:88
#8  std::_Destroy<KFileItem> (__pointer=0x0) at
/usr/include/c++/14/bits/stl_construct.h:149
#9  std::_Destroy_aux<false>::__destroy<KFileItem*> (__first=0x0, __last=0x8)
at /usr/include/c++/14/bits/stl_construct.h:163
#10 std::_Destroy<KFileItem*> (__first=0x0, __last=0x8) at
/usr/include/c++/14/bits/stl_construct.h:196
#11 std::destroy<KFileItem*> (__first=0x0, __last=0x8) at
/usr/include/c++/14/bits/stl_construct.h:253
#12 QtPrivate::QMovableArrayOps<KFileItem>::erase (this=0x1a017a90, b=0x0,
n=<optimized out>)
at /usr/include/qt6/QtCore/qarraydataops.h:856
#13 QList<KFileItem>::remove (this=0x1a017a90, i=<optimized out>, n=<optimized
out>) at /usr/include/qt6/QtCore/qlist.h:785
#14 QList<KFileItem>::remove (this=0x1a017a90, i=<optimized out>, n=<optimized
out>) at /usr/include/qt6/QtCore/qlist.h:776
#15 QList<KFileItem>::erase (this=this at entry=0x1a017a90, abegin=...,
abegin at entry=..., aend=..., aend at entry=...)
at /usr/include/qt6/QtCore/qlist.h:879
#16 0x00007f2f651af401 in QList<KFileItem>::erase (this=0x1a017a90, pos=...) at
/usr/include/qt6/QtCore/qlist.h:628
#17 KCoreDirListerCache::reinsert (this=this at entry=0x1968de60, item=...,
oldUrl=...)
at /home/akseli/Repositories/kde/src/kio/src/core/kcoredirlister_p.h:328
#18 0x00007f2f6519c3e3 in KCoreDirListerCache::processPendingUpdates
(this=0x1968de60)
at /home/akseli/Repositories/kde/src/kio/src/core/kcoredirlister.cpp:2012
#19 0x00007f2f623fc8f2 in QtPrivate::QSlotObjectBase::call (this=0x1960cf50,
r=<optimized out>, a=0x7ffe00e7a2d0)
at
/usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/kernel/qobjectdefs_impl.h:469
#20 doActivate<false> (sender=0x1968df80, signal_index=3, argv=0x7ffe00e7a2d0)
at
/usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/kernel/qobject.cpp:4086
#21 0x00007f2f623f2bc7 in QMetaObject::activate
(sender=<optimized out>, m=m at entry=0x7f2f6288b100,
local_signal_index=local_signal_index at entry=0, argv=argv at entry=0x7ffe0--Type
<RET> for more, q to quit, c to continue without paging--c
0e7a2d0) at
/usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/kernel/qobject.cpp:4146
#22 0x00007f2f6240bcbd in QTimer::timeout (this=<optimized out>, _t1=...)
at
/usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/redhat-linux-build/src/corelib/Core_autogen/include/moc_qtimer.cpp:224
#23 0x00007f2f623edd5f in QObject::event (this=0x1968df80, e=0x7ffe00e7a480)
at
/usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/kernel/qobject.cpp:1482
#24 0x00007f2f6358b218 in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x1968df80, e=0x7ffe00e7a480)
at
/usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/widgets/kernel/qapplication.cpp:3287
#25 0x00007f2f62396e88 in QCoreApplication::notifyInternal2
(receiver=0x1968df80, event=0x7ffe00e7a480)
at
/usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/kernel/qcoreapplication.cpp:1142
#26 0x00007f2f623970ed in QCoreApplication::sendEvent (receiver=<optimized
out>, event=<optimized out>)
at
/usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/kernel/qcoreapplication.cpp:1583
#27 0x00007f2f62552b47 in QTimerInfoList::activateTimers (this=0x1939c040)
at
/usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/kernel/qtimerinfo_unix.cpp:434
#28 0x00007f2f62684fd9 in timerSourceDispatch (source=<optimized out>)
at
/usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:150
#29 0x00007f2f5f10ee8c in g_main_dispatch (context=0x7f2f48000f00) at
../glib/gmain.c:3344
#30 g_main_context_dispatch_unlocked (context=0x7f2f48000f00) at
../glib/gmain.c:4152
#31 0x00007f2f5f170c98 in g_main_context_iterate_unlocked.isra.0
(context=context at entry=0x7f2f48000f00, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>)
at ../glib/gmain.c:4217
#32 0x00007f2f5f110383 in g_main_context_iteration (context=0x7f2f48000f00,
may_block=1) at ../glib/gmain.c:4282
#33 0x00007f2f626851a3 in QEventDispatcherGlib::processEvents (this=0x19346cc0,
flags=...)
at
/usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:394
#34 0x00007f2f623a3bc3 in QEventLoop::exec (this=this at entry=0x7ffe00e7a750,
flags=..., flags at entry=...)
at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/global/qflags.h:34
#35 0x00007f2f6239fa7c in QCoreApplication::exec ()
at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/global/qflags.h:74
#36 0x00007f2f62bd66ed in QGuiApplication::exec ()
at
/usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/gui/kernel/qguiapplication.cpp:1926
#37 0x00007f2f6358b189 in QApplication::exec ()
at
/usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/widgets/kernel/qapplication.cpp:2555
#38 0x000000000043fbe9 in main (argc=<optimized out>, argv=<optimized out>)
at /home/akseli/Repositories/kde/src/dolphin/src/main.cpp:275

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list