Bug 408832 - System settings crash if openend on secondary display
Summary: System settings crash if openend on secondary display
Status: RESOLVED UPSTREAM
Alias: None
Product: systemsettings
Classification: Applications
Component: general (show other bugs)
Version: 5.16.0
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2019-06-17 14:43 UTC by roby revelli
Modified: 2019-06-21 11:26 UTC (History)
2 users (show)

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


Attachments
New crash information added by DrKonqi (8.60 KB, text/plain)
2019-06-20 18:28 UTC, Larry CK
Details

Note You need to log in before you can comment on or make changes to this bug.
Description roby revelli 2019-06-17 14:43:00 UTC
Application: systemsettings5 (5.16.0)

Qt Version: 5.12.4
Frameworks Version: 5.59.0
Operating System: Linux 5.1.9-arch1-1-ARCH x86_64
Distribution (Platform): Archlinux Packages

-- Information about the crash:
- Unusual behavior I noticed:

i just realised that if system settings opens on  the secondary monitor crash... if i disconnect it and open on primary it works without problem

- Custom settings of the application:
I don't know if is related but happened after i installer Davinci Resolve on my arch linux (fresh install)

The crash can be reproduced every time.

-- Backtrace:
Application: Impostazioni di sistema (systemsettings5), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f0b8d3d3140 (LWP 10222))]

Thread 4 (Thread 0x7f0b775ef700 (LWP 10229)):
#0  0x00007f0b921b70d1 in poll () from /usr/lib/libc.so.6
#1  0x00007f0b8fe7d7c0 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f0b8fe7d8ae in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f0b926eb094 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x00007f0b92694abc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007f0b924d91f9 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00007f0b91862969 in ?? () from /usr/lib/libQt5Qml.so.5
#7  0x00007f0b924da5fc in ?? () from /usr/lib/libQt5Core.so.5
#8  0x00007f0b90bb6a92 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007f0b921c1cd3 in clone () from /usr/lib/libc.so.6

Thread 3 (Thread 0x7f0b81e01700 (LWP 10227)):
#0  0x00007f0b921b70d1 in poll () from /usr/lib/libc.so.6
#1  0x00007f0b8fe7d7c0 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f0b8fe7d8ae in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f0b926eb094 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x00007f0b92694abc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007f0b924d91f9 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00007f0b91862969 in ?? () from /usr/lib/libQt5Qml.so.5
#7  0x00007f0b924da5fc in ?? () from /usr/lib/libQt5Core.so.5
#8  0x00007f0b90bb6a92 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007f0b921c1cd3 in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x7f0b8ae3e700 (LWP 10225)):
#0  0x00007f0b8fe2b3a9 in g_mutex_lock () from /usr/lib/libglib-2.0.so.0
#1  0x00007f0b8fe7d097 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#2  0x00007f0b8fe7d6e6 in ?? () from /usr/lib/libglib-2.0.so.0
#3  0x00007f0b8fe7d8ae in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0x00007f0b926eb094 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007f0b92694abc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#6  0x00007f0b924d91f9 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#7  0x00007f0b92963ba6 in ?? () from /usr/lib/libQt5DBus.so.5
#8  0x00007f0b924da5fc in ?? () from /usr/lib/libQt5Core.so.5
#9  0x00007f0b90bb6a92 in start_thread () from /usr/lib/libpthread.so.0
#10 0x00007f0b921c1cd3 in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7f0b8d3d3140 (LWP 10222)):
[KCrash Handler]
#6  0x00007f0b92b3a316 in QHighDpiScaling::mapPositionFromGlobal(QPoint const&, QPoint const&, QWindow const*) () from /usr/lib/libQt5Gui.so.5
#7  0x00007f0b92b0aac4 in QWindow::mapFromGlobal(QPoint const&) const () from /usr/lib/libQt5Gui.so.5
#8  0x00007f0b91c16cd0 in QQuickWindow::event(QEvent*) () from /usr/lib/libQt5Quick.so.5
#9  0x00007f0b930feda4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#10 0x00007f0b931063c1 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#11 0x00007f0b92695ef9 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#12 0x00007f0b91ed02bc in QQuickWidget::event(QEvent*) () from /usr/lib/libQt5QuickWidgets.so.5
#13 0x00007f0b930feda4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#14 0x00007f0b931063c1 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#15 0x00007f0b92695ef9 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#16 0x00007f0b931053cd in ?? () from /usr/lib/libQt5Widgets.so.5
#17 0x00007f0b931594a6 in ?? () from /usr/lib/libQt5Widgets.so.5
#18 0x00007f0b9315db81 in ?? () from /usr/lib/libQt5Widgets.so.5
#19 0x00007f0b930feda4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#20 0x00007f0b931063c1 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#21 0x00007f0b92695ef9 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#22 0x00007f0b92b005dc in QGuiApplicationPrivate::processEnterEvent(QWindowSystemInterfacePrivate::EnterEvent*) () from /usr/lib/libQt5Gui.so.5
#23 0x00007f0b92b05566 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/libQt5Gui.so.5
#24 0x00007f0b92ae055c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Gui.so.5
#25 0x00007f0b8cf8cb7c in ?? () from /usr/lib/libQt5XcbQpa.so.5
#26 0x00007f0b8fe7b90f in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#27 0x00007f0b8fe7d869 in ?? () from /usr/lib/libglib-2.0.so.0
#28 0x00007f0b8fe7d8ae in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#29 0x00007f0b926eb079 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#30 0x00007f0b92694abc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#31 0x00007f0b9269cc46 in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#32 0x00005569d04c0464 in ?? ()
#33 0x00007f0b920eace3 in __libc_start_main () from /usr/lib/libc.so.6
#34 0x00005569d04c04ee in _start ()
[Inferior 1 (process 10222) detached]

