Bug 457943 - System Settings crashed when changing display configuration and then revert
Summary: System Settings crashed when changing display configuration and then revert
Status: RESOLVED DUPLICATE of bug 447199
Alias: None
Product: systemsettings
Classification: Applications
Component: general (show other bugs)
Version: 5.25.4
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-08-16 07:13 UTC by Sebastian
Modified: 2022-08-26 23:24 UTC (History)
2 users (show)

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


Attachments
New crash information added by DrKonqi (11.57 KB, text/plain)
2022-08-26 23:24 UTC, ichramm
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian 2022-08-16 07:13:49 UTC
Application: systemsettings (5.25.4)

Qt Version: 5.15.5
Frameworks Version: 5.96.0
Operating System: Linux 5.15.0-46-generic x86_64
Windowing System: X11
Distribution: KDE neon User - 5.25
DrKonqi: 5.25.4 [KCrashBackend]

-- Information about the crash:
Setup: 1 Monitor + 1 Laptop display.
Reproduce: 
1) Go to Settings -> Display and Monitor -> Display Configuration
2) Disable "Built-in Screen" and "Apply"
3) Select "Revert"
4) Configuration is reverted but System Settings crashed.

The crash can be reproduced every time.

-- Backtrace:
Application: System Settings (systemsettings), signal: Segmentation fault

[New LWP 74370]
[New LWP 74372]
[New LWP 74390]
[New LWP 74423]
[New LWP 74436]
[New LWP 74462]
[New LWP 74478]
[New LWP 74484]
[New LWP 74485]
[New LWP 74491]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007faa4e39699f in __GI___poll (fds=0x7fffc0214038, nfds=1, timeout=1000) at ../sysdeps/unix/sysv/linux/poll.c:29
__preamble__
[Current thread is 1 (Thread 0x7faa49a82e80 (LWP 74368))]

