[kde] [Bug 342095] New: System Settings crashes applying changes for a (new) keyboard shortcut

gahziniakde at gmail.com gahziniakde at gmail.com
Sun Dec 21 21:30:56 GMT 2014


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

            Bug ID: 342095
           Summary: System Settings crashes applying changes for a (new)
                    keyboard shortcut
           Product: kde
           Version: unspecified
          Platform: Fedora RPMs
                OS: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: unassigned-bugs at kde.org
          Reporter: gahziniakde at gmail.com

Application: systemsettings5 (5.1.1)

Qt Version: 5.3.2
Operating System: Linux 3.17.6-300.fc21.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
- What I was doing when the application crashed:
I have just updated using 
baseurl=http://copr-be.cloud.fedoraproject.org/results/dvratil/plasma-5/fedora-$releasever-$basearch/
I've had a few problems since then such as my main user not being able to login
since after entering my password and
submitting it, the desktop would partially load but never finish. Well, I got
past that by removing ~/.kde (and maybe another folder). I finally got logged
on plasma as my user and so I went to configure keyboard
shortcuts. I was in System Settings, Custom Shortcuts. I right click, new
command, set the comment, trigger: Launch (3),
action: /usr/bin/tokenator, and then hit apply. When I hit Apply, it crashed. 

This was working on both Fedora 20 and 21 before I updated to plasma.

I tried this again and it again crashed.

- Unusual behavior I noticed:                                                   
As mentioned, I've had issues since updating to plasma. Maybe related, maybe
not.                                                                            

- Custom settings of the application:                                           
Nothing for system settings.

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 0x7f9547d72880 (LWP 3900))]