Reported using DrKonqi
Comment 1 roby revelli 2019-06-17 14:51:35 UTC
i use nvidia proprietary drivers with optimus-manager and realised that if i have my secondary display conncted and system settings opens on that display it crashes after 1-2 seconds. If i open on the primary monitor, it works.

Same thing with konqueror
Comment 2 Christoph Feck 2019-06-17 14:54:06 UTC
Qt 5.12.4 regression?
Comment 3 Antonio Rojas 2019-06-19 15:17:15 UTC
Indeed

https://bugreports.qt.io/browse/QTBUG-76440
Comment 4 Larry CK 2019-06-20 18:28:24 UTC
Created attachment 121041 [details]
New crash information added by DrKonqi

systemsettings5 (5.16.1) using Qt 5.12.4

- What I was doing when the application crashed:

opening system setting stright after logging in. Opensing system setting on my external display.
Opening system settings on the laptop screen does not make it crash.

-- Backtrace (Reduced):
#6  0x00007f1f7c5a9c06 in QHighDpiScaling::mapPositionFromGlobal (pos=..., windowGlobalPosition=..., window=window@entry=0x5616a7b281e0) at kernel/qhighdpiscaling.cpp:414
#7  0x00007f1f7c579b2a in QWindow::mapFromGlobal (this=this@entry=0x5616a7b281e0, pos=...) at kernel/qwindow.cpp:2571
#8  0x00007f1f79ea7d64 in QQuickWindow::event (this=0x5616a7b281e0, e=0x7ffce1ed3710) at /usr/src/debug/libqt5-qtdeclarative-5.12.4-lp151.1.1.x86_64/src/quick/items/qquickwindow.cpp:1630
#9  0x00007f1f7cdc1aac in QApplicationPrivate::notify_helper (this=this@entry=0x5616a731b870, receiver=receiver@entry=0x5616a7b281e0, e=e@entry=0x7ffce1ed3710) at kernel/qapplication.cpp:3738
#10 0x00007f1f7cdc9010 in QApplication::notify (this=0x7ffce1ed4280, receiver=0x5616a7b281e0, e=0x7ffce1ed3710) at kernel/qapplication.cpp:3484
Comment 5 Christoph Feck 2019-06-21 11:26:54 UTC
Bug resolved upstream, see comment #3.