Bug 477733

Summary: Dolphin crash when typing on Konsole
Product: [Applications] dolphin Reporter: dream6502
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: crash CC: akselmo, kfm-devel
Priority: NOR Keywords: drkonqi
Version: 23.08.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description dream6502 2023-11-29 21:13:53 UTC
Application: dolphin (23.08.3)

Qt Version: 5.15.11
Frameworks Version: 5.112.0
Operating System: Linux 6.6.3-arch1-1 x86_64
Windowing System: X11
Distribution: Arch Linux
DrKonqi: 5.27.9 [KCrashBackend]

-- Information about the crash:
I clicked on Konsole window, then started typing and after a few seconds Dolphin crashed.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized out>}
[KCrash Handler]
#6  0x00007f31d3f43738 in KCoreDirLister::requestMimeTypeWhileListing() const (this=0x557fd731c6a0) at /usr/include/c++/13.2.1/bits/unique_ptr.h:199
#7  0x00007f31d3f3a335 in operator() (lister=<optimized out>, __closure=<synthetic pointer>) at /usr/src/debug/kio5/kio-5.112.0/src/core/kcoredirlister.cpp:667
#8  __gnu_cxx::__ops::_Iter_pred<KCoreDirListerCache::updateDirectory(const QUrl&)::<lambda(KCoreDirLister*)> >::operator()<QList<KCoreDirLister*>::const_iterator> (__it=..., this=<synthetic pointer>) at /usr/include/c++/13.2.1/bits/predefined_ops.h:318
#9  std::__find_if<QList<KCoreDirLister*>::const_iterator, __gnu_cxx::__ops::_Iter_pred<KCoreDirListerCache::updateDirectory(const QUrl&)::<lambda(KCoreDirLister*)> > > (__pred=..., __last=..., __first=...) at /usr/include/c++/13.2.1/bits/stl_algobase.h:2102
#10 std::__find_if<QList<KCoreDirLister*>::const_iterator, __gnu_cxx::__ops::_Iter_pred<KCoreDirListerCache::updateDirectory(const QUrl&)::<lambda(KCoreDirLister*)> > > (__first=..., __last=..., __pred=...) at /usr/include/c++/13.2.1/bits/stl_algobase.h:2118
#11 std::find_if<QList<KCoreDirLister*>::const_iterator, KCoreDirListerCache::updateDirectory(const QUrl&)::<lambda(KCoreDirLister*)> > (__pred=..., __last=..., __first=...) at /usr/include/c++/13.2.1/bits/stl_algo.h:3924
#12 std::none_of<QList<KCoreDirLister*>::const_iterator, KCoreDirListerCache::updateDirectory(const QUrl&)::<lambda(KCoreDirLister*)> > (__first=..., __pred=..., __last=...) at /usr/include/c++/13.2.1/bits/stl_algo.h:477
#13 std::any_of<QList<KCoreDirLister*>::const_iterator, KCoreDirListerCache::updateDirectory(const QUrl&)::<lambda(KCoreDirLister*)> > (__first=..., __last=..., __pred=...) at /usr/include/c++/13.2.1/bits/stl_algo.h:496
#14 KCoreDirListerCache::updateDirectory(QUrl const&) (this=<optimized out>, _dir=<optimized out>) at /usr/src/debug/kio5/kio-5.112.0/src/core/kcoredirlister.cpp:666
#15 0x00007f31d3f46860 in KCoreDirListerCache::processPendingUpdates() (this=0x7f31d3fca4a0 <_ZZN12_GLOBAL__N_121Q_QGS_kDirListerCache13innerFunctionEvE6holder.lto_priv.0>) at /usr/src/debug/kio5/kio-5.112.0/src/core/kcoredirlister.cpp:2031
#16 0x00007f31d22d1097 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7fff213795b0, r=<optimized out>, this=0x557fd7071960, this=<optimized out>, r=<optimized out>, a=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#17 doActivate<false>(QObject*, int, void**) (sender=0x7f31d3fca570 <_ZZN12_GLOBAL__N_121Q_QGS_kDirListerCache13innerFunctionEvE6holder.lto_priv.0+208>, signal_index=3, argv=0x7fff213795b0) at kernel/qobject.cpp:3925
#18 0x00007f31d22d2bcf in QTimer::timeout(QTimer::QPrivateSignal) (this=<optimized out>, _t1=...) at .moc/moc_qtimer.cpp:205
#19 0x00007f31d22c3b4e in QObject::event(QEvent*) (this=0x7f31d3fca570 <_ZZN12_GLOBAL__N_121Q_QGS_kDirListerCache13innerFunctionEvE6holder.lto_priv.0+208>, e=0x7fff21379720) at kernel/qobject.cpp:1324
#20 0x00007f31d2f788ff in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x7f31d3fca570 <_ZZN12_GLOBAL__N_121Q_QGS_kDirListerCache13innerFunctionEvE6holder.lto_priv.0+208>, e=0x7fff21379720) at kernel/qapplication.cpp:3640
#21 0x00007f31d229c168 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x7f31d3fca570 <_ZZN12_GLOBAL__N_121Q_QGS_kDirListerCache13innerFunctionEvE6holder.lto_priv.0+208>, event=0x7fff21379720) at kernel/qcoreapplication.cpp:1064
#22 0x00007f31d22ea7cb in QTimerInfoList::activateTimers() (this=0x557fd6e20a60) at kernel/qtimerinfo_unix.cpp:643
#23 0x00007f31d22eadba in timerSourceDispatch(GSource*, GSourceFunc, gpointer) (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:183
#24 0x00007f31d030df69 in g_main_dispatch (context=0x7f31c4000ec0) at ../glib/glib/gmain.c:3476
#25 0x00007f31d036c327 in g_main_context_dispatch_unlocked (context=0x7f31c4000ec0) at ../glib/glib/gmain.c:4284
#26 g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7f31c4000ec0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4349
#27 0x00007f31d030c162 in g_main_context_iteration (context=0x7f31c4000ec0, may_block=1) at ../glib/glib/gmain.c:4414
#28 0x00007f31d22eaf7c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x557fd6e20dd0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#29 0x00007f31d229ae74 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fff213799d0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#30 0x00007f31d229c313 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#31 0x00007f31d273bf12 in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1870
#32 0x00007f31d2f76cda in QApplication::exec() () at kernel/qapplication.cpp:2832
#33 0x0000557fd5201db8 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/dolphin/dolphin-23.08.3/src/main.cpp:255
[Inferior 1 (process 7192) detached]

Reported using DrKonqi
Comment 1 Akseli Lahtinen 2023-12-08 08:19:22 UTC
Unable to reproduce on Plasma 6. 

Backtrace mentions something going wrong with the cache. 

Few questions:

Have you encountered this again? 
Did you open the Dolphin integrated Konsole terminal, or did you right click a folder and open Konsole from there? 
Were you in USB mounted folder, or network folder?
Which Dolphin viewmode are you using? (Icons, Compact or Details)
Comment 2 Bug Janitor Service 2023-12-23 03:46:24 UTC
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!
Comment 3 Bug Janitor Service 2024-01-07 03:46:25 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now 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

Thank you for helping us make KDE software even better for everyone!