Bug 357070

Summary: System Settings Segmentation fault on return to overview.
Product: [Applications] systemsettings Reporter: Andreas Rånman <andreas.ranman>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED WORKSFORME    
Severity: crash CC: cytadela8, dygulski13, pueltz, twiglaser
Priority: NOR Keywords: drkonqi, triaged
Version: 5.4.1   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi

Description Andreas Rånman 2015-12-22 21:36:05 UTC
Application: systemsettings5 (5.4.1)
 (Compiled from sources)
Qt Version: 5.4.2
Operating System: Linux 4.2.0-22-generic x86_64
Distribution: Ubuntu 15.10

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

Opened Display & Monitor, checked Compositor and then tried go back to System Settings Overview, got Segmentation fault. Tried attatching report to similar ones but couldn't for the life of me get it connected.

The crash can be reproduced every time.

-- Backtrace:
Application: System Settings (systemsettings5), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f94ba3c7800 (LWP 1880))]

Thread 6 (Thread 0x7f94a730b700 (LWP 1881)):
#0  0x00007f94b6b5f8dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f94b486fbd2 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f94b487174f in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f94aa0c9a39 in QXcbEventReader::run (this=0x1644d80) at qxcbconnection.cpp:1105
#4  0x00007f94b72522be in QThreadPrivate::start (arg=0x1644d80) at thread/qthread_unix.cpp:337
#5  0x00007f94b3ffa6aa in start_thread (arg=0x7f94a730b700) at pthread_create.c:333
#6  0x00007f94b6b6aeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f9498b29700 (LWP 1890)):
#0  socketNotifierSourcePrepare (timeout=0x7f9498b28be4) at kernel/qeventdispatcher_glib.cpp:65
#1  0x00007f94b3ada77d in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f94b3adb11b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f94b3adb2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f94b748929b in QEventDispatcherGlib::processEvents (this=0x7f94940008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007f94b742f75a in QEventLoop::exec (this=this@entry=0x7f9498b28da0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f94b724d3d4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#7  0x00007f94b5bd6f85 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#8  0x00007f94b72522be in QThreadPrivate::start (arg=0x1ad4ed0) at thread/qthread_unix.cpp:337
#9  0x00007f94b3ffa6aa in start_thread (arg=0x7f9498b29700) at pthread_create.c:333
#10 0x00007f94b6b6aeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f948bfff700 (LWP 1893)):
#0  0x00007f94b6b5b49d in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f94afa92f75 in ?? () from /usr/lib/nvidia-352/tls/libnvidia-tls.so.352.63
#2  0x00007f94b3b1e4e0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f94b3adacd4 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f94b3adb190 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f94b3adb2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f94b748929b in QEventDispatcherGlib::processEvents (this=0x7f94840008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#7  0x00007f94b742f75a in QEventLoop::exec (this=this@entry=0x7f948bffeda0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#8  0x00007f94b724d3d4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#9  0x00007f94b5bd6f85 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#10 0x00007f94b72522be in QThreadPrivate::start (arg=0x1ffbea0) at thread/qthread_unix.cpp:337
#11 0x00007f94b3ffa6aa in start_thread (arg=0x7f948bfff700) at pthread_create.c:333
#12 0x00007f94b6b6aeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f948affe700 (LWP 1900)):
#0  0x00007f94b3ada75b in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f94b3adb11b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f94b3adb2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f94b3adb339 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f94b3b01965 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f94b3ffa6aa in start_thread (arg=0x7f948affe700) at pthread_create.c:333
#6  0x00007f94b6b6aeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f949141d700 (LWP 1901)):
#0  0x00007f94b3b1f880 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f94b3adb1e1 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f94b3adb572 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f94885e74c6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f94b3b01965 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f94b3ffa6aa in start_thread (arg=0x7f949141d700) at pthread_create.c:333
#6  0x00007f94b6b6aeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f94ba3c7800 (LWP 1880)):
[KCrash Handler]
#6  0x00007f94b5ea3fb2 in QQuickItemPrivate::addToDirtyList() () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007f94b5ea4053 in QQuickItemPrivate::dirty(QQuickItemPrivate::DirtyType) () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#8  0x00007f94b5eae935 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#9  0x00007f94b7463651 in QObject::event (this=0x24a6840, e=<optimized out>) at kernel/qobject.cpp:1245
#10 0x00007f94b5eae10b in QQuickItem::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#11 0x00007f94b88b5b8c in QApplicationPrivate::notify_helper (this=this@entry=0x1615ca0, receiver=receiver@entry=0x24a6840, e=e@entry=0x7f9474135110) at kernel/qapplication.cpp:3720
#12 0x00007f94b88bb230 in QApplication::notify (this=0x7ffd4a98b380, receiver=0x24a6840, e=0x7f9474135110) at kernel/qapplication.cpp:3503
#13 0x00007f94b7431f1b in QCoreApplication::notifyInternal (this=0x7ffd4a98b380, receiver=0x24a6840, event=event@entry=0x7f9474135110) at kernel/qcoreapplication.cpp:935
#14 0x00007f94b7434057 in QCoreApplication::sendEvent (event=0x7f9474135110, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:228
#15 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x16152e0) at kernel/qcoreapplication.cpp:1552
#16 0x00007f94b7434588 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1410
#17 0x00007f94b7488e73 in postEventSourceDispatch (s=0x168db20) at kernel/qeventdispatcher_glib.cpp:271
#18 0x00007f94b3adaff7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007f94b3adb250 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007f94b3adb2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007f94b748927f in QEventDispatcherGlib::processEvents (this=0x1687130, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#22 0x00007f94b742f75a in QEventLoop::exec (this=this@entry=0x7ffd4a98b260, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#23 0x00007f94b74372cc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1188
#24 0x00007f94b830200c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1510
#25 0x00007f94b88b2025 in QApplication::exec () at kernel/qapplication.cpp:2956
#26 0x000000000040f04b in main (argc=1, argv=<optimized out>) at ../../app/main.cpp:55

