Bug 461141

Summary: Dolphin crashed when entering a remote directory with embedded terminal opened
Product: [Applications] dolphin Reporter: Fushan Wen <qydwhotmail>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: crash CC: kfm-devel
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Fushan Wen 2022-10-29 02:57:36 UTC
Application: dolphin (22.11.70)

Qt Version: 5.15.6
Frameworks Version: 5.100.0
Operating System: Linux 6.0.3-1-default x86_64
Windowing System: X11
Distribution: "openSUSE Tumbleweed"
DrKonqi: 5.26.80 [KCrashBackend]

-- Information about the crash:
If the remote directory is slow to load, there is a chance Dolphin will crash when the embedded terminal is opened.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized out>}
[KCrash Handler]
#6  0x0000559944b0b18d in TerminalPanel::sendCdToTerminal (this=this@entry=0x559946b5a750, dir=..., addToHistory=addToHistory@entry=TerminalPanel::HistoryPolicy::AddToHistory) at /usr/src/debug/dolphin-22.11.70git.20221026T021733~3d7abd23/src/panels/terminal/terminalpanel.cpp:245
#7  0x0000559944b0b5b9 in operator() (watcher=<optimized out>, __closure=<optimized out>) at /usr/src/debug/dolphin-22.11.70git.20221026T021733~3d7abd23/src/panels/terminal/terminalpanel.cpp:272
#8  QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QDBusPendingCallWatcher*>, void, TerminalPanel::sendCdToTerminalKIOFuse(const QUrl&)::<lambda(QDBusPendingCallWatcher*)> >::call (arg=<optimized out>, f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:146
#9  QtPrivate::Functor<TerminalPanel::sendCdToTerminalKIOFuse(const QUrl&)::<lambda(QDBusPendingCallWatcher*)>, 1>::call<QtPrivate::List<QDBusPendingCallWatcher*>, void> (arg=<optimized out>, f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:256
#10 QtPrivate::QFunctorSlotObject<TerminalPanel::sendCdToTerminalKIOFuse(const QUrl&)::<lambda(QDBusPendingCallWatcher*)>, 1, QtPrivate::List<QDBusPendingCallWatcher*>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=<optimized out>, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:443
#11 0x00007faa7bf12fbd in QtPrivate::QSlotObjectBase::call (a=0x7ffc40f77230, r=0x559946b5a750, this=0x559946c0db40) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#12 doActivate<false> (sender=0x5599477c4830, signal_index=3, argv=0x7ffc40f77230) at kernel/qobject.cpp:3919
#13 0x00007faa7bf0c43f in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7faa7c9fd1e0, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc40f77230) at kernel/qobject.cpp:3979
#14 0x00007faa7c9de1ef in QDBusPendingCallWatcher::finished (this=<optimized out>, _t1=<optimized out>) at .moc/moc_qdbuspendingcall.cpp:158
#15 0x00007faa7bf07930 in QObject::event (this=0x5599477c4830, e=0x559946be3ae0) at kernel/qobject.cpp:1347
#16 0x00007faa7cba53fe in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5599477c4830, e=0x559946be3ae0) at kernel/qapplication.cpp:3637
#17 0x00007faa7bedc0a8 in QCoreApplication::notifyInternal2 (receiver=0x5599477c4830, event=0x559946be3ae0) at kernel/qcoreapplication.cpp:1064
#18 0x00007faa7bedf041 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x559946641ad0) at kernel/qcoreapplication.cpp:1821
#19 0x00007faa7bf33f63 in postEventSourceDispatch (s=0x55994674f940) at kernel/qeventdispatcher_glib.cpp:277
#20 0x00007faa79a6ea50 in g_main_dispatch (context=0x7faa70005010) at ../glib/gmain.c:3444
#21 g_main_context_dispatch (context=context@entry=0x7faa70005010) at ../glib/gmain.c:4162
#22 0x00007faa79a6ee08 in g_main_context_iterate (context=context@entry=0x7faa70005010, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4238
#23 0x00007faa79a6ee9c in g_main_context_iteration (context=0x7faa70005010, may_block=1) at ../glib/gmain.c:4303
#24 0x00007faa7bf33766 in QEventDispatcherGlib::processEvents (this=0x559946767b90, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#25 0x00007faa7bedab1b in QEventLoop::exec (this=this@entry=0x7ffc40f77600, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#26 0x00007faa7bee2c86 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#27 0x00007faa7c36ee5c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1870
#28 0x00007faa7cba5375 in QApplication::exec () at kernel/qapplication.cpp:2829
#29 0x0000559944adf6c9 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/dolphin-22.11.70git.20221026T021733~3d7abd23/src/main.cpp:235
[Inferior 1 (process 31952) detached]

Reported using DrKonqi