Bug 355875

Summary: plasma segfault when removing a panel
Product: [Plasma] plasmashell Reporter: Martin Kyral <sine.nomine>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: crash CC: bhush94, notmart, plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.4.3   
Target Milestone: 1.0   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Martin Kyral 2015-11-25 08:44:58 UTC
Application: plasmashell (5.4.3)

Qt Version: 5.5.1
Operating System: Linux 4.2.6-300.fc23.x86_64 x86_64
Distribution: "Fedora release 23 (Twenty Three)"

-- Information about the crash:
Desperately trying to have panels on both external and internal monitors, I am trying to add one on the secondary display. However, it places on the primary display everytime and it is almost impossible to move it to the other display.

Removing such panel then results in segfault almost every time.

Please, make dualhead work usable again. With KDE 4 it worked. Not ideally, but worked. With KDE 5 it is simply unusable. Frequent crashes when fiddling with plasma configuration and/or doing such basic stuff as is connectiong/disconnecting a display and impossibility to achieve simple configuration I am used to for years make me feel very bad.

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f1d0c62f940 (LWP 6535))]

Thread 8 (Thread 0x7f1cec353700 (LWP 6554)):
#0  0x00007f1d0404ffdd in poll () at /lib64/libc.so.6
#1  0x00007f1d0a4ea272 in _xcb_conn_wait () at /lib64/libxcb.so.1
#2  0x00007f1d0a4ebee7 in xcb_wait_for_event () at /lib64/libxcb.so.1
#3  0x00007f1cee2d7da9 in QXcbEventReader::run() () at /lib64/libQt5XcbQpa.so.5
#4  0x00007f1d04c583ce in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#5  0x00007f1d02cf760a in start_thread () at /lib64/libpthread.so.0
#6  0x00007f1d0405ba7d in clone () at /lib64/libc.so.6

Thread 7 (Thread 0x7f1ce990b700 (LWP 6591)):
#0  0x00007f1cff180200 in g_source_iter_next () at /lib64/libglib-2.0.so.0
#1  0x00007f1cff1826ab in g_main_context_prepare () at /lib64/libglib-2.0.so.0
#2  0x00007f1cff18309b in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#3  0x00007f1cff18327c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#4  0x00007f1d04e8ff0b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#5  0x00007f1d04e36f0a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#6  0x00007f1d04c53424 in QThread::exec() () at /lib64/libQt5Core.so.5
#7  0x00007f1d08f76b45 in QQmlThreadPrivate::run() () at /lib64/libQt5Qml.so.5
#8  0x00007f1d04c583ce in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#9  0x00007f1d02cf760a in start_thread () at /lib64/libpthread.so.0
#10 0x00007f1d0405ba7d in clone () at /lib64/libc.so.6

