Bug 351180 - plasma crash after activating second monitor using xrandr
Summary: plasma crash after activating second monitor using xrandr
Status: RESOLVED DUPLICATE of bug 341497
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.3.2
Platform: openSUSE Linux
: NOR crash
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords: drkonqi, triaged
Depends on:
Blocks:
 
Reported: 2015-08-11 07:04 UTC by Andy
Modified: 2021-02-08 19:25 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
stacktrace with debug symbols (17.03 KB, text/plain)
2015-08-12 06:27 UTC, Andy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andy 2015-08-11 07:04:50 UTC
Application: plasmashell (5.3.2)

Qt Version: 5.4.2
Operating System: Linux 4.1.4-1.ga37e14f-desktop x86_64
Distribution: "openSUSE 20150807 (Tumbleweed) (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
Try to switch from the built-in LVDS1 notebook display to an external monitor that is connected via a docking station that extends the internal HDMI2 port.

xrandr --output HDMI2 --auto --primary --output LVDS1 --auto

The crash is reproducible and occures regardles which render engine (openGL, xrender) is used. 

BTW: This worked flawlessly with plasma 4!

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

Thread 15 (Thread 0x7f7b775ea700 (LWP 6498)):
#0  0x00007f7b875b1fbd in poll () at /lib64/libc.so.6
#1  0x00007f7b8c3e2332 in  () at /usr/lib64/libxcb.so.1
#2  0x00007f7b8c3e3e17 in xcb_wait_for_event () at /usr/lib64/libxcb.so.1
#3  0x00007f7b7993a7f9 in  () at /usr/lib64/qt5/plugins/platforms/libqxcb.so
#4  0x00007f7b87c9deaf in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007f7b86ba5324 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f7b875ba70d in clone () at /lib64/libc.so.6

Thread 14 (Thread 0x7f7b750e9700 (LWP 6500)):
#0  0x00007f7b875b1fbd in poll () at /lib64/libc.so.6
#1  0x00007f7b83ab8e94 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f7b83ab8f9c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f7b87ec220b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f7b87e6b5ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f7b87c9913c in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f7b8aec6d05 in  () at /usr/lib64/libQt5Qml.so.5
#7  0x00007f7b87c9deaf in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007f7b86ba5324 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f7b875ba70d in clone () at /lib64/libc.so.6

Thread 13 (Thread 0x7f7b63cfa700 (LWP 6503)):
#0  0x00007f7b83afcb54 in g_mutex_unlock () at /usr/lib64/libglib-2.0.so.0
#1  0x00007f7b83ab8fa6 in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f7b87ec220b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#3  0x00007f7b87e6b5ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f7b87c9913c in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#5  0x00007f7b8aec6d05 in  () at /usr/lib64/libQt5Qml.so.5
#6  0x00007f7b87c9deaf in  () at /usr/lib64/libQt5Core.so.5
#7  0x00007f7b86ba5324 in start_thread () at /lib64/libpthread.so.0
#8  0x00007f7b875ba70d in clone () at /lib64/libc.so.6

Thread 12 (Thread 0x7f7b61ca9700 (LWP 6508)):
#0  0x00007f7b875b1fbd in poll () at /lib64/libc.so.6
#1  0x00007f7b83ab8e94 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f7b83ab8f9c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f7b87ec220b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f7b87e6b5ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f7b87c9913c in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f7b8aec6d05 in  () at /usr/lib64/libQt5Qml.so.5
#7  0x00007f7b87c9deaf in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007f7b86ba5324 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f7b875ba70d in clone () at /lib64/libc.so.6

Thread 11 (Thread 0x7f7b53fff700 (LWP 6510)):
#0  0x00007f7b875b1fbd in poll () at /lib64/libc.so.6
#1  0x00007f7b83ab8e94 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f7b83ab8f9c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f7b87ec220b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f7b87e6b5ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f7b87c9913c in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f7b8aec6d05 in  () at /usr/lib64/libQt5Qml.so.5
#7  0x00007f7b87c9deaf in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007f7b86ba5324 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f7b875ba70d in clone () at /lib64/libc.so.6

