Bug 387848 - Plasmashell crash while trying to unmount optical media
Summary: Plasmashell crash while trying to unmount optical media
Status: RESOLVED DUPLICATE of bug 387706
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.11.4
Platform: Ubuntu Linux
: NOR crash
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2017-12-12 22:44 UTC by Laurent Bonnaud
Modified: 2017-12-12 22:54 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Laurent Bonnaud 2017-12-12 22:44:14 UTC
Application: plasmashell (5.11.4)

Qt Version: 5.9.1
Frameworks Version: 5.41.0
Operating System: Linux 4.14.5-041405-generic x86_64
Distribution: Ubuntu 17.10

-- Information about the crash:
- What I was doing when the application crashed:

I was trying to unmount an optical media that had been mounted by root.  I got an authorization window and hit "Cancel".

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7faf6a318900 (LWP 12397))]

Thread 8 (Thread 0x7fae9a5b3700 (LWP 13165)):
#0  0x00007faf5e5cb5d4 in g_mutex_unlock (mutex=0x7fae94000be0) at ../../../../glib/gthread-posix.c:1348
#1  0x00007faf5e58615e in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7fae940029e0, timeout=<optimized out>, context=0x7fae94000be0) at ../../../../glib/gmain.c:4186
#2  0x00007faf5e58615e in g_main_context_iterate (context=context@entry=0x7fae94000be0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../../glib/gmain.c:3881
#3  0x00007faf5e58627c in g_main_context_iteration (context=0x7fae94000be0, may_block=may_block@entry=1) at ../../../../glib/gmain.c:3947
#4  0x00007faf6429249b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fae94000b10, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007faf64237e3a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fae9a5b2c70, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007faf640573ca in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:515
#7  0x00007fae9cbcc747 in KCupsConnection::run() () at /usr/lib/x86_64-linux-gnu/libkcupslib.so
#8  0x00007faf6405c29d in QThreadPrivate::start(void*) (arg=0x55b96303aa50) at thread/qthread_unix.cpp:368
#9  0x00007faf631f17fc in start_thread (arg=0x7fae9a5b3700) at pthread_create.c:465
#10 0x00007faf6395eb0f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7faeaf112700 (LWP 12675)):
#0  0x00007fffa9dba979 in  ()
#1  0x00007fffa9dbac30 in clock_gettime ()
#2  0x00007faf6396d946 in __GI___clock_gettime (clock_id=clock_id@entry=1, tp=tp@entry=0x7faeaf1119b0) at ../sysdeps/unix/clock_gettime.c:115
#3  0x00007faf64291db1 in qt_clock_gettime (ts=0x7faeaf1119b0, clock=<optimized out>) at kernel/qelapsedtimer_unix.cpp:111
#4  0x00007faf64291db1 in do_gettime (frac=<synthetic pointer>, sec=<synthetic pointer>) at kernel/qelapsedtimer_unix.cpp:166
#5  0x00007faf64291db1 in qt_gettime() () at kernel/qelapsedtimer_unix.cpp:175
#6  0x00007faf642905e9 in QTimerInfoList::updateCurrentTime() (this=this@entry=0x7faea8004ce0) at kernel/qtimerinfo_unix.cpp:91
#7  0x00007faf64290bc5 in QTimerInfoList::timerWait(timespec&) (this=0x7faea8004ce0, tm=...) at kernel/qtimerinfo_unix.cpp:388
#8  0x00007faf6429220e in timerSourcePrepareHelper (timeout=0x7faeaf111a74, src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:132
#9  0x00007faf6429220e in timerSourcePrepare(GSource*, gint*) (source=<optimized out>, timeout=timeout@entry=0x7faeaf111a74) at kernel/qeventdispatcher_glib.cpp:165
#10 0x00007faf5e5856a8 in g_main_context_prepare (context=context@entry=0x7faea8000be0, priority=priority@entry=0x7faeaf111b00) at ../../../../glib/gmain.c:3450
#11 0x00007faf5e58609b in g_main_context_iterate (context=context@entry=0x7faea8000be0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../../glib/gmain.c:3866
#12 0x00007faf5e58627c in g_main_context_iteration (context=0x7faea8000be0, may_block=may_block@entry=1) at ../../../../glib/gmain.c:3947
#13 0x00007faf6429249b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7faea8000b10, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#14 0x00007faf64237e3a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7faeaf111c40, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#15 0x00007faf640573ca in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:515
#16 0x00007faf67d4f846 in  () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#17 0x00007faf6405c29d in QThreadPrivate::start(void*) (arg=0x55b960f31000) at thread/qthread_unix.cpp:368
#18 0x00007faf631f17fc in start_thread (arg=0x7faeaf112700) at pthread_create.c:465
#19 0x00007faf6395eb0f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7faf362c2700 (LWP 12637)):
#0  0x00007faf631f8072 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7faf69d0bfb8 <QTWTF::pageheap_memory+57592>) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007faf631f8072 in __pthread_cond_wait_common (abstime=0x0, mutex=0x7faf69d0bf68 <QTWTF::pageheap_memory+57512>, cond=0x7faf69d0bf90 <QTWTF::pageheap_memory+57552>) at pthread_cond_wait.c:502
#2  0x00007faf631f8072 in __pthread_cond_wait (cond=0x7faf69d0bf90 <QTWTF::pageheap_memory+57552>, mutex=0x7faf69d0bf68 <QTWTF::pageheap_memory+57512>) at pthread_cond_wait.c:655
#3  0x00007faf69a17bd4 in QTWTF::TCMalloc_PageHeap::scavengerThread() (this=0x7faf69cfdec0 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#4  0x00007faf69a17c19 in QTWTF::TCMalloc_PageHeap::runScavengerThread(void*) (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#5  0x00007faf631f17fc in start_thread (arg=0x7faf362c2700) at pthread_create.c:465
#6  0x00007faf6395eb0f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7faf4937c700 (LWP 12551)):
#0  0x00007faf6396d14b in __libc_enable_asynccancel () at ../sysdeps/unix/sysv/linux/x86_64/cancellation.S:61
#1  0x00007faf639528ee in __GI___poll (fds=0x7faf38002de0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#2  0x00007faf5e586169 in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7faf38002de0, timeout=<optimized out>, context=0x7faf38000be0) at ../../../../glib/gmain.c:4187
#3  0x00007faf5e586169 in g_main_context_iterate (context=context@entry=0x7faf38000be0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../../glib/gmain.c:3881
#4  0x00007faf5e58627c in g_main_context_iteration (context=0x7faf38000be0, may_block=may_block@entry=1) at ../../../../glib/gmain.c:3947
#5  0x00007faf6429249b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7faf38000b10, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007faf64237e3a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7faf4937bc90, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#7  0x00007faf640573ca in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:515
#8  0x00007faf671bbf45 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#9  0x00007faf6405c29d in QThreadPrivate::start(void*) (arg=0x55b960714860) at thread/qthread_unix.cpp:368
#10 0x00007faf631f17fc in start_thread (arg=0x7faf4937c700) at pthread_create.c:465
#11 0x00007faf6395eb0f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7faf4b5ef700 (LWP 12470)):
#0  0x00007faf5e5cb5d4 in g_mutex_unlock (mutex=0x7faf40000be0) at ../../../../glib/gthread-posix.c:1348
#1  0x00007faf5e58601d in g_main_context_iterate (context=context@entry=0x7faf40000be0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../../glib/gmain.c:3834
#2  0x00007faf5e58627c in g_main_context_iteration (context=0x7faf40000be0, may_block=may_block@entry=1) at ../../../../glib/gmain.c:3947
#3  0x00007faf6429249b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7faf40000b10, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007faf64237e3a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7faf4b5eec90, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007faf640573ca in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:515
#6  0x00007faf671bbf45 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007faf6405c29d in QThreadPrivate::start(void*) (arg=0x55b96070e950) at thread/qthread_unix.cpp:368
#8  0x00007faf631f17fc in start_thread (arg=0x7faf4b5ef700) at pthread_create.c:465
#9  0x00007faf6395eb0f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7faf51206700 (LWP 12433)):
#0  0x00007faf64053b6f in QMutex::unlock() (this=this@entry=0x55b9606740d0) at thread/qmutex.cpp:337
#1  0x00007faf642923cf in QMutexLocker::unlock() (this=<synthetic pointer>) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:213
#2  0x00007faf642923cf in QMutexLocker::~QMutexLocker() (this=<synthetic pointer>, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:207
#3  0x00007faf642923cf in QThreadData::canWaitLocked() (this=0x55b9606740a0) at ../../include/QtCore/5.9.1/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:253
#4  0x00007faf642923cf in postEventSourcePrepare(GSource*, gint*) (s=0x7faf44004b90, timeout=timeout@entry=0x7faf51205ab4) at kernel/qeventdispatcher_glib.cpp:259
#5  0x00007faf5e5856a8 in g_main_context_prepare (context=context@entry=0x7faf44000be0, priority=priority@entry=0x7faf51205b40) at ../../../../glib/gmain.c:3450
#6  0x00007faf5e58609b in g_main_context_iterate (context=context@entry=0x7faf44000be0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../../glib/gmain.c:3866
#7  0x00007faf5e58627c in g_main_context_iteration (context=0x7faf44000be0, may_block=may_block@entry=1) at ../../../../glib/gmain.c:3947
#8  0x00007faf6429249b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7faf44000b10, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#9  0x00007faf64237e3a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7faf51205c80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#10 0x00007faf640573ca in QThread::exec() (this=this@entry=0x7faf64981d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:515
#11 0x00007faf6470ee45 in QDBusConnectionManager::run() (this=0x7faf64981d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#12 0x00007faf6405c29d in QThreadPrivate::start(void*) (arg=0x7faf64981d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:368
#13 0x00007faf631f17fc in start_thread (arg=0x7faf51206700) at pthread_create.c:465
#14 0x00007faf6395eb0f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7faf5335f700 (LWP 12414)):
#0  0x00007faf63952901 in __GI___poll (fds=fds@entry=0x7faf5335ebb8, nfds=nfds@entry=1, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007faf68957747 in poll (__timeout=-1, __nfds=1, __fds=0x7faf5335ebb8) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46
#2  0x00007faf68957747 in _xcb_conn_wait (c=c@entry=0x55b960622250, cond=cond@entry=0x55b960622290, vector=vector@entry=0x0, count=count@entry=0x0) at ../../src/xcb_conn.c:479
#3  0x00007faf6895953a in xcb_wait_for_event (c=0x55b960622250) at ../../src/xcb_in.c:693
#4  0x00007faf554a6f09 in QXcbEventReader::run() (this=0x55b96062ce40) at qxcbconnection.cpp:1322
#5  0x00007faf6405c29d in QThreadPrivate::start(void*) (arg=0x55b96062ce40) at thread/qthread_unix.cpp:368
#6  0x00007faf631f17fc in start_thread (arg=0x7faf5335f700) at pthread_create.c:465
#7  0x00007faf6395eb0f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7faf6a318900 (LWP 12397)):
[KCrash Handler]
#6  0x00007faf663357c3 in KJob::finishJob(bool) () at /usr/lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#7  0x00007fae9e10e270 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/dataengine/plasma_engine_soliddevice.so
#8  0x00007faf684e1481 in  () at /usr/lib/x86_64-linux-gnu/libKF5Plasma.so.5
#9  0x00007faf64269452 in QObject::event(QEvent*) (this=0x55b964be0fc0, e=<optimized out>) at kernel/qobject.cpp:1246
#10 0x00007faf6523e46c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x55b9606129b0, receiver=receiver@entry=0x55b964be0fc0, e=e@entry=0x55b964fa83e0) at kernel/qapplication.cpp:3717
#11 0x00007faf65245d34 in QApplication::notify(QObject*, QEvent*) (this=0x7fffa9c73e10, receiver=0x55b964be0fc0, e=0x55b964fa83e0) at kernel/qapplication.cpp:3476
#12 0x00007faf64239de8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x55b964be0fc0, event=event@entry=0x55b964fa83e0) at kernel/qcoreapplication.cpp:1018
#13 0x00007faf6423c55d in QCoreApplication::sendEvent(QObject*, QEvent*) (event=0x55b964fa83e0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:233
#14 0x00007faf6423c55d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x55b960607bc0) at kernel/qcoreapplication.cpp:1678
#15 0x00007faf6423cae8 in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1532
#16 0x00007faf64292e53 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=s@entry=0x55b960653730) at kernel/qeventdispatcher_glib.cpp:276
#17 0x00007faf5e585fb7 in g_main_dispatch (context=0x7faf4c004fc0) at ../../../../glib/gmain.c:3148
#18 0x00007faf5e585fb7 in g_main_context_dispatch (context=context@entry=0x7faf4c004fc0) at ../../../../glib/gmain.c:3813
#19 0x00007faf5e5861f0 in g_main_context_iterate (context=context@entry=0x7faf4c004fc0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../../glib/gmain.c:3886
#20 0x00007faf5e58627c in g_main_context_iteration (context=0x7faf4c004fc0, may_block=may_block@entry=1) at ../../../../glib/gmain.c:3947
#21 0x00007faf6429247f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x55b960666d00, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#22 0x00007faf64237e3a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fffa9c73d10, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#23 0x00007faf64240da4 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1291
#24 0x000055b95fc66ebc in  ()
#25 0x00007faf6386b1c1 in __libc_start_main (main=0x55b95fc664b0, argc=1, argv=0x7fffa9c73fb8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffa9c73fa8) at ../csu/libc-start.c:308
#26 0x000055b95fc6725a in _start ()

Reported using DrKonqi
Comment 1 David Edmundson 2017-12-12 22:54:14 UTC

*** This bug has been marked as a duplicate of bug 387706 ***