Bug 351570

Summary: Plasma segfault after undocking
Product: [Plasma] plasmashell Reporter: Jacob Godserv <jacobgodserv>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: crash CC: bhush94, plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.4.0   
Target Milestone: 1.0   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jacob Godserv 2015-08-21 15:02:41 UTC
Application: plasmashell (5.3.95)
 (Compiled from sources)
Qt Version: 5.4.2
Operating System: Linux 4.1.0-pf1 x86_64
Distribution: "Funtoo Linux - baselayout 2.2.0"

-- Information about the crash:
- What I was doing when the application crashed:
I removed my Dell laptop from its dock.

- Unusual behavior I noticed:
When redocking, plasma would handle the switch back to a dual-monitor setup just fine, but it refused to paint any background on the second screen.

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 0x7f0642db3800 (LWP 12316))]

Thread 7 (Thread 0x7f0642526700 (LWP 12317)):
#0  0x00000036474e0c6d in poll () from /lib64/libc.so.6
#1  0x000000364b40a922 in ?? () from /usr/lib64/libxcb.so.1
#2  0x000000364b40c3bf in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007f064299f639 in QXcbEventReader::run (this=0x1a89ff0) at qxcbconnection.cpp:1105
#4  0x000000365469f82f in QThreadPrivate::start (arg=0x1a89ff0) at thread/qthread_unix.cpp:337
#5  0x0000003647807574 in start_thread () from /lib64/libpthread.so.0
#6  0x00000036474e9add in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f063b5ef700 (LWP 12318)):
#0  0x000000364908b5a9 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#1  0x0000003649047d97 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#2  0x0000003649048800 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00000036490489dc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00000036548d3bfc in QEventDispatcherGlib::processEvents (this=0x7f06340008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#5  0x000000365487caa2 in QEventLoop::exec (this=this@entry=0x7f063b5eedb0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x000000365469ab4c in QThread::exec (this=this@entry=0x1b51ef0) at thread/qthread.cpp:503
#7  0x00000036652b5255 in QQmlThreadPrivate::run (this=0x1b51ef0) at qml/ftw/qqmlthread.cpp:141
#8  0x000000365469f82f in QThreadPrivate::start (arg=0x1b51ef0) at thread/qthread_unix.cpp:337
#9  0x0000003647807574 in start_thread () from /lib64/libpthread.so.0
#10 0x00000036474e9add in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f0632fe6700 (LWP 12356)):
#0  0x0000003649045aae in ?? () from /usr/lib64/libglib-2.0.so.0
#1  0x0000003649047e5b in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#2  0x0000003649048800 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00000036490489dc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00000036548d3bfc in QEventDispatcherGlib::processEvents (this=0x7f062c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#5  0x000000365487caa2 in QEventLoop::exec (this=this@entry=0x7f0632fe5db0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x000000365469ab4c in QThread::exec (this=this@entry=0x2413c40) at thread/qthread.cpp:503
#7  0x00000036652b5255 in QQmlThreadPrivate::run (this=0x2413c40) at qml/ftw/qqmlthread.cpp:141
#8  0x000000365469f82f in QThreadPrivate::start (arg=0x2413c40) at thread/qthread_unix.cpp:337
#9  0x0000003647807574 in start_thread () from /lib64/libpthread.so.0
#10 0x00000036474e9add in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f063119f700 (LWP 12360)):
#0  0x000000364908b5a9 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#1  0x00000036490487d5 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00000036490489dc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00000036548d3bfc in QEventDispatcherGlib::processEvents (this=0x7f06280008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#4  0x000000365487caa2 in QEventLoop::exec (this=this@entry=0x7f063119edb0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x000000365469ab4c in QThread::exec (this=this@entry=0x2559c50) at thread/qthread.cpp:503
#6  0x00000036652b5255 in QQmlThreadPrivate::run (this=0x2559c50) at qml/ftw/qqmlthread.cpp:141
#7  0x000000365469f82f in QThreadPrivate::start (arg=0x2559c50) at thread/qthread_unix.cpp:337
#8  0x0000003647807574 in start_thread () from /lib64/libpthread.so.0
#9  0x00000036474e9add in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f06237bf700 (LWP 12361)):
#0  0x000000364780cadf in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00000030a7b797d4 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x30a7e67880) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00000030a7b79819 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x0000003647807574 in start_thread () from /lib64/libpthread.so.0
#4  0x00000036474e9add in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f05a0d46700 (LWP 12384)):
#0  0x00000036474e0c6d in poll () from /lib64/libc.so.6
#1  0x00000036490488d4 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00000036490489dc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00000036548d3bfc in QEventDispatcherGlib::processEvents (this=0x7f059c00e770, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#4  0x000000365487caa2 in QEventLoop::exec (this=this@entry=0x7f05a0d45d70, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x000000365469ab4c in QThread::exec (this=this@entry=0x3f0f110) at thread/qthread.cpp:503
#6  0x00000036658fb9e2 in QQuickPixmapReader::run (this=0x3f0f110) at util/qquickpixmapcache.cpp:714
#7  0x000000365469f82f in QThreadPrivate::start (arg=0x3f0f110) at thread/qthread_unix.cpp:337
#8  0x0000003647807574 in start_thread () from /lib64/libpthread.so.0
#9  0x00000036474e9add in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f0642db3800 (LWP 12316)):
[KCrash Handler]
#6  inUse (this=0x1) at jsruntime/qv4managed_p.h:342
#7  QV4::MemoryManager::collectFromJSStack (this=this@entry=0x1b3a650) at jsruntime/qv4mm.cpp:581
#8  0x000000366519c29f in QV4::MemoryManager::mark (this=0x1b3a650) at jsruntime/qv4mm.cpp:295
#9  0x000000366519cd54 in QV4::MemoryManager::runGC (this=0x1b3a650) at jsruntime/qv4mm.cpp:458
#10 0x000000366519dbc7 in QV4::MemoryManager::allocData (this=0x1b3a650, size=112) at jsruntime/qv4mm.cpp:211
#11 0x00000036651a1ce5 in allocManaged (size=<optimized out>, this=<optimized out>) at jsruntime/qv4mm_p.h:94
#12 QV4::ArrayData::realloc (o=o@entry=0x7f06380b10a0, newType=newType@entry=QV4::ArrayData::Simple, requested=requested@entry=1, enforceAttributes=enforceAttributes@entry=false) at jsruntime/qv4arraydata.cpp:130
#13 0x000000366518bfc7 in arrayReserve (n=1, this=0x7f06380b10a0) at jsruntime/qv4object_p.h:224
#14 QV4::ExecutionEngine::newArrayObject (this=this@entry=0x2574070, count=<optimized out>) at jsruntime/qv4engine.cpp:539
#15 0x00000036652b386b in QQmlObjectCreator::create (this=this@entry=0x7ffe36a66480, subComponentIndex=subComponentIndex@entry=-1, parent=parent@entry=0x0, interrupt=interrupt@entry=0x0) at qml/qqmlobjectcreator.cpp:212
#16 0x00000036652b2ddc in QQmlObjectCreator::createInstance (this=0x7ffe36a67620, index=10, parent=0x4426e50, isContextObject=<optimized out>) at qml/qqmlobjectcreator.cpp:1091
#17 0x00000036652b0255 in QQmlObjectCreator::setPropertyBinding (this=0x7ffe36a67620, property=0x7f062802e4e8, binding=0x7f0628621fdc) at qml/qqmlobjectcreator.cpp:774
#18 0x00000036652b0f9e in QQmlObjectCreator::setupBindings (this=this@entry=0x7ffe36a67620, bindingsToSkip=...) at qml/qqmlobjectcreator.cpp:733
#19 0x00000036652b190d in QQmlObjectCreator::populateInstance (this=this@entry=0x7ffe36a67620, index=9, instance=0x4426e20, instance@entry=0x4426e50, bindingTarget=0x4426e20, bindingTarget@entry=0x4426e50, valueTypeProperty=valueTypeProperty@entry=0x0, bindingsToSkip=...) at qml/qqmlobjectcreator.cpp:1348
#20 0x00000036652b25f3 in QQmlObjectCreator::createInstance (this=<optimized out>, index=9, parent=<optimized out>, isContextObject=<optimized out>) at qml/qqmlobjectcreator.cpp:1184
#21 0x00000036652b0255 in QQmlObjectCreator::setPropertyBinding (this=0x7ffe36a67620, property=0x7f062802e4e8, binding=0x7f0628621e18) at qml/qqmlobjectcreator.cpp:774
#22 0x00000036652b0f9e in QQmlObjectCreator::setupBindings (this=this@entry=0x7ffe36a67620, bindingsToSkip=...) at qml/qqmlobjectcreator.cpp:733
#23 0x00000036652b190d in QQmlObjectCreator::populateInstance (this=this@entry=0x7ffe36a67620, index=7, instance=0x4425990, instance@entry=0x4426e20, bindingTarget=0x4425990, bindingTarget@entry=0x4426e20, valueTypeProperty=valueTypeProperty@entry=0x0, bindingsToSkip=...) at qml/qqmlobjectcreator.cpp:1348
#24 0x00000036652b25f3 in QQmlObjectCreator::createInstance (this=<optimized out>, index=7, parent=<optimized out>, isContextObject=<optimized out>) at qml/qqmlobjectcreator.cpp:1184
#25 0x00000036652b0255 in QQmlObjectCreator::setPropertyBinding (this=0x7ffe36a67620, property=0x7f062802e4e8, binding=0x7f06286219bc) at qml/qqmlobjectcreator.cpp:774
#26 0x00000036652b0f9e in QQmlObjectCreator::setupBindings (this=this@entry=0x7ffe36a67620, bindingsToSkip=...) at qml/qqmlobjectcreator.cpp:733
#27 0x00000036652b190d in QQmlObjectCreator::populateInstance (this=this@entry=0x7ffe36a67620, index=0, instance=0x0, instance@entry=0x4425990, bindingTarget=0x1c47b30, bindingTarget@entry=0x4425990, valueTypeProperty=valueTypeProperty@entry=0x0, bindingsToSkip=...) at qml/qqmlobjectcreator.cpp:1348
#28 0x00000036652b25f3 in QQmlObjectCreator::createInstance (this=this@entry=0x7ffe36a67620, index=index@entry=0, parent=parent@entry=0x0, isContextObject=isContextObject@entry=true) at qml/qqmlobjectcreator.cpp:1184
#29 0x00000036652b32f4 in QQmlObjectCreator::create (this=this@entry=0x7ffe36a67620, subComponentIndex=subComponentIndex@entry=-1, parent=parent@entry=0x0, interrupt=interrupt@entry=0x0) at qml/qqmlobjectcreator.cpp:222
#30 0x00000036652b2ddc in QQmlObjectCreator::createInstance (this=0x7ffe36a682c0, index=8, parent=0x44212a0, isContextObject=<optimized out>) at qml/qqmlobjectcreator.cpp:1091
#31 0x00000036652b0255 in QQmlObjectCreator::setPropertyBinding (this=0x7ffe36a682c0, property=0x7f062802e4e8, binding=0x7f062861db3c) at qml/qqmlobjectcreator.cpp:774
#32 0x00000036652b0f9e in QQmlObjectCreator::setupBindings (this=this@entry=0x7ffe36a682c0, bindingsToSkip=...) at qml/qqmlobjectcreator.cpp:733
#33 0x00000036652b190d in QQmlObjectCreator::populateInstance (this=this@entry=0x7ffe36a682c0, index=4, instance=0x4413050, instance@entry=0x44212a0, bindingTarget=0x4413050, bindingTarget@entry=0x44212a0, valueTypeProperty=valueTypeProperty@entry=0x0, bindingsToSkip=...) at qml/qqmlobjectcreator.cpp:1348
#34 0x00000036652b25f3 in QQmlObjectCreator::createInstance (this=<optimized out>, index=4, parent=<optimized out>, isContextObject=<optimized out>) at qml/qqmlobjectcreator.cpp:1184
#35 0x00000036652b0255 in QQmlObjectCreator::setPropertyBinding (this=0x7ffe36a682c0, property=0x7f062801d758, binding=0x7f062861d8cc) at qml/qqmlobjectcreator.cpp:774
#36 0x00000036652b0f9e in QQmlObjectCreator::setupBindings (this=this@entry=0x7ffe36a682c0, bindingsToSkip=...) at qml/qqmlobjectcreator.cpp:733
#37 0x00000036652b190d in QQmlObjectCreator::populateInstance (this=this@entry=0x7ffe36a682c0, index=0, instance=0x0, instance@entry=0x4413050, bindingTarget=0x7ffe36a68450, bindingTarget@entry=0x4413050, valueTypeProperty=valueTypeProperty@entry=0x0, bindingsToSkip=...) at qml/qqmlobjectcreator.cpp:1348
#38 0x00000036652b25f3 in QQmlObjectCreator::createInstance (this=this@entry=0x7ffe36a682c0, index=index@entry=0, parent=parent@entry=0x0, isContextObject=isContextObject@entry=true) at qml/qqmlobjectcreator.cpp:1184
#39 0x00000036652b32f4 in QQmlObjectCreator::create (this=this@entry=0x7ffe36a682c0, subComponentIndex=subComponentIndex@entry=-1, parent=parent@entry=0x0, interrupt=interrupt@entry=0x0) at qml/qqmlobjectcreator.cpp:222
#40 0x00000036652b2ddc in QQmlObjectCreator::createInstance (this=this@entry=0x43fd420, index=index@entry=4, parent=parent@entry=0x0, isContextObject=isContextObject@entry=true) at qml/qqmlobjectcreator.cpp:1091
#41 0x00000036652b32f4 in QQmlObjectCreator::create (this=0x43fd420, subComponentIndex=3, parent=parent@entry=0x0, interrupt=interrupt@entry=0x0) at qml/qqmlobjectcreator.cpp:222
#42 0x000000366523b855 in QQmlComponentPrivate::beginCreate (this=0x43f61a0, context=0x43e7450) at qml/qqmlcomponent.cpp:880
#43 0x000000366523be1a in beginCreate (publicContext=<optimized out>, this=0x43f4f50) at qml/qqmlcomponent.cpp:829
#44 QQmlComponent::createObject (this=0x43f4f50, args=0x7ffe36a687a0) at qml/qqmlcomponent.cpp:1222
#45 0x0000003665318f54 in QQmlComponent::qt_static_metacall (_o=_o@entry=0x43f4f50, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=6, _a=_a@entry=0x7ffe36a68770) at .moc/moc_qqmlcomponent.cpp:146
#46 0x0000003665319137 in QQmlComponent::qt_metacall (this=0x43f4f50, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0x7ffe36a68770) at .moc/moc_qqmlcomponent.cpp:205
#47 0x00000036651fedc9 in QV4::QObjectMethod::callInternal (this=<optimized out>, callData=<optimized out>) at jsruntime/qv4qobjectwrapper.cpp:1882
#48 0x000000366520a2b7 in call (d=0x7f063019f080, this=<optimized out>) at jsruntime/qv4object_p.h:278
#49 QV4::Runtime::callProperty (context=0x7ffe36a68960, name=0x7f0630187280, callData=0x7f063019f080) at jsruntime/qv4runtime.cpp:930
#50 0x00007f05937f38d5 in ?? ()
#51 0x00000000043f5330 in ?? ()
#52 0x0000000000000000 in ?? ()

Possible duplicates by query: bug 351483.

Reported using DrKonqi
Comment 1 David Edmundson 2015-08-26 23:30:51 UTC

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