Thread 2 (Thread 0x7f9540d31700 (LWP 3901)):
#0  0x000000304a6f51dd in poll () at /lib64/libc.so.6
#1  0x000000304e60a182 in _xcb_conn_wait () at /lib64/libxcb.so.1
#2  0x000000304e60bcff in xcb_wait_for_event () at /lib64/libxcb.so.1
#3  0x00007f9541576089 in QXcbEventReader::run() () at
/usr/lib64/qt5/plugins/platforms/libqxcb.so
#4  0x00007f954a23493e in QThreadPrivate::start(void*) () at
/lib64/libQt5Core.so.5
#5  0x000000304aa0752a in start_thread () at /lib64/libpthread.so.0
#6  0x000000304a70077d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f9547d72880 (LWP 3900)):
[KCrash Handler]
#5  0x00007f95346575d0 in KHotKeys::ActionDataBase::parent() const () at
/lib64/libkhotkeysprivate.so.5
#6  0x00007f95348b20a6 in KHotkeysModel::parent(QModelIndex const&) const () at
/usr/lib64/qt5/plugins/kcm_hotkeys.so
#7  0x00007f954a3c1413 in QPersistentModelIndex::parent() const () at
/lib64/libQt5Core.so.5
#8  0x00007f954a3db07d in QItemSelectionRange::isValid() const () at
/lib64/libQt5Core.so.5
#9  0x00007f954a3d82eb in QItemSelectionModel::select(QItemSelection const&,
QFlags<QItemSelectionModel::SelectionFlag>) () at /lib64/libQt5Core.so.5
#10 0x00007f954a3d257c in QItemSelectionModel::select(QModelIndex const&,
QFlags<QItemSelectionModel::SelectionFlag>) () at /lib64/libQt5Core.so.5
#11 0x00007f954a3d056b in QItemSelectionModel::setCurrentIndex(QModelIndex
const&, QFlags<QItemSelectionModel::SelectionFlag>) () at
/lib64/libQt5Core.so.5
#12 0x00007f954ba95583 in QAbstractItemView::setCurrentIndex(QModelIndex
const&) () at /lib64/libQt5Widgets.so.5
#13 0x00007f95348ab361 in KCMHotkeys::slotReset() () at
/usr/lib64/qt5/plugins/kcm_hotkeys.so
#14 0x00007f954a44fc4d in QMetaObject::activate(QObject*, int, int, void**) ()
at /lib64/libQt5Core.so.5
#15 0x00007f954a3c1e3b in QAbstractItemModel::beginResetModel() () at
/lib64/libQt5Core.so.5
#16 0x00007f95348b374e in KHotkeysModel::load() () at
/usr/lib64/qt5/plugins/kcm_hotkeys.so
#17 0x00007f95348ad182 in KCMHotkeysPrivate::save() () at
/usr/lib64/qt5/plugins/kcm_hotkeys.so
#18 0x00007f95348ad98d in KCMHotkeys::save() () at
/usr/lib64/qt5/plugins/kcm_hotkeys.so
#19 0x00007f954eabbe37 in KCModuleProxy::save() () at
/lib64/libKF5KCMUtils.so.5
#20 0x00007f954ef35663 in ModuleView::moduleSave(KCModuleProxy*) () at
/lib64/libsystemsettingsview.so.3
#21 0x00007f954ef3a065 in ModuleView::qt_static_metacall(QObject*,
QMetaObject::Call, int, void**) () at /lib64/libsystemsettingsview.so.3
#22 0x00007f954a44fc4d in QMetaObject::activate(QObject*, int, int, void**) ()
at /lib64/libQt5Core.so.5
#23 0x00007f954bbdc182 in QAbstractButton::clicked(bool) () at
/lib64/libQt5Widgets.so.5
#24 0x00007f954b94bb25 in QAbstractButtonPrivate::emitClicked() () at
/lib64/libQt5Widgets.so.5
#25 0x00007f954b94c789 in QAbstractButtonPrivate::click() () at
/lib64/libQt5Widgets.so.5
#26 0x00007f954b94c944 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) ()
at /lib64/libQt5Widgets.so.5
#27 0x00007f954b88f228 in QWidget::event(QEvent*) () at
/lib64/libQt5Widgets.so.5
#28 0x00007f954b85101c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() at /lib64/libQt5Widgets.so.5
#29 0x00007f954b856a5c in QApplication::notify(QObject*, QEvent*) () at
/lib64/libQt5Widgets.so.5
#30 0x00007f954a42125b in QCoreApplication::notifyInternal(QObject*, QEvent*)
() at /lib64/libQt5Core.so.5
#31 0x00007f954b8551fa in QApplicationPrivate::sendMouseEvent(QWidget*,
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () at
/lib64/libQt5Widgets.so.5
#32 0x00007f954b8adaa7 in QWidgetWindow::handleMouseEvent(QMouseEvent*) () at
/lib64/libQt5Widgets.so.5
#33 0x00007f954b8afeb3 in QWidgetWindow::event(QEvent*) () at
/lib64/libQt5Widgets.so.5
#34 0x00007f954b85101c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() at /lib64/libQt5Widgets.so.5
#35 0x00007f954b856460 in QApplication::notify(QObject*, QEvent*) () at
/lib64/libQt5Widgets.so.5
#36 0x00007f954a42125b in QCoreApplication::notifyInternal(QObject*, QEvent*)
() at /lib64/libQt5Core.so.5
#37 0x00007f954b0c2613 in
QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)
() at /lib64/libQt5Gui.so.5
#38 0x00007f954b0c3e75 in
QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*)
() at /lib64/libQt5Gui.so.5
#39 0x00007f954b0a95af in
QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() at /lib64/libQt5Gui.so.5
#40 0x00007f954159bfb0 in userEventSourceDispatch(_GSource*, int (*)(void*),
void*) () at /usr/lib64/qt5/plugins/platforms/libqxcb.so
#41 0x000000304ce49aeb in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#42 0x000000304ce49e88 in g_main_context_iterate.isra () at
/lib64/libglib-2.0.so.0
#43 0x000000304ce49f3c in g_main_context_iteration () at
/lib64/libglib-2.0.so.0
#44 0x00007f954a478897 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /lib64/libQt5Core.so.5
#45 0x00007f954a41ea92 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
/lib64/libQt5Core.so.5
#46 0x00007f954a42650c in QCoreApplication::exec() () at /lib64/libQt5Core.so.5
#47 0x000000000040e42c in main ()

Reproducible: Always

Steps to Reproduce:
1. In system settings, go to shortcuts in workspace
2. In Custom Shortcuts, right click -> new ->Global Shortcut -> Command/URL
3. Click the Apply button --- you don't even need to try to make any settings
changes for the new shortcut. If you do go through and set the correct settings
and hit apply, it'll still fail. 

Actual Results:  
crashes with the above backtrace. The changes you made do get saved though. 

Expected Results:  
the custom action changes you made are saved and the application doesn't crash.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Unassigned-bugs mailing list