Bug 354228

Summary: plasma-workspace crash when creating new panels(custom layout)
Product: [Plasma] plasmashell Reporter: Gauvain Roussel-Tarbouriech <gauvain>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: crash CC: bhush94, notmart, plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.4.2   
Target Milestone: 1.0   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Gauvain Roussel-Tarbouriech 2015-10-22 20:56:32 UTC
Application: plasmashell (5.4.2)

Qt Version: 5.4.2
Operating System: Linux 4.2.0-16-generic x86_64
Distribution: Ubuntu 15.10

-- Information about the crash:
- What I was doing when the application crashed:
	I was playing with panels, adding a new default one made plasma-workspace crash.
	 I tried 3 times to reproduce this bug, and it happened those 3 times.
- Unusual behavior I noticed:
	The main default panel isn't auto hiding while it should(check the 'custom settings' section
	to understand what I tweaked) but is auto hiding when a new panel is added.
	Not related but my Dark Breeze theme is broken: http://gyazo.govanify.com/grab/5891dd.png
	http://gyazo.govanify.com/grab/95c93e.png icons are blank on blank while beeing
	on breeze dark, which is making them almost impossible to be recognized.
- Custom settings of the application:
	Updated from a daily live of Kubuntu 15.10 to release(10/17/2015)
	I'm using a modded layout for defaultPanels which can be seen below:
	http://0bin.net/paste/PqSyITbmZ-Iy85Y4#Q3DRI+js1dX-YQ9+ELKGRUtr+TRIdBkN0uWF1mltW+Z

The crash can be reproduced sometimes.

-- Backtrace:
Application: Plasma (plasmashell), signal: Bus error
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f1a0d0a6800 (LWP 28725))]

