Bug 344694 - System Settings bug
Summary: System Settings bug
Status: RESOLVED FIXED
Alias: None
Product: KScreen
Classification: Plasma
Component: kcm (show other bugs)
Version: 5.2.1
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Daniel Vrátil
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-03-01 07:41 UTC by Gerard
Modified: 2015-03-06 12:34 UTC (History)
0 users

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


Attachments
Output form kscreen-console bug (18.21 KB, text/plain)
2015-03-06 06:42 UTC, Gerard
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gerard 2015-03-01 07:41:33 UTC
Application: systemsettings5 (5.2.1)

Qt Version: 5.4.0
Operating System: Linux 3.16.0-29-generic x86_64
Distribution: Ubuntu Vivid Vervet (development branch)

-- Information about the crash:
- What I was doing when the application crashed:
In System Setting-> Application Style, i tried to change the Window Decorations.
As soon as you clink on the Window Decoration tab it will crash, every time.

The Sytem Settings-> Display and Monitor tab will crash every time.

All the others seem to work allright

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 0x7f4ec34ea7c0 (LWP 3728))]

Thread 4 (Thread 0x7f4eb24b7700 (LWP 3729)):
#0  0x00007f4ebfc3f0fd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f4ebe98db72 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f4ebe98f64f in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f4eb524a0b9 in QXcbEventReader::run (this=0x25e66f0) at qxcbconnection.cpp:1105
#4  0x00007f4ec02c6a4e in QThreadPrivate::start (arg=0x25e66f0) at thread/qthread_unix.cpp:337
#5  0x00007f4ebd8a50a5 in start_thread (arg=0x7f4eb24b7700) at pthread_create.c:309
#6  0x00007f4ebfc495ad in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f4e9076a700 (LWP 3760)):
#0  0x00007f4ebfc3f0fd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f4ebd385ebc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f4ebd385fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4ec055dacc in QEventDispatcherGlib::processEvents (this=0x7f4e880008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#4  0x00007f4ec0502392 in QEventLoop::exec (this=this@entry=0x7f4e90769dc0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f4ec02c1a94 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007f4e929d1cf7 in KCupsConnection::run() () from /usr/lib/x86_64-linux-gnu/libkcupslib.so
#7  0x00007f4ec02c6a4e in QThreadPrivate::start (arg=0x40757a0) at thread/qthread_unix.cpp:337
#8  0x00007f4ebd8a50a5 in start_thread (arg=0x7f4e9076a700) at pthread_create.c:309
#9  0x00007f4ebfc495ad in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f4e87fff700 (LWP 3782)):
#0  0x00007f4ebd3ca7a4 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f4ebd3858b9 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f4ebd385e60 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4ebd385fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f4ec055dacc in QEventDispatcherGlib::processEvents (this=0x7f4e7c204af0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#5  0x00007f4ec0502392 in QEventLoop::exec (this=this@entry=0x7f4e87ffede0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f4ec02c1a94 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#7  0x00007f4e8e9db865 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#8  0x00007f4ec02c6a4e in QThreadPrivate::start (arg=0x3b255b0) at thread/qthread_unix.cpp:337
#9  0x00007f4ebd8a50a5 in start_thread (arg=0x7f4e87fff700) at pthread_create.c:309
#10 0x00007f4ebfc495ad in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f4ec34ea7c0 (LWP 3728)):
[KCrash Handler]
#6  data (this=0x8) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:135
#7  qGetPtrHelper<QScopedPointer<QObjectData> > (p=...) at ../../include/QtCore/../../src/corelib/global/qglobal.h:961
#8  d_func (this=0x0) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:110
#9  QObject::blockSignals (this=0x0, block=block@entry=true) at kernel/qobject.cpp:1399
#10 0x00007f4e85f4d77e in ResolutionSlider::slotOutputModeChanged (this=0x52dbf00) at ../../../kcm/src/resolutionslider.cpp:151
#11 0x00007f4ec05352ea in call (a=0x7fff2cc13bd0, r=0x52dbf00, this=0x52db590) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#12 QMetaObject::activate (sender=0x40a1140, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x0) at kernel/qobject.cpp:3702
#13 0x00007f4ec0535fe7 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f4e85f2e980 <KScreen::Output::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x0) at kernel/qobject.cpp:3582
#14 0x00007f4e85d22193 in KScreen::Output::currentModeIdChanged (this=<optimized out>) at moc_output.cpp:408
#15 0x00007f4e85d1c4d6 in KScreen::Output::setCurrentModeId (this=<optimized out>, mode=...) at ../../src/output.cpp:240
#16 0x00007f4e85f48f78 in OutputConfig::slotResolutionChanged (this=<optimized out>, size=...) at ../../../kcm/src/outputconfig.cpp:181
#17 0x00007f4e85f49fcb in OutputConfig::initUi (this=0x51c59a0) at ../../../kcm/src/outputconfig.cpp:143
#18 0x00007f4e85f4800c in ControlPanel::setConfig (this=0x51a9c10, config=...) at ../../../kcm/src/controlpanel.cpp:55
#19 0x00007f4e85f50f1c in Widget::setConfig (this=0x40ed940, config=...) at ../../../kcm/src/widget.cpp:167
#20 0x00007f4e85f3f3af in KCMKScreen::configReady (this=0x29885d0, op=0x29e3950) at ../../../kcm/src/kcm_kscreen.cpp:81
#21 0x00007f4ec05352ea in call (a=0x7fff2cc14270, r=0x29885d0, this=0x44b8390) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#22 QMetaObject::activate (sender=sender@entry=0x29e3950, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff2cc14270) at kernel/qobject.cpp:3702
#23 0x00007f4ec0535fe7 in QMetaObject::activate (sender=sender@entry=0x29e3950, m=m@entry=0x7f4e85f2eac0 <KScreen::ConfigOperation::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff2cc14270) at kernel/qobject.cpp:3582
#24 0x00007f4e85d2211f in KScreen::ConfigOperation::finished (this=this@entry=0x29e3950, _t1=_t1@entry=0x29e3950) at moc_configoperation.cpp:145
#25 0x00007f4e85d0dd10 in KScreen::ConfigOperationPrivate::doEmitResult (this=<optimized out>) at ../../src/configoperation.cpp:55
#26 0x00007f4ec05366ca in QObject::event (this=0x40fbc00, e=<optimized out>) at kernel/qobject.cpp:1245
#27 0x00007f4ec12f52ec in QApplicationPrivate::notify_helper (this=0x25b8e40, receiver=0x40fbc00, e=0x40b4990) at kernel/qapplication.cpp:3722
#28 0x00007f4ec12fa960 in QApplication::notify (this=0x7fff2cc148e0, receiver=0x40fbc00, e=0x40b4990) at kernel/qapplication.cpp:3505
#29 0x00007f4ec0504bdb in QCoreApplication::notifyInternal (this=0x7fff2cc148e0, receiver=0x40fbc00, event=event@entry=0x40b4990) at kernel/qcoreapplication.cpp:932
#30 0x00007f4ec0506c4b in sendEvent (event=0x40b4990, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:228
#31 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x25b8570) at kernel/qcoreapplication.cpp:1536
#32 0x00007f4ec0507248 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1394
#33 0x00007f4ec055d6a3 in postEventSourceDispatch (s=0x2628bd0) at kernel/qeventdispatcher_glib.cpp:271
#34 0x00007f4ebd385c3d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007f4ebd385f20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f4ebd385fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007f4ec055dab7 in QEventDispatcherGlib::processEvents (this=0x26269a0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#38 0x00007f4ec0502392 in QEventLoop::exec (this=this@entry=0x7fff2cc147c0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#39 0x00007f4ec0509fdc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1185
#40 0x00007f4ec0d3119c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1535
#41 0x00007f4ec12f0f55 in QApplication::exec () at kernel/qapplication.cpp:2956
#42 0x000000000040eebc in main (argc=1, argv=<optimized out>) at ../../app/main.cpp:54

Reported using DrKonqi
Comment 1 Daniel Vrátil 2015-03-05 11:45:24 UTC
Could you please provide output from "kscreen-console bug" command?
Comment 2 Gerard 2015-03-06 06:42:14 UTC
Created attachment 91444 [details]
Output form kscreen-console bug
Comment 3 Daniel Vrátil 2015-03-06 12:34:49 UTC
Git commit 527d51e3f99c80e94dbace4acaebc99fe86645cd by Dan Vrátil.
Committed on 06/03/2015 at 12:34.
Pushed by dvratil into branch 'Plasma/5.2'.

KCM: Prevent a possible crash when setting up outputs with a single mode
FIXED-IN: 5.2.2

M  +1    -1    kcm/src/resolutionslider.cpp

http://commits.kde.org/kscreen/527d51e3f99c80e94dbace4acaebc99fe86645cd