Bug 366428 - Plasma crash on login with two monitors - No wallpaper on second screen, panels missing
Summary: Plasma crash on login with two monitors - No wallpaper on second screen, pane...
Status: RESOLVED DUPLICATE of bug 351507
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.7.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords: drkonqi
: 366587 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-08-04 22:08 UTC by CaffeinatedTech
Modified: 2016-08-16 12:29 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
crash log with another configuration but same effects, happens at every start up (7.04 KB, text/plain)
2016-08-06 06:38 UTC, Emmanuel Dieul
Details

Note You need to log in before you can comment on or make changes to this bug.
Description CaffeinatedTech 2016-08-04 22:08:57 UTC
Application: plasmashell (5.7.0)

Qt Version: 5.6.1
Frameworks Version: 5.24.0
Operating System: Linux 4.6.4-2-default x86_64
Distribution: "openSUSE Tumbleweed (20160625) (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
Auto-login from cold boot.  I have 1 HDMI screen (primary) and 1 DP screen.  It seems random how it will start.  

Sometimes everything is fine, sometimes DP screen is primary and all panels and widgets are on there.  I have to toggle the HDMI screen off and on with "enabled" in Display and Monitor, then set it back to Primary display, then move my "taskbar" panels back into place.

Sometimes HDMI-0 is primary as expected but DP-1 loses wallpaper and taskbar panels shift to HDMI-0 screen - This is when I get the plasma crash notice.  I have to toggle "enabled" in Display and Monitor on the DP-1 screen, then move my panels back over.

Sometimes these oddities occur after waking screens from sleep (monitors turn off after an hour due to power saving setting).

Its a tossup what will happen when I sit at my computer.

I am running OpenSuse Tumbleweed - all packages up to date as of today.

The crash can be reproduced sometimes.

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

