https://bugs.kde.org/show_bug.cgi?id=373517

            Bug ID: 373517
           Summary: System Settings crash when removing custom keys
           Product: systemsettings
           Version: 5.8.4
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: plasma-b...@kde.org
          Reporter: tankta...@gmail.com
  Target Milestone: ---

Application: systemsettings5 (5.8.4)
 (Compiled from sources)
Qt Version: 5.6.2
Frameworks Version: 5.28.0
Operating System: Linux 4.8.12-gentoo-r1 x86_64
Distribution: "NAME=Gentoo"

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

I'm trying to set custom keys for Amarok's Play/Pause action, and I get this
regularly when attempting to remove an old setting.  Turns out that when I
restart system settings and return to the global shortcuts to try again, the
removal is registered there.  (I'm also unsuccessful at getting Amarok to
play/pause with the shortcut chosen).

The crash can be reproduced every time.

-- Backtrace:
Application: System Settings (systemsettings5), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f587ec9d740 (LWP 14382))]

Thread 3 (Thread 0x7f586dd9f700 (LWP 14383)):
#0  0x00007f587b21b3ed in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f5878d67952 in poll (__timeout=-1, __nfds=1, __fds=0x7f586dd9ed60)
at /usr/include/bits/poll2.h:46
#2  _xcb_conn_wait (c=c@entry=0x1dbd450, cond=cond@entry=0x1dbd490,
vector=vector@entry=0x0, count=count@entry=0x0) at
/var/tmp/portage/x11-libs/libxcb-1.12/work/libxcb-1.12/src/xcb_conn.c:479
#3  0x00007f5878d6a169 in xcb_wait_for_event (c=0x1dbd450) at
/var/tmp/portage/x11-libs/libxcb-1.12/work/libxcb-1.12/src/xcb_in.c:693
#4  0x00007f5870759479 in QXcbEventReader::run (this=0x1dcb570) at
qxcbconnection.cpp:1331
#5  0x00007f587b8e61f9 in QThreadPrivate::start (arg=0x1dcb570) at
thread/qthread_unix.cpp:365
#6  0x00007f58784e6434 in start_thread (arg=0x7f586dd9f700) at
pthread_create.c:334
#7  0x00007f587b22450d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f5864e6a700 (LWP 14384)):
#0  0x00007f587b21b3ed in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f587676973c in g_main_context_poll (priority=2147483647, n_fds=1,
fds=0x7f5860003020, timeout=16668, context=0x7f5860000990) at
/var/tmp/portage/dev-libs/glib-2.48.2/work/glib-2.48.2/glib/gmain.c:4135
#2  g_main_context_iterate (context=context@entry=0x7f5860000990,
block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at
/var/tmp/portage/dev-libs/glib-2.48.2/work/glib-2.48.2/glib/gmain.c:3835
#3  0x00007f587676984c in g_main_context_iteration (context=0x7f5860000990,
may_block=1) at
/var/tmp/portage/dev-libs/glib-2.48.2/work/glib-2.48.2/glib/gmain.c:3901
#4  0x00007f587bb368ac in QEventDispatcherGlib::processEvents
(this=0x7f58600008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#5  0x00007f587bad9442 in QEventLoop::exec (this=this@entry=0x7f5864e69e50,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:206
#6  0x00007f587b8e030b in QThread::exec (this=this@entry=0x7f587ee1fb00
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
thread/qthread.cpp:500
#7  0x00007f587ed9b4b8 in QDBusConnectionManager::run (this=0x7f587ee1fb00
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
qdbusconnection.cpp:189
#8  0x00007f587b8e61f9 in QThreadPrivate::start (arg=0x7f587ee1fb00 <(anonymous
namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
thread/qthread_unix.cpp:365
#9  0x00007f58784e6434 in start_thread (arg=0x7f5864e6a700) at
pthread_create.c:334
#10 0x00007f587b22450d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f587ec9d740 (LWP 14382)):
[KCrash Handler]
#6  QString::QString (other=<error reading variable: Cannot access memory at
address 0x8>, this=this@entry=0x7fffc00a2040) at
../../include/QtCore/../../src/corelib/tools/qstring.h:889
#7  QLabel::text (this=0x0) at widgets/qlabel.cpp:337
#8  0x00007f587e566a21 in ShortcutEditWidget::setKeySequence (this=0x2661a00,
activeSeq=...) at
/var/tmp/portage/kde-frameworks/kxmlgui-5.28.0/work/kxmlgui-5.28.0/src/kshortcuteditwidget.cpp:192
#9  0x00007f587bb0b649 in QtPrivate::QSlotObjectBase::call (a=0x7fffc00a21c0,
r=0x7f5879a88640 <(anonymous
namespace)::Q_QGS_s_instance::innerFunction()::holder>, this=0x2738ee0) at
../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#10 QMetaObject::activate (sender=0x7f5879a88640 <(anonymous
namespace)::Q_QGS_s_instance::innerFunction()::holder>, signalOffset=<optimized
out>, local_signal_index=local_signal_index@entry=0,
argv=argv@entry=0x7fffc00a21c0) at kernel/qobject.cpp:3715
#11 0x00007f587bb0bb07 in QMetaObject::activate (sender=<optimized out>,
m=m@entry=0x7f5879a87940 <KGlobalAccel::staticMetaObject>,
local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffc00a21c0)
at kernel/qobject.cpp:3595
#12 0x00007f587986e1c4 in KGlobalAccel::globalShortcutChanged (this=<optimized
out>, _t1=_t1@entry=0x257a530, _t2=...) at
/var/tmp/portage/kde-frameworks/kglobalaccel-5.28.0/work/kglobalaccel-5.28.0_build/src/moc_kglobalaccel.cpp:161
#13 0x00007f5879873eb2 in KGlobalAccelPrivate::updateGlobalShortcut
(this=<optimized out>, action=action@entry=0x257a530, actionFlags=...,
actionFlags@entry=...,
globalFlags=globalFlags@entry=KGlobalAccel::NoAutoloading) at
/var/tmp/portage/kde-frameworks/kglobalaccel-5.28.0/work/kglobalaccel-5.28.0/src/kglobalaccel.cpp:354
#14 0x00007f58798747e3 in KGlobalAccel::setShortcut (this=0x7f5879a88640
<(anonymous namespace)::Q_QGS_s_instance::innerFunction()::holder>,
action=action@entry=0x257a530, shortcut=...,
loadFlag=loadFlag@entry=KGlobalAccel::NoAutoloading) at
/var/tmp/portage/kde-frameworks/kglobalaccel-5.28.0/work/kglobalaccel-5.28.0/src/kglobalaccel.cpp:672
#15 0x00007f587e575b9e in KShortcutsEditorItem::setKeySequence
(this=this@entry=0x25299c0, column=column@entry=4, seq=...) at
/var/tmp/portage/kde-frameworks/kxmlgui-5.28.0/work/kxmlgui-5.28.0/src/kshortcutseditoritem.cpp:284
#16 0x00007f587e56f736 in KShortcutsEditorPrivate::changeKeyShortcut
(this=0x257d0b0, item=0x25299c0, column=4, capture=...) at
/var/tmp/portage/kde-frameworks/kxmlgui-5.28.0/work/kxmlgui-5.28.0/src/kshortcutseditor.cpp:480
#17 0x00007f587e56f89d in KShortcutsEditorPrivate::capturedShortcut
(this=0x257d0b0, newShortcut=..., index=...) at
/var/tmp/portage/kde-frameworks/kxmlgui-5.28.0/work/kxmlgui-5.28.0/src/kshortcutseditor.cpp:462
#18 0x00007f587bb0ae6e in QMetaObject::activate (sender=sender@entry=0x24eb950,
signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0,
argv=argv@entry=0x7fffc00a2620) at kernel/qobject.cpp:3730
#19 0x00007f587bb0bb07 in QMetaObject::activate (sender=sender@entry=0x24eb950,
m=m@entry=0x7f587e7ea840 <KShortcutsEditorDelegate::staticMetaObject>,
local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffc00a2620)
at kernel/qobject.cpp:3595
#20 0x00007f587e56c1c7 in KShortcutsEditorDelegate::shortcutChanged
(this=this@entry=0x24eb950, _t1=..., _t2=...) at
/var/tmp/portage/kde-frameworks/kxmlgui-5.28.0/work/kxmlgui-5.28.0_build/src/moc_kshortcutsdialog_p.cpp:159
#21 0x00007f587e5744ba in KShortcutsEditorDelegate::keySequenceChanged
(this=0x24eb950, seq=...) at
/var/tmp/portage/kde-frameworks/kxmlgui-5.28.0/work/kxmlgui-5.28.0/src/kshortcutseditordelegate.cpp:307
#22 0x00007f587e56c699 in KShortcutsEditorDelegate::qt_static_metacall
(_o=0x24eb950, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at
/var/tmp/portage/kde-frameworks/kxmlgui-5.28.0/work/kxmlgui-5.28.0_build/src/moc_kshortcutsdialog_p.cpp:103
#23 0x00007f587bb0ae6e in QMetaObject::activate (sender=sender@entry=0x266e120,
signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0,
argv=argv@entry=0x7fffc00a2840) at kernel/qobject.cpp:3730
#24 0x00007f587bb0bb07 in QMetaObject::activate (sender=sender@entry=0x266e120,
m=m@entry=0x7f587e7e7c20 <ShortcutEditWidget::staticMetaObject>,
local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffc00a2840)
at kernel/qobject.cpp:3595
#25 0x00007f587e56c222 in ShortcutEditWidget::keySequenceChanged
(this=this@entry=0x266e120, _t1=...) at
/var/tmp/portage/kde-frameworks/kxmlgui-5.28.0/work/kxmlgui-5.28.0_build/src/moc_kshortcutsdialog_p.cpp:368
#26 0x00007f587e566bb2 in ShortcutEditWidget::setCustom (this=0x266e120,
seq=...) at
/var/tmp/portage/kde-frameworks/kxmlgui-5.28.0/work/kxmlgui-5.28.0/src/kshortcuteditwidget.cpp:186
#27 0x00007f587e56c519 in ShortcutEditWidget::qt_static_metacall (_o=<optimized
out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at
/var/tmp/portage/kde-frameworks/kxmlgui-5.28.0/work/kxmlgui-5.28.0_build/src/moc_kshortcutsdialog_p.cpp:305
#28 0x00007f587bb0ae6e in QMetaObject::activate (sender=0x266e190,
signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0,
argv=argv@entry=0x7fffc00a2a10) at kernel/qobject.cpp:3730
#29 0x00007f587bb0bb07 in QMetaObject::activate (sender=<optimized out>,
m=m@entry=0x7f587e7e9920 <KKeySequenceWidget::staticMetaObject>,
local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffc00a2a10)
at kernel/qobject.cpp:3595
#30 0x00007f587e5598b2 in KKeySequenceWidget::keySequenceChanged
(this=<optimized out>, _t1=...) at
/var/tmp/portage/kde-frameworks/kxmlgui-5.28.0/work/kxmlgui-5.28.0_build/src/moc_kkeysequencewidget.cpp:242
#31 0x00007f587e55d161 in KKeySequenceWidgetPrivate::doneRecording
(this=0x266b9b0, validate=<optimized out>) at
/var/tmp/portage/kde-frameworks/kxmlgui-5.28.0/work/kxmlgui-5.28.0/src/kkeysequencewidget.cpp:462
#32 0x00007f587e55d1f8 in KKeySequenceWidget::setKeySequence
(this=this@entry=0x266e190, seq=...,
validate=validate@entry=KKeySequenceWidget::NoValidate) at
/var/tmp/portage/kde-frameworks/kxmlgui-5.28.0/work/kxmlgui-5.28.0/src/kkeysequencewidget.cpp:385
#33 0x00007f587e55d231 in KKeySequenceWidget::clearKeySequence (this=0x266e190)
at
/var/tmp/portage/kde-frameworks/kxmlgui-5.28.0/work/kxmlgui-5.28.0/src/kkeysequencewidget.cpp:391
#34 0x00007f587bb0ae6e in QMetaObject::activate (sender=sender@entry=0x2362230,
signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=2,
argv=argv@entry=0x7fffc00a2bf0) at kernel/qobject.cpp:3730
#35 0x00007f587bb0bb07 in QMetaObject::activate (sender=sender@entry=0x2362230,
m=m@entry=0x7f587d605520 <QAbstractButton::staticMetaObject>,
local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7fffc00a2bf0)
at kernel/qobject.cpp:3595
#36 0x00007f587d18ed02 in QAbstractButton::clicked (this=this@entry=0x2362230,
_t1=false) at .moc/moc_qabstractbutton.cpp:310
#37 0x00007f587d18ef55 in QAbstractButtonPrivate::emitClicked (this=0x2669bd0)
at widgets/qabstractbutton.cpp:404
#38 0x00007f587d1906c4 in QAbstractButtonPrivate::click (this=0x2669bd0) at
widgets/qabstractbutton.cpp:397
#39 0x00007f587d1908e4 in QAbstractButton::mouseReleaseEvent (this=0x2362230,
e=0x7fffc00a3190) at widgets/qabstractbutton.cpp:1002
#40 0x00007f587d27280a in QToolButton::mouseReleaseEvent (this=<optimized out>,
e=<optimized out>) at widgets/qtoolbutton.cpp:611
#41 0x00007f587d0dfeae in QWidget::event (this=0x2362230, event=0x7fffc00a3190)
at kernel/qwidget.cpp:9117
#42 0x00007f587d191aa3 in QAbstractButton::event (this=this@entry=0x2362230,
e=e@entry=0x7fffc00a3190) at widgets/qabstractbutton.cpp:959
#43 0x00007f587d27295a in QToolButton::event (this=0x2362230,
event=0x7fffc00a3190) at widgets/qtoolbutton.cpp:977
#44 0x00007f587d08ebbc in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x2362230, e=0x7fffc00a3190) at kernel/qapplication.cpp:3804
#45 0x00007f587d096bb1 in QApplication::notify (this=<optimized out>,
receiver=0x2362230, e=0x7fffc00a3190) at kernel/qapplication.cpp:3277
#46 0x00007f587badbc78 in QCoreApplication::notifyInternal2
(receiver=receiver@entry=0x2362230, event=event@entry=0x7fffc00a3190) at
kernel/qcoreapplication.cpp:1015
#47 0x00007f587d095ae6 in QCoreApplication::sendEvent (event=<optimized out>,
receiver=<optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:225
#48 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x2362230,
event=event@entry=0x7fffc00a3190, alienWidget=alienWidget@entry=0x2362230,
nativeWidget=0x1e9f810, buttonDown=buttonDown@entry=0x7f587d62f360
<qt_button_down>, lastMouseReceiver=..., spontaneous=true) at
kernel/qapplication.cpp:2775
#49 0x00007f587d0feab5 in QWidgetWindow::handleMouseEvent
(this=this@entry=0x1f20dd0, event=event@entry=0x7fffc00a35e0) at
kernel/qwidgetwindow.cpp:603
#50 0x00007f587d101170 in QWidgetWindow::event (this=0x1f20dd0,
event=0x7fffc00a35e0) at kernel/qwidgetwindow.cpp:233
#51 0x00007f587d08ebbc in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x1f20dd0, e=0x7fffc00a35e0) at kernel/qapplication.cpp:3804
#52 0x00007f587d096622 in QApplication::notify (this=0x7fffc00a3aa0,
receiver=0x1f20dd0, e=0x7fffc00a35e0) at kernel/qapplication.cpp:3561
#53 0x00007f587badbc78 in QCoreApplication::notifyInternal2
(receiver=receiver@entry=0x1f20dd0, event=event@entry=0x7fffc00a35e0) at
kernel/qcoreapplication.cpp:1015
#54 0x00007f587ca576ee in QCoreApplication::sendSpontaneousEvent
(event=0x7fffc00a35e0, receiver=0x1f20dd0) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:228
#55 QGuiApplicationPrivate::processMouseEvent (e=0x2663aa0) at
kernel/qguiapplication.cpp:1877
#56 0x00007f587ca59315 in QGuiApplicationPrivate::processWindowSystemEvent
(e=e@entry=0x2663aa0) at kernel/qguiapplication.cpp:1661
#57 0x00007f587ca36e83 in QWindowSystemInterface::sendWindowSystemEvents
(flags=...) at kernel/qwindowsysteminterface.cpp:653
#58 0x00007f587079a610 in userEventSourceDispatch (source=<optimized out>) at
eventdispatchers/qeventdispatcher_glib.cpp:70
#59 0x00007f587676949d in g_main_dispatch (context=0x7f58680016f0) at
/var/tmp/portage/dev-libs/glib-2.48.2/work/glib-2.48.2/glib/gmain.c:3154
#60 g_main_context_dispatch (context=context@entry=0x7f58680016f0) at
/var/tmp/portage/dev-libs/glib-2.48.2/work/glib-2.48.2/glib/gmain.c:3769
#61 0x00007f58767697a0 in g_main_context_iterate
(context=context@entry=0x7f58680016f0, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at
/var/tmp/portage/dev-libs/glib-2.48.2/work/glib-2.48.2/glib/gmain.c:3840
#62 0x00007f587676984c in g_main_context_iteration (context=0x7f58680016f0,
may_block=1) at
/var/tmp/portage/dev-libs/glib-2.48.2/work/glib-2.48.2/glib/gmain.c:3901
#63 0x00007f587bb36897 in QEventDispatcherGlib::processEvents (this=0x1e0c0e0,
flags=...) at kernel/qeventdispatcher_glib.cpp:417
#64 0x00007f587bad9442 in QEventLoop::exec (this=this@entry=0x7fffc00a3980,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:206
#65 0x00007f587bae262c in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1285
#66 0x00007f587ca4e6ec in QGuiApplication::exec () at
kernel/qguiapplication.cpp:1607
#67 0x00007f587d08eb15 in QApplication::exec () at kernel/qapplication.cpp:2979
#68 0x000000000040c103 in main (argc=1, argv=<optimized out>) at
/var/tmp/portage/kde-plasma/systemsettings-5.8.4/work/systemsettings-5.8.4/app/main.cpp:56

Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to