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

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

I made some changes to my code ( depointered main uses of KConfigGroup
with revision 909199 ), and somehow shifted the crash to
KConfigGroupPrivate::fullName()

The new (additional) backtrace is attached.

Regards,

Ben Cooksley.

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

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

Thread 1 (Thread 0xb6233ab0 (LWP 17574)):
[KCrash Handler]
#6  0xb79ee2b0 in KConfigGroupPrivate::fullName(QByteArray const&) const () from \
/opt/trunk-kde/kde/lib/libkdecore.so.5 #7  0xb79e9166 in KConfigGroup::readEntry \
(this=0xbf9af9d0, key=0x8195958 "Icon", aDefault=@0xbf9af9a8) at \
/home/trunk/kdesvn/kdelibs/kdecore/config/kconfiggroup.cpp:93 #8  0xb79e99d4 in \
KConfigGroup::readEntry (this=0xbf9af9d0, key=0x8195958 "Icon", aDefault=0x0) at \
/home/trunk/kdesvn/kdelibs/kdecore/config/kconfiggroup.cpp:737 #9  0xb79e9a52 in \
KConfigGroup::readEntry (this=0xbf9af9d0, key=@0xbf9afa5c, aDefault=0x0) at \
/home/trunk/kdesvn/kdelibs/kdecore/config/kconfiggroup.cpp:742 #10 0xb49c47ab in \
ActionItem::readKey (this=0x81b9fe8, keyGroup=ActionItem::GroupAction, keyName=  \
{static null = {<No data fields>}, static shared_null = {ref = {_q_value = 3273}, \
alloc = 0, size = 0, data = 0xb791797a, clean = 0, simpletext = 0, righttoleft = 0, \
asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref \
= {_q_value = 71}, alloc = 0, size = 0, data = 0xb791798e, clean = 0, simpletext = 0, \
righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = \
0xbf9afa5c, static codecForCStrings = 0x0}) at \
/home/trunk/action-item/action-item.cpp:62 #11 0xb49c48cd in ActionItem::icon \
(this=0x81b9fe8) at /home/trunk/action-item/action-item.cpp:77 #12 0xb49c7751 in \
SolidActions::fillActionsList (this=0x81ccfe8) at \
/home/trunk/action-item/solid-actions.cpp:231 #13 0xb49c8b00 in \
SolidActions::qt_metacall (this=0x81ccfe8, _c=QMetaObject::InvokeMetaMethod, _id=5, \
_a=0xbf9afcbc) at /home/trunk/action-item/build/solid-actions.moc:85 #14 0xb788a5ea \
in QMetaObject::activate (sender=0x81d4fe0, from_signal_index=32, to_signal_index=32, \
argv=0xbf9afcbc) at /home/trunk/kdesvn/qt-copy/src/corelib/kernel/qobject.cpp:3028 \
#15 0xb788ab62 in QMetaObject::activate (sender=0x81d4fe0, m=0xb76b8ab8, \
local_signal_index=5, argv=0xbf9afcbc) at \
/home/trunk/kdesvn/qt-copy/src/corelib/kernel/qobject.cpp:3101 #16 0xb73a23a3 in \
QComboBox::currentIndexChanged (this=0x81d4fe0, _t1=2) at \
.moc/release-shared/moc_qcombobox.cpp:278 #17 0xb73a3f8a in \
QComboBoxPrivate::_q_emitCurrentIndexChanged (this=0x81ba670, index=@0x81c0f60) at \
/home/trunk/kdesvn/qt-copy/src/gui/widgets/qcombobox.cpp:1201 #18 0xb73a59ee in \
QComboBoxPrivate::setCurrentIndex (this=0x81ba670, mi=@0xbf9aff70) at \
/home/trunk/kdesvn/qt-copy/src/gui/widgets/qcombobox.cpp:1913 #19 0xb73a649e in \
QComboBoxPrivate::_q_itemSelected (this=0x81ba670, item=@0xbf9aff70) at \
/home/trunk/kdesvn/qt-copy/src/gui/widgets/qcombobox.cpp:1170 #20 0xb73aaf3e in \
QComboBox::qt_metacall (this=0x81d4fe0, _c=QMetaObject::InvokeMetaMethod, _id=12, \
_a=0xbf9afecc) at .moc/release-shared/moc_qcombobox.cpp:168 #21 0xb7e3f1da in \
KComboBox::qt_metacall (this=0x81d4fe0, _c=QMetaObject::InvokeMetaMethod, _id=39, \
_a=0xbf9afecc) at /home/trunk/kdesvn/build/kdelibs/kdeui/kcombobox.moc:99 #22 \
0xb788a5ea in QMetaObject::activate (sender=0x81d0a48, from_signal_index=27, \
to_signal_index=27, argv=0xbf9afecc) at \
/home/trunk/kdesvn/qt-copy/src/corelib/kernel/qobject.cpp:3028 #23 0xb788ab62 in \
QMetaObject::activate (sender=0x81d0a48, m=0xb76c5714, local_signal_index=0, \
argv=0xbf9afecc) at /home/trunk/kdesvn/qt-copy/src/corelib/kernel/qobject.cpp:3101 \
#24 0xb75fd7d3 in QComboBoxPrivateContainer::itemSelected (this=0x81d0a48, \
_t1=@0xbf9aff70) at .moc/release-shared/moc_qcombobox_p.cpp:193 #25 0xb73a4434 in \
QComboBoxPrivateContainer::eventFilter (this=0x81d0a48, o=0x819ea10, e=0xbf9b065c) at \
/home/trunk/kdesvn/qt-copy/src/gui/widgets/qcombobox.cpp:624 #26 0xb7877fba in \
QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x8058810, \
receiver=0x819ea10, event=0xbf9b065c)  at \
/home/trunk/kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:694 #27 0xb709344a \
in QApplicationPrivate::notify_helper (this=0x8058810, receiver=0x819ea10, \
e=0xbf9b065c) at /home/trunk/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3799 #28 \
0xb709b623 in QApplication::notify (this=0xbf9b1280, receiver=0x819ea10, \
e=0xbf9b065c) at /home/trunk/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3447 #29 \
0xb7d80f7d in KApplication::notify (this=0xbf9b1280, receiver=0x819ea10, \
event=0xbf9b065c) at /home/trunk/kdesvn/kdelibs/kdeui/kernel/kapplication.cpp:307 #30 \
0xb7878dc1 in QCoreApplication::notifyInternal (this=0xbf9b1280, receiver=0x819ea10, \
event=0xbf9b065c) at \
/home/trunk/kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:583 #31 0xb70c9000 \
in QShortcutMap::tryShortcutEvent (this=0x80588ac, w=0x819ea10, e=0xbf9b065c) at \
../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qcoreapplication.h:209 \
#32 0xb709b808 in QApplication::notify (this=0xbf9b1280, receiver=0x819ea10, \
e=0xbf9b065c) at /home/trunk/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3430 #33 \
0xb7d80f7d in KApplication::notify (this=0xbf9b1280, receiver=0x819ea10, \
event=0xbf9b065c) at /home/trunk/kdesvn/kdelibs/kdeui/kernel/kapplication.cpp:307 #34 \
0xb7878dc1 in QCoreApplication::notifyInternal (this=0xbf9b1280, receiver=0x819ea10, \
event=0xbf9b065c) at \
/home/trunk/kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:583 #35 0xb70ec45e \
in qt_sendSpontaneousEvent (receiver=0x819ea10, event=0x560e6) at \
../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qcoreapplication.h:212 \
#36 0xb711a110 in QKeyMapper::sendKeyEvent (keyWidget=0x819ea10, grab=false, \
type=QEvent::KeyPress, code=16777220, modifiers={i = -1080358628}, text=@0xbf9b0948, \
autorepeat=<value optimized out>,   count=<value optimized out>, nativeScanCode=36, \
nativeVirtualKey=65293, nativeModifiers=0) at \
/home/trunk/kdesvn/qt-copy/src/gui/kernel/qkeymapper_x11.cpp:1652 #37 0xb711bfdc in \
QKeyMapperPrivate::translateKeyEvent (this=0x8080078, keyWidget=0x819ea10, \
event=0xbf9b0d8c, grab=false) at \
/home/trunk/kdesvn/qt-copy/src/gui/kernel/qkeymapper_x11.cpp:1623 #38 0xb70f6f1e in \
QApplication::x11ProcessEvent (this=0xbf9b1280, event=0xbf9b0d8c) at \
/home/trunk/kdesvn/qt-copy/src/gui/kernel/qapplication_x11.cpp:3055 #39 0xb711d7c2 in \
x11EventSourceDispatch (s=0x805b718, callback=0, user_data=0x0) at \
/home/trunk/kdesvn/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:142 #40 \
0xb666c9a8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #41 \
0xb6670063 in ?? () from /usr/lib/libglib-2.0.so.0 #42 0xb6670221 in \
g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #43 0xb789f418 in \
QEventDispatcherGlib::processEvents (this=0x8058948, flags={i = -1080357048}) at \
/home/trunk/kdesvn/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:319 #44 \
0xb711cfb5 in QGuiEventDispatcherGlib::processEvents (this=0x8058948, flags={i = \
-1080357000}) at /home/trunk/kdesvn/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:198
 #45 0xb787751a in QEventLoop::processEvents (this=0xbf9b0fec, flags={i = \
-1080356936}) at /home/trunk/kdesvn/qt-copy/src/corelib/kernel/qeventloop.cpp:143 #46 \
0xb78776da in QEventLoop::exec (this=0xbf9b0fec, flags={i = -1080356876}) at \
/home/trunk/kdesvn/qt-copy/src/corelib/kernel/qeventloop.cpp:190 #47 0xb749e13f in \
QDialog::exec (this=0x810b758) at \
/home/trunk/kdesvn/qt-copy/src/gui/dialogs/qdialog.cpp:447 #48 0xb7f8e9c5 in kdemain \
(_argc=2, _argv=0xbf9b14d4) at \
/home/trunk/kdesvn/kdebase/runtime/kcmshell/main.cpp:275 #49 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