Thread 9 (Thread 0x7f52a4a2b700 (LWP 2139)):
#0  0x00007f536c4a50a9 in g_mutex_lock (mutex=mutex@entry=0x7f52a0000990) at gthread-posix.c:1335
#1  0x00007f536c460bd6 in g_main_context_dispatch (context=context@entry=0x7f52a0000990) at gmain.c:3765
#2  0x00007f536c4610c0 in g_main_context_iterate (context=context@entry=0x7f52a0000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3840
#3  0x00007f536c46116c in g_main_context_iteration (context=0x7f52a0000990, may_block=may_block@entry=1) at gmain.c:3901
#4  0x00007f537076caeb in QEventDispatcherGlib::processEvents (this=0x7f52a00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#5  0x00007f537071476a in QEventLoop::exec (this=this@entry=0x7f52a4a2acc0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f537053a3b3 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:500
#7  0x00007f52a71a4e17 in KCupsConnection::run() () from /usr/lib64/libkcupslib.so
#8  0x00007f537053f2d8 in QThreadPrivate::start (arg=0x3797150) at thread/qthread_unix.cpp:341
#9  0x00007f536f633474 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f536fe443ed in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7f52b5e93700 (LWP 2023)):
#0  g_mutex_unlock (mutex=0x7f52b0000990) at gthread-posix.c:1347
#1  0x00007f536c46059c in g_main_context_prepare (context=context@entry=0x7f52b0000990, priority=priority@entry=0x7f52b5e92b50) at gmain.c:3440
#2  0x00007f536c460f7b in g_main_context_iterate (context=context@entry=0x7f52b0000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3820
#3  0x00007f536c46116c in g_main_context_iteration (context=0x7f52b0000990, may_block=may_block@entry=1) at gmain.c:3901
#4  0x00007f537076caeb in QEventDispatcherGlib::processEvents (this=0x7f52b00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#5  0x00007f537071476a in QEventLoop::exec (this=this@entry=0x7f52b5e92c90, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f537053a3b3 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:500
#7  0x00007f53744b0606 in ?? () from /usr/lib64/libQt5Quick.so.5
#8  0x00007f537053f2d8 in QThreadPrivate::start (arg=0x1fa4870) at thread/qthread_unix.cpp:341
#9  0x00007f536f633474 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f536fe443ed in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7f52c049b700 (LWP 1943)):
#0  0x00007f536f63909f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f534b7c14c3 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f534b7c0c07 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f536f633474 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f536fe443ed in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f5354e43700 (LWP 1940)):
#0  0x00007f536f63909f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f5375f4dfc4 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f5376237ec0 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007f5375f4e009 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007f536f633474 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f536fe443ed in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f5356b93700 (LWP 1813)):
#0  0x00007fff7e97fb1c in clock_gettime ()
#1  0x00007f536fe510a6 in clock_gettime () from /lib64/libc.so.6
#2  0x00007f53705ead96 in qt_clock_gettime (ts=0x7f5356b92a40, clock=<optimized out>) at tools/qelapsedtimer_unix.cpp:105
#3  do_gettime (frac=<synthetic pointer>, sec=<synthetic pointer>) at tools/qelapsedtimer_unix.cpp:156
#4  qt_gettime () at tools/qelapsedtimer_unix.cpp:165
#5  0x00007f537076a699 in QTimerInfoList::updateCurrentTime (this=this@entry=0x7f5344002ed0) at kernel/qtimerinfo_unix.cpp:84
#6  0x00007f537076ac45 in QTimerInfoList::timerWait (this=0x7f5344002ed0, tm=...) at kernel/qtimerinfo_unix.cpp:381
#7  0x00007f537076bfde in timerSourcePrepareHelper (timeout=0x7f5356b92b14, src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:126
#8  timerSourcePrepare (source=<optimized out>, timeout=timeout@entry=0x7f5356b92b14) at kernel/qeventdispatcher_glib.cpp:159
#9  0x00007f536c4605a9 in g_main_context_prepare (context=context@entry=0x7f5344000990, priority=priority@entry=0x7f5356b92ba0) at gmain.c:3442
#10 0x00007f536c460f7b in g_main_context_iterate (context=context@entry=0x7f5344000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3820
#11 0x00007f536c46116c in g_main_context_iteration (context=0x7f5344000990, may_block=may_block@entry=1) at gmain.c:3901
#12 0x00007f537076caeb in QEventDispatcherGlib::processEvents (this=0x7f53440008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#13 0x00007f537071476a in QEventLoop::exec (this=this@entry=0x7f5356b92ce0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#14 0x00007f537053a3b3 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:500
#15 0x00007f53739181e5 in ?? () from /usr/lib64/libQt5Qml.so.5
#16 0x00007f537053f2d8 in QThreadPrivate::start (arg=0x1970cb0) at thread/qthread_unix.cpp:341
#17 0x00007f536f633474 in start_thread () from /lib64/libpthread.so.0
#18 0x00007f536fe443ed in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f5357fff700 (LWP 1770)):
#0  0x00007f536fe37a7d in read () from /lib64/libc.so.6
#1  0x00007f536c4a3d00 in read (__nbytes=16, __buf=0x7f5357ffead0, __fd=<optimized out>) at /usr/include/bits/unistd.h:44
#2  g_wakeup_acknowledge (wakeup=0x7f53500025a0) at gwakeup.c:210
#3  0x00007f536c460b26 in g_main_context_check (context=context@entry=0x7f534c000990, max_priority=2147483647, fds=fds@entry=0x7f534c002e70, n_fds=n_fds@entry=1) at gmain.c:3632
#4  0x00007f536c460ff4 in g_main_context_iterate (context=context@entry=0x7f534c000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3837
#5  0x00007f536c46116c in g_main_context_iteration (context=0x7f534c000990, may_block=may_block@entry=1) at gmain.c:3901
#6  0x00007f537076caeb in QEventDispatcherGlib::processEvents (this=0x7f534c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#7  0x00007f537071476a in QEventLoop::exec (this=this@entry=0x7f5357ffece0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#8  0x00007f537053a3b3 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:500
#9  0x00007f53739181e5 in ?? () from /usr/lib64/libQt5Qml.so.5
#10 0x00007f537053f2d8 in QThreadPrivate::start (arg=0x18200d0) at thread/qthread_unix.cpp:341
#11 0x00007f536f633474 in start_thread () from /lib64/libpthread.so.0
#12 0x00007f536fe443ed in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f535de93700 (LWP 1744)):
#0  0x00007f536fe3ba1d in poll () from /lib64/libc.so.6
#1  0x00007f536c461056 in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f5350003020, timeout=<optimized out>, context=0x7f5350000990) at gmain.c:4135
#2  g_main_context_iterate (context=context@entry=0x7f5350000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3835
#3  0x00007f536c46116c in g_main_context_iteration (context=0x7f5350000990, may_block=may_block@entry=1) at gmain.c:3901
#4  0x00007f537076caeb in QEventDispatcherGlib::processEvents (this=0x7f53500008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#5  0x00007f537071476a in QEventLoop::exec (this=this@entry=0x7f535de92cd0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f537053a3b3 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:500
#7  0x00007f537131b9b5 in ?? () from /usr/lib64/libQt5DBus.so.5
#8  0x00007f537053f2d8 in QThreadPrivate::start (arg=0x7f537158ed20) at thread/qthread_unix.cpp:341
#9  0x00007f536f633474 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f536fe443ed in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f535fadb700 (LWP 1743)):
#0  0x00007f536fe3ba1d in poll () from /lib64/libc.so.6
#1  0x00007f5374e89410 in poll (__timeout=-1, __nfds=1, __fds=0x7f535fadac00) at /usr/include/bits/poll2.h:46
#2  _xcb_conn_wait (c=c@entry=0x175b180, cond=cond@entry=0x175b1c0, vector=vector@entry=0x0, count=count@entry=0x0) at xcb_conn.c:479
#3  0x00007f5374e8b1a9 in xcb_wait_for_event (c=0x175b180) at xcb_in.c:693
#4  0x00007f5361e807b9 in QXcbEventReader::run (this=0x176e1d0) at qxcbconnection.cpp:1325
#5  0x00007f537053f2d8 in QThreadPrivate::start (arg=0x176e1d0) at thread/qthread_unix.cpp:341
#6  0x00007f536f633474 in start_thread () from /lib64/libpthread.so.0
#7  0x00007f536fe443ed in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f537687d8c0 (LWP 1740)):
[KCrash Handler]
#6  Plasma::Applet::actions (this=this@entry=0x0) at /usr/src/debug/plasma-framework-5.24.0/src/plasma/applet.cpp:607
#7  0x0000000000441498 in ShellCorona::addOutput (this=0x1817190, screen=<optimized out>) at /usr/src/debug/plasma-workspace-5.7.0/shell/shellcorona.cpp:862
#8  0x00007f537074424c in QtPrivate::QSlotObjectBase::call (a=0x7fff7e875300, r=0x1817190, this=<optimized out>) at ../../src/corelib/kernel/qobject_impl.h:124
#9  QMetaObject::activate (sender=0x7fff7e875bf0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff7e875300) at kernel/qobject.cpp:3715
#10 0x00007f5370744757 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f53712ea300 <QGuiApplication::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff7e875300) at kernel/qobject.cpp:3595
#11 0x00007f5370c6afb2 in QGuiApplication::screenAdded (this=<optimized out>, _t1=<optimized out>) at .moc/moc_qguiapplication.cpp:353
#12 0x00007f5370c5dfbd in QPlatformIntegration::screenAdded (this=<optimized out>, ps=<optimized out>, isPrimary=<optimized out>) at kernel/qplatformintegration.cpp:457
#13 0x00007f5361e80b79 in QXcbConnection::createScreen (this=this@entry=0x17599c0, virtualDesktop=virtualDesktop@entry=0x176eae0, outputChange=..., outputInfo=outputInfo@entry=0x7f535800c5d0) at qxcbconnection.cpp:346
#14 0x00007f5361e81f4d in QXcbConnection::updateScreens (this=this@entry=0x17599c0, event=event@entry=0x28f68c0) at qxcbconnection.cpp:258
#15 0x00007f5361e82c6b in QXcbConnection::handleXcbEvent (this=this@entry=0x17599c0, event=event@entry=0x28f68c0) at qxcbconnection.cpp:1232
#16 0x00007f5361e8312b in QXcbConnection::processXcbEvents (this=0x17599c0) at qxcbconnection.cpp:1723
#17 0x00007f5370744cf9 in QObject::event (this=0x17599c0, e=<optimized out>) at kernel/qobject.cpp:1256
#18 0x00007f53716f7aec in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x17599c0, e=0x7f5358003ac0) at kernel/qapplication.cpp:3804
#19 0x00007f53716fcf8f in QApplication::notify (this=0x7fff7e875bf0, receiver=0x17599c0, e=0x7f5358003ac0) at kernel/qapplication.cpp:3561
#20 0x00007f5370716a20 in QCoreApplication::notifyInternal2 (receiver=0x17599c0, event=event@entry=0x7f5358003ac0) at kernel/qcoreapplication.cpp:1015
#21 0x00007f537071899c in QCoreApplication::sendEvent (event=0x7f5358003ac0, receiver=<optimized out>) at kernel/qcoreapplication.h:225
#22 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x173f7f0) at kernel/qcoreapplication.cpp:1650
#23 0x00007f5370718e58 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1508
#24 0x00007f537076c6c3 in postEventSourceDispatch (s=0x17a6620) at kernel/qeventdispatcher_glib.cpp:270
#25 0x00007f536c460e57 in g_main_dispatch (context=0x7f53580016f0) at gmain.c:3154
#26 g_main_context_dispatch (context=context@entry=0x7f53580016f0) at gmain.c:3769
#27 0x00007f536c4610c0 in g_main_context_iterate (context=context@entry=0x7f53580016f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3840
#28 0x00007f536c46116c in g_main_context_iteration (context=0x7f53580016f0, may_block=may_block@entry=1) at gmain.c:3901
#29 0x00007f537076cacf in QEventDispatcherGlib::processEvents (this=0x17aeca0, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#30 0x00007f537071476a in QEventLoop::exec (this=this@entry=0x7fff7e875a80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#31 0x00007f537071cf6c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1285
#32 0x00007f5370c6cb6c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1607
#33 0x00007f53716f4b25 in QApplication::exec () at kernel/qapplication.cpp:2979
#34 0x000000000041dd5f in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/plasma-workspace-5.7.0/shell/main.cpp:166

