Bug 372385

Summary: Plasma crashes toggling between enabled state for second black monitor
Product: [Plasma] plasmashell Reporter: Exceptione <exceptione>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: crash CC: bhush94, plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.8.3   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Exceptione 2016-11-12 12:46:18 UTC
Application: plasmashell (5.8.3)

Qt Version: 5.7.0
Frameworks Version: 5.27.0
Operating System: Linux 4.4.31-1-MANJARO x86_64
Distribution: "Manjaro Linux"

-- Information about the crash:
- What I was doing when the application crashed:

The second monitor was black after logon, so no background wallpaper was shown. In earlier editions it helped to replug the cable of that monitor.
Now this fix doesn't work anymore. 
I did: in system settings, disable second black monitor. Enable it again. Now KDE wil put both the primary monitor and the secondory monitor on top of each other.

I can rearrange the monitors. But I get a message that plasma has crashed.

- Additional information

My .xprofile for the secondary monitor is:

xrandr --newmode "2560x1440_60" 239.56 2560 2608 2640 2720 1440 1443 1448 1468 -hsync -vsync 
xrandr --addmode HDMI1 2560x1440_60  
xrandr --output HDMI1 --mode "2560x1440_60"

The distro is Manjaro.

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

Thread 7 (Thread 0x7f3b9f6a2700 (LWP 1039)):
#0  0x00007f3c659d948d in poll () at /usr/lib/libc.so.6
#1  0x00007f3c60ca1786 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f3c60ca189c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007f3c662fb72b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f3c662a523a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f3c660c80f3 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007f3ba1bce0a7 in KCupsConnection::run() () at /usr/lib/libkcupslib.so
#7  0x00007f3c660ccd78 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007f3c651dc454 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007f3c659e27df in clone () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7f3bb404f700 (LWP 1032)):
#0  0x00007f3c659d54ed in read () at /usr/lib/libc.so.6
#1  0x00007f3c60ce5a10 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f3c60ca1235 in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#3  0x00007f3c60ca1724 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007f3c60ca189c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#5  0x00007f3c662fb72b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007f3c662a523a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#7  0x00007f3c660c80f3 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#8  0x00007f3c69fca856 in  () at /usr/lib/libQt5Quick.so.5
#9  0x00007f3c660ccd78 in  () at /usr/lib/libQt5Core.so.5
#10 0x00007f3c651dc454 in start_thread () at /usr/lib/libpthread.so.0
#11 0x00007f3c659e27df in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7f3c469d4700 (LWP 1031)):
#0  0x00007f3c651e210f in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f3c6ba5aac4 in  () at /usr/lib/libQt5Script.so.5
#2  0x00007f3c6ba5ab09 in  () at /usr/lib/libQt5Script.so.5
#3  0x00007f3c651dc454 in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f3c659e27df in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7f3c47fff700 (LWP 1026)):
#0  0x00007f3c659d948d in poll () at /usr/lib/libc.so.6
#1  0x00007f3c60ca1786 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f3c60ca189c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007f3c662fb72b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f3c662a523a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f3c660c80f3 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007f3c6942b2d5 in  () at /usr/lib/libQt5Qml.so.5
#7  0x00007f3c660ccd78 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007f3c651dc454 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007f3c659e27df in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7f3c4e11b700 (LWP 1023)):
#0  0x00007f3c659d54ed in read () at /usr/lib/libc.so.6
#1  0x00007f3c60ce5a10 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f3c60ca1235 in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#3  0x00007f3c60ca1724 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007f3c60ca189c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#5  0x00007f3c662fb72b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007f3c662a523a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#7  0x00007f3c660c80f3 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#8  0x00007f3c6942b2d5 in  () at /usr/lib/libQt5Qml.so.5
#9  0x00007f3c660ccd78 in  () at /usr/lib/libQt5Core.so.5
#10 0x00007f3c651dc454 in start_thread () at /usr/lib/libpthread.so.0
#11 0x00007f3c659e27df in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7f3c4fb63700 (LWP 952)):
#0  0x00007f3c659d948d in poll () at /usr/lib/libc.so.6
#1  0x00007f3c60ca1786 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f3c60ca189c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007f3c662fb72b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f3c662a523a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f3c660c80f3 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007f3c66e48e55 in  () at /usr/lib/libQt5DBus.so.5
#7  0x00007f3c660ccd78 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007f3c651dc454 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007f3c659e27df in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7f3c6c2c9800 (LWP 902)):
[KCrash Handler]
#6  0x00007f3c6a04b5c4 in QQuickItem::isEnabled() const () at /usr/lib/libQt5Quick.so.5
#7  0x00007f3c6a06835c in QQuickWindowPrivate::setFocusInScope(QQuickItem*, QQuickItem*, Qt::FocusReason, QFlags<QQuickWindowPrivate::FocusOption>) () at /usr/lib/libQt5Quick.so.5
#8  0x00007f3c6a04d3c8 in QQuickItem::setFocus(bool, Qt::FocusReason) () at /usr/lib/libQt5Quick.so.5
#9  0x00007f3c6a060ad0 in QQuickWindow::focusInEvent(QFocusEvent*) () at /usr/lib/libQt5Quick.so.5
#10 0x00007f3c66800fe3 in QWindow::event(QEvent*) () at /usr/lib/libQt5Gui.so.5
#11 0x00007f3c6a06e883 in QQuickWindow::event(QEvent*) () at /usr/lib/libQt5Quick.so.5
#12 0x000000000042ce8d in  ()
#13 0x00007f3c67211e0c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#14 0x00007f3c67219581 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#15 0x00007f3c662a6de0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#16 0x00007f3c667f6be9 in QGuiApplicationPrivate::processActivatedEvent(QWindowSystemInterfacePrivate::ActivatedWindowEvent*) () at /usr/lib/libQt5Gui.so.5
#17 0x00007f3c667f6f6d in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /usr/lib/libQt5Gui.so.5
#18 0x00007f3c667d4cab in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Gui.so.5
#19 0x00007f3c576782f0 in  () at /usr/lib/libQt5XcbQpa.so.5
#20 0x00007f3c60ca1587 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#21 0x00007f3c60ca17f0 in  () at /usr/lib/libglib-2.0.so.0
#22 0x00007f3c60ca189c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#23 0x00007f3c662fb70f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#24 0x00007f3c662a523a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#25 0x00007f3c662ad73c in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#26 0x000000000041c8b2 in  ()
#27 0x00007f3c6591a291 in __libc_start_main () at /usr/lib/libc.so.6
#28 0x000000000041cc3a in _start ()

Possible duplicates by query: bug 372274, bug 372271, bug 371936, bug 371789, bug 371743.

Reported using DrKonqi
Comment 1 David Edmundson 2016-11-14 11:07:36 UTC
thanks

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