Bug 418018 - Crash the "Screen and Monitor" configuration panel
Summary: Crash the "Screen and Monitor" configuration panel
Status: RESOLVED DUPLICATE of bug 411794
Alias: None
Product: KScreen
Classification: Plasma
Component: kcm (show other bugs)
Version: 5.18.1
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: kscreen-bugs-null@kde.org
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2020-02-22 03:02 UTC by Gabriel
Modified: 2020-02-24 05:00 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gabriel 2020-02-22 03:02:27 UTC
Application: systemsettings5 (5.18.1)

Qt Version: 5.14.1
Frameworks Version: 5.67.0
Operating System: Linux 5.3.0-40-generic x86_64
Windowing system: X11
Distribution: KDE neon User Edition 5.18

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

Configuration: laptop screen deactivated and external monitor active and set as main.

In the item "Screen and Monitor": By default the first screen that appears is the laptop. When the "primary" option is checked and the back button is clicked, and soon after, in some other item of the configuration panel, a dialog box appears with the options (apply, discard, cancel) if you click "discard" "the window crashes (closes).

- Unusual behavior I noticed:

Unexpected window closing (crash).

The crash can be reproduced every time.

-- Backtrace:
Application: Configurações do Sistema (systemsettings5), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fb4e0c2a800 (LWP 2774))]

