Bug 398594 - Crash when importing(?) custom shortcuts
Summary: Crash when importing(?) custom shortcuts
Status: RESOLVED DUPLICATE of bug 346656
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2018-09-13 22:27 UTC by nyanpasu64
Modified: 2018-10-01 14:39 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nyanpasu64 2018-09-13 22:27:33 UTC
Application: kcmshell5 (5.12.6)

Qt Version: 5.9.5
Frameworks Version: 5.44.0
Operating System: Linux 4.15.0-34-lowlatency x86_64
Distribution: Ubuntu 18.04.1 LTS

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

I want to map Meta+Alt+{Down,Left} to a custom volume-down command, and Meta+Alt+{Up,Right} to volume-up.

The custom shortcut UI is slow to use, much slower than a table with "shortcut1, shortcut2, command", where I can double-click each column to edit it.
Additionally there's no way to map 2 keystrokes to the same custom command, instead I have to create 2 separate shortcuts (which is tedious busywork I hate).

To speed up the process, I was attempting to export a group of 1 shortcut, manually edit the exported shortcut text file, and import them again. Unfortunately I ended up with groupname/groupname/shortcut, and the shortcut "name" was not changed (though the keystroke was sometimes changed).

The crash happened after clicking around or something.

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

Thread 4 (Thread 0x7f196dbc6700 (LWP 12889)):
#0  0x00007f198b0789f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5602ce10f040) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007f198b0789f3 in __pthread_cond_wait_common (abstime=0x0, mutex=0x5602ce10eff0, cond=0x5602ce10f018) at pthread_cond_wait.c:502
#2  0x00007f198b0789f3 in __pthread_cond_wait (cond=0x5602ce10f018, mutex=0x5602ce10eff0) at pthread_cond_wait.c:655
#3  0x00007f198e2da59b in QWaitConditionPrivate::wait(unsigned long) (time=18446744073709551615, this=0x5602ce10eff0) at thread/qwaitcondition_unix.cpp:143
#4  0x00007f198e2da59b in QWaitCondition::wait(QMutex*, unsigned long) (this=this@entry=0x5602ce15bcb8, mutex=mutex@entry=0x5602ce15bcb0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:215
#5  0x00007f198e2d2c0b in QSemaphore::acquire(int) (this=0x5602ce06a138, n=1) at thread/qsemaphore.cpp:143
#6  0x00007f196eeba80c in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/texttospeech/libqttexttospeech_flite.so
#7  0x00007f198e2d916d in QThreadPrivate::start(void*) (arg=0x5602ce06a100) at thread/qthread_unix.cpp:368
#8  0x00007f198b0726db in start_thread (arg=0x7f196dbc6700) at pthread_create.c:463
#9  0x00007f19910d388f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f19755c5700 (LWP 12888)):
#0  0x00007f19910c6bf9 in __GI___poll (fds=0x7f1970004db0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f1988fb8439 in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f1970004db0, timeout=<optimized out>, context=0x7f1970000bf0) at ../../../../glib/gmain.c:4204
#2  0x00007f1988fb8439 in g_main_context_iterate (context=context@entry=0x7f1970000bf0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../../glib/gmain.c:3898
#3  0x00007f1988fb854c in g_main_context_iteration (context=0x7f1970000bf0, may_block=may_block@entry=1) at ../../../../glib/gmain.c:3964
#4  0x00007f198e51090b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f1970000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f198e4b59ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f19755c4d70, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007f198e2d422a in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:515
#7  0x00007f198e98dd45 in  () at /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#8  0x00007f198e2d916d in QThreadPrivate::start(void*) (arg=0x7f198ec00d60) at thread/qthread_unix.cpp:368
#9  0x00007f198b0726db in start_thread (arg=0x7f19755c5700) at pthread_create.c:463
#10 0x00007f19910d388f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f197ea42700 (LWP 12887)):
#0  0x00007f19910c6bf9 in __GI___poll (fds=0x7f197ea41ca8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f198b6a1747 in  () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f198b6a336a in xcb_wait_for_event () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f19817ef2a9 in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007f198e2d916d in QThreadPrivate::start(void*) (arg=0x5602cdecaf50) at thread/qthread_unix.cpp:368
#5  0x00007f198b0726db in start_thread (arg=0x7f197ea42700) at pthread_create.c:463
#6  0x00007f19910d388f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f1991783800 (LWP 12886)):
[KCrash Handler]
#6  0x00007f196fdd7e20 in KHotKeys::ActionDataBase::parent() const () at /usr/lib/x86_64-linux-gnu/libkhotkeysprivate.so.5
#7  0x00007f197418aa6e in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/kcm_hotkeys.so
#8  0x00007f198e465431 in QModelIndex::parent() const (this=0x5602ce765cc0) at ../../include/QtCore/../../src/corelib/itemmodels/qabstractitemmodel.h:421
#9  0x00007f198e465431 in QItemSelection::select(QModelIndex const&, QModelIndex const&) (this=this@entry=0x7ffe0a197da0, topLeft=..., bottomRight=...) at itemmodels/qitemselectionmodel.cpp:468
#10 0x00007f198e4655e8 in QItemSelection::QItemSelection(QModelIndex const&, QModelIndex const&) (this=0x7ffe0a197da0, topLeft=..., bottomRight=...) at itemmodels/qitemselectionmodel.cpp:452
#11 0x00007f198e46563c in QItemSelectionModel::select(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) (this=this@entry=0x5602ce2aeac0, index=..., command=command@entry=...) at itemmodels/qitemselectionmodel.cpp:1185
#12 0x00007f198e46394d in QItemSelectionModel::setCurrentIndex(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) (this=0x5602ce2aeac0, index=..., command=...) at itemmodels/qitemselectionmodel.cpp:1411
#13 0x00007f197418518b in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/kcm_hotkeys.so
#14 0x00007f198e4e65b5 in QMetaObject::activate(QObject*, int, int, void**) (sender=sender@entry=0x5602ce2aeac0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffe0a198040) at kernel/qobject.cpp:3767
#15 0x00007f198e4e6c87 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x5602ce2aeac0, m=m@entry=0x7f198e96f9e0 <QItemSelectionModel::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffe0a198040) at kernel/qobject.cpp:3629
#16 0x00007f198e46367a in QItemSelectionModel::currentChanged(QModelIndex const&, QModelIndex const&) (this=this@entry=0x5602ce2aeac0, _t1=..., _t2=...) at .moc/moc_qitemselectionmodel.cpp:486
#17 0x00007f198e46396e in QItemSelectionModel::setCurrentIndex(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) (this=0x5602ce2aeac0, index=..., command=...) at itemmodels/qitemselectionmodel.cpp:1412
#18 0x00007f198f70da4c in QAbstractItemView::mousePressEvent(QMouseEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007f198f77ba7b in QTreeView::mousePressEvent(QMouseEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007f198f4fe98f in QWidget::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007f198f59f4be in QFrame::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007f198f712b3b in QAbstractItemView::viewportEvent(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007f198f77b4dc in QTreeView::viewportEvent(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x00007f198e4b768c in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) (receiver=0x5602cdfafb00, event=0x7ffe0a198830) at kernel/qcoreapplication.cpp:1135
#25 0x00007f198f4bf805 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#26 0x00007f198f4c764f in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#27 0x00007f198e4b79a8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x5602cdfafb00, event=0x7ffe0a198830) at kernel/qcoreapplication.cpp:1024
#28 0x00007f198f4c6622 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#29 0x00007f198f51914b in  () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#30 0x00007f198f51b7ba in  () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#31 0x00007f198f4bf82c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#32 0x00007f198f4c70f4 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#33 0x00007f198e4b79a8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x5602ce0754c0, event=0x7ffe0a198c30) at kernel/qcoreapplication.cpp:1024
#34 0x00007f198ed03523 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#35 0x00007f198ed04ff5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#36 0x00007f198ecdc2eb in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#37 0x00007f19818521c0 in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#38 0x00007f1988fb8287 in g_main_dispatch (context=0x7f1978004ff0) at ../../../../glib/gmain.c:3177
#39 0x00007f1988fb8287 in g_main_context_dispatch (context=context@entry=0x7f1978004ff0) at ../../../../glib/gmain.c:3830
#40 0x00007f1988fb84c0 in g_main_context_iterate (context=context@entry=0x7f1978004ff0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../../glib/gmain.c:3903
#41 0x00007f1988fb854c in g_main_context_iteration (context=0x7f1978004ff0, may_block=may_block@entry=1) at ../../../../glib/gmain.c:3964
#42 0x00007f198e5108ef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x5602cdf0ebf0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#43 0x00007f198e4b59ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffe0a198fe0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#44 0x00007f198e4bea84 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1297
#45 0x00007f19913abd10 in kdemain () at /usr/lib/x86_64-linux-gnu/libkdeinit5_kcmshell5.so
#46 0x00007f1990fd3b97 in __libc_start_main (main=0x5602cd392740, argc=2, argv=0x7ffe0a199258, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe0a199248) at ../csu/libc-start.c:310
#47 0x00005602cd39277a in _start ()

Reported using DrKonqi
Comment 1 Christoph Feck 2018-10-01 14:39:31 UTC

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