[Digikam-devel] [Bug 198639] crash: Configure Shortcuts - Reset to Defaults

Andi Clemens andi.clemens at gmx.net
Thu Jul 2 15:55:46 CEST 2009


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





--- Comment #2 from Andi Clemens <andi clemens gmx net>  2009-07-02 15:55:44 ---
I'm not sure if it is a digiKam problem, maybe we are using KActionCategory
wrong here (although I don't know why).

This is my (not very helpful) backtrace:

#0  0xb5963e50 in QObject::property () from /usr/lib/libQtCore.so.4
#1  0xb68f263f in KAction::shortcut () from /usr/lib/libkdeui.so.5
#2  0xb6968a04 in KShortcutsEditorPrivate::allDefault () from
/usr/lib/libkdeui.so.5
#3  0xb696a8bb in KShortcutsEditor::qt_metacall () from /usr/lib/libkdeui.so.5
#4  0xb59678bc in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#5  0xb59684f2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#6  0xb693a727 in KDialog::resetClicked () from /usr/lib/libkdeui.so.5
#7  0xb693d0a0 in KDialog::slotButtonClicked () from /usr/lib/libkdeui.so.5
#8  0xb693db99 in KDialog::qt_metacall () from /usr/lib/libkdeui.so.5
#9  0xb696fa9a in KShortcutsDialog::qt_metacall () from /usr/lib/libkdeui.so.5
#10 0xb59678bc in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#11 0xb59684f2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#12 0xb596a4a3 in QSignalMapper::mapped () from /usr/lib/libQtCore.so.4
#13 0xb596ad3d in QSignalMapper::map () from /usr/lib/libQtCore.so.4
#14 0xb596af1e in QSignalMapper::map () from /usr/lib/libQtCore.so.4
#15 0xb596b6eb in QSignalMapper::qt_metacall () from /usr/lib/libQtCore.so.4
#16 0xb59678bc in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#17 0xb5967d08 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#18 0xb64762f1 in QAbstractButton::clicked () from /usr/lib/libQtGui.so.4
#19 0xb61a2b69 in ?? () from /usr/lib/libQtGui.so.4
#20 0xb61a47c4 in ?? () from /usr/lib/libQtGui.so.4
#21 0xb61a4a51 in QAbstractButton::mouseReleaseEvent () from
/usr/lib/libQtGui.so.4
#22 0xb5e4b022 in QWidget::event () from /usr/lib/libQtGui.so.4
#23 0xb61a2a0e in QAbstractButton::event () from /usr/lib/libQtGui.so.4
#24 0xb624c1ad in QPushButton::event () from /usr/lib/libQtGui.so.4
#25 0xb5df66a4 in QApplicationPrivate::notify_helper () from
/usr/lib/libQtGui.so.4
#26 0xb5dfe6d0 in QApplication::notify () from /usr/lib/libQtGui.so.4
#27 0xb69cfc8a in KApplication::notify () from /usr/lib/libkdeui.so.5
#28 0xb5951edb in QCoreApplication::notifyInternal () from
/usr/lib/libQtCore.so.4
#29 0xb5dfd693 in QApplicationPrivate::sendMouseEvent () from
/usr/lib/libQtGui.so.4
#30 0xb5e6b1d4 in ?? () from /usr/lib/libQtGui.so.4
#31 0xb5e6a6b5 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#32 0xb5e94d72 in ?? () from /usr/lib/libQtGui.so.4
#33 0xb5114d98 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#34 0xb51183e0 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#35 0xb5118513 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#36 0xb597c57c in QEventDispatcherGlib::processEvents () from
/usr/lib/libQtCore.so.4
#37 0xb5e944a5 in ?? () from /usr/lib/libQtGui.so.4
#38 0xb5950489 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#39 0xb59508da in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#40 0xb62d9073 in QDialog::exec () from /usr/lib/libQtGui.so.4
#41 0xb696f999 in KShortcutsDialog::configure () from /usr/lib/libkdeui.so.5
#42 0x0822f34f in Digikam::DigikamApp::slotEditKeys (this=0xbfb677e8) at
/home/andi/Programmieren/KDE/digiKam/digikam_KDE4/digikam/digikam/digikamapp.cpp:2120
#43 0x0823faed in Digikam::DigikamApp::qt_metacall (this=0xa2bfaa8,
_c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfb679a8) at
/home/andi/Programmieren/KDE/digiKam/digikam_KDE4/digikam/digikam/digikamapp.moc:225
#44 0xb59678bc in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#45 0xb5967d08 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#46 0xb5df0121 in QAction::triggered () from /usr/lib/libQtGui.so.4
#47 0xb5df16a2 in QAction::activate () from /usr/lib/libQtGui.so.4
#48 0xb62355ac in ?? () from /usr/lib/libQtGui.so.4
#49 0xb623bbbb in ?? () from /usr/lib/libQtGui.so.4
#50 0xb623c777 in QMenu::mouseReleaseEvent () from /usr/lib/libQtGui.so.4
#51 0xb6ab1515 in KMenu::mouseReleaseEvent () from /usr/lib/libkdeui.so.5
#52 0xb5e4b022 in QWidget::event () from /usr/lib/libQtGui.so.4
#53 0xb623e9c4 in QMenu::event () from /usr/lib/libQtGui.so.4
#54 0xb5df66a4 in QApplicationPrivate::notify_helper () from
/usr/lib/libQtGui.so.4
#55 0xb5dfe6d0 in QApplication::notify () from /usr/lib/libQtGui.so.4
#56 0xb69cfc8a in KApplication::notify () from /usr/lib/libkdeui.so.5
#57 0xb5951edb in QCoreApplication::notifyInternal () from
/usr/lib/libQtCore.so.4
#58 0xb5dfd693 in QApplicationPrivate::sendMouseEvent () from
/usr/lib/libQtGui.so.4
#59 0xb5e6b68a in ?? () from /usr/lib/libQtGui.so.4
#60 0xb5e6a6b5 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#61 0xb5e94d72 in ?? () from /usr/lib/libQtGui.so.4
#62 0xb5114d98 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#63 0xb51183e0 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#64 0xb5118513 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#65 0xb597c57c in QEventDispatcherGlib::processEvents () from
/usr/lib/libQtCore.so.4
#66 0xb5e944a5 in ?? () from /usr/lib/libQtGui.so.4
#67 0xb5950489 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#68 0xb59508da in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#69 0xb5952d4f in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#70 0xb5df6527 in QApplication::exec () from /usr/lib/libQtGui.so.4
#71 0x082c5622 in main (argc=1, argv=0xbfb69d04) at
/home/andi/Programmieren/KDE/digiKam/digikam_KDE4/digikam/digikam/main.cpp:184


The lines that might be responsible are the following:
http://lxr.kde.org/source/extragear/graphics/digikam/digikam/digikamapp.cpp#2286

and
http://lxr.kde.org/source/extragear/graphics/digikam/digikam/digikamapp.cpp#2114

If I ommit the categories, it is working. So we either use it wrong (but again,
I just used the examples in the header file) or it is a kdelibs problem.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Digikam-devel mailing list