Thread 8 (Thread 0x7fb4a3938700 (LWP 2785)):
#0  0x00007fb4dc06a0b4 in __GI___libc_read (fd=26, buf=0x7fb4a3937b70, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:27
#1  0x00007fb4d57302d0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fb4d56eb0b7 in g_main_context_check () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb4d56eb570 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fb4d56eb6dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fb4dc9d50db in QEventDispatcherGlib::processEvents (this=0x7fb49c022760, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007fb4dc97463a in QEventLoop::exec (this=this@entry=0x7fb4a3937d80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#7  0x00007fb4dc785317 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#8  0x00007fb4da2cd605 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#9  0x00007fb4dc7867ec in QThreadPrivate::start (arg=0x558e4b43d130) at thread/qthread_unix.cpp:342
#10 0x00007fb4d7aaa6db in start_thread (arg=0x7fb4a3938700) at pthread_create.c:463
#11 0x00007fb4dc07b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7fb497fff700 (LWP 2784)):
#0  0x00007fb4a1181a8c in ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-11.1.so
#1  0x00007fb4a118233f in ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-11.1.so
#2  0x00007fb4a13e2108 in pa_mainloop_dispatch () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#3  0x00007fb4a13e24de in pa_mainloop_iterate () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#4  0x00007fb4a13e2560 in pa_mainloop_run () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#5  0x00007fb4a13f03c9 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#6  0x00007fb4a1192318 in ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-11.1.so
#7  0x00007fb4d7aaa6db in start_thread (arg=0x7fb497fff700) at pthread_create.c:463
#8  0x00007fb4dc07b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7fb4aa01c700 (LWP 2780)):
#0  0x00007fb4d56ea982 in g_main_context_prepare () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fb4d56eb4fb in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fb4d56eb6dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb4dc9d50db in QEventDispatcherGlib::processEvents (this=0x7fb4a4000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fb4dc97463a in QEventLoop::exec (this=this@entry=0x7fb4aa01bd80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#5  0x00007fb4dc785317 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#6  0x00007fb4da2cd605 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007fb4dc7867ec in QThreadPrivate::start (arg=0x558e44db97a0) at thread/qthread_unix.cpp:342
#8  0x00007fb4d7aaa6db in start_thread (arg=0x7fb4aa01c700) at pthread_create.c:463
#9  0x00007fb4dc07b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7fb4b300d700 (LWP 2779)):
#0  0x00007ffd30bbb756 in ?? ()
#1  0x00007ffd30bbb982 in clock_gettime ()
#2  0x00007fb4dc08aea6 in __GI___clock_gettime (clock_id=clock_id@entry=1, tp=tp@entry=0x7fb4b300caf0) at ../sysdeps/unix/clock_gettime.c:115
#3  0x00007fb4dc9d49e1 in qt_clock_gettime (ts=0x7fb4b300caf0, clock=<optimized out>) at kernel/qelapsedtimer_unix.cpp:111
#4  do_gettime (frac=<synthetic pointer>, sec=<synthetic pointer>) at kernel/qelapsedtimer_unix.cpp:166
#5  qt_gettime () at kernel/qelapsedtimer_unix.cpp:175
#6  0x00007fb4dc9d3219 in QTimerInfoList::updateCurrentTime (this=this@entry=0x7fb4ac0048e0) at kernel/qtimerinfo_unix.cpp:91
#7  0x00007fb4dc9d37f5 in QTimerInfoList::timerWait (this=0x7fb4ac0048e0, tm=...) at kernel/qtimerinfo_unix.cpp:388
#8  0x00007fb4dc9d4e3e in timerSourcePrepareHelper (timeout=0x7fb4b300cbb4, src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:133
#9  timerSourcePrepare (source=<optimized out>, timeout=0x7fb4b300cbb4) at kernel/qeventdispatcher_glib.cpp:166
#10 0x00007fb4d56eab28 in g_main_context_prepare () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007fb4d56eb4fb in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007fb4d56eb6dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#13 0x00007fb4dc9d50db in QEventDispatcherGlib::processEvents (this=0x7fb4ac000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#14 0x00007fb4dc97463a in QEventLoop::exec (this=this@entry=0x7fb4b300cd80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#15 0x00007fb4dc785317 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#16 0x00007fb4da2cd605 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#17 0x00007fb4dc7867ec in QThreadPrivate::start (arg=0x558e44b51930) at thread/qthread_unix.cpp:342
#18 0x00007fb4d7aaa6db in start_thread (arg=0x7fb4b300d700) at pthread_create.c:463
#19 0x00007fb4dc07b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fb4bcabc700 (LWP 2778)):
#0  0x00007fb4d7ab09f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x558e448b9438) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x558e448b93e8, cond=0x558e448b9410) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x558e448b9410, mutex=0x558e448b93e8) at pthread_cond_wait.c:655
#3  0x00007fb4be159ebb in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007fb4be159ab7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007fb4d7aaa6db in start_thread (arg=0x7fb4bcabc700) at pthread_create.c:463
#6  0x00007fb4dc07b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fb4c5739700 (LWP 2777)):
#0  0x00007fb4dc06ebf9 in __GI___poll (fds=0x7fb4c0014650, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fb4d56eb5c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fb4d56eb6dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb4dc9d50db in QEventDispatcherGlib::processEvents (this=0x7fb4c0000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fb4dc97463a in QEventLoop::exec (this=this@entry=0x7fb4c5738d70, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#5  0x00007fb4dc785317 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#6  0x00007fb4dce61555 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007fb4dc7867ec in QThreadPrivate::start (arg=0x7fb4dd0d9da0) at thread/qthread_unix.cpp:342
#8  0x00007fb4d7aaa6db in start_thread (arg=0x7fb4c5739700) at pthread_create.c:463
#9  0x00007fb4dc07b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fb4cda90700 (LWP 2776)):
#0  0x00007fb4dc06ebf9 in __GI___poll (fds=0x7fb4cda8fca8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fb4d766e747 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fb4d767036a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fb4d0665cc0 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007fb4dc7867ec in QThreadPrivate::start (arg=0x558e44766350) at thread/qthread_unix.cpp:342
#5  0x00007fb4d7aaa6db in start_thread (arg=0x7fb4cda90700) at pthread_create.c:463
#6  0x00007fb4dc07b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fb4e0c2a800 (LWP 2774)):
[KCrash Handler]
#6  QQuickWindowPrivate::removeGrabber (this=this@entry=0x71696e556d657449, grabber=0x558e4b6cf2b0, mouse=mouse@entry=true, touch=touch@entry=true) at items/qquickwindow.cpp:921
#7  0x00007fb4da865e30 in QQuickItemPrivate::derefWindow (this=0x558e4bbc5e30) at items/qquickitem.cpp:3079
#8  0x00007fb4da8681e6 in QQuickItem::~QQuickItem (this=0x558e4b6cf2b0, __in_chrg=<optimized out>) at items/qquickitem.cpp:2392
#9  0x00007fb4da888a9d in QQuickRectangle::~QQuickRectangle (this=0x558e4b6cf2b0, __in_chrg=<optimized out>) at items/qquickrectangle_p.h:156
#10 QQmlPrivate::QQmlElement<QQuickRectangle>::~QQmlElement (this=0x558e4b6cf2b0, __in_chrg=<optimized out>) at ../../include/QtQml/../../src/qml/qml/qqmlprivate.h:111
#11 QQmlPrivate::QQmlElement<QQuickRectangle>::~QQmlElement (this=0x558e4b6cf2b0, __in_chrg=<optimized out>) at ../../include/QtQml/../../src/qml/qml/qqmlprivate.h:111
#12 0x00007fb4dc9a8eb5 in QObject::event (this=this@entry=0x558e4b6cf2b0, e=e@entry=0x558e4b674670) at kernel/qobject.cpp:1326
#13 0x00007fb4da86545b in QQuickItem::event (this=0x558e4b6cf2b0, ev=0x558e4b674670) at items/qquickitem.cpp:8156
#14 0x00007fb4ddaef8bc in QApplicationPrivate::notify_helper (this=this@entry=0x558e44762680, receiver=receiver@entry=0x558e4b6cf2b0, e=e@entry=0x558e4b674670) at kernel/qapplication.cpp:3684
#15 0x00007fb4ddaf6ac0 in QApplication::notify (this=0x7ffd30ba9ca0, receiver=0x558e4b6cf2b0, e=0x558e4b674670) at kernel/qapplication.cpp:3430
#16 0x00007fb4dc975db8 in QCoreApplication::notifyInternal2 (receiver=0x558e4b6cf2b0, event=0x558e4b674670) at kernel/qcoreapplication.cpp:1092
#17 0x00007fb4dc975f8e in QCoreApplication::sendEvent (receiver=receiver@entry=0x558e4b6cf2b0, event=event@entry=0x558e4b674670) at kernel/qcoreapplication.cpp:1487
#18 0x00007fb4dc978a31 in QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x558e44758f60) at kernel/qcoreapplication.cpp:1832
#19 0x00007fb4dc978fc8 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1691
#20 0x00007fb4dc9d5a13 in postEventSourceDispatch (s=0x558e447ba690) at kernel/qeventdispatcher_glib.cpp:277
#21 0x00007fb4d56eb417 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007fb4d56eb650 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007fb4d56eb6dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007fb4dc9d50bc in QEventDispatcherGlib::processEvents (this=0x558e447b2910, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#25 0x00007fb4dc97463a in QEventLoop::exec (this=this@entry=0x7ffd30ba9bc0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#26 0x00007fb4dc97ddb0 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1400
#27 0x0000558e435a82e0 in main (argc=<optimized out>, argv=<optimized out>) at ./app/main.cpp:70

Possible duplicates by query: bug 418002, bug 417802, bug 417410, bug 416321, bug 415687.

Reported using DrKonqi
Comment 1 Patrick Silva 2020-02-23 22:39:48 UTC
possible dupicate of bug 411794
Comment 2 Nate Graham 2020-02-24 05:00:44 UTC

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