Thread 9 (Thread 0x7f19f8706700 (LWP 28727)):
#0  0x00007f1a0785b8dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f1a0b8a2bd2 in _xcb_conn_wait (__timeout=-1, __nfds=1, __fds=0x7f19f8705cc0) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46
#2  0x00007f1a0b8a2bd2 in _xcb_conn_wait (c=c@entry=0x10f11a0, cond=cond@entry=0x10f11e0, vector=vector@entry=0x0, count=count@entry=0x0) at ../../src/xcb_conn.c:459
#3  0x00007f1a0b8a474f in xcb_wait_for_event (c=0x10f11a0) at ../../src/xcb_in.c:623
#4  0x00007f19faa50a39 in QXcbEventReader::run() (this=0x11041c0) at qxcbconnection.cpp:1105
#5  0x00007f1a07f4e2be in QThreadPrivate::start(void*) (arg=0x11041c0) at thread/qthread_unix.cpp:337
#6  0x00007f1a0703d6aa in start_thread (arg=0x7f19f8706700) at pthread_create.c:333
#7  0x00007f1a07866eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 8 (Thread 0x7f19f6067700 (LWP 28731)):
#0  0x00007f1a0464c440 in g_private_get (key=key@entry=0x7f1a048cbae0 <g_thread_specific_private>) at /build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gthread-posix.c:1055
#1  0x00007f1a0464c440 in g_private_get (key=key@entry=0x7f1a048cbae0 <g_thread_specific_private>) at /build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gthread-posix.c:1057
#2  0x00007f1a0462ee10 in g_thread_self () at /build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gthread.c:976
#3  0x00007f1a046082ed in g_main_context_iteration (context=0x7f19e8000990, may_block=may_block@entry=1) at /build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gmain.c:3901
#4  0x00007f1a0818529b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f19e80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007f1a0812b75a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f19f6066da0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f1a07f493d4 in QThread::exec() (this=this@entry=0x11d9d60) at thread/qthread.cpp:503
#7  0x00007f1a0a771f85 in QQmlThreadPrivate::run() (this=0x11d9d60) at qml/ftw/qqmlthread.cpp:141
#8  0x00007f1a07f4e2be in QThreadPrivate::start(void*) (arg=0x11d9d60) at thread/qthread_unix.cpp:337
#9  0x00007f1a0703d6aa in start_thread (arg=0x7f19f6067700) at pthread_create.c:333
#10 0x00007f1a07866eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7f19e7fff700 (LWP 28734)):
#0  0x00007f1a07042da0 in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f19ef5ce4da in radeon_drm_cs_emit_ioctl (mtx=0x13654b8, cond=0x13654e0) at ../../../../../../../include/c11/threads_posix.h:154
#2  0x00007f19ef5ce4da in radeon_drm_cs_emit_ioctl (sema=0x13654b8) at ../../../../../../../src/gallium/auxiliary/os/os_thread.h:259
#3  0x00007f19ef5ce4da in radeon_drm_cs_emit_ioctl (param=param@entry=0x1365170) at ../../../../../../../src/gallium/winsys/radeon/drm/radeon_drm_winsys.c:644
#4  0x00007f19ef5cdc17 in impl_thrd_routine (p=<optimized out>) at ../../../../../../../include/c11/threads_posix.h:87
#5  0x00007f1a0703d6aa in start_thread (arg=0x7f19e7fff700) at pthread_create.c:333
#6  0x00007f1a07866eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7f19e37ce700 (LWP 28735)):
#0  0x00007ffc2ab4dc4f in clock_gettime ()
#1  0x00007f1a0787538d in __GI___clock_gettime (clock_id=<optimized out>, tp=tp@entry=0x7f19e37cdb10) at ../sysdeps/unix/clock_gettime.c:115
#2  0x00007f1a07fff3a6 in qt_gettime() (ts=0x7f19e37cdb10, clock=<optimized out>) at tools/qelapsedtimer_unix.cpp:105
#3  0x00007f1a07fff3a6 in qt_gettime() (frac=<synthetic pointer>, sec=<synthetic pointer>) at tools/qelapsedtimer_unix.cpp:161
#4  0x00007f1a07fff3a6 in qt_gettime() () at tools/qelapsedtimer_unix.cpp:170
#5  0x00007f1a08182d29 in QTimerInfoList::updateCurrentTime() (this=this@entry=0x7f19dc002cd0) at kernel/qtimerinfo_unix.cpp:84
#6  0x00007f1a08183295 in QTimerInfoList::timerWait(timespec&) (this=0x7f19dc002cd0, tm=...) at kernel/qtimerinfo_unix.cpp:379
#7  0x00007f1a0818467e in timerSourcePrepare(GSource*, gint*) (timeout=0x7f19e37cdbe4, src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:127
#8  0x00007f1a0818467e in timerSourcePrepare(GSource*, gint*) (source=<optimized out>, timeout=timeout@entry=0x7f19e37cdbe4) at kernel/qeventdispatcher_glib.cpp:160
#9  0x00007f1a0460777d in g_main_context_prepare (context=context@entry=0x7f19dc000990, priority=priority@entry=0x7f19e37cdc70) at /build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gmain.c:3442
#10 0x00007f1a0460811b in g_main_context_iterate (context=context@entry=0x7f19dc000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gmain.c:3820
#11 0x00007f1a046082fc in g_main_context_iteration (context=0x7f19dc000990, may_block=may_block@entry=1) at /build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gmain.c:3901
#12 0x00007f1a0818529b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f19dc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#13 0x00007f1a0812b75a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f19e37cdda0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#14 0x00007f1a07f493d4 in QThread::exec() (this=this@entry=0x14ca0a0) at thread/qthread.cpp:503
#15 0x00007f1a0a771f85 in QQmlThreadPrivate::run() (this=0x14ca0a0) at qml/ftw/qqmlthread.cpp:141
#16 0x00007f1a07f4e2be in QThreadPrivate::start(void*) (arg=0x14ca0a0) at thread/qthread_unix.cpp:337
#17 0x00007f1a0703d6aa in start_thread (arg=0x7f19e37ce700) at pthread_create.c:333
#18 0x00007f1a07866eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f19e1006700 (LWP 28739)):
#0  0x00007f1a081845f1 in timerSourcePrepare(GSource*, gint*) (source=0x7f19d8002e70, timeout=timeout@entry=0x7f19e1005be4) at kernel/qeventdispatcher_glib.cpp:148
#1  0x00007f1a0460777d in g_main_context_prepare (context=context@entry=0x7f19d8000990, priority=priority@entry=0x7f19e1005c70) at /build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gmain.c:3442
#2  0x00007f1a0460811b in g_main_context_iterate (context=context@entry=0x7f19d8000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gmain.c:3820
#3  0x00007f1a046082fc in g_main_context_iteration (context=0x7f19d8000990, may_block=may_block@entry=1) at /build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gmain.c:3901
#4  0x00007f1a0818529b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f19d80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007f1a0812b75a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f19e1005da0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f1a07f493d4 in QThread::exec() (this=this@entry=0x15e5c60) at thread/qthread.cpp:503
#7  0x00007f1a0a771f85 in QQmlThreadPrivate::run() (this=0x15e5c60) at qml/ftw/qqmlthread.cpp:141
#8  0x00007f1a07f4e2be in QThreadPrivate::start(void*) (arg=0x15e5c60) at thread/qthread_unix.cpp:337
#9  0x00007f1a0703d6aa in start_thread (arg=0x7f19e1006700) at pthread_create.c:333
#10 0x00007f1a07866eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f19d378f700 (LWP 28740)):
#0  0x00007f1a07042da0 in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f1a0cafd114 in QTWTF::TCMalloc_PageHeap::scavengerThread() (this=0x7f1a0cbe5ee0 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007f1a0cafd159 in QTWTF::TCMalloc_PageHeap::runScavengerThread(void*) (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007f1a0703d6aa in start_thread (arg=0x7f19d378f700) at pthread_create.c:333
#4  0x00007f1a07866eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f1950dab700 (LWP 28741)):
#0  0x00007ffc2ab4dc4f in clock_gettime ()
#1  0x00007f1a0787538d in __GI___clock_gettime (clock_id=<optimized out>, tp=tp@entry=0x7f1950daaac0) at ../sysdeps/unix/clock_gettime.c:115
#2  0x00007f1a07fff3a6 in qt_gettime() (ts=0x7f1950daaac0, clock=<optimized out>) at tools/qelapsedtimer_unix.cpp:105
#3  0x00007f1a07fff3a6 in qt_gettime() (frac=<synthetic pointer>, sec=<synthetic pointer>) at tools/qelapsedtimer_unix.cpp:161
#4  0x00007f1a07fff3a6 in qt_gettime() () at tools/qelapsedtimer_unix.cpp:170
#5  0x00007f1a08182d29 in QTimerInfoList::updateCurrentTime() (this=this@entry=0x7f194c002cd0) at kernel/qtimerinfo_unix.cpp:84
#6  0x00007f1a08183295 in QTimerInfoList::timerWait(timespec&) (this=0x7f194c002cd0, tm=...) at kernel/qtimerinfo_unix.cpp:379
#7  0x00007f1a0818467e in timerSourcePrepare(GSource*, gint*) (timeout=0x7f1950daab94, src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:127
#8  0x00007f1a0818467e in timerSourcePrepare(GSource*, gint*) (source=<optimized out>, timeout=timeout@entry=0x7f1950daab94) at kernel/qeventdispatcher_glib.cpp:160
#9  0x00007f1a0460777d in g_main_context_prepare (context=context@entry=0x7f194c000990, priority=priority@entry=0x7f1950daac20) at /build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gmain.c:3442
#10 0x00007f1a0460811b in g_main_context_iterate (context=context@entry=0x7f194c000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gmain.c:3820
#11 0x00007f1a046082fc in g_main_context_iteration (context=0x7f194c000990, may_block=may_block@entry=1) at /build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gmain.c:3901
#12 0x00007f1a0818529b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f194c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#13 0x00007f1a0812b75a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f1950daad50, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#14 0x00007f1a07f493d4 in QThread::exec() (this=this@entry=0x187a2b0) at thread/qthread.cpp:503
#15 0x00007f1a0b0edef6 in QQuickPixmapReader::run() (this=0x187a2b0) at util/qquickpixmapcache.cpp:797
#16 0x00007f1a07f4e2be in QThreadPrivate::start(void*) (arg=0x187a2b0) at thread/qthread_unix.cpp:337
#17 0x00007f1a0703d6aa in start_thread (arg=0x7f1950dab700) at pthread_create.c:333
#18 0x00007f1a07866eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f1940e38700 (LWP 28747)):
#0  0x00007ffc2ab4dc4f in clock_gettime ()
#1  0x00007f1a0787538d in __GI___clock_gettime (clock_id=<optimized out>, tp=tp@entry=0x7f1940e37af0) at ../sysdeps/unix/clock_gettime.c:115
#2  0x00007f1a07fff3a6 in qt_gettime() (ts=0x7f1940e37af0, clock=<optimized out>) at tools/qelapsedtimer_unix.cpp:105
#3  0x00007f1a07fff3a6 in qt_gettime() (frac=<synthetic pointer>, sec=<synthetic pointer>) at tools/qelapsedtimer_unix.cpp:161
#4  0x00007f1a07fff3a6 in qt_gettime() () at tools/qelapsedtimer_unix.cpp:170
#5  0x00007f1a08182d29 in QTimerInfoList::updateCurrentTime() (this=this@entry=0x7f193c0030d0) at kernel/qtimerinfo_unix.cpp:84
#6  0x00007f1a08183295 in QTimerInfoList::timerWait(timespec&) (this=0x7f193c0030d0, tm=...) at kernel/qtimerinfo_unix.cpp:379
#7  0x00007f1a0818467e in timerSourcePrepare(GSource*, gint*) (timeout=0x7f1940e37bc4, src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:127
#8  0x00007f1a0818467e in timerSourcePrepare(GSource*, gint*) (source=<optimized out>, timeout=timeout@entry=0x7f1940e37bc4) at kernel/qeventdispatcher_glib.cpp:160
#9  0x00007f1a0460777d in g_main_context_prepare (context=context@entry=0x7f193c000990, priority=priority@entry=0x7f1940e37c50) at /build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gmain.c:3442
#10 0x00007f1a0460811b in g_main_context_iterate (context=context@entry=0x7f193c000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gmain.c:3820
#11 0x00007f1a046082fc in g_main_context_iteration (context=0x7f193c000990, may_block=may_block@entry=1) at /build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gmain.c:3901
#12 0x00007f1a0818529b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f193c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#13 0x00007f1a0812b75a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f1940e37d80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#14 0x00007f1a07f493d4 in QThread::exec() (this=this@entry=0x240cb70) at thread/qthread.cpp:503
#15 0x00007f19431128f7 in KCupsConnection::run() (this=0x240cb70) at ../../libkcups/KCupsConnection.cpp:303
#16 0x00007f1a07f4e2be in QThreadPrivate::start(void*) (arg=0x240cb70) at thread/qthread_unix.cpp:337
#17 0x00007f1a0703d6aa in start_thread (arg=0x7f1940e38700) at pthread_create.c:333
#18 0x00007f1a07866eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f1a0d0a6800 (LWP 28725)):
[KCrash Handler]
#6  0x00007f1a0a6b8197 in QV4::QObjectWrapper::wrap(QV4::ExecutionEngine*, QObject*) (object=<optimized out>) at ../../include/QtQml/5.4.2/QtQml/private/../../../../../src/qml/qml/qqmldata_p.h:234
#7  0x00007f1a0a6b8197 in QV4::QObjectWrapper::wrap(QV4::ExecutionEngine*, QObject*) (engine=0x16009b0, object=0x60a8ab0) at jsruntime/qv4qobjectwrapper.cpp:571
#8  0x00007f1a0a773f9c in QV8Engine::fromVariant(QVariant const&) (this=this@entry=0x1600940, variant=...) at qml/v8/qv8engine.cpp:404
#9  0x00007f1a0a765347 in QV4::QmlContextWrapper::get(QV4::Managed*, QV4::String*, bool*) (m=<optimized out>, name=<optimized out>, hasProperty=0x7ffc2aa8b070) at qml/qqmlcontextwrapper.cpp:234
#10 0x00007f1a0a650c4a in QV4::ExecutionContext::getProperty(QV4::String*) (hasProperty=0x7ffc2aa8b070, name=0x7f19ec04f3a0, this=<optimized out>) at jsruntime/qv4object_p.h:252
#11 0x00007f1a0a650c4a in QV4::ExecutionContext::getProperty(QV4::String*) (this=0x7ffc2aa8b160, name=0x7f19ec04f3a0) at jsruntime/qv4context.cpp:379
#12 0x00007f195044d92e in  ()
#13 0x0000000000000000 in  ()

Possible duplicates by query: bug 353103, bug 353031, bug 352371.

Reported using DrKonqi
Comment 1 Marco Martin 2015-11-25 10:07:06 UTC

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