Bug 360165 - crash when changing screen resolution
Summary: crash when changing screen resolution
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.4.3
Platform: Debian unstable Linux
: NOR crash
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords: drkonqi
: 360635 361243 361315 364599 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-03-06 18:37 UTC by ekle
Modified: 2016-07-07 15:11 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (19.31 KB, text/plain)
2016-03-25 13:00 UTC, ekle
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ekle 2016-03-06 18:37:28 UTC
Application: plasmashell (5.4.3)

Qt Version: 5.5.1
Operating System: Linux 4.4.3-towo.1-siduction-amd64 x86_64
Distribution: Debian GNU/Linux unstable (sid)

-- Information about the crash:
- What I was doing when the application crashed:
run a script which does this:
xrandr --output LVDS1 --mode 1360x768 --primary 
xrandr --output DP1 --off
xrandr --output HDMI2 --mode 1360x768_60.00 --same-as LVDS1

LVDS1 is the notebook screen with 1360x768
HDMI2 is a 4k screen which should show a cloned version of LVDS1
DP1 is not connected at the moment

the state before the script was just the 4k screen with 1920x1080

Hardware is s Thinkpad x220 with Ultrabase docking station

The crash can be reproduced sometimes.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fb5b7b42940 (LWP 3537))]

Thread 7 (Thread 0x7fb59bdfa700 (LWP 3582)):
#0  0x00007fb5b2273b7d in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fb5af063510 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fb5af01fcb4 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb5af020170 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fb5af0202dc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fb5b2b942db in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fb5b2b3b2ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fb5b29578d4 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fb5b51ec105 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#9  0x00007fb5b295c88e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007fb5b1a79284 in start_thread (arg=0x7fb59bdfa700) at pthread_create.c:333
#11 0x00007fb5b2280a4d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7fb592fe6700 (LWP 3607)):
#0  0x00007fb5af01d207 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fb5af01f6fb in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fb5af0200fb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb5af0202dc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fb5b2b942db in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fb5b2b3b2ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fb5b29578d4 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fb5b51ec105 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#8  0x00007fb5b295c88e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007fb5b1a79284 in start_thread (arg=0x7fb592fe6700) at pthread_create.c:333
#10 0x00007fb5b2280a4d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7fb59145e700 (LWP 6165)):
#0  0x00007fb5b1a7f70f in __GI___pthread_getspecific (key=3) at pthread_getspecific.c:32
#1  0x00007fb5af046e70 in g_thread_self () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fb5af0202cd in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb5b2b942db in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fb5b2b3b2ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fb5b29578d4 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fb5b51ec105 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007fb5b295c88e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fb5b1a79284 in start_thread (arg=0x7fb59145e700) at pthread_create.c:333
#9  0x00007fb5b2280a4d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7fb58b9c5700 (LWP 6166)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fb5b75991c4 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#2  0x00007fb5b7599209 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#3  0x00007fb5b1a79284 in start_thread (arg=0x7fb58b9c5700) at pthread_create.c:333
#4  0x00007fb5b2280a4d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7fb503fff700 (LWP 6167)):
#0  0x00007fb5b2273b7d in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fb5af063510 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fb5af01fcb4 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb5af020170 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fb5af0202dc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fb5b2b942db in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fb5b2b3b2ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fb5b29578d4 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fb5b5b74136 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#9  0x00007fb5b295c88e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007fb5b1a79284 in start_thread (arg=0x7fb503fff700) at pthread_create.c:333
#11 0x00007fb5b2280a4d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fb4f8c71700 (LWP 6173)):
#0  0x00007fb5b2277b6d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fb5af0201cc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fb5af0202dc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb5b2b942db in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fb5b2b3b2ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fb5b29578d4 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fb4fb16b637 in KCupsConnection::run() () from /usr/lib/x86_64-linux-gnu/libkcupslib.so
#7  0x00007fb5b295c88e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fb5b1a79284 in start_thread (arg=0x7fb4f8c71700) at pthread_create.c:333
#9  0x00007fb5b2280a4d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fb5b7b42940 (LWP 3537)):
[KCrash Handler]
#6  0x00007fb5a3aac30e in QXcbScreen::mapToNative(QRect const&) const () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#7  0x00007fb5a3ab1553 in QXcbWindow::mapToNative(QRect const&, QXcbScreen const*) const () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#8  0x00007fb5a3ab2dcb in QXcbWindow::propagateSizeHints() () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#9  0x00007fb5a3ab7f9c in QXcbWindow::setGeometry(QRect const&) () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#10 0x00007fb5b2e86414 in QWindow::setPosition(QPoint const&) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#11 0x00007fb5b76c7414 in PlasmaQuick::Dialog::setVisible(bool) () from /usr/lib/x86_64-linux-gnu/libKF5PlasmaQuick.so.5
#12 0x00007fb5b2b6c537 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007fb5b2b78f58 in QTimer::timerEvent(QTimerEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007fb5b2b6d523 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007fb5b3640ffc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007fb5b36464c6 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007fb5b2b3db5b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007fb5b2b930dd in QTimerInfoList::activateTimers() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007fb5b2b93619 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007fb5af01ffd7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007fb5af020230 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007fb5af0202dc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007fb5b2b942bf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x00007fb5b2b3b2ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007fb5b2b433cc in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x0000000000431b03 in main (argc=2, argv=<optimized out>) at /build/plasma-workspace-KFkJSD/plasma-workspace-5.4.3/shell/main.cpp:176

Possible duplicates by query: bug 358020, bug 351359, bug 350940, bug 350281.

Reported using DrKonqi
Comment 1 Marco Martin 2016-03-17 14:50:47 UTC
*** Bug 360635 has been marked as a duplicate of this bug. ***
Comment 2 ekle 2016-03-25 13:00:37 UTC
Created attachment 98072 [details]
New crash information added by DrKonqi

plasmashell (5.4.3) using Qt 5.5.1

- What I was doing when the application crashed:
changed from external 1920x1080 screen only to clone notebook screen at 1360x768

-- Backtrace (Reduced):
#6  0x00007f8b15c634de in QXcbScreen::mapToNative(QRect const&) const () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#7  0x00007f8b15c68713 in QXcbWindow::mapToNative(QRect const&, QXcbScreen const*) const () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#8  0x00007f8b15c69f8b in QXcbWindow::propagateSizeHints() () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#9  0x00007f8b15c6f14c in QXcbWindow::setGeometry(QRect const&) () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#10 0x00007f8b250482f4 in QWindow::setPosition(QPoint const&) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
Comment 3 Marco Martin 2016-04-07 10:36:46 UTC
*** Bug 361243 has been marked as a duplicate of this bug. ***
Comment 4 ekle 2016-05-05 12:39:40 UTC
any news on this ?
i have this problem nearly daily, whenever i change my display settings.
Comment 5 Christoph Feck 2016-06-13 17:27:52 UTC
Please try with Qt 5.6.1.
Comment 6 Christoph Feck 2016-06-13 17:28:32 UTC
*** Bug 361315 has been marked as a duplicate of this bug. ***
Comment 7 Marco Martin 2016-06-30 10:31:08 UTC
*** Bug 364599 has been marked as a duplicate of this bug. ***
Comment 8 David Edmundson 2016-07-07 15:11:33 UTC
Fixed in Qt5.6. 

Please reopen if you get a crash after that.