Thread 11 (Thread 0x7fa9f9c71700 (LWP 74491)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x561c9177f7e0) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x561c9177f790, cond=0x561c9177f7b8) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x561c9177f7b8, mutex=0x561c9177f790) at pthread_cond_wait.c:647
#3  0x00007faa40d9a5eb in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007faa40d9a1eb in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007faa4d80e609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007faa4e3a3133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 0x7faa00961700 (LWP 74485)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x561c9144e9b0) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x561c9144e960, cond=0x561c9144e988) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x561c9144e988, mutex=0x561c9144e960) at pthread_cond_wait.c:647
#3  0x00007faa40d9a5eb in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007faa40d9a1eb in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007faa4d80e609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007faa4e3a3133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7faa165ae700 (LWP 74484)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x561c912490b0) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x561c91249060, cond=0x561c91249088) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x561c91249088, mutex=0x561c91249060) at pthread_cond_wait.c:647
#3  0x00007faa40d9a5eb in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007faa40d9a1eb in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007faa4d80e609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007faa4e3a3133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7faa17fff700 (LWP 74478)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x561c91183cf0) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x561c91183ca0, cond=0x561c91183cc8) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x561c91183cc8, mutex=0x561c91183ca0) at pthread_cond_wait.c:647
#3  0x00007faa40d9a5eb in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007faa40d9a1eb in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007faa4d80e609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007faa4e3a3133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7faa177fe700 (LWP 74462)):
#0  __GI___libc_read (nbytes=16, buf=0x7faa177fd9b0, fd=26) at ../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=26, buf=0x7faa177fd9b0, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007faa4ce9ab2f in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007faa4ce51ebe in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007faa4ce52312 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007faa4ce524a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007faa4e9695bb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007faa4e90d76b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007faa4e727372 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007faa4c6d81b9 in ?? () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#10 0x00007faa4e728553 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007faa4d80e609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#12 0x00007faa4e3a3133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7faa2e772700 (LWP 74436)):
#0  0x00007faa4ce5025d in g_source_ref () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007faa4ce50328 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007faa4ce51cbf in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007faa4ce52312 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007faa4ce524a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007faa4e9695bb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007faa4e90d76b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007faa4e727372 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007faa4c6d81b9 in ?? () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#9  0x00007faa4e728553 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007faa4d80e609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#11 0x00007faa4e3a3133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7faa2f7fe700 (LWP 74423)):
#0  0x00007faa4e39699f in __GI___poll (fds=0x7faa1c005240, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007faa4ce5236e in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007faa4ce524a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007faa4e9695bb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007faa4e90d76b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007faa4e727372 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007faa4c6d81b9 in ?? () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007faa4e728553 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007faa4d80e609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007faa4e3a3133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7faa40963700 (LWP 74390)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x561c902421b8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x561c90242168, cond=0x561c90242190) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x561c90242190, mutex=0x561c90242168) at pthread_cond_wait.c:647
#3  0x00007faa40d9a5eb in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007faa40d9a1eb in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007faa4d80e609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007faa4e3a3133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7faa43fff700 (LWP 74372)):
#0  __GI___libc_read (nbytes=16, buf=0x7faa43ffe9a0, fd=6) at ../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=6, buf=0x7faa43ffe9a0, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007faa4ce9ab2f in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007faa4ce51ebe in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007faa4ce52312 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007faa4ce524a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007faa4e9695bb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007faa4e90d76b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007faa4e727372 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007faa4da76f4b in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#10 0x00007faa4e728553 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007faa4d80e609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#12 0x00007faa4e3a3133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7faa48ebf700 (LWP 74370)):
#0  0x00007faa4e39699f in __GI___poll (fds=0x7faa48ebeae8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007faa4d856c1a in ?? () from /lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007faa4d85890a in xcb_wait_for_event () from /lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007faa496043c8 in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007faa4e728553 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007faa4d80e609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007faa4e3a3133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7faa49a82e80 (LWP 74368)):
[KCrash Handler]
#4  0x00007faa2c4f0d2c in KScreen::Config::clone() const () from /lib/x86_64-linux-gnu/libKF5Screen.so.7
#5  0x00007faa2c5bf773 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/kcms/kcm_kscreen.so
#6  0x00007faa2c5c1d23 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/kcms/kcm_kscreen.so
#7  0x00007faa4e94a946 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007faa4e93c765 in QObject::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007faa4f543e83 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00007faa4f54cc98 in QApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007faa4e90ec6a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007faa4e9688f0 in QTimerInfoList::activateTimers() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007faa4e969224 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007faa4ce5217d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#15 0x00007faa4ce52400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#16 0x00007faa4ce524a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007faa4e9695a2 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007faa4e90d76b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007faa4e915914 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x0000561c8e8cfe57 in ?? ()
#21 0x00007faa4e2a8083 in __libc_start_main (main=0x561c8e8cf640, argc=2, argv=0x7fffc02155f8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffc02155e8) at ../csu/libc-start.c:308
#22 0x0000561c8e8d076e in ?? ()
[Inferior 1 (process 74368) detached]

Reported using DrKonqi
Comment 1 Nicolas Fella 2022-08-16 09:40:37 UTC

*** This bug has been marked as a duplicate of bug 447199 ***
Comment 2 ichramm 2022-08-26 23:24:29 UTC
Created attachment 151624 [details]
New crash information added by DrKonqi

systemsettings (5.25.4) using Qt 5.15.5

Sometimes I connect the secondary monitor but the screen is not activated. My usual workaround is to go to system settings and then disable the secondary monitor, wait a few seconds and then press the "revert" button. Systemsettings crashes every time (the workaround works, though).

-- Backtrace (Reduced):
#4  0x00007f99a4af2d2c in KScreen::Config::clone() const () at /lib/x86_64-linux-gnu/libKF5Screen.so.7
[...]
#8  0x00007f99c142f765 in QObject::event(QEvent*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f99c2037e83 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00007f99c2040c98 in QApplication::notify(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007f99c1401c6a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5