Thread 10 (Thread 0x7f7b52ffe700 (LWP 6511)):
#0  0x00007f7b875b1fbd in poll () at /lib64/libc.so.6
#1  0x00007f7b83ab8e94 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f7b83ab8f9c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f7b87ec220b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f7b87e6b5ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f7b87c9913c in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f7b8aec6d05 in  () at /usr/lib64/libQt5Qml.so.5
#7  0x00007f7b87c9deaf in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007f7b86ba5324 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f7b875ba70d in clone () at /lib64/libc.so.6

Thread 9 (Thread 0x7f7b51ffd700 (LWP 6512)):
#0  0x00007f7b875ae04d in read () at /lib64/libc.so.6
#1  0x00007f7b83afb850 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f7b83ab89c4 in g_main_context_check () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f7b83ab8e38 in  () at /usr/lib64/libglib-2.0.so.0
#4  0x00007f7b83ab8f9c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#5  0x00007f7b87ec220b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#6  0x00007f7b87e6b5ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#7  0x00007f7b87c9913c in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#8  0x00007f7b8aec6d05 in  () at /usr/lib64/libQt5Qml.so.5
#9  0x00007f7b87c9deaf in  () at /usr/lib64/libQt5Core.so.5
#10 0x00007f7b86ba5324 in start_thread () at /lib64/libpthread.so.0
#11 0x00007f7b875ba70d in clone () at /lib64/libc.so.6

Thread 8 (Thread 0x7f7b50ffc700 (LWP 6513)):
#0  0x00007f7b83ab8561 in g_main_context_prepare () at /usr/lib64/libglib-2.0.so.0
#1  0x00007f7b83ab8dc3 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f7b83ab8f9c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f7b87ec220b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f7b87e6b5ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f7b87c9913c in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f7b8aec6d05 in  () at /usr/lib64/libQt5Qml.so.5
#7  0x00007f7b87c9deaf in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007f7b86ba5324 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f7b875ba70d in clone () at /lib64/libc.so.6

Thread 7 (Thread 0x7f7b437ff700 (LWP 6514)):
#0  0x00007f7b875b1fbd in poll () at /lib64/libc.so.6
#1  0x00007f7b83ab8e94 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f7b83ab8f9c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f7b87ec220b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f7b87e6b5ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f7b87c9913c in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f7b8aec6d05 in  () at /usr/lib64/libQt5Qml.so.5
#7  0x00007f7b87c9deaf in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007f7b86ba5324 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f7b875ba70d in clone () at /lib64/libc.so.6

