Bug 411509 - Crash in TerminalPanel::sendCdToTerminal() when I unmount device
Summary: Crash in TerminalPanel::sendCdToTerminal() when I unmount device
Status: RESOLVED WAITINGFORINFO
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-01 23:54 UTC by BRULE Herman
Modified: 2019-09-03 19:32 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description BRULE Herman 2019-09-01 23:54:52 UTC
SUMMARY


STEPS TO REPRODUCE
1. Unmount ext3 device

Application: Dolphin (dolphin), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f1bad3edc80 (LWP 13162))]

Thread 10 (Thread 0x7f1b872f8700 (LWP 13172)):
#0  0x00007f1bb37b195d in __GI___poll (fds=0x7f1b740049b0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f1baf850be6 in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f1baf850d0c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f1bb1861fe3 in QEventDispatcherGlib::processEvents (this=0x7f1b74000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f1bb180e8ab in QEventLoop::exec (this=this@entry=0x7f1b872f7da0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#5  0x00007f1bb16787c7 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#6  0x00007f1bb1679a22 in QThreadPrivate::start (arg=0x562015f82630) at thread/qthread_unix.cpp:361
#7  0x00007f1bb0109482 in start_thread (arg=<optimized out>) at pthread_create.c:486
#8  0x00007f1bb37bdb2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7f1b87fff700 (LWP 13171)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x562015998ce0) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x562015998c90, cond=0x562015998cb8) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x562015998cb8, mutex=0x562015998c90) at pthread_cond_wait.c:655
#3  0x00007f1ba65abe3b in util_queue_thread_func () from /usr/lib64/dri/radeonsi_dri.so
#4  0x00007f1ba65aba67 in impl_thrd_routine () from /usr/lib64/dri/radeonsi_dri.so
#5  0x00007f1bb0109482 in start_thread (arg=<optimized out>) at pthread_create.c:486
#6  0x00007f1bb37bdb2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7f1b9cd13700 (LWP 13170)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x562015998ce0) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x562015998c90, cond=0x562015998cb8) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x562015998cb8, mutex=0x562015998c90) at pthread_cond_wait.c:655
#3  0x00007f1ba65abe3b in util_queue_thread_func () from /usr/lib64/dri/radeonsi_dri.so
#4  0x00007f1ba65aba67 in impl_thrd_routine () from /usr/lib64/dri/radeonsi_dri.so
#5  0x00007f1bb0109482 in start_thread (arg=<optimized out>) at pthread_create.c:486
#6  0x00007f1bb37bdb2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7f1b9d514700 (LWP 13169)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x5620159985e0) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x562015998590, cond=0x5620159985b8) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x5620159985b8, mutex=0x562015998590) at pthread_cond_wait.c:655
#3  0x00007f1ba65abe3b in util_queue_thread_func () from /usr/lib64/dri/radeonsi_dri.so
#4  0x00007f1ba65aba67 in impl_thrd_routine () from /usr/lib64/dri/radeonsi_dri.so
#5  0x00007f1bb0109482 in start_thread (arg=<optimized out>) at pthread_create.c:486
#6  0x00007f1bb37bdb2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f1b9dd15700 (LWP 13168)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x5620159985e0) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x562015998590, cond=0x5620159985b8) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x5620159985b8, mutex=0x562015998590) at pthread_cond_wait.c:655
#3  0x00007f1ba65abe3b in util_queue_thread_func () from /usr/lib64/dri/radeonsi_dri.so
#4  0x00007f1ba65aba67 in impl_thrd_routine () from /usr/lib64/dri/radeonsi_dri.so
#5  0x00007f1bb0109482 in start_thread (arg=<optimized out>) at pthread_create.c:486
#6  0x00007f1bb37bdb2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f1b9e516700 (LWP 13167)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x5620159985e0) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x562015998590, cond=0x5620159985b8) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x5620159985b8, mutex=0x562015998590) at pthread_cond_wait.c:655
#3  0x00007f1ba65abe3b in util_queue_thread_func () from /usr/lib64/dri/radeonsi_dri.so
#4  0x00007f1ba65aba67 in impl_thrd_routine () from /usr/lib64/dri/radeonsi_dri.so
#5  0x00007f1bb0109482 in start_thread (arg=<optimized out>) at pthread_create.c:486
#6  0x00007f1bb37bdb2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f1b9ed17700 (LWP 13166)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x5620158f1858) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x5620158f1808, cond=0x5620158f1830) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x5620158f1830, mutex=0x5620158f1808) at pthread_cond_wait.c:655
#3  0x00007f1ba65abe3b in util_queue_thread_func () from /usr/lib64/dri/radeonsi_dri.so
#4  0x00007f1ba65aba67 in impl_thrd_routine () from /usr/lib64/dri/radeonsi_dri.so
#5  0x00007f1bb0109482 in start_thread (arg=<optimized out>) at pthread_create.c:486
#6  0x00007f1bb37bdb2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f1b9f671700 (LWP 13165)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x56201598f778) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x56201598f728, cond=0x56201598f750) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x56201598f750, mutex=0x56201598f728) at pthread_cond_wait.c:655
#3  0x00007f1ba65abe3b in util_queue_thread_func () from /usr/lib64/dri/radeonsi_dri.so
#4  0x00007f1ba65aba67 in impl_thrd_routine () from /usr/lib64/dri/radeonsi_dri.so
#5  0x00007f1bb0109482 in start_thread (arg=<optimized out>) at pthread_create.c:486
#6  0x00007f1bb37bdb2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f1ba7fff700 (LWP 13164)):
#0  0x00007f1bb37b195d in __GI___poll (fds=0x7f1ba0004db0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f1baf850be6 in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f1baf850d0c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f1bb1861fe3 in QEventDispatcherGlib::processEvents (this=0x7f1ba0000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f1bb180e8ab in QEventLoop::exec (this=this@entry=0x7f1ba7ffed70, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#5  0x00007f1bb16787c7 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#6  0x00007f1bb1ac6d35 in QDBusConnectionManager::run() () from /usr/lib64/libQt5DBus.so.5
#7  0x00007f1bb1679a22 in QThreadPrivate::start (arg=0x7f1bb1b47dc0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:361
#8  0x00007f1bb0109482 in start_thread (arg=<optimized out>) at pthread_create.c:486
#9  0x00007f1bb37bdb2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f1bad3edc80 (LWP 13162)):
[KCrash Handler]
#6  0x00007f1bb38f8803 in TerminalPanel::sendCdToTerminal(QString const&, TerminalPanel::HistoryPolicy) () from /usr/lib64/libkdeinit5_dolphin.so
#7  0x00007f1bb38f8b34 in TerminalPanel::goHome() () from /usr/lib64/libkdeinit5_dolphin.so
#8  0x00007f1bb38cd55b in DolphinMainWindow::slotStorageTearDownFromPlacesRequested(QString const&) () from /usr/lib64/libkdeinit5_dolphin.so
#9  0x00007f1bb183882f in QtPrivate::QSlotObjectBase::call (a=0x7ffcba003db0, r=0x562015825a10, this=0x5620158a2e20) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#10 QMetaObject::activate (sender=0x56201587f7e0, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3776
#11 0x00007f1bb39188c5 in PlacesPanel::storageTearDownRequested(QString const&) () from /usr/lib64/libkdeinit5_dolphin.so
#12 0x00007f1bb183882f in QtPrivate::QSlotObjectBase::call (a=0x7ffcba003ed0, r=0x56201587f7e0, this=0x562015e0a500) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#13 QMetaObject::activate (sender=0x562015e069f0, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3776
#14 0x00007f1bb39186e5 in PlacesItemModel::storageTearDownRequested(QString const&) () from /usr/lib64/libkdeinit5_dolphin.so
#15 0x00007f1bb38f01a9 in PlacesItemModel::requestTearDown(int) () from /usr/lib64/libkdeinit5_dolphin.so
#16 0x00007f1bb38eb733 in PlacesPanel::slotItemContextMenuRequested(int, QPointF const&) () from /usr/lib64/libkdeinit5_dolphin.so
#17 0x00007f1bb183882f in QtPrivate::QSlotObjectBase::call (a=0x7ffcba004190, r=0x56201587f7e0, this=0x562015d426f0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#18 QMetaObject::activate (sender=0x562015caa290, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3776
#19 0x00007f1bb35db556 in KItemListController::itemContextMenuRequested(int, QPointF const&) () from /usr/lib64/libdolphinprivate.so.5
#20 0x00007f1bb36091a1 in KItemListController::mousePressEvent(QGraphicsSceneMouseEvent*, QTransform const&) () from /usr/lib64/libdolphinprivate.so.5
#21 0x00007f1bb360ba89 in KItemListController::processEvent(QEvent*, QTransform const&) () from /usr/lib64/libdolphinprivate.so.5
#22 0x00007f1bb361a9c6 in KItemListView::event(QEvent*) () from /usr/lib64/libdolphinprivate.so.5
#23 0x00007f1bb2225024 in QApplicationPrivate::notify_helper (this=this@entry=0x56201575a530, receiver=receiver@entry=0x562015c607f0, e=e@entry=0x7ffcba004b50) at kernel/qapplication.cpp:3736
#24 0x00007f1bb222c5e2 in QApplication::notify (this=0x7ffcba005b20, receiver=0x562015c607f0, e=0x7ffcba004b50) at kernel/qapplication.cpp:3483
#25 0x00007f1bb180f8c0 in QCoreApplication::notifyInternal2 (receiver=0x562015c607f0, event=0x7ffcba004b50) at kernel/qcoreapplication.cpp:1060
#26 0x00007f1bb253e334 in QGraphicsScenePrivate::sendEvent (this=<optimized out>, event=0x7ffcba004b50, item=0x562015c60800) at graphicsview/qgraphicsscene.cpp:1246
#27 QGraphicsScenePrivate::sendEvent (this=<optimized out>, item=0x562015c60800, event=0x7ffcba004b50) at graphicsview/qgraphicsscene.cpp:1226
#28 0x00007f1bb253e7c6 in QGraphicsScenePrivate::sendMouseEvent (this=this@entry=0x5620159d1700, mouseEvent=mouseEvent@entry=0x7ffcba004b50) at graphicsview/qgraphicsscene.cpp:1327
#29 0x00007f1bb254661b in QGraphicsScenePrivate::mousePressEventHandler (this=this@entry=0x5620159d1700, mouseEvent=mouseEvent@entry=0x7ffcba004b50) at graphicsview/qgraphicsscene.cpp:1454
#30 0x00007f1bb254685d in QGraphicsScene::mousePressEvent (this=<optimized out>, mouseEvent=0x7ffcba004b50) at graphicsview/qgraphicsscene.cpp:4049
#31 0x00007f1bb254eaa0 in QGraphicsScene::event (this=0x562015ece440, event=0x7ffcba004b50) at graphicsview/qgraphicsscene.cpp:3413
#32 0x00007f1bb2225024 in QApplicationPrivate::notify_helper (this=this@entry=0x56201575a530, receiver=receiver@entry=0x562015ece440, e=e@entry=0x7ffcba004b50) at kernel/qapplication.cpp:3736
#33 0x00007f1bb222c5e2 in QApplication::notify (this=0x7ffcba005b20, receiver=0x562015ece440, e=0x7ffcba004b50) at kernel/qapplication.cpp:3483
#34 0x00007f1bb180f8c0 in QCoreApplication::notifyInternal2 (receiver=0x562015ece440, event=0x7ffcba004b50) at kernel/qcoreapplication.cpp:1060
#35 0x00007f1bb256cfdb in QGraphicsView::mousePressEvent (this=0x562015eb8bf0, event=0x7ffcba0051a0) at /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/include/g++-v8/bits/atomic_base.h:390
#36 0x00007f1bb2266eaf in QWidget::event (this=this@entry=0x562015eb8bf0, event=event@entry=0x7ffcba0051a0) at kernel/qwidget.cpp:8938
#37 0x00007f1bb2310c13 in QFrame::event (this=0x562015eb8bf0, e=0x7ffcba0051a0) at widgets/qframe.cpp:550
#38 0x00007f1bb256e1cb in QGraphicsView::viewportEvent (this=0x562015eb8bf0, event=0x7ffcba0051a0) at graphicsview/qgraphicsview.cpp:2969
#39 0x00007f1bb180f70e in QCoreApplicationPrivate::sendThroughObjectEventFilters (event=<optimized out>, receiver=<optimized out>) at kernel/qcoreapplication.cpp:1186
#40 QCoreApplicationPrivate::sendThroughObjectEventFilters (receiver=receiver@entry=0x562015e9cd90, event=event@entry=0x7ffcba0051a0) at kernel/qcoreapplication.cpp:1175
#41 0x00007f1bb2225014 in QApplicationPrivate::notify_helper (this=this@entry=0x56201575a530, receiver=receiver@entry=0x562015e9cd90, e=e@entry=0x7ffcba0051a0) at kernel/qapplication.cpp:3728
#42 0x00007f1bb222c83c in QApplication::notify (this=<optimized out>, receiver=0x562015e9cd90, e=0x7ffcba0051a0) at kernel/qapplication.cpp:3197
#43 0x00007f1bb180f8c0 in QCoreApplication::notifyInternal2 (receiver=0x562015e9cd90, event=0x7ffcba0051a0) at kernel/qcoreapplication.cpp:1060
#44 0x00007f1bb222baf8 in QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x562015e9cd90, event=event@entry=0x7ffcba0051a0, alienWidget=0x562015e9cd90, nativeWidget=0x562015825a10, buttonDown=buttonDown@entry=0x7f1bb272ed30 <qt_button_down>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2683
#45 0x00007f1bb22817d8 in QWidgetWindow::handleMouseEvent (this=0x56201590db20, event=0x7ffcba005640) at /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/include/g++-v8/bits/atomic_base.h:390
#46 0x00007f1bb22849a3 in QWidgetWindow::event (event=0x7ffcba005640, this=0x56201590db20) at kernel/qwidgetwindow.cpp:281
#47 QWidgetWindow::event (this=0x56201590db20, event=0x7ffcba005640) at kernel/qwidgetwindow.cpp:224
#48 0x00007f1bb2225024 in QApplicationPrivate::notify_helper (this=this@entry=0x56201575a530, receiver=receiver@entry=0x56201590db20, e=e@entry=0x7ffcba005640) at kernel/qapplication.cpp:3736
#49 0x00007f1bb222c5e2 in QApplication::notify (this=0x7ffcba005b20, receiver=0x56201590db20, e=0x7ffcba005640) at kernel/qapplication.cpp:3483
#50 0x00007f1bb180f8c0 in QCoreApplication::notifyInternal2 (receiver=0x56201590db20, event=0x7ffcba005640) at kernel/qcoreapplication.cpp:1060
#51 0x00007f1bb1ca89bb in QGuiApplicationPrivate::processMouseEvent (e=0x562015e71210) at kernel/qguiapplication.cpp:2102
#52 0x00007f1bb1ca9ef5 in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x562015e71210) at kernel/qguiapplication.cpp:1837
#53 0x00007f1bb1c847bc in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1151
#54 0x00007f1bad28bcd2 in xcbSourceDispatch (source=<optimized out>) at qxcbeventdispatcher.cpp:105
#55 0x00007f1baf8509de in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#56 0x00007f1baf850c78 in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0
#57 0x00007f1baf850d0c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#58 0x00007f1bb1861fc9 in QEventDispatcherGlib::processEvents (this=0x5620157d3a00, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#59 0x00007f1bb180e8ab in QEventLoop::exec (this=this@entry=0x7ffcba005a20, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#60 0x00007f1bb18166d7 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#61 0x00007f1bb38cbae1 in kdemain () from /usr/lib64/libkdeinit5_dolphin.so
#62 0x00007f1bb36d6e73 in __libc_start_main (main=0x5620142cf790 <main>, argc=2, argv=0x7ffcba005cb8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffcba005ca8) at ../csu/libc-start.c:308
#63 0x00005620142cf7ca in _start () at ../sysdeps/x86_64/start.S:120
[Inferior 1 (process 13162) detached]
Comment 1 Nate Graham 2019-09-03 17:29:33 UTC
Did you happen to have the terminal panel open showing the device at the time when you unmounted it?
Comment 2 BRULE Herman 2019-09-03 19:11:55 UTC
I don't remember
Comment 3 Nate Graham 2019-09-03 19:15:25 UTC
Can you get it to happen again by trying that?
Comment 4 BRULE Herman 2019-09-03 19:25:01 UTC
I don't have the config to test this agains for now.
Comment 5 Nate Graham 2019-09-03 19:32:27 UTC
Then there's no way we can debug the issue, sorry. :/

If you file a bug, you need to keep around the setup that caused the issue or else there's no way for us to help if we need more information.