KXMLGUI KActions issue and crash
David Edmundson
david at davidedmundson.co.uk
Wed Oct 30 09:12:31 UTC 2013
Slightly better backtrace
Thread 1 (Thread 0x7f1d74e6d7c0 (LWP 9163)):
[KCrash Handler]
#6 0x00007f1d6fda91e7 in QMetaObject::cast(QObject*) const () from
/lib/libQtCore.so.4
#7 0x00007f1d74491cc0 in qobject_cast<KToolBar*> (object=<optimized
out>) at /usr/include/qt4/QtCore/qobject.h:380
#8 KXMLGUI::BuildHelper::processContainerElement
(this=this at entry=0x7fffa493c0b0, e=..., tag=..., name=...) at
/home/david/projects/kde4/src/kde/kdelibs/kdeui/xmlgui/kxmlguifactory_p.cpp:806
#9 0x00007f1d7449244a in KXMLGUI::BuildHelper::processElement
(this=this at entry=0x7fffa493c0b0, e=...) at
/home/david/projects/kde4/src/kde/kdelibs/kdeui/xmlgui/kxmlguifactory_p.cpp:593
#10 0x00007f1d744925bb in KXMLGUI::BuildHelper::build
(this=this at entry=0x7fffa493c0b0, element=...) at
/home/david/projects/kde4/src/kde/kdelibs/kdeui/xmlgui/kxmlguifactory_p.cpp:571
#11 0x00007f1d7448ba09 in KXMLGUIFactory::addClient
(this=this at entry=0x2022960, client=0x1b61ab8) at
/home/david/projects/kde4/src/kde/kdelibs/kdeui/xmlgui/kxmlguifactory.cpp:271
#12 0x00007f1d7448be8b in KXMLGUIFactory::addClient (this=0x2022960,
client=client at entry=0x1e70f18) at
/home/david/projects/kde4/src/kde/kdelibs/kdeui/xmlgui/kxmlguifactory.cpp:293
#13 0x00007f1d7447f1dd in KXmlGuiWindow::createGUI
(this=this at entry=0x1e70ec0, xmlfile=...) at
/home/david/projects/kde4/src/kde/kdelibs/kdeui/xmlgui/kxmlguiwindow.cpp:274
#14 0x00007f1d7447f8bb in KXmlGuiWindow::setupGUI
(this=this at entry=0x1e70ec0, defaultSize=..., options=..., xmlfile=...)
at /home/david/projects/kde4/src/kde/kdelibs/kdeui/xmlgui/kxmlguiwindow.cpp:210
#15 0x00007f1d7447f9a9 in KXmlGuiWindow::setupGUI
(this=this at entry=0x1e70ec0, options=..., xmlfile=...) at
/home/david/projects/kde4/src/kde/kdelibs/kdeui/xmlgui/kxmlguiwindow.cpp:186
#16 0x000000000040f97b in ChatWindow::setupActions
(this=this at entry=0x1e70ec0, part=part at entry=0x2289030) at
/home/david/projects/kde4/src/extragear/network/telepathy/ktp-text-ui/app/chat-window.cpp:76
#17 0x000000000040fc03 in ChatWindow::addTab
(this=this at entry=0x1e70ec0, args=..., channelalias=...) at
/home/david/projects/kde4/src/extragear/network/telepathy/ktp-text-ui/app/chat-window.cpp:55
#18 0x000000000040d6a8 in TelepathyChatUi::handleChannels
(this=0x1bb7d80, context=..., account=..., connection=...,
channels=..., channelRequests=..., userActionTime=...,
handlerInfo=...) at
/home/david/projects/kde4/src/extragear/network/telepathy/ktp-text-ui/app/telepathy-chat-ui.cpp:156
#19 0x00007f1d735cfbe1 in Tp::ClientHandlerAdaptor::onReadyOpFinished
(this=0x1d9f0f0, op=<optimized out>) at
/mnt/projects/telepathy/telepathy-qt-master/TelepathyQt/client-registrar.cpp:509
This looks like qobject_cast on a dangly pointer.
More information about the KDE-Telepathy
mailing list