Thread 6 (Thread 0x7f7b427fe700 (LWP 6515)):
#0  0x00007f7b875b1fbd in poll () at /lib64/libc.so.6
#1  0x00007f7b83ab8e94 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f7b83ab8f9c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f7b87ec220b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f7b87e6b5ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f7b87c9913c in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f7b8aec6d05 in  () at /usr/lib64/libQt5Qml.so.5
#7  0x00007f7b87c9deaf in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007f7b86ba5324 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f7b875ba70d in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7f7b417fd700 (LWP 6516)):
#0  0x00007f7b875b1fbd in poll () at /lib64/libc.so.6
#1  0x00007f7b83ab8e94 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f7b83ab8f9c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f7b87ec220b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f7b87e6b5ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f7b87c9913c in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f7b8aec6d05 in  () at /usr/lib64/libQt5Qml.so.5
#7  0x00007f7b87c9deaf in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007f7b86ba5324 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f7b875ba70d in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f7b2ffff700 (LWP 6517)):
#0  0x00007f7b875ae04d in read () at /lib64/libc.so.6
#1  0x00007f7b83afb850 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f7b83ab89c4 in g_main_context_check () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f7b83ab8e38 in  () at /usr/lib64/libglib-2.0.so.0
#4  0x00007f7b83ab8f9c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#5  0x00007f7b87ec220b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#6  0x00007f7b87e6b5ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#7  0x00007f7b87c9913c in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#8  0x00007f7b8aec6d05 in  () at /usr/lib64/libQt5Qml.so.5
#9  0x00007f7b87c9deaf in  () at /usr/lib64/libQt5Core.so.5
#10 0x00007f7b86ba5324 in start_thread () at /lib64/libpthread.so.0
#11 0x00007f7b875ba70d in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f7b2effe700 (LWP 6518)):
#0  0x00007f7b86baa93f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f7b8d1ec7f4 in  () at /usr/lib64/libQt5Script.so.5
#2  0x00007f7b8d1ec839 in  () at /usr/lib64/libQt5Script.so.5
#3  0x00007f7b86ba5324 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f7b875ba70d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f7aa71fa700 (LWP 6521)):
#0  0x00007f7b875b1fbd in poll () at /lib64/libc.so.6
#1  0x00007f7b83ab8e94 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f7b83ab8f9c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f7b87ec220b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f7b87e6b5ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f7b87c9913c in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f7b8b532ae2 in  () at /usr/lib64/libQt5Quick.so.5
#7  0x00007f7b87c9deaf in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007f7b86ba5324 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f7b875ba70d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f7b8db16880 (LWP 6495)):
[KCrash Handler]
#6  0x00007f7b883b88d0 in QScreen::handle() const () at /usr/lib64/libQt5Gui.so.5
#7  0x00007f7b799509a5 in  () at /usr/lib64/qt5/plugins/platforms/libqxcb.so
#8  0x00007f7b7993dff1 in  () at /usr/lib64/qt5/plugins/platforms/libqxcb.so
#9  0x00007f7b883987f4 in QWindowPrivate::create(bool) () at /usr/lib64/libQt5Gui.so.5
#10 0x00007f7b88398b58 in QWindow::winId() const () at /usr/lib64/libQt5Gui.so.5
#11 0x00007f7b8d51ab55 in  () at /usr/lib64/libKF5PlasmaQuick.so.5
#12 0x00007f7b87e9cd4a in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#13 0x00007f7b87e9cbd7 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#14 0x00007f7b87e9cd4a in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#15 0x00007f7b87ea9008 in QTimer::timerEvent(QTimerEvent*) () at /usr/lib64/libQt5Core.so.5
#16 0x00007f7b87e9daeb in QObject::event(QEvent*) () at /usr/lib64/libQt5Core.so.5
#17 0x00007f7b891bf86c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#18 0x00007f7b891c4b80 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#19 0x00007f7b87e6dbf3 in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#20 0x00007f7b87ec109d in QTimerInfoList::activateTimers() () at /usr/lib64/libQt5Core.so.5
#21 0x00007f7b87ec15b1 in  () at /usr/lib64/libQt5Core.so.5
#22 0x00007f7b83ab8cc7 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#23 0x00007f7b83ab8ef8 in  () at /usr/lib64/libglib-2.0.so.0
#24 0x00007f7b83ab8f9c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#25 0x00007f7b87ec21ef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#26 0x00007f7b87e6b5ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#27 0x00007f7b87e72d6d in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#28 0x0000000000432d0d in main ()

Reported using DrKonqi
Comment 1 David Edmundson 2015-08-11 09:32:55 UTC
#11 0x00007f7b8d51ab55 in () at /usr/lib64/libKF5PlasmaQuick.so.5


could you install debug symbols for plasma-framework please

>Try to switch from the built-in LVDS1 notebook display to an external monitor that is connected via a docking station that extends the internal HDMI2 port. xrandr --output HDMI2 --auto --primary --output LVDS1 --auto 

That command isn't switching, it's turning on both monitors, no?
Comment 2 Andy 2015-08-12 06:27:43 UTC
Created attachment 93997 [details]
stacktrace with debug symbols

Actually the command used was this:
xrandr --output HDMI2 --auto --primary --right-of LVDS1 --output LVDS1 --off

Since the konsole app also crashed I erroneously typed the wrong command in the bugreport. Sorry for that. Please note that the command contains a flaw: "--primary --right-of LVDS1" doesn't make sense if LVDS1 is off.
Comment 3 Ben Bloom 2015-12-04 23:24:06 UTC
This bug seems to be related to Bug#345544 which is apparently fixed in Plasma 5.5. how is this still happening with ubuntu 7+ months after report?
is there a simple way for a noob to get Plasma 5.5 running on a kubuntu machine?
I am so sorry I let go of my LTS distro. wont be doing that again after 16.04
Maybe it's finally time to give up on ubuntu altogether
Comment 4 Andrew Crouthamel 2018-09-25 21:44:11 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Andrew Crouthamel 2018-10-27 04:06:00 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!
Comment 6 Nate Graham 2021-02-08 19:25:11 UTC

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