Bug 359234 - Plasma crasch when disabling and enabling laptop monitor when two external monitors are connected
Summary: Plasma crasch when disabling and enabling laptop monitor when two external mo...
Status: RESOLVED DUPLICATE of bug 351777
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.5.4
Platform: openSUSE Linux
: NOR crash
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-02-10 13:40 UTC by Mikael Steen Springer
Modified: 2016-02-11 09:20 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mikael Steen Springer 2016-02-10 13:40:35 UTC
Application: plasmashell (5.5.4)

Qt Version: 5.5.1
Operating System: Linux 4.1.15-8-default x86_64
Distribution: "openSUSE Leap 42.1 (x86_64)"

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

Using nvidia-settings I tried to disable my laptop monitor since I only want to use the two external monitors attached to the laptop at this time. This failed, producing weird problems where one of the external monitors and the laptop monitor went black and the primary desktop moved to the remaining monitor. When I choose to cancel this setup in the nvidia-settings tool Plasma crasched.

On the whole, Plasma 5 does not work well with multiple external monitors on my laptop (a dell precision with an nvidia card). It is more or less impossible to configure the system to use the two external monitors when docked and turn of the laptop monitor. I have managed to succeed once but after a Plasma chrash I cannot get it to work again.

I have KDE, Gnome 3 and XFCE installed on the same laptop. Gnome and XFCE both manage to configure the monitors correctly (turning of the laptop monitor and turning on the two external monitors, when docked).

This used to work fine in KDE 4.

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 0x7fb234faf800 (LWP 1876))]

