Summary: | systemsettings crashes when importing global keyboard shortcuts | ||
---|---|---|---|
Product: | [Unmaintained] kfile | Reporter: | Peter Lewis <pete> |
Component: | general | Assignee: | kdelibs bugs <kdelibs-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | andresbajotierra, pete |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Unspecified | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Peter Lewis
2009-02-03 12:50:45 UTC
Actually, repeatably, I just get this. I'm sure you guys know why all that extra stuff got generated.... :-) Application: System Settings (systemsettings), signal SIGABRT Thread 1 (Thread 0xb62b2700 (LWP 6579)): [KCrash Handler] #6 0xb80a2424 in __kernel_vsyscall () #7 0xb6ae0790 in raise () from /lib/libc.so.6 #8 0xb6ae20c8 in abort () from /lib/libc.so.6 #9 0xb752e815 in qt_message_output () from /usr/lib/libQtCore.so.4 #10 0xb752e8c6 in qFatal () from /usr/lib/libQtCore.so.4 #11 0xb752e955 in qt_assert () from /usr/lib/libQtCore.so.4 #12 0xb488eb65 in KFileWidget::slotOk () from /usr/lib/libkfile.so.4 #13 0xb488aaec in KFileWidgetPrivate::_k_fileSelected () from /usr/lib/libkfile.so.4 #14 0xb488d62a in KFileWidget::qt_metacall () from /usr/lib/libkfile.so.4 #15 0xb762177b in QMetaObject::activate () from /usr/lib/libQtCore.so.4 #16 0xb7621cd2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4 #17 0xb4869963 in KDirOperator::fileSelected () from /usr/lib/libkfile.so.4 #18 0xb486a279 in KDirOperator::selectFile () from /usr/lib/libkfile.so.4 #19 0xb486a3e4 in KDirOperator::Private::_k_slotActivated () from /usr/lib/libkfile.so.4 #20 0xb487668c in KDirOperator::qt_metacall () from /usr/lib/libkfile.so.4 #21 0xb762177b in QMetaObject::activate () from /usr/lib/libQtCore.so.4 #22 0xb7621cd2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4 #23 0xb728d5c3 in QAbstractItemView::activated () from /usr/lib/libQtGui.so.4 #24 0xb729a4c0 in QAbstractItemView::mouseReleaseEvent () from /usr/lib/libQtGui.so.4 #25 0xb72adfaf in QListView::mouseReleaseEvent () from /usr/lib/libQtGui.so.4 #26 0xb6e8ed36 in QWidget::event () from /usr/lib/libQtGui.so.4 #27 0xb7177743 in QFrame::event () from /usr/lib/libQtGui.so.4 #28 0xb720125f in QAbstractScrollArea::viewportEvent () from /usr/lib/libQtGui.so.4 #29 0xb729acef in QAbstractItemView::viewportEvent () from /usr/lib/libQtGui.so.4 #30 0xb7203655 in ?? () from /usr/lib/libQtGui.so.4 #31 0x08af4840 in ?? () #32 0xbfdbb42c in ?? () #33 0xbfdbaf68 in ?? () #34 0xb760f13a in QCoreApplicationPrivate::sendThroughObjectEventFilters () from /usr/lib/libQtCore.so.4 Backtrace stopped: frame did not save the PC It looks like a bug in the file-dialog. If you can reproduce the crash at will, may you read http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports and post a complete backtrace here? Thanks :) No problem, here you go: Application: System Settings (systemsettings), signal SIGABRT Thread 1 (Thread 0xb63069b0 (LWP 32177)): [KCrash Handler] #6 0xb8082424 in __kernel_vsyscall () #7 0xb69c3790 in raise () from /lib/libc.so.6 #8 0xb69c50c8 in abort () from /lib/libc.so.6 #9 0xb74db1a5 in qt_message_output (msgType=QtFatalMsg, buf=0x9ba0620 "ASSERT: \"(mode & KFile::File) || (mode & KFile::Directory) || (mode & KFile::Files)\" in file /home/jan/Dev/packages/kdemod-core/work/kdelibs/src/kdelibs-4.2.0/kfile/kfilewidget.cpp, line 737") at global/qglobal.cpp:2001 #10 0xb74db267 in qFatal (msg=0xb760d3f8 "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2196 #11 0xb74db325 in qt_assert (assertion=0xb46a1cb4 "(mode & KFile::File) || (mode & KFile::Directory) || (mode & KFile::Files)", file=0xb46a14d8 "/home/jan/Dev/packages/kdemod-core/work/kdelibs/src/kdelibs-4.2.0/kfile/kfilewidget.cpp", line=737) at global/qglobal.cpp:1772 #12 0xb4671b65 in KFileWidget::slotOk (this=0x99934a0) at /home/jan/Dev/packages/kdemod-core/work/kdelibs/src/kdelibs-4.2.0/kfile/kfilewidget.cpp:737 #13 0xb466daec in KFileWidgetPrivate::_k_fileSelected (this=0x9a4a5b0, i=@0xbf89c448) at /home/jan/Dev/packages/kdemod-core/work/kdelibs/src/kdelibs-4.2.0/kfile/kfilewidget.cpp:1046 #14 0xb467062a in KFileWidget::qt_metacall (this=0x99934a0, _c=QMetaObject::InvokeMetaMethod, _id=15, _a=0xbf89c3ec) at /home/jan/Dev/packages/kdemod-core/work/kdelibs/src/build/kfile/kfilewidget.moc:131 #15 0xb75d4f99 in QMetaObject::activate (sender=0x9a81bf8, from_signal_index=<value optimized out>, to_signal_index=34, argv=0x0) at kernel/qobject.cpp:3052 #16 0xb75d5532 in QMetaObject::activate (sender=0x9a81bf8, m=0xb46a6d34, local_signal_index=7, argv=0xbf89c3ec) at kernel/qobject.cpp:3127 #17 0xb464c963 in KDirOperator::fileSelected (this=0x9a81bf8, _t1=@0xbf89c448) at /home/jan/Dev/packages/kdemod-core/work/kdelibs/src/build/kfile/kdiroperator.moc:311 #18 0xb464d279 in KDirOperator::selectFile (this=0x9a81bf8, item=@0xbf89c448) at /home/jan/Dev/packages/kdemod-core/work/kdelibs/src/kdelibs-4.2.0/kfile/kdiroperator.cpp:1682 #19 0xb464d3e4 in KDirOperator::Private::_k_slotActivated (this=0x9a82318, index=@0x9bbc420) at /home/jan/Dev/packages/kdemod-core/work/kdelibs/src/kdelibs-4.2.0/kfile/kdiroperator.cpp:2339 #20 0xb465968c in KDirOperator::qt_metacall (this=0x9a81bf8, _c=QMetaObject::InvokeMetaMethod, _id=59, _a=0xbf89c55c) at /home/jan/Dev/packages/kdemod-core/work/kdelibs/src/build/kfile/kdiroperator.moc:242 #21 0xb75d4f99 in QMetaObject::activate (sender=0x9af8710, from_signal_index=<value optimized out>, to_signal_index=34, argv=0x0) at kernel/qobject.cpp:3052 #22 0xb75d5532 in QMetaObject::activate (sender=0x9af8710, m=0xb7406f64, local_signal_index=3, argv=0xbf89c55c) at kernel/qobject.cpp:3127 #23 0xb72190f3 in QAbstractItemView::activated (this=0x9af8710, _t1=@0x9bbc420) at .moc/release-shared/moc_qabstractitemview.cpp:335 #24 0xb7226d60 in QAbstractItemView::mouseReleaseEvent (this=0x9af8710, event=0xbf89ce5c) at itemviews/qabstractitemview.cpp:1654 #25 0xb723ab2f in QListView::mouseReleaseEvent (this=0x9af8710, e=0xbf89ce5c) at itemviews/qlistview.cpp:844 #26 0xb6d771d2 in QWidget::event (this=0x9af8710, event=0xbf89ce5c) at kernel/qwidget.cpp:7511 #27 0xb70f5403 in QFrame::event (this=0x9af8710, e=0xbf89ce5c) at widgets/qframe.cpp:554 #28 0xb718779f in QAbstractScrollArea::viewportEvent (this=0x9af8710, e=0x6) at widgets/qabstractscrollarea.cpp:957 #29 0xb7227b7f in QAbstractItemView::viewportEvent (this=0x9af8710, event=0xbf89ce5c) at itemviews/qabstractitemview.cpp:1461 #30 0xb7189c55 in QAbstractScrollAreaFilter::eventFilter (this=0x9b218c8, o=0x9b20ca8, e=0xbf89ce5c) at widgets/qabstractscrollarea_p.h:95 #31 0xb75c1c8a in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x9537b30, receiver=0x9b20ca8, event=0xbf89ce5c) at kernel/qcoreapplication.cpp:710 #32 0xb6d2431a in QApplicationPrivate::notify_helper (this=0x9537b30, receiver=0x9b20ca8, e=0xbf89ce5c) at kernel/qapplication.cpp:4047 #33 0xb6d2c6c4 in QApplication::notify (this=0xbf89f788, receiver=0x9b20ca8, e=0xbf89ce5c) at kernel/qapplication.cpp:3753 #34 0xb7addc9d in KApplication::notify (this=0xbf89f788, receiver=0x9b20ca8, event=0xbf89ce5c) at /home/jan/Dev/packages/kdemod-core/work/kdelibs/src/kdelibs-4.2.0/kdeui/kernel/kapplication.cpp:307 #35 0xb75c2a4b in QCoreApplication::notifyInternal (this=0xbf89f788, receiver=0x9b20ca8, event=0xbf89ce5c) at kernel/qcoreapplication.cpp:590 #36 0xb6d2db03 in QApplicationPrivate::sendMouseEvent (receiver=0x9b20ca8, event=0xbf89ce5c, alienWidget=0x0, nativeWidget=0x9b20ca8, buttonDown=0xb7413e00, lastMouseReceiver=@0xb7413e04) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:211 #37 0xb6d8e125 in QETWidget::translateMouseEvent (this=0x9b20ca8, event=0xbf89d3ac) at kernel/qapplication_x11.cpp:4411 #38 0xb6d8d1fd in QApplication::x11ProcessEvent (this=0xbf89f788, event=0xbf89d3ac) at kernel/qapplication_x11.cpp:3529 #39 0xb6db3b42 in x11EventSourceDispatch (s=0x9530f70, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:141 #40 0xb6642311 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #41 0xb66459a3 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0 #42 0xb6645b61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #43 0xb75ea268 in QEventDispatcherGlib::processEvents (this=0x9537ac0, flags={i = -1081485976}) at kernel/qeventdispatcher_glib.cpp:318 #44 0xb6db3335 in QGuiEventDispatcherGlib::processEvents (this=0x9537ac0, flags={i = -1081485928}) at kernel/qguieventdispatcher_glib.cpp:197 #45 0xb75c11ea in QEventLoop::processEvents (this=0xbf89d60c, flags={i = -1081485864}) at kernel/qeventloop.cpp:144 #46 0xb75c13aa in QEventLoop::exec (this=0xbf89d60c, flags={i = -1081485804}) at kernel/qeventloop.cpp:191 #47 0xb71cafaf in QDialog::exec (this=0x9a47b60) at dialogs/qdialog.cpp:493 #48 0xb7fcf01c in KUrlRequester::KUrlRequesterPrivate::_k_slotOpenDialog (this=0x9a372e0) at /home/jan/Dev/packages/kdemod-core/work/kdelibs/src/kdelibs-4.2.0/kio/kfile/kurlrequester.cpp:318 #49 0xb7fcf636 in KUrlRequester::qt_metacall (this=0x9a34408, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0xbf89d80c) at /home/jan/Dev/packages/kdemod-core/work/kdelibs/src/build/kio/kurlrequester.moc:106 #50 0xb75d4f99 in QMetaObject::activate (sender=0x9a36938, from_signal_index=<value optimized out>, to_signal_index=30, argv=0x0) at kernel/qobject.cpp:3052 #51 0xb75d52b0 in QMetaObject::activate (sender=0x9a36938, m=0xb740c584, from_local_signal_index=2, to_local_signal_index=3, argv=0xbf89d80c) at kernel/qobject.cpp:3147 #52 0xb73400c1 in QAbstractButton::clicked (this=0x9a36938, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:200 #53 0xb70addb9 in QAbstractButtonPrivate::emitClicked (this=0x9a38728) at widgets/qabstractbutton.cpp:538 #54 0xb70aec64 in QAbstractButtonPrivate::click (this=0x9a38728) at widgets/qabstractbutton.cpp:531 #55 0xb70aeec6 in QAbstractButton::mouseReleaseEvent (this=0x9a36938, e=0xbf89de5c) at widgets/qabstractbutton.cpp:1110 #56 0xb6d771d2 in QWidget::event (this=0x9a36938, event=0xbf89de5c) at kernel/qwidget.cpp:7511 #57 0xb70adc5e in QAbstractButton::event (this=0x9a36938, e=0xbf89de5c) at widgets/qabstractbutton.cpp:1072 #58 0xb7147aa0 in QPushButton::event (this=0x9a36938, e=0xbf89de5c) at widgets/qpushbutton.cpp:657 #59 0xb6d2433c in QApplicationPrivate::notify_helper (this=0x9537b30, receiver=0x9a36938, e=0xbf89de5c) at kernel/qapplication.cpp:4051 #60 0xb6d2c6c4 in QApplication::notify (this=0xbf89f788, receiver=0x9a36938, e=0xbf89de5c) at kernel/qapplication.cpp:3753 #61 0xb7addc9d in KApplication::notify (this=0xbf89f788, receiver=0x9a36938, event=0xbf89de5c) at /home/jan/Dev/packages/kdemod-core/work/kdelibs/src/kdelibs-4.2.0/kdeui/kernel/kapplication.cpp:307 #62 0xb75c2a4b in QCoreApplication::notifyInternal (this=0xbf89f788, receiver=0x9a36938, event=0xbf89de5c) at kernel/qcoreapplication.cpp:590 #63 0xb6d2db03 in QApplicationPrivate::sendMouseEvent (receiver=0x9a36938, event=0xbf89de5c, alienWidget=0x0, nativeWidget=0x9a36938, buttonDown=0xb7413e00, lastMouseReceiver=@0xb7413e04) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:211 #64 0xb6d8e125 in QETWidget::translateMouseEvent (this=0x9a36938, event=0xbf89e3ac) at kernel/qapplication_x11.cpp:4411 #65 0xb6d8d1fd in QApplication::x11ProcessEvent (this=0xbf89f788, event=0xbf89e3ac) at kernel/qapplication_x11.cpp:3529 #66 0xb6db3b42 in x11EventSourceDispatch (s=0x9530f70, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:141 #67 0xb6642311 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #68 0xb66459a3 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0 #69 0xb6645b61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #70 0xb75ea268 in QEventDispatcherGlib::processEvents (this=0x9537ac0, flags={i = -1081481880}) at kernel/qeventdispatcher_glib.cpp:318 #71 0xb6db3335 in QGuiEventDispatcherGlib::processEvents (this=0x9537ac0, flags={i = -1081481832}) at kernel/qguieventdispatcher_glib.cpp:197 #72 0xb75c11ea in QEventLoop::processEvents (this=0xbf89e60c, flags={i = -1081481768}) at kernel/qeventloop.cpp:144 #73 0xb75c13aa in QEventLoop::exec (this=0xbf89e60c, flags={i = -1081481708}) at kernel/qeventloop.cpp:191 #74 0xb71cafaf in QDialog::exec (this=0xbf89e66c) at dialogs/qdialog.cpp:493 #75 0xb476b1b9 in GlobalShortcutsModule::importScheme (this=0x989e9e0) at /home/jan/Dev/packages/kdemod-core/work/kdebase-workspace/src/kdebase-workspace-4.2.0/kcontrol/keys/globalshortcuts.cpp:243 #76 0xb476aa46 in GlobalShortcutsModule::qt_metacall (this=0x989e9e0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbf89e82c) at /home/jan/Dev/packages/kdemod-core/work/kdebase-workspace/src/kdebase-workspace-4.2.0/kcontrol/keys/globalshortcuts.moc:67 #77 0xb75d4f99 in QMetaObject::activate (sender=0x98f8b10, from_signal_index=<value optimized out>, to_signal_index=30, argv=0x0) at kernel/qobject.cpp:3052 #78 0xb75d52b0 in QMetaObject::activate (sender=0x98f8b10, m=0xb740c584, from_local_signal_index=2, to_local_signal_index=3, argv=0xbf89e82c) at kernel/qobject.cpp:3147 #79 0xb73400c1 in QAbstractButton::clicked (this=0x98f8b10, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:200 #80 0xb70addb9 in QAbstractButtonPrivate::emitClicked (this=0x9900008) at widgets/qabstractbutton.cpp:538 #81 0xb70aec64 in QAbstractButtonPrivate::click (this=0x9900008) at widgets/qabstractbutton.cpp:531 #82 0xb70aeec6 in QAbstractButton::mouseReleaseEvent (this=0x98f8b10, e=0xbf89ee7c) at widgets/qabstractbutton.cpp:1110 #83 0xb6d771d2 in QWidget::event (this=0x98f8b10, event=0xbf89ee7c) at kernel/qwidget.cpp:7511 #84 0xb70adc5e in QAbstractButton::event (this=0x98f8b10, e=0xbf89ee7c) at widgets/qabstractbutton.cpp:1072 #85 0xb7147aa0 in QPushButton::event (this=0x98f8b10, e=0xbf89ee7c) at widgets/qpushbutton.cpp:657 #86 0xb6d2433c in QApplicationPrivate::notify_helper (this=0x9537b30, receiver=0x98f8b10, e=0xbf89ee7c) at kernel/qapplication.cpp:4051 #87 0xb6d2c6c4 in QApplication::notify (this=0xbf89f788, receiver=0x98f8b10, e=0xbf89ee7c) at kernel/qapplication.cpp:3753 #88 0xb7addc9d in KApplication::notify (this=0xbf89f788, receiver=0x98f8b10, event=0xbf89ee7c) at /home/jan/Dev/packages/kdemod-core/work/kdelibs/src/kdelibs-4.2.0/kdeui/kernel/kapplication.cpp:307 #89 0xb75c2a4b in QCoreApplication::notifyInternal (this=0xbf89f788, receiver=0x98f8b10, event=0xbf89ee7c) at kernel/qcoreapplication.cpp:590 #90 0xb6d2db03 in QApplicationPrivate::sendMouseEvent (receiver=0x98f8b10, event=0xbf89ee7c, alienWidget=0x0, nativeWidget=0x98f8b10, buttonDown=0xb7413e00, lastMouseReceiver=@0xb7413e04) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:211 #91 0xb6d8e125 in QETWidget::translateMouseEvent (this=0x98f8b10, event=0xbf89f3cc) at kernel/qapplication_x11.cpp:4411 #92 0xb6d8d1fd in QApplication::x11ProcessEvent (this=0xbf89f788, event=0xbf89f3cc) at kernel/qapplication_x11.cpp:3529 #93 0xb6db3b42 in x11EventSourceDispatch (s=0x9530f70, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:141 #94 0xb6642311 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #95 0xb66459a3 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0 #96 0xb6645b61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #97 0xb75ea268 in QEventDispatcherGlib::processEvents (this=0x9537ac0, flags={i = -1081477752}) at kernel/qeventdispatcher_glib.cpp:318 #98 0xb6db3335 in QGuiEventDispatcherGlib::processEvents (this=0x9537ac0, flags={i = -1081477704}) at kernel/qguieventdispatcher_glib.cpp:197 #99 0xb75c11ea in QEventLoop::processEvents (this=0xbf89f620, flags={i = -1081477640}) at kernel/qeventloop.cpp:144 #100 0xb75c13aa in QEventLoop::exec (this=0xbf89f620, flags={i = -1081477592}) at kernel/qeventloop.cpp:191 #101 0xb75c35d1 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:872 #102 0xb6d241b7 in QApplication::exec () at kernel/qapplication.cpp:3526 #103 0x08056c7e in main (argc=1, argv=0xbf89f8c4) at /home/jan/Dev/packages/kdemod-core/work/kdebase-workspace/src/kdebase-workspace-4.2.0/systemsettings/main.cpp:67 Hope that helps! SVN commit 930297 by mjansen: Fix crash when using KFileWidget without calling setMode(). This was an behaviour incompatible change. Applications that worked perfectly before now fail with an assertion, i have no idea what would happen in release mode. I tried to bring back the behavior from before change 861225. If the fix get oked please backport. CCMAIL:faure@kde.org CCMAIL:ereslibre@kde.org BUG:182979 M +4 -1 kfilewidget.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=930297 |