Bug 336864 - Assert on startup in screen handling
Summary: Assert on startup in screen handling
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: master
Platform: unspecified Linux
: NOR crash
Target Milestone: 1.0
Assignee: Aleix Pol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-29 11:26 UTC by Eike Hein
Modified: 2014-06-30 11:50 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 Eike Hein 2014-06-29 11:26:50 UTC
Assert message:

plasmashell(1782)/default qt_assert: ASSERT: "!d->screenConfiguration->primaryOutput() || d->views.isEmpty() || outputToScreen(d->screenConfiguration->primaryOutput()) == d->views.first()->screen()" in file /home/sho/devel/src/kde/workspace/plasma-workspace/shell/shellcorona.cpp, line 363


Backtrace:

Application: plasmashell (plasmashell), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
81	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f8f32044900 (LWP 1841))]

Thread 15 (Thread 0x7f8f235ef700 (LWP 1864)):
#0  0x000000348b6ea9dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x000000348d6495b4 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#2  0x000000348d6496dc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f8f34993fbd in QEventDispatcherGlib::processEvents (this=0x7f8f1c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f8f3491a3a6 in QEventLoop::processEvents (this=0x7f8f235eec60, flags=...) at kernel/qeventloop.cpp:136
#5  0x00007f8f3491a67f in QEventLoop::exec (this=0x7f8f235eec60, flags=...) at kernel/qeventloop.cpp:212
#6  0x00007f8f346fba9a in QThread::exec (this=0x1bb80f0) at thread/qthread.cpp:511
#7  0x00007f8f38ec6a09 in QQmlThreadPrivate::run (this=0x1bb80f0) at qml/ftw/qqmlthread.cpp:149
#8  0x00007f8f34702e87 in QThreadPrivate::start (arg=0x1bb80f0) at thread/qthread_unix.cpp:345
#9  0x000000348c207f33 in start_thread (arg=0x7f8f235ef700) at pthread_create.c:309
#10 0x000000348b6f4ded in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 14 (Thread 0x7f8f19542700 (LWP 1865)):
#0  0x000000348b6ea9dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x000000348d6495b4 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#2  0x000000348d6496dc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f8f34993fbd in QEventDispatcherGlib::processEvents (this=0x7f8f140008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f8f3491a3a6 in QEventLoop::processEvents (this=0x7f8f19541c60, flags=...) at kernel/qeventloop.cpp:136
#5  0x00007f8f3491a67f in QEventLoop::exec (this=0x7f8f19541c60, flags=...) at kernel/qeventloop.cpp:212
#6  0x00007f8f346fba9a in QThread::exec (this=0x1eba6d0) at thread/qthread.cpp:511
#7  0x00007f8f38ec6a09 in QQmlThreadPrivate::run (this=0x1eba6d0) at qml/ftw/qqmlthread.cpp:149
#8  0x00007f8f34702e87 in QThreadPrivate::start (arg=0x1eba6d0) at thread/qthread_unix.cpp:345
#9  0x000000348c207f33 in start_thread (arg=0x7f8f19542700) at pthread_create.c:309
#10 0x000000348b6f4ded in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 13 (Thread 0x7f8f13bb9700 (LWP 1866)):
#0  0x000000348b6ea9dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x000000348d6495b4 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#2  0x000000348d6496dc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f8f34993fbd in QEventDispatcherGlib::processEvents (this=0x7f8f0c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f8f3491a3a6 in QEventLoop::processEvents (this=0x7f8f13bb8c60, flags=...) at kernel/qeventloop.cpp:136
#5  0x00007f8f3491a67f in QEventLoop::exec (this=0x7f8f13bb8c60, flags=...) at kernel/qeventloop.cpp:212
#6  0x00007f8f346fba9a in QThread::exec (this=0x215a090) at thread/qthread.cpp:511
#7  0x00007f8f38ec6a09 in QQmlThreadPrivate::run (this=0x215a090) at qml/ftw/qqmlthread.cpp:149
#8  0x00007f8f34702e87 in QThreadPrivate::start (arg=0x215a090) at thread/qthread_unix.cpp:345
#9  0x000000348c207f33 in start_thread (arg=0x7f8f13bb9700) at pthread_create.c:309
#10 0x000000348b6f4ded in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 12 (Thread 0x7f8f03815700 (LWP 1869)):
#0  0x000000348b6ea9dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x000000348d6495b4 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#2  0x000000348d6496dc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f8f34993fbd in QEventDispatcherGlib::processEvents (this=0x7f8efc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f8f3491a3a6 in QEventLoop::processEvents (this=0x7f8f03814c60, flags=...) at kernel/qeventloop.cpp:136
#5  0x00007f8f3491a67f in QEventLoop::exec (this=0x7f8f03814c60, flags=...) at kernel/qeventloop.cpp:212
#6  0x00007f8f346fba9a in QThread::exec (this=0x2349950) at thread/qthread.cpp:511
#7  0x00007f8f38ec6a09 in QQmlThreadPrivate::run (this=0x2349950) at qml/ftw/qqmlthread.cpp:149
#8  0x00007f8f34702e87 in QThreadPrivate::start (arg=0x2349950) at thread/qthread_unix.cpp:345
#9  0x000000348c207f33 in start_thread (arg=0x7f8f03815700) at pthread_create.c:309
#10 0x000000348b6f4ded in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 11 (Thread 0x7f8f021d3700 (LWP 1870)):
#0  0x000000348b6ea9dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x000000348d6495b4 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#2  0x000000348d6496dc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f8f34993fdd in QEventDispatcherGlib::processEvents (this=0x7f8ef40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:428
#4  0x00007f8f3491a3a6 in QEventLoop::processEvents (this=0x7f8f021d2c60, flags=...) at kernel/qeventloop.cpp:136
#5  0x00007f8f3491a67f in QEventLoop::exec (this=0x7f8f021d2c60, flags=...) at kernel/qeventloop.cpp:212
#6  0x00007f8f346fba9a in QThread::exec (this=0x2455dd0) at thread/qthread.cpp:511
#7  0x00007f8f38ec6a09 in QQmlThreadPrivate::run (this=0x2455dd0) at qml/ftw/qqmlthread.cpp:149
#8  0x00007f8f34702e87 in QThreadPrivate::start (arg=0x2455dd0) at thread/qthread_unix.cpp:345
#9  0x000000348c207f33 in start_thread (arg=0x7f8f021d3700) at pthread_create.c:309
#10 0x000000348b6f4ded in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 10 (Thread 0x7f8f011c2700 (LWP 1871)):
#0  0x000000348b6ea9dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x000000348d6495b4 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#2  0x000000348d6496dc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f8f34993fdd in QEventDispatcherGlib::processEvents (this=0x7f8ef80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:428
#4  0x00007f8f3491a3a6 in QEventLoop::processEvents (this=0x7f8f011c1c60, flags=...) at kernel/qeventloop.cpp:136
#5  0x00007f8f3491a67f in QEventLoop::exec (this=0x7f8f011c1c60, flags=...) at kernel/qeventloop.cpp:212
#6  0x00007f8f346fba9a in QThread::exec (this=0x251a910) at thread/qthread.cpp:511
#7  0x00007f8f38ec6a09 in QQmlThreadPrivate::run (this=0x251a910) at qml/ftw/qqmlthread.cpp:149
#8  0x00007f8f34702e87 in QThreadPrivate::start (arg=0x251a910) at thread/qthread_unix.cpp:345
#9  0x000000348c207f33 in start_thread (arg=0x7f8f011c2700) at pthread_create.c:309
#10 0x000000348b6f4ded in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 9 (Thread 0x7f8ef3fff700 (LWP 1872)):
#0  0x000000348b6ea9dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x000000348d6495b4 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#2  0x000000348d6496dc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f8f34993fdd in QEventDispatcherGlib::processEvents (this=0x7f8eec0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:428
#4  0x00007f8f3491a3a6 in QEventLoop::processEvents (this=0x7f8ef3ffec60, flags=...) at kernel/qeventloop.cpp:136
#5  0x00007f8f3491a67f in QEventLoop::exec (this=0x7f8ef3ffec60, flags=...) at kernel/qeventloop.cpp:212
#6  0x00007f8f346fba9a in QThread::exec (this=0x25f9870) at thread/qthread.cpp:511
#7  0x00007f8f38ec6a09 in QQmlThreadPrivate::run (this=0x25f9870) at qml/ftw/qqmlthread.cpp:149
#8  0x00007f8f34702e87 in QThreadPrivate::start (arg=0x25f9870) at thread/qthread_unix.cpp:345
#9  0x000000348c207f33 in start_thread (arg=0x7f8ef3fff700) at pthread_create.c:309
#10 0x000000348b6f4ded in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 8 (Thread 0x7f8ef27f4700 (LWP 1873)):
#0  0x000000348b6ea9dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x000000348d6495b4 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#2  0x000000348d6496dc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f8f34993fdd in QEventDispatcherGlib::processEvents (this=0x7f8ee40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:428
#4  0x00007f8f3491a3a6 in QEventLoop::processEvents (this=0x7f8ef27f3c60, flags=...) at kernel/qeventloop.cpp:136
#5  0x00007f8f3491a67f in QEventLoop::exec (this=0x7f8ef27f3c60, flags=...) at kernel/qeventloop.cpp:212
#6  0x00007f8f346fba9a in QThread::exec (this=0x26c9b60) at thread/qthread.cpp:511
#7  0x00007f8f38ec6a09 in QQmlThreadPrivate::run (this=0x26c9b60) at qml/ftw/qqmlthread.cpp:149
#8  0x00007f8f34702e87 in QThreadPrivate::start (arg=0x26c9b60) at thread/qthread_unix.cpp:345
#9  0x000000348c207f33 in start_thread (arg=0x7f8ef27f4700) at pthread_create.c:309
#10 0x000000348b6f4ded in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 7 (Thread 0x7f8ef17f3700 (LWP 1874)):
#0  0x000000348b6ea9dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x000000348d6495b4 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#2  0x000000348d6496dc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f8f34993fdd in QEventDispatcherGlib::processEvents (this=0x7f8ee80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:428
#4  0x00007f8f3491a3a6 in QEventLoop::processEvents (this=0x7f8ef17f2c60, flags=...) at kernel/qeventloop.cpp:136
#5  0x00007f8f3491a67f in QEventLoop::exec (this=0x7f8ef17f2c60, flags=...) at kernel/qeventloop.cpp:212
#6  0x00007f8f346fba9a in QThread::exec (this=0x27c7fa0) at thread/qthread.cpp:511
#7  0x00007f8f38ec6a09 in QQmlThreadPrivate::run (this=0x27c7fa0) at qml/ftw/qqmlthread.cpp:149
#8  0x00007f8f34702e87 in QThreadPrivate::start (arg=0x27c7fa0) at thread/qthread_unix.cpp:345
#9  0x000000348c207f33 in start_thread (arg=0x7f8ef17f3700) at pthread_create.c:309
#10 0x000000348b6f4ded in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 6 (Thread 0x7f8ee3fff700 (LWP 1875)):
#0  0x000000348b6ea9dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x000000348d6495b4 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#2  0x000000348d6496dc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f8f34993fdd in QEventDispatcherGlib::processEvents (this=0x7f8edc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:428
#4  0x00007f8f3491a3a6 in QEventLoop::processEvents (this=0x7f8ee3ffec60, flags=...) at kernel/qeventloop.cpp:136
#5  0x00007f8f3491a67f in QEventLoop::exec (this=0x7f8ee3ffec60, flags=...) at kernel/qeventloop.cpp:212
#6  0x00007f8f346fba9a in QThread::exec (this=0x28a3ba0) at thread/qthread.cpp:511
#7  0x00007f8f38ec6a09 in QQmlThreadPrivate::run (this=0x28a3ba0) at qml/ftw/qqmlthread.cpp:149
#8  0x00007f8f34702e87 in QThreadPrivate::start (arg=0x28a3ba0) at thread/qthread_unix.cpp:345
#9  0x000000348c207f33 in start_thread (arg=0x7f8ee3fff700) at pthread_create.c:309
#10 0x000000348b6f4ded in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7f8ee2ffe700 (LWP 1876)):
#0  0x000000348b6ea9dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x000000348d6495b4 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#2  0x000000348d6496dc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f8f34993fdd in QEventDispatcherGlib::processEvents (this=0x7f8ed40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:428
#4  0x00007f8f3491a3a6 in QEventLoop::processEvents (this=0x7f8ee2ffdc60, flags=...) at kernel/qeventloop.cpp:136
#5  0x00007f8f3491a67f in QEventLoop::exec (this=0x7f8ee2ffdc60, flags=...) at kernel/qeventloop.cpp:212
#6  0x00007f8f346fba9a in QThread::exec (this=0x297ffe0) at thread/qthread.cpp:511
#7  0x00007f8f38ec6a09 in QQmlThreadPrivate::run (this=0x297ffe0) at qml/ftw/qqmlthread.cpp:149
#8  0x00007f8f34702e87 in QThreadPrivate::start (arg=0x297ffe0) at thread/qthread_unix.cpp:345
#9  0x000000348c207f33 in start_thread (arg=0x7f8ee2ffe700) at pthread_create.c:309
#10 0x000000348b6f4ded in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7f8ee1ffd700 (LWP 1877)):
#0  0x000000348b6ea9dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x000000348d6495b4 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#2  0x000000348d6496dc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f8f34993fbd in QEventDispatcherGlib::processEvents (this=0x7f8ed80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f8f3491a3a6 in QEventLoop::processEvents (this=0x7f8ee1ffcc60, flags=...) at kernel/qeventloop.cpp:136
#5  0x00007f8f3491a67f in QEventLoop::exec (this=0x7f8ee1ffcc60, flags=...) at kernel/qeventloop.cpp:212
#6  0x00007f8f346fba9a in QThread::exec (this=0x2a3bbf0) at thread/qthread.cpp:511
#7  0x00007f8f38ec6a09 in QQmlThreadPrivate::run (this=0x2a3bbf0) at qml/ftw/qqmlthread.cpp:149
#8  0x00007f8f34702e87 in QThreadPrivate::start (arg=0x2a3bbf0) at thread/qthread_unix.cpp:345
#9  0x000000348c207f33 in start_thread (arg=0x7f8ee1ffd700) at pthread_create.c:309
#10 0x000000348b6f4ded in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f8f12b38700 (LWP 1883)):
#0  0x000000348b6ea9dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x000000348d6495b4 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#2  0x000000348d6496dc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f8f34993fbd in QEventDispatcherGlib::processEvents (this=0x7f8f04032630, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f8f3491a3a6 in QEventLoop::processEvents (this=0x7f8f12b37c60, flags=...) at kernel/qeventloop.cpp:136
#5  0x00007f8f3491a67f in QEventLoop::exec (this=0x7f8f12b37c60, flags=...) at kernel/qeventloop.cpp:212
#6  0x00007f8f346fba9a in QThread::exec (this=0x2f18410) at thread/qthread.cpp:511
#7  0x00007f8f38ec6a09 in QQmlThreadPrivate::run (this=0x2f18410) at qml/ftw/qqmlthread.cpp:149
#8  0x00007f8f34702e87 in QThreadPrivate::start (arg=0x2f18410) at thread/qthread_unix.cpp:345
#9  0x000000348c207f33 in start_thread (arg=0x7f8f12b38700) at pthread_create.c:309
#10 0x000000348b6f4ded in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f8f10bf1700 (LWP 1884)):
#0  0x000000348b6ea9dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x000000348d6495b4 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#2  0x000000348d6496dc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f8f34993fdd in QEventDispatcherGlib::processEvents (this=0x7f8f08002c10, flags=...) at kernel/qeventdispatcher_glib.cpp:428
#4  0x00007f8f3491a3a6 in QEventLoop::processEvents (this=0x7f8f10bf0bf0, flags=...) at kernel/qeventloop.cpp:136
#5  0x00007f8f3491a67f in QEventLoop::exec (this=0x7f8f10bf0bf0, flags=...) at kernel/qeventloop.cpp:212
#6  0x00007f8f346fba9a in QThread::exec (this=0x22cc660) at thread/qthread.cpp:511
#7  0x00007f8f3c4d537a in QQuickPixmapReader::run (this=0x22cc660) at util/qquickpixmapcache.cpp:688
#8  0x00007f8f34702e87 in QThreadPrivate::start (arg=0x22cc660) at thread/qthread_unix.cpp:345
#9  0x000000348c207f33 in start_thread (arg=0x7f8f10bf1700) at pthread_create.c:309
#10 0x000000348b6f4ded in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f8f32044900 (LWP 1841)):
[KCrash Handler]
#6  0x000000348b635c39 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7  0x000000348b637348 in __GI_abort () at abort.c:89
#8  0x00007f8f346f00d2 in qt_message_fatal (context=..., message=...) at global/qlogging.cpp:1364
#9  0x00007f8f346edcc2 in QMessageLogger::fatal (this=0x7ffff3e1def0, msg=0x7f8f349f3138 "ASSERT: \"%s\" in file %s, line %d") at global/qlogging.cpp:669
#10 0x00007f8f346e83b0 in qt_assert (assertion=0x4bb2f8 "!d->screenConfiguration->primaryOutput() || d->views.isEmpty() || outputToScreen(d->screenConfiguration->primaryOutput()) == d->views.first()->screen()", file=0x4bb188 "/home/sho/devel/src/kde/workspace/plasma-workspace/shell/shellcorona.cpp", line=363) at global/qglobal.cpp:2127
#11 0x000000000047eedd in ShellCorona::screenInvariants (this=0x1ae0ce0) at /home/sho/devel/src/kde/workspace/plasma-workspace/shell/shellcorona.cpp:363
#12 0x00000000004810f1 in ShellCorona::addOutput (this=0x1ae0ce0, output=0x1cfe0b0) at /home/sho/devel/src/kde/workspace/plasma-workspace/shell/shellcorona.cpp:666
#13 0x000000000047e45d in ShellCorona::load (this=0x1ae0ce0) at /home/sho/devel/src/kde/workspace/plasma-workspace/shell/shellcorona.cpp:309
#14 0x000000000047dbcf in ShellCorona::setShell (this=0x1ae0ce0, shell=...) at /home/sho/devel/src/kde/workspace/plasma-workspace/shell/shellcorona.cpp:248
#15 0x0000000000494048 in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString const&>, void, void (ShellCorona::*)(QString const&)>::call (f=(void (ShellCorona::*)(ShellCorona * const, const QString &)) 0x47d972 <ShellCorona::setShell(QString const&)>, o=0x1ae0ce0, arg=0x7ffff3e1e6b0) at /home/sho/devel/src/qt5/qtbase/src/corelib/kernel/qobjectdefs_impl.h:508
#16 0x0000000000493d6b in QtPrivate::FunctionPointer<void (ShellCorona::*)(QString const&)>::call<QtPrivate::List<QString const&>, void> (f=(void (ShellCorona::*)(ShellCorona * const, const QString &)) 0x47d972 <ShellCorona::setShell(QString const&)>, o=0x1ae0ce0, arg=0x7ffff3e1e6b0) at /home/sho/devel/src/qt5/qtbase/src/corelib/kernel/qobjectdefs_impl.h:527
#17 0x00000000004939d5 in QtPrivate::QSlotObject<void (ShellCorona::*)(QString const&), QtPrivate::List<QString const&>, void>::impl (which=1, this_=0x1b87d30, r=0x1ae0ce0, a=0x7ffff3e1e6b0, ret=0x0) at /home/sho/devel/src/qt5/qtbase/src/corelib/kernel/qobject_impl.h:151
#18 0x00007f8f34961f6d in QtPrivate::QSlotObjectBase::call (this=0x1b87d30, r=0x1ae0ce0, a=0x7ffff3e1e6b0) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:132
#19 0x00007f8f3495f1d3 in QMetaObject::activate (sender=0x1b49e80, signalOffset=3, local_signal_index=0, argv=0x7ffff3e1e6b0) at kernel/qobject.cpp:3666
#20 0x00007f8f3495eaee in QMetaObject::activate (sender=0x1b49e80, m=0x6e1a00 <ShellManager::staticMetaObject>, local_signal_index=0, argv=0x7ffff3e1e6b0) at kernel/qobject.cpp:3546
#21 0x00000000004b4a15 in ShellManager::shellChanged (this=0x1b49e80, _t1=...) at /home/sho/devel/build/kde/workspace/plasma-workspace/shell/moc_shellmanager.cpp:155
#22 0x0000000000492478 in ShellManager::updateShell (this=0x1b49e80) at /home/sho/devel/src/kde/workspace/plasma-workspace/shell/shellmanager.cpp:231
#23 0x0000000000491caf in ShellManager::loadHandlers (this=0x1b49e80) at /home/sho/devel/src/kde/workspace/plasma-workspace/shell/shellmanager.cpp:129
#24 0x00000000004b484a in ShellManager::qt_static_metacall (_o=0x1b49e80, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x1b90c20) at /home/sho/devel/build/kde/workspace/plasma-workspace/shell/moc_shellmanager.cpp:99
#25 0x00007f8f34957a8b in QMetaCallEvent::placeMetaCall (this=0x1b31700, object=0x1b49e80) at kernel/qobject.cpp:487
#26 0x00007f8f34958ab8 in QObject::event (this=0x1b49e80, e=0x1b31700) at kernel/qobject.cpp:1241
#27 0x00007f8f357777be in QApplicationPrivate::notify_helper (this=0x1a712b0, receiver=0x1b49e80, e=0x1b31700) at kernel/qapplication.cpp:3522
#28 0x00007f8f35774f50 in QApplication::notify (this=0x7ffff3e1f8e0, receiver=0x1b49e80, e=0x1b31700) at kernel/qapplication.cpp:2975
#29 0x00007f8f3491d688 in QCoreApplication::notifyInternal (this=0x7ffff3e1f8e0, receiver=0x1b49e80, event=0x1b31700) at kernel/qcoreapplication.cpp:935
#30 0x00007f8f349212b1 in QCoreApplication::sendEvent (receiver=0x1b49e80, event=0x1b31700) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:237
#31 0x00007f8f3491e99f in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1a667e0) at kernel/qcoreapplication.cpp:1539
#32 0x00007f8f3491e350 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1397
#33 0x00007f8f3499381c in postEventSourceDispatch (s=0x1ac2190) at kernel/qeventdispatcher_glib.cpp:279
#34 0x000000348d6492a6 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#35 0x000000348d649628 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#36 0x000000348d6496dc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#37 0x00007f8f34993fbd in QEventDispatcherGlib::processEvents (this=0x1aa2550, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#38 0x00007f8f2b86f702 in QPAEventDispatcherGlib::processEvents (this=0x1aa2550, flags=...) at eventdispatchers/qeventdispatcher_glib.cpp:123
#39 0x00007f8f3491a3a6 in QEventLoop::processEvents (this=0x7ffff3e1f7a0, flags=...) at kernel/qeventloop.cpp:136
#40 0x00007f8f3491a67f in QEventLoop::exec (this=0x7ffff3e1f7a0, flags=...) at kernel/qeventloop.cpp:212
#41 0x00007f8f3491dd43 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1188
#42 0x00007f8f34eef48a in QGuiApplication::exec () at kernel/qguiapplication.cpp:1446
#43 0x00007f8f3577477d in QApplication::exec () at kernel/qapplication.cpp:2767
#44 0x00000000004603d3 in main (argc=3, argv=0x7ffff3e1fd28) at /home/sho/devel/src/kde/workspace/plasma-workspace/shell/main.cpp:106