Thread 17 (Thread 0x7fb21d12e700 (LWP 1881)):
#0  0x00007fb22e4cac1d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fb233411422 in  () at /usr/lib64/libxcb.so.1
#2  0x00007fb23341300f in xcb_wait_for_event () at /usr/lib64/libxcb.so.1
#3  0x00007fb21f8b13c9 in  () at /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007fb22ebc232f in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007fb22dcd40a4 in start_thread (arg=0x7fb21d12e700) at pthread_create.c:309
#6  0x00007fb22e4d304d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 16 (Thread 0x7fb215fe5700 (LWP 1901)):
#0  0x00007fb22e4cac1d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fb22ababe64 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007fb22ababf7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007fb22edf4d8b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007fb22ed9bd53 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007fb22ebbd61a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007fb231ecfdf8 in  () at /usr/lib64/libQt5Qml.so.5
#7  0x00007fb22ebc232f in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007fb22dcd40a4 in start_thread (arg=0x7fb215fe5700) at pthread_create.c:309
#9  0x00007fb22e4d304d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 15 (Thread 0x7fb209f67700 (LWP 1997)):
#0  0x00007fb22dcda7bc in __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
#1  0x00007fb22dcd64a4 in _L_lock_986 () at /lib64/libpthread.so.0
#2  0x00007fb22dcd6306 in __GI___pthread_mutex_lock (mutex=0x7fb22a2605d0) at ../nptl/pthread_mutex_lock.c:114
#3  0x00007fb229fe1fcc in  () at /usr/X11R6/lib64/libGL.so.1
#4  0x00007fb229fe6b11 in  () at /usr/X11R6/lib64/libGL.so.1
#5  0x00007fb229fe6fbb in  () at /usr/X11R6/lib64/libGL.so.1
#6  0x00007fb22667fff0 in  () at /usr/lib64/tls/libnvidia-tls.so.352.79
#7  0x00007fb22abecb60 in  () at /usr/lib64/libglib-2.0.so.0
#8  0x00007fb22abab999 in g_main_context_check () at /usr/lib64/libglib-2.0.so.0
#9  0x00007fb22ababdf8 in  () at /usr/lib64/libglib-2.0.so.0
#10 0x00007fb22ababf7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#11 0x00007fb22edf4d8b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#12 0x00007fb22ed9bd53 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#13 0x00007fb22ebbd61a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#14 0x00007fb231ecfdf8 in  () at /usr/lib64/libQt5Qml.so.5
#15 0x00007fb22ebc232f in  () at /usr/lib64/libQt5Core.so.5
#16 0x00007fb22dcd40a4 in start_thread (arg=0x7fb209f67700) at pthread_create.c:309
#17 0x00007fb22e4d304d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 14 (Thread 0x7fb203fff700 (LWP 2024)):
#0  0x00007fb22ebbabfa in QMutex::lock() () at /usr/lib64/libQt5Core.so.5
#1  0x00007fb22edf4cb5 in  () at /usr/lib64/libQt5Core.so.5
#2  0x00007fb22abab4ad in g_main_context_prepare () at /usr/lib64/libglib-2.0.so.0
#3  0x00007fb22ababd80 in  () at /usr/lib64/libglib-2.0.so.0
#4  0x00007fb22ababf7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#5  0x00007fb22edf4d8b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#6  0x00007fb22ed9bd53 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#7  0x00007fb22ebbd61a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#8  0x00007fb231ecfdf8 in  () at /usr/lib64/libQt5Qml.so.5
#9  0x00007fb22ebc232f in  () at /usr/lib64/libQt5Core.so.5
#10 0x00007fb22dcd40a4 in start_thread (arg=0x7fb203fff700) at pthread_create.c:309
#11 0x00007fb22e4d304d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 13 (Thread 0x7fb202bed700 (LWP 2037)):
#0  0x00007fb22dcd805f in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fb23469686b in  () at /usr/lib64/libQt5Script.so.5
#2  0x00007fb234696899 in  () at /usr/lib64/libQt5Script.so.5
#3  0x00007fb22dcd40a4 in start_thread (arg=0x7fb202bed700) at pthread_create.c:309
#4  0x00007fb22e4d304d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 12 (Thread 0x7fb1fbfff700 (LWP 2067)):
#0  0x00007fb22e4c6ced in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fb22667ff75 in  () at /usr/lib64/tls/libnvidia-tls.so.352.79
#2  0x00007fb22abecb60 in  () at /usr/lib64/libglib-2.0.so.0
#3  0x00007fb22abab999 in g_main_context_check () at /usr/lib64/libglib-2.0.so.0
#4  0x00007fb22ababdf8 in  () at /usr/lib64/libglib-2.0.so.0
#5  0x00007fb22ababf7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#6  0x00007fb22edf4d8b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#7  0x00007fb22ed9bd53 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#8  0x00007fb22ebbd61a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#9  0x00007fb232a68282 in  () at /usr/lib64/libQt5Quick.so.5
#10 0x00007fb22ebc232f in  () at /usr/lib64/libQt5Core.so.5
#11 0x00007fb22dcd40a4 in start_thread (arg=0x7fb1fbfff700) at pthread_create.c:309
#12 0x00007fb22e4d304d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 11 (Thread 0x7fb1f9100700 (LWP 2073)):
#0  0x00007fb22dcd805f in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fb22ebc334b in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#2  0x00007fb232adb25b in  () at /usr/lib64/libQt5Quick.so.5
#3  0x00007fb232adb6f3 in  () at /usr/lib64/libQt5Quick.so.5
#4  0x00007fb22ebc232f in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007fb22dcd40a4 in start_thread (arg=0x7fb1f9100700) at pthread_create.c:309
#6  0x00007fb22e4d304d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 10 (Thread 0x7fb16cffe700 (LWP 2134)):
#0  0x00007fb22dcd805f in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fb22ebc334b in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#2  0x00007fb232adb25b in  () at /usr/lib64/libQt5Quick.so.5
#3  0x00007fb232adb6f3 in  () at /usr/lib64/libQt5Quick.so.5
#4  0x00007fb22ebc232f in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007fb22dcd40a4 in start_thread (arg=0x7fb16cffe700) at pthread_create.c:309
#6  0x00007fb22e4d304d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 9 (Thread 0x7fb14b25b700 (LWP 2205)):
#0  0x00007fb22abedcf9 in g_mutex_lock () at /usr/lib64/libglib-2.0.so.0
#1  0x00007fb22abab387 in g_main_context_prepare () at /usr/lib64/libglib-2.0.so.0
#2  0x00007fb22ababd80 in  () at /usr/lib64/libglib-2.0.so.0
#3  0x00007fb22ababf7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#4  0x00007fb22edf4d8b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007fb22ed9bd53 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#6  0x00007fb22ebbd61a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#7  0x00007fb14c8a8cf7 in KCupsConnection::run() () at /usr/lib64/libkcupslib.so
#8  0x00007fb22ebc232f in  () at /usr/lib64/libQt5Core.so.5
#9  0x00007fb22dcd40a4 in start_thread (arg=0x7fb14b25b700) at pthread_create.c:309
#10 0x00007fb22e4d304d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 8 (Thread 0x7fb14a528700 (LWP 2210)):
#0  0x00007fb22dcd805f in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fb22ebc334b in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#2  0x00007fb232adb25b in  () at /usr/lib64/libQt5Quick.so.5
#3  0x00007fb232adb6f3 in  () at /usr/lib64/libQt5Quick.so.5
#4  0x00007fb22ebc232f in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007fb22dcd40a4 in start_thread (arg=0x7fb14a528700) at pthread_create.c:309
#6  0x00007fb22e4d304d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 7 (Thread 0x7fb142743700 (LWP 2433)):
#0  0x00007fb22dcd805f in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fb22ebc334b in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#2  0x00007fb232adb25b in  () at /usr/lib64/libQt5Quick.so.5
#3  0x00007fb232adb6f3 in  () at /usr/lib64/libQt5Quick.so.5
#4  0x00007fb22ebc232f in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007fb22dcd40a4 in start_thread (arg=0x7fb142743700) at pthread_create.c:309
#6  0x00007fb22e4d304d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 6 (Thread 0x7fb142f44700 (LWP 2439)):
#0  0x00007fb22dcd805f in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fb22ebc334b in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#2  0x00007fb232adb25b in  () at /usr/lib64/libQt5Quick.so.5
#3  0x00007fb232adb6f3 in  () at /usr/lib64/libQt5Quick.so.5
#4  0x00007fb22ebc232f in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007fb22dcd40a4 in start_thread (arg=0x7fb142f44700) at pthread_create.c:309
#6  0x00007fb22e4d304d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7fb141f42700 (LWP 2440)):
#0  0x00007fb22dcd805f in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fb22ebc334b in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#2  0x00007fb232adb25b in  () at /usr/lib64/libQt5Quick.so.5
#3  0x00007fb232adb6f3 in  () at /usr/lib64/libQt5Quick.so.5
#4  0x00007fb22ebc232f in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007fb22dcd40a4 in start_thread (arg=0x7fb141f42700) at pthread_create.c:309
#6  0x00007fb22e4d304d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7fb141141700 (LWP 2441)):
#0  0x00007fb22dcd805f in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fb22ebc334b in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#2  0x00007fb232adb25b in  () at /usr/lib64/libQt5Quick.so.5
#3  0x00007fb232adb6f3 in  () at /usr/lib64/libQt5Quick.so.5
#4  0x00007fb22ebc232f in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007fb22dcd40a4 in start_thread (arg=0x7fb141141700) at pthread_create.c:309
#6  0x00007fb22e4d304d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7fb126bdf700 (LWP 3584)):
#0  0x00007fb22dcd805f in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fb22ebc334b in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#2  0x00007fb232adb25b in  () at /usr/lib64/libQt5Quick.so.5
#3  0x00007fb232adb6f3 in  () at /usr/lib64/libQt5Quick.so.5
#4  0x00007fb22ebc232f in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007fb22dcd40a4 in start_thread (arg=0x7fb126bdf700) at pthread_create.c:309
#6  0x00007fb22e4d304d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7fb1263de700 (LWP 3587)):
#0  0x00007fb22dcd805f in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fb22ebc334b in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#2  0x00007fb232adb25b in  () at /usr/lib64/libQt5Quick.so.5
#3  0x00007fb232adb6f3 in  () at /usr/lib64/libQt5Quick.so.5
#4  0x00007fb22ebc232f in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007fb22dcd40a4 in start_thread (arg=0x7fb1263de700) at pthread_create.c:309
#6  0x00007fb22e4d304d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7fb234faf800 (LWP 1876)):
[KCrash Handler]
#6  0x00007fb233188be0 in Plasma::Applet::actions() const () at /usr/lib64/libKF5Plasma.so.5
#7  0x000000000045926f in ShellCorona::addOutput(QSharedPointer<KScreen::Output> const&) (this=this@entry=0xdde4b0, output=...) at /usr/src/debug/plasma-workspace-5.5.4/shell/shellcorona.cpp:901
#8  0x000000000045937d in ShellCorona::outputEnabledChanged() (this=0xdde4b0) at /usr/src/debug/plasma-workspace-5.5.4/shell/shellcorona.cpp:795
#9  0x00007fb22edcd73f in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#10 0x00007fb233e0f0b2 in KScreen::Output::apply(QSharedPointer<KScreen::Output> const&) () at /usr/lib64/libKF5Screen.so.6
#11 0x00007fb233dfe372 in KScreen::Config::apply(QSharedPointer<KScreen::Config> const&) () at /usr/lib64/libKF5Screen.so.6
#12 0x00007fb233e04033 in KScreen::ConfigMonitor::Private::updateConfigs(QSharedPointer<KScreen::Config> const&) () at /usr/lib64/libKF5Screen.so.6
#13 0x00007fb233e0607b in KScreen::ConfigMonitor::Private::edidReady(QDBusPendingCallWatcher*) () at /usr/lib64/libKF5Screen.so.6
#14 0x00007fb22edcd73f in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#15 0x00007fb22fb85caf in QDBusPendingCallWatcher::finished(QDBusPendingCallWatcher*) () at /usr/lib64/libQt5DBus.so.5
#16 0x00007fb22fb872f7 in  () at /usr/lib64/libQt5DBus.so.5
#17 0x00007fb22edceac6 in QObject::event(QEvent*) () at /usr/lib64/libQt5Core.so.5
#18 0x00007fb230116e7c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#19 0x00007fb23011bcc8 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#20 0x00007fb22ed9de95 in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#21 0x00007fb22eda0057 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQt5Core.so.5
#22 0x00007fb22edf58f3 in  () at /usr/lib64/libQt5Core.so.5
#23 0x00007fb22ababc84 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#24 0x00007fb22ababed8 in  () at /usr/lib64/libglib-2.0.so.0
#25 0x00007fb22ababf7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#26 0x00007fb22edf4d6c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#27 0x00007fb22ed9bd53 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#28 0x00007fb22eda38f6 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#29 0x0000000000436ab6 in main(int, char**) (argc=2, argv=<optimized out>) at /usr/src/debug/plasma-workspace-5.5.4/shell/main.cpp:181

Possible duplicates by query: bug 358683, bug 358491, bug 358010, bug 357910, bug 357599.

Reported using DrKonqi
Comment 1 Marco Martin 2016-02-11 09:20:25 UTC

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