Bug 358872

Summary: KScreen KCM crashes when adding external monitor
Product: [Plasma] KScreen Reporter: Joe Lust <lifeoflust>
Component: kcmAssignee: Sebastian Kügler <sebas>
Status: RESOLVED WORKSFORME    
Severity: crash CC: aleixpol
Priority: NOR Keywords: drkonqi
Version: 5.2.2   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Joe Lust 2016-02-01 15:58:35 UTC
Application: kcmshell5 (5.2.2)

Qt Version: 5.4.1
Operating System: Linux 3.19.0-43-generic x86_64
Distribution: Ubuntu 15.04

-- Information about the crash:
- What I was doing when the application crashed:
Plugged in external monitor (DVI, 1920x1200)
Clicked "Enable" on DisplayConfiguration

The crash can be reproduced every time.

-- Backtrace:
Application: KDE Control Module (kcmshell5), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f4009cd8800 (LWP 24814))]

Thread 3 (Thread 0x7f3ff56cd700 (LWP 24815)):
#0  0x00007f40097cb8dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f4001eb9b72 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f4001ebb64f in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f3ff75f1099 in QXcbEventReader::run (this=0x1c1fda0) at qxcbconnection.cpp:1105
#4  0x00007f400784eb0e in QThreadPrivate::start (arg=0x1c1fda0) at thread/qthread_unix.cpp:337
#5  0x00007f40072856aa in start_thread (arg=0x7f3ff56cd700) at pthread_create.c:333
#6  0x00007f40097d6eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f3fea82c700 (LWP 24819)):
#0  0x00007f40097cb8dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f4001795ebc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f4001795fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4007ae5c6c in QEventDispatcherGlib::processEvents (this=0x7f3fdc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#4  0x00007f4007a8a3e2 in QEventLoop::exec (this=this@entry=0x7f3fea82bda0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f4007849b44 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007f4006c8ff65 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007f400784eb0e in QThreadPrivate::start (arg=0x1e790a0) at thread/qthread_unix.cpp:337
#8  0x00007f40072856aa in start_thread (arg=0x7f3fea82c700) at pthread_create.c:333
#9  0x00007f40097d6eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f4009cd8800 (LWP 24814)):
[KCrash Handler]
#6  0x00007f3ff401adf4 in isEmpty (this=0x30) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:791
#7  KScreen::ConfigOperation::hasError (this=this@entry=0x1ce4d50) at ../../src/configoperation.cpp:76
#8  0x00007f3ff401b026 in KScreen::ConfigOperation::exec (this=0x1ce4d50) at ../../src/configoperation.cpp:109
#9  0x00007f3ff424e33c in KCMKScreen::save (this=0x1ce4d50) at ../../../kcm/src/kcm_kscreen.cpp:144
#10 0x00007f40094af077 in KCModuleProxy::save (this=this@entry=0x1cee670) at ../../src/kcmoduleproxy.cpp:272
#11 0x00007f40094ac2f0 in KCMultiDialogPrivate::apply (this=<optimized out>) at ../../src/kcmultidialog.cpp:323
#12 0x00007f40094ac695 in KCMultiDialog::qt_static_metacall (_o=0x1ce4d50, _c=QMetaObject::ReadProperty, _id=1, _a=0x0) at ./moc_kcmultidialog.cpp:112
#13 0x00007f4007abd9c9 in QMetaObject::activate (sender=sender@entry=0x1cf30f0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffddd32ada0) at kernel/qobject.cpp:3716
#14 0x00007f4007abe057 in QMetaObject::activate (sender=sender@entry=0x1cf30f0, m=m@entry=0x7f4008383a60 <QAbstractButton::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffddd32ada0) at kernel/qobject.cpp:3582
#15 0x00007f40081f8012 in QAbstractButton::clicked (this=this@entry=0x1cf30f0, _t1=false) at .moc/moc_qabstractbutton.cpp:298
#16 0x00007f4007f45675 in QAbstractButtonPrivate::emitClicked (this=0x1cf34c0) at widgets/qabstractbutton.cpp:534
#17 0x00007f4007f46299 in QAbstractButtonPrivate::click (this=0x1cf34c0) at widgets/qabstractbutton.cpp:527
#18 0x00007f4007f46454 in QAbstractButton::mouseReleaseEvent (this=0x1cf30f0, e=0x7ffddd32b260) at widgets/qabstractbutton.cpp:1132
#19 0x00007f4007e8d1e8 in QWidget::event (this=0x1cf30f0, event=0x7ffddd32b260) at kernel/qwidget.cpp:9022
#20 0x00007f4007e49b2c in QApplicationPrivate::notify_helper (this=0x1c09e70, receiver=0x1cf30f0, e=0x7ffddd32b260) at kernel/qapplication.cpp:3720
#21 0x00007f4007e4f8eb in QApplication::notify (this=0x7ffddd32afa0, receiver=0x7ffddd32afc0, e=0x7ffddd32b260) at kernel/qapplication.cpp:3280
#22 0x00007f4007a8cc2b in QCoreApplication::notifyInternal (this=0x7ffddd32bb90, receiver=receiver@entry=0x1cf30f0, event=event@entry=0x7ffddd32b260) at kernel/qcoreapplication.cpp:935
#23 0x00007f4007e4e3da in sendSpontaneousEvent (event=0x7ffddd32b260, receiver=0x1cf30f0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#24 QApplicationPrivate::sendMouseEvent (receiver=0x1cf30f0, event=0x7ffddd32b260, alienWidget=0x1cf30f0, nativeWidget=0x1cd2b20, buttonDown=<optimized out>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:2751
#25 0x00007f4007ea5cc0 in QWidgetWindow::handleMouseEvent (this=0x1d61020, event=0x7ffddd32b670) at kernel/qwidgetwindow.cpp:543
#26 0x00007f4007ea7e33 in QWidgetWindow::event (this=0x1d61020, event=0x7ffddd32b670) at kernel/qwidgetwindow.cpp:210
#27 0x00007f4007e49b2c in QApplicationPrivate::notify_helper (this=0x1c09e70, receiver=0x1d61020, e=0x7ffddd32b670) at kernel/qapplication.cpp:3720
#28 0x00007f4007e4f000 in QApplication::notify (this=0x7ffddd32bb90, receiver=0x1d61020, e=0x7ffddd32b670) at kernel/qapplication.cpp:3503
#29 0x00007f4007a8cc2b in QCoreApplication::notifyInternal (this=0x7ffddd32bb90, receiver=0x1d61020, event=0x7ffddd32b670) at kernel/qcoreapplication.cpp:935
#30 0x00007f400536bf82 in sendSpontaneousEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#31 QGuiApplicationPrivate::processMouseEvent (e=0x1e70de0) at kernel/qguiapplication.cpp:1774
#32 0x00007f400536db45 in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x1e70de0) at kernel/qguiapplication.cpp:1576
#33 0x00007f400535234f in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:572
#34 0x00007f3ff761b590 in userEventSourceDispatch (source=<optimized out>) at eventdispatchers/qeventdispatcher_glib.cpp:70
#35 0x00007f4001795c3d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f4001795f20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007f4001795fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007f4007ae5c57 in QEventDispatcherGlib::processEvents (this=0x1c44fc0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#39 0x00007f4007a8a3e2 in QEventLoop::exec (this=this@entry=0x7ffddd32ba20, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#40 0x00007f400804b4b5 in QDialog::exec (this=0x1cd2b20) at dialogs/qdialog.cpp:541
#41 0x00007f4009aa29cb in kdemain (_argc=<optimized out>, _argv=<optimized out>) at ../../kcmshell/main.cpp:307
#42 0x00007f40096f0a40 in __libc_start_main (main=0x400730 <main(int, char**)>, argc=2, argv=0x7ffddd32bcd8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffddd32bcc8) at libc-start.c:289
#43 0x0000000000400769 in _start ()

Reported using DrKonqi
Comment 1 Aleix Pol 2016-02-02 14:38:45 UTC
*** Bug 358688 has been marked as a duplicate of this bug. ***
Comment 2 Andrew Crouthamel 2018-11-01 13:56:54 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2018-11-16 11:38:46 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
mark the bug 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 4 Bug Janitor Service 2018-12-02 03:45:01 UTC
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!