Possible duplicates by query: bug 365271, bug 364613, bug 364172, bug 363556, bug 363142.

Reported using DrKonqi
Comment 1 Emmanuel Dieul 2016-08-06 06:38:08 UTC
Created attachment 100476 [details]
crash log with another configuration but same effects, happens at every start up

Reproduced every time plasma starts up. Configuration: lenovo yoga 700 (integrated display) and asus vc279 (micro HDMI display).

At start up, despite the HDMI display is the primary display, only the integrated display contains a background and main panel. The HDMI display remains black. However, I can see the mouse pointer on the HDMI display but the mouse only goes up to the middle of the screen. This behaviour is systematic.

To restore the correct configuration, I have to unplug the HDMI display and to plug it again. Just after the plug, the HDMI display gets the background and the main panel moves to the HDMI display. The crash happens during the plug (or just after it).

Hope it helps for a fix!
Comment 2 Emmanuel Dieul 2016-08-09 16:37:05 UTC
Concerning the second screen (the black one with no background wallpaper), precisely, the mouse can be shown on the whole screen.
Windows too but they must not be fully on the second screen (there must be at least one part of the window on the screen with the background wallpaper). Otherwise, they disappear.
Comment 3 David Edmundson 2016-08-16 10:32:00 UTC

*** This bug has been marked as a duplicate of bug 351507 ***
Comment 4 Marco Martin 2016-08-16 12:29:15 UTC
*** Bug 366587 has been marked as a duplicate of this bug. ***