Thread 6 (Thread 0x7f1ce0e47700 (LWP 6651)):
#0  0x00007f1d0404ffdd in poll () at /lib64/libc.so.6
#1  0x00007f1cff18316c in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#2  0x00007f1cff18327c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#3  0x00007f1d04e8ff0b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#4  0x00007f1d04e36f0a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#5  0x00007f1d04c53424 in QThread::exec() () at /lib64/libQt5Core.so.5
#6  0x00007f1d08f76b45 in QQmlThreadPrivate::run() () at /lib64/libQt5Qml.so.5
#7  0x00007f1d04c583ce in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#8  0x00007f1d02cf760a in start_thread () at /lib64/libpthread.so.0
#9  0x00007f1d0405ba7d in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7f1cd71ad700 (LWP 6752)):
#0  0x00007f1d04e8d999 in QTimerInfoList::updateCurrentTime() () at /lib64/libQt5Core.so.5
#1  0x00007f1d04e8df05 in QTimerInfoList::timerWait(timespec&) () at /lib64/libQt5Core.so.5
#2  0x00007f1d04e8f2ee in timerSourcePrepare(_GSource*, int*) () at /lib64/libQt5Core.so.5
#3  0x00007f1cff18270d in g_main_context_prepare () at /lib64/libglib-2.0.so.0
#4  0x00007f1cff18309b in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#5  0x00007f1cff18327c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#6  0x00007f1d04e8ff0b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#7  0x00007f1d04e36f0a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#8  0x00007f1d04c53424 in QThread::exec() () at /lib64/libQt5Core.so.5
#9  0x00007f1d08f76b45 in QQmlThreadPrivate::run() () at /lib64/libQt5Qml.so.5
#10 0x00007f1d04c583ce in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#11 0x00007f1d02cf760a in start_thread () at /lib64/libpthread.so.0
#12 0x00007f1d0405ba7d in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f1cd58b5700 (LWP 6803)):
#0  0x00007f1d02cfcb10 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f1d0bdbc514 in QTWTF::TCMalloc_PageHeap::scavengerThread() () at /lib64/libQt5Script.so.5
#2  0x00007f1d0bdbc559 in  () at /lib64/libQt5Script.so.5
#3  0x00007f1d02cf760a in start_thread () at /lib64/libpthread.so.0
#4  0x00007f1d0405ba7d in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f1c4dd74700 (LWP 6886)):
#0  0x00007f1d04e8ff04 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#1  0x00007f1d04e36f0a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#2  0x00007f1d04c53424 in QThread::exec() () at /lib64/libQt5Core.so.5
#3  0x00007f1d09b208d6 in QQuickPixmapReader::run() () at /lib64/libQt5Quick.so.5
#4  0x00007f1d04c583ce in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#5  0x00007f1d02cf760a in start_thread () at /lib64/libpthread.so.0
#6  0x00007f1d0405ba7d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f1c41712700 (LWP 7060)):
#0  0x00007f1cff1c7719 in g_mutex_lock () at /lib64/libglib-2.0.so.0
#1  0x00007f1cff183152 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#2  0x00007f1cff18327c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#3  0x00007f1d04e8ff0b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#4  0x00007f1d04e36f0a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#5  0x00007f1d04c53424 in QThread::exec() () at /lib64/libQt5Core.so.5
#6  0x00007f1c4334a3c7 in KCupsConnection::run() () at /lib64/libkcupslib.so
#7  0x00007f1d04c583ce in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#8  0x00007f1d02cf760a in start_thread () at /lib64/libpthread.so.0
#9  0x00007f1d0405ba7d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f1d0c62f940 (LWP 6535)):
[KCrash Handler]
#5  0x00002a323f0b7590 in  ()
#6  0x00007f1d08f3e305 in QQmlPropertyData* qQmlPropertyCacheProperty<QV4::String const*>(QJSEngine*, QObject*, QV4::String const*, QQmlContextData*, QQmlPropertyData&) () at /lib64/libQt5Qml.so.5
#7  0x00007f1d08eb0acb in QV4::QObjectWrapper::findProperty(QV4::ExecutionEngine*, QQmlContextData*, QV4::String*, QV4::QObjectWrapper::RevisionMode, QQmlPropertyData*) const () at /lib64/libQt5Qml.so.5
#8  0x00007f1d08eb74ea in QV4::QObjectWrapper::getQmlProperty(QQmlContextData*, QV4::String*, QV4::QObjectWrapper::RevisionMode, bool*, bool) () at /lib64/libQt5Qml.so.5
#9  0x00007f1d08ec910e in QV4::Runtime::getProperty(QV4::ExecutionEngine*, QV4::Value const&, int) () at /lib64/libQt5Qml.so.5
#10 0x00007f1c4c2e9847 in  ()
#11 0x0003000000000000 in  ()
#12 0x702e335a6d297200 in  ()
#13 0x0003000000000001 in  ()
#14 0x00007f1cd61ae068 in  ()
#15 0x000055c9e29fad60 in  ()
#16 0x00007f1cd61ae060 in  ()
#17 0x00007f1cd61ae058 in  ()
#18 0x00007f1cd61ae060 in  ()
#19 0x000055c9e29fad60 in  ()
#20 0x00007f1d08e6be3a in QV4::SimpleScriptFunction::call(QV4::Managed*, QV4::CallData*) () at /lib64/libQt5Qml.so.5
#21 0x00007f1d08f5bfef in QQmlJavaScriptExpression::evaluate(QQmlContextData*, QV4::Value const&, QV4::CallData*, bool*) () at /lib64/libQt5Qml.so.5
#22 0x00007f1d08f02546 in QQmlBoundSignalExpression::evaluate(void**) () at /lib64/libQt5Qml.so.5
#23 0x00007f1d08f02dfb in QQmlBoundSignal_callback(QQmlNotifierEndpoint*, void**) () at /lib64/libQt5Qml.so.5
#24 0x00007f1d08f3f4be in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) () at /lib64/libQt5Qml.so.5
#25 0x00007f1d08ee208c in QQmlData::signalEmitted(QAbstractDeclarativeData*, QObject*, int, void**) () at /lib64/libQt5Qml.so.5
#26 0x00007f1d04e67bf0 in QMetaObject::activate(QObject*, int, int, void**) () at /lib64/libQt5Core.so.5
#27 0x00007f1d08fd26ba in QQmlTimer::event(QEvent*) () at /lib64/libQt5Qml.so.5
#28 0x00007f1d063ed41c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#29 0x00007f1d063f28e6 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#30 0x00007f1d04e3977b in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#31 0x00007f1d04e3bb76 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /lib64/libQt5Core.so.5
#32 0x00007f1d04e8fae3 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQt5Core.so.5
#33 0x00007f1cff182e3a in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#34 0x00007f1cff1831d0 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#35 0x00007f1cff18327c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#36 0x00007f1d04e8feef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#37 0x00007f1d04e36f0a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#38 0x00007f1d04e3efec in QCoreApplication::exec() () at /lib64/libQt5Core.so.5
#39 0x000055c9e1ff9363 in main ()

Reported using DrKonqi
Comment 1 Marco Martin 2015-11-25 09:44:36 UTC

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