Possible duplicates by query: bug 355136, bug 354851, bug 354421, bug 354378, bug 354254.

Reported using DrKonqi
Comment 1 Artur Puzio 2015-12-25 16:26:15 UTC
I can't reproduce your problem on version 5.5.1 on Gentoo.
Many of the bugs that this bug is marked as possible duplicate of are marked as duplicates of similar to this bug 344651, which was fixed in version 5.4.3.
Please check if you will experience any problems after upgrading to 5.4.3 or newer.
Comment 2 Artur Puzio 2015-12-27 15:36:42 UTC
Also the backtrace is from version without debugging symbols, so it's not useful for developers. When you will want to post another bug please install debugging symbols for the problematic app and post the version obtained after installing them. You can learn how to do it here: https://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports
Comment 3 Myriam Schweingruber 2015-12-27 20:31:42 UTC
Setting status
Comment 4 Marcel 2016-01-06 22:32:06 UTC
Created attachment 96492 [details]
New crash information added by DrKonqi

systemsettings5 (5.4.1) using Qt 5.4.2

- What I was doing when the application crashed: I was in the System Settings -> Input Devices and wanted to switch to Display and Monitor.
In addition, the system freezes completely. This is done already today 4x. The PC is no longer to use and had to do a hard reset.

-- Backtrace (Reduced):
#6  0x00007f3e8f4e3f9f in QQuickItemPrivate::addToDirtyList() () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007f3e8f4e4053 in QQuickItemPrivate::dirty(QQuickItemPrivate::DirtyType) () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
[...]
#9  0x00007f3e90ac1651 in QObject::event (this=0x1705ec0, e=<optimized out>) at kernel/qobject.cpp:1245
#10 0x00007f3e8f4ee10b in QQuickItem::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#11 0x00007f3e91f2fb8c in QApplicationPrivate::notify_helper (this=this@entry=0xdfacd0, receiver=receiver@entry=0x1705ec0, e=e@entry=0x7f3e44150350) at kernel/qapplication.cpp:3720
Comment 5 dygulski13 2016-03-18 22:03:28 UTC
Created attachment 97964 [details]
New crash information added by DrKonqi

systemsettings5 (5.4.1) using Qt 5.4.2

- What I was doing when the application crashed:
I opened the setting panel went into screen settings then went back to main panel itself and then it suddenly crashed. It happens from time to time.

-- Backtrace (Reduced):
#6  0x00007f6d219cef9f in QQuickItemPrivate::addToDirtyList() () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007f6d219cf053 in QQuickItemPrivate::dirty(QQuickItemPrivate::DirtyType) () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
[...]
#9  0x00007f6d22f8e651 in QObject::event (this=0x20d6890, e=<optimized out>) at kernel/qobject.cpp:1245
#10 0x00007f6d219d910b in QQuickItem::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#11 0x00007f6d243e0b8c in QApplicationPrivate::notify_helper (this=this@entry=0x1844cd0, receiver=receiver@entry=0x20d6890, e=e@entry=0x7f6cf0150850) at kernel/qapplication.cpp:3720
Comment 6 Houssein Khafaja 2016-04-20 02:23:33 UTC
Created attachment 98471 [details]
New crash information added by DrKonqi

systemsettings5 (5.4.1) using Qt 5.4.2

- What I was doing when the application crashed:

After clicking on "Display Monitor Settings" in System Settings and then closing System Setteings via the "X" button at the top right of the window, the bug splat window appears after System Settings crashes.

-- Backtrace (Reduced):
#6  0x00007fbfb7473fb2 in QQuickItemPrivate::addToDirtyList() () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007fbfb7474053 in QQuickItemPrivate::dirty(QQuickItemPrivate::DirtyType) () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
[...]
#9  0x00007fbfb8a33651 in QObject::event (this=0x2ccacd0, e=<optimized out>) at kernel/qobject.cpp:1245
#10 0x00007fbfb747e10b in QQuickItem::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#11 0x00007fbfb9e85b8c in QApplicationPrivate::notify_helper (this=this@entry=0x248bcd0, receiver=receiver@entry=0x2ccacd0, e=e@entry=0x7fbf88172130) at kernel/qapplication.cpp:3720
Comment 7 Andrew Crouthamel 2018-09-26 22:18:21 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 set the bug status 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 8 Andrew Crouthamel 2018-10-27 02:25:09 UTC
Dear Bug Submitter,

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!