Reproducible: Always
Comment 1 Eike Hein 2014-06-29 11:28:35 UTC
Environment info:

- Single-screen.
- nVidia.
- Qt 5.3 branch, up-to-date.
- All KDE stuff up-to-date as well.
Comment 2 Aleix Pol 2014-06-29 23:28:30 UTC
Do you have a primary screen set? you can check that by calling "xrandr -q"
Comment 3 Eike Hein 2014-06-30 10:51:12 UTC
Interestingly, no:

Screen 0: minimum 8 x 8, current 1920 x 1200, maximum 16384 x 16384
DVI-I-0 disconnected primary (normal left inverted right x axis y axis)
DVI-I-1 connected 1920x1200+0+0 (normal left inverted right x axis y axis) 546mm x 352mm
   1920x1200     59.95*+
   1920x1080     60.00  
   1680x1050     59.95  
   1600x1200     60.00  
   1440x900      59.89  
   1280x1024     75.02    60.02  
   1280x960      60.00  
   1152x864      75.00  
   1024x768      75.03    70.07    60.00  
   800x600       75.00    72.19    60.32    56.25  
   640x480       75.00    72.81    59.94  
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-0 disconnected (normal left inverted right x axis y axis)
DVI-D-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)

No clue how things wound up in that configuration, but I'm guessing we shouldn't crash?
Comment 4 Aleix Pol 2014-06-30 11:31:22 UTC
well, you're hitting an assert because your set up is different to what I expected when I did the current implementation. I bet the problem you're having is that we're pulling the primary screen, which is disabled at the moment.

I'll try to fix the crash.
Comment 5 Aleix Pol 2014-06-30 11:45:54 UTC
Git commit a85ff6036fac76840825e81cf0e85e9e08903fe4 by Aleix Pol.
Committed on 30/06/2014 at 11:41.
Pushed by apol into branch 'master'.

Take into account that the primary screen might not be connected

Yay for safe API's!

M  +4    -3    shell/shellcorona.cpp

http://commits.kde.org/plasma-workspace/a85ff6036fac76840825e81cf0e85e9e08903fe4
Comment 6 Aleix Pol 2014-06-30 11:46:29 UTC
Can you give it a try? I couldn't get my disabled screen as primary.
Comment 7 Eike Hein 2014-06-30 11:50:35 UTC
Tested, fixed!

For the curious, test instructions: When you use the KDE 4 KScreen KCM (maybe the new one does the trick too, didn't try) there's a "Toggle Primary" button on the monitor delegate. Explicitly toggling it on and off and hitting "Apply" results in the "Disconnected primary" state.