[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Crash in KConfig at kdelibs/kdecore/config/kconfig.cpp
From:       Ben Cooksley <sourtooth () gmail ! com>
Date:       2009-01-11 8:52:50
Message-ID: b366d7a00901110052w3de3683dw17e5f117f089d5ea () mail ! gmail ! com
[Download RAW message or body]

During the development of my KControlModule, I encountered a crash in
KConfig::readDefaults()
I have attached the full backtrace of the crash. My code can be found
in playground/base/solid-actions-kcm/action-item-refactor

If this is somehow a problem in my code, it would probably be worth
documenting this in the documentation for KDesktopFile, which is where
I get the KConfigGroup from that triggers this crash.

Regards,

Ben Cooksley.

["kcmshell4.kcrash" (text/plain)]

Application: KDE Control Module (kcmshell4), signal SIGSEGV
[?1034h[Thread debugging using libthread_db enabled]
[Current thread is 1 (Thread 0xb62bdab0 (LWP 12574))]

Thread 1 (Thread 0xb62bdab0 (LWP 12574)):
[KCrash Handler]
#6  KConfig::readDefaults (this=0xbf93b0b8) at \
/home/trunk/kdesvn/kdelibs/kdecore/config/kconfig.cpp:579 #7  0xb7a75de4 in \
KConfigGroup::hasKey (this=0xbf93b0b8, key=@0xbf93b0a8) at \
/home/trunk/kdesvn/kdelibs/kdecore/config/kconfiggroup.cpp:1244 #8  0xb4a4df11 in \
ActionItem::configItem (this=0x81392d0, actionType=ActionItem::DesktopRead, \
keyGroup=ActionItem::GroupAction, keyName=  {static null = {<No data fields>}, static \
shared_null = {ref = {_q_value = 3265}, alloc = 0, size = 0, data = 0xb79a197a, clean \
= 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, \
array = {0}}, static shared_empty = {ref = {_q_value = 73}, alloc = 0, size = 0, data \
= 0xb79a198e, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = \
0, reserved = 0, array = {0}}, d = 0xbf93b0a8, static codecForCStrings = 0x0}) at \
/home/trunk/action-item/action-item.cpp:121 #9  0xb4a4e430 in ActionItem::readKey \
(this=0x81392d0, keyGroup=ActionItem::GroupAction, keyName=  {static null = {<No data \
fields>}, static shared_null = {ref = {_q_value = 3265}, alloc = 0, size = 0, data = \
0xb79a197a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, \
reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 73}, alloc = 0, \
size = 0, data = 0xb79a198e, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = \
0, capacity = 0, reserved = 0, array = {0}}, d = 0xbf93b0dc, static codecForCStrings \
= 0x0}) at /home/trunk/action-item/action-item.cpp:67 #10 0xb4a4e5ed in \
ActionItem::icon (this=0x81392d0) at /home/trunk/action-item/action-item.cpp:82 #11 \
0xb4a51531 in SolidActions::fillActionsList (this=0x81a8520) at \
/home/trunk/action-item/solid-actions.cpp:231 #12 0xb4a528e0 in \
SolidActions::qt_metacall (this=0x81a8520, _c=QMetaObject::InvokeMetaMethod, _id=5, \
_a=0xbf93b33c) at /home/trunk/action-item/build/solid-actions.moc:85 #13 0xb79145ea \
in QMetaObject::activate (sender=0x808f890, from_signal_index=32, to_signal_index=32, \
argv=0xbf93b33c) at /home/trunk/kdesvn/qt-copy/src/corelib/kernel/qobject.cpp:3028 \
#14 0xb7914b62 in QMetaObject::activate (sender=0x808f890, m=0xb7742ab8, \
local_signal_index=5, argv=0xbf93b33c) at \
/home/trunk/kdesvn/qt-copy/src/corelib/kernel/qobject.cpp:3101 #15 0xb742c3a3 in \
QComboBox::currentIndexChanged (this=0x808f890, _t1=2) at \
.moc/release-shared/moc_qcombobox.cpp:278 #16 0xb742df8a in \
QComboBoxPrivate::_q_emitCurrentIndexChanged (this=0x81ba580, index=@0x81ab910) at \
/home/trunk/kdesvn/qt-copy/src/gui/widgets/qcombobox.cpp:1201 #17 0xb742f9ee in \
QComboBoxPrivate::setCurrentIndex (this=0x81ba580, mi=@0xbf93b3ec) at \
/home/trunk/kdesvn/qt-copy/src/gui/widgets/qcombobox.cpp:1913 #18 0xb742fad3 in \
QComboBox::setCurrentIndex (this=0x808f890, index=2) at \
/home/trunk/kdesvn/qt-copy/src/gui/widgets/qcombobox.cpp:1898 #19 0xb7431f30 in \
QComboBox::keyPressEvent (this=0x808f890, e=0xbf93b90c) at \
/home/trunk/kdesvn/qt-copy/src/gui/widgets/qcombobox.cpp:2812 #20 0xb716fbe6 in \
QWidget::event (this=0x808f890, event=0xbf93b90c) at \
/home/trunk/kdesvn/qt-copy/src/gui/kernel/qwidget.cpp:7198 #21 0xb743085f in \
QComboBox::event (this=0x808f890, event=0xbf93b90c) at \
/home/trunk/kdesvn/qt-copy/src/gui/widgets/qcombobox.cpp:2633 #22 0xb711d46c in \
QApplicationPrivate::notify_helper (this=0x8058810, receiver=0x808f890, e=0xbf93b90c) \
at /home/trunk/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3803 #23 0xb7125623 in \
QApplication::notify (this=0xbf93c530, receiver=0x808f890, e=0xbf93b90c) at \
/home/trunk/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3447 #24 0xb7e0af7d in \
KApplication::notify (this=0xbf93c530, receiver=0x808f890, event=0xbf93b90c) at \
/home/trunk/kdesvn/kdelibs/kdeui/kernel/kapplication.cpp:307 #25 0xb7902dc1 in \
QCoreApplication::notifyInternal (this=0xbf93c530, receiver=0x808f890, \
event=0xbf93b90c) at \
/home/trunk/kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:583 #26 0xb717645e \
in qt_sendSpontaneousEvent (receiver=0x808f890, event=0xbf93b0b8) at \
../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qcoreapplication.h:212 \
#27 0xb71a4110 in QKeyMapper::sendKeyEvent (keyWidget=0x808f890, grab=false, \
type=QEvent::KeyPress, code=16777237, modifiers={i = -1080837172}, text=@0xbf93bbf8, \
autorepeat=<value optimized out>,   count=<value optimized out>, nativeScanCode=104, \
nativeVirtualKey=65364, nativeModifiers=0) at \
/home/trunk/kdesvn/qt-copy/src/gui/kernel/qkeymapper_x11.cpp:1652 #28 0xb71a5fdc in \
QKeyMapperPrivate::translateKeyEvent (this=0x8080078, keyWidget=0x808f890, \
event=0xbf93c03c, grab=8) at \
/home/trunk/kdesvn/qt-copy/src/gui/kernel/qkeymapper_x11.cpp:1623 #29 0xb7180f1e in \
QApplication::x11ProcessEvent (this=0xbf93c530, event=0xbf93c03c) at \
/home/trunk/kdesvn/qt-copy/src/gui/kernel/qapplication_x11.cpp:3055 #30 0xb71a77c2 in \
x11EventSourceDispatch (s=0x805b718, callback=0, user_data=0x0) at \
/home/trunk/kdesvn/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:142 #31 \
0xb66f69a8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #32 \
0xb66fa063 in ?? () from /usr/lib/libglib-2.0.so.0 #33 0xb66fa221 in \
g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #34 0xb7929418 in \
QEventDispatcherGlib::processEvents (this=0x8058948, flags={i = -1080835592}) at \
/home/trunk/kdesvn/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:319 #35 \
0xb71a6fb5 in QGuiEventDispatcherGlib::processEvents (this=0x8058948, flags={i = \
-1080835544}) at /home/trunk/kdesvn/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:198
 #36 0xb790151a in QEventLoop::processEvents (this=0xbf93c29c, flags={i = \
-1080835480}) at /home/trunk/kdesvn/qt-copy/src/corelib/kernel/qeventloop.cpp:143 #37 \
0xb79016da in QEventLoop::exec (this=0xbf93c29c, flags={i = -1080835420}) at \
/home/trunk/kdesvn/qt-copy/src/corelib/kernel/qeventloop.cpp:190 #38 0xb752813f in \
QDialog::exec (this=0x810b560) at \
/home/trunk/kdesvn/qt-copy/src/gui/dialogs/qdialog.cpp:447 #39 0xb80189c5 in kdemain \
(_argc=2, _argv=0xbf93c784) at \
/home/trunk/kdesvn/kdebase/runtime/kcmshell/main.cpp:275 #40 0x080486f2 in main \
(argc=1, argv=0xc) at \
/home/trunk/kdesvn/build/kdebase/runtime/kcmshell/kcmshell4_dummy.cpp:3



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic