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

List:       kopete-devel
Subject:    [kopete-devel] Crash on opening Jabber chat: kopete(10265)/kdeui
From:       "Aidan Thornton" <makosoft () googlemail ! com>
Date:       2008-09-04 20:54:38
Message-ID: c8b4dbe10809041354m29cfb8e8rf2a19fdcfa55bd35 () mail ! gmail ! com
[Download RAW message or body]

Hi,

I'm having an annoying issue with Kopete in svn trunk (updated earlier
today, but it's been that way for a couple of days and there aren't
any obviously relevant commits). On trying to start a Jabber chat,
Kopete fails to load jabberchatui.rc and crashes with an assert
failure:

kopete(10265)/kopete (jabber) JabberChatSession::slotUpdateDisplayName:
kopete(10265)/kdeui (kdelibs): No such XML file "jabberchatui.rc"
ASSERT failure in setXML: "The XML file that was set to KXMLGUIClient
is invalid. Please check its correctness with xmllint", file
/home/aidan/kde4/src/KDE/kdelibs/kdeui/xmlgui/kxmlguiclient.cpp, line
233

(The comment about xmllint is, of course, a red herring; the issue is
that the file isn't being found at all.)

The file exists in
/home/aidan/kde4/share/apps/kopete_jabber/jabberchatui.rc, but I think
Kopete's incorrectly looking for kopete/jabberchatui.rc. Tracing
through the code, KXMLGUIClient::setXMLFile sets filter to
"kopete/jabberchatui.rc" at
KDE/kdelibs/kdeui/xmlgui/kxmlguiclient.cpp:190 (whereas the previous
successful call, for otrchatui.rc, sets it to the correct
"kopete_otr/otrchatui.rc"). I'm guessing the wrong component is being
used for some reason.

A backtrace follows, though it's probably not that useful:
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb61b8690 in raise () from /lib/libc.so.6
#2  0xb61b9ed8 in abort () from /lib/libc.so.6
#3  0xb65ce5cd in qt_message_output () from /usr/lib/qt4/libQtCore.so.4
#4  0xb65ce6a6 in qFatal () from /usr/lib/qt4/libQtCore.so.4
#5  0xb65ce6ec in qt_assert_x () from /usr/lib/qt4/libQtCore.so.4
#6  0xb770100a in KXMLGUIClient::setXML (this=0x893c420,
document=@0xbf97e8d4, merge=false)
   at /home/aidan/kde4/src/KDE/kdelibs/kdeui/xmlgui/kxmlguiclient.cpp:233
#7  0xb7701551 in KXMLGUIClient::setXMLFile (this=0x893c420,
_file=@0xbf97e9b0, merge=<value optimized out>, setXMLDoc=true)
   at /home/aidan/kde4/src/KDE/kdelibs/kdeui/xmlgui/kxmlguiclient.cpp:219
#8  0xb330b1f8 in JabberChatSession (this=0x893c418,
protocol=0x830e9b8, user=0x8328480, others=
       {{p = {d = 0xbf97ea88}, d = 0xbf97ea88}}, resource=<value
optimized out>)
   at /home/aidan/kde4/src/KDE/kdenetwork/kopete/protocols/jabber/jabberchatsession.cpp:96
#9  0xb32f5727 in JabberContact::manager (this=0x8331838,
chatMembers={{p = {d = 0xbf97eadc}, d = 0xbf97eadc}},
   canCreate=Kopete::Contact::CanCreate) at
/home/aidan/kde4/src/KDE/kdenetwork/kopete/protocols/jabber/jabbercontact.cpp:844
#10 0xb32f585b in JabberContact::manager (this=0x8331838,
canCreate=Kopete::Contact::CanCreate)
   at /home/aidan/kde4/src/KDE/kdenetwork/kopete/protocols/jabber/jabbercontact.cpp:860
#11 0xb7808aa5 in Kopete::Contact::execute (this=0x8331838)
   at /home/aidan/kde4/src/KDE/kdenetwork/kopete/libkopete/kopetecontact.cpp:405
#12 0x0807208d in KopeteContactListView::slotExecuted (this=0x82779c0,
item=0x830ee90, p=@0xbf97ef60)
   at /home/aidan/kde4/src/KDE/kdenetwork/kopete/kopete/contactlist/kopetecontactlistview.cpp:910
#13 0x0807456e in KopeteContactListView::qt_metacall (this=0x82779c0,
_c=QMetaObject::InvokeMetaMethod, _id=11, _a=0xbf97ec84)
   at /home/aidan/kde4/build/KDE/kdenetwork/kopete/kopete/kopetecontactlistview.moc:151
#14 0xb66d9399 in QMetaObject::activate () from
/usr/lib/qt4/libQtCore.so.4
#15 0xb66da0d2 in QMetaObject::activate () from
/usr/lib/qt4/libQtCore.so.4
#16 0xb7972f3f in K3ListView::executed (this=0x82779c0, _t1=0x830ee90,
_t2=@0xbf97ef60, _t3=0)
   at /home/aidan/kde4/build/KDE/kdelibs/kde3support/k3listview.moc:279
#17 0xb797809d in K3ListView::emitExecute (this=0x82779c0,
item=0x830ee90, pos=@0xbf97ef60, c=0)
   at /home/aidan/kde4/src/KDE/kdelibs/kde3support/kdeui/k3listview.cpp:687
#18 0xb79780ef in K3ListView::slotMouseButtonClicked (this=0x82779c0,
btn=1, item=0x830ee90, pos=@0xbf97ef60, c=0)
---Type <return> to continue, or q <return> to quit---
   at /home/aidan/kde4/src/KDE/kdelibs/kde3support/kdeui/k3listview.cpp:891
#19 0xb7978efd in K3ListView::qt_metacall (this=0x82779c0,
_c=QMetaObject::InvokeMetaMethod, _id=31, _a=0xbf97ee60)
   at /home/aidan/kde4/build/KDE/kdelibs/kde3support/k3listview.moc:206
#20 0xb77d9c1a in Kopete::UI::ListView::ListView::qt_metacall
(this=0x82779c0, _c=QMetaObject::InvokeMetaMethod, _id=119,
   _a=0xbf97ee60) at
/home/aidan/kde4/build/KDE/kdenetwork/kopete/libkopete/kopetelistview.moc:71
#21 0x0807443f in KopeteContactListView::qt_metacall (this=0x82779c0,
_c=QMetaObject::InvokeMetaMethod, _id=119, _a=0xbf97ee60)
   at /home/aidan/kde4/build/KDE/kdenetwork/kopete/kopete/kopetecontactlistview.moc:135
#22 0xb66d9399 in QMetaObject::activate () from /usr/lib/qt4/libQtCore.so.4
#23 0xb66da0d2 in QMetaObject::activate () from /usr/lib/qt4/libQtCore.so.4
#24 0xb7c2a095 in Q3ListView::mouseButtonClicked () from
/usr/lib/qt4/libQt3Support.so.4
#25 0xb7abbd52 in Q3ListView::contentsMouseReleaseEventEx () from
/usr/lib/qt4/libQt3Support.so.4
#26 0xb7abc1c4 in Q3ListView::contentsMouseReleaseEvent () from
/usr/lib/qt4/libQt3Support.so.4
#27 0xb79776d9 in K3ListView::contentsMouseReleaseEvent
(this=0x82779c0, e=0xbf97f04c)
   at /home/aidan/kde4/src/KDE/kdelibs/kde3support/kdeui/k3listview.cpp:863
#28 0xb7b19701 in Q3ScrollView::viewportMouseReleaseEvent () from
/usr/lib/qt4/libQt3Support.so.4
#29 0xb7b1b390 in Q3ScrollView::eventFilter () from
/usr/lib/qt4/libQt3Support.so.4
#30 0xb7ab7896 in Q3ListView::eventFilter () from
/usr/lib/qt4/libQt3Support.so.4
#31 0xb77d9321 in Kopete::UI::ListView::ListView::eventFilter
(this=0x82779c0, o=0x815fb80, e=0xbf97f8dc)
   at /home/aidan/kde4/src/KDE/kdenetwork/kopete/libkopete/ui/kopetelistview.cpp:701
#32 0xb66c3bc8 in
QCoreApplicationPrivate::sendThroughObjectEventFilters () from
/usr/lib/qt4/libQtCore.so.4
#33 0xb6921eb2 in QApplicationPrivate::notify_helper () from
/usr/lib/qt4/libQtGui.so.4
#34 0xb692a68f in QApplication::notify () from /usr/lib/qt4/libQtGui.so.4
#35 0xb75fcb81 in KApplication::notify (this=0xbf97ff48,
receiver=0x815fb80, event=0xbf97f8dc)
   at /home/aidan/kde4/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:311
#36 0xb66c49b8 in QCoreApplication::notifyInternal () from
/usr/lib/qt4/libQtCore.so.4
#37 0xb6929933 in QApplicationPrivate::sendMouseEvent () from
/usr/lib/qt4/libQtGui.so.4
#38 0xb6990883 in QETWidget::translateMouseEvent () from
/usr/lib/qt4/libQtGui.so.4
#39 0xb698f1cd in QApplication::x11ProcessEvent () from
/usr/lib/qt4/libQtGui.so.4
#40 0xb69b62d3 in QEventDispatcherX11::processEvents () from
/usr/lib/qt4/libQtGui.so.4
#41 0xb66c30da in QEventLoop::processEvents () from /usr/lib/qt4/libQtCore.so.4
---Type <return> to continue, or q <return> to quit---
#42 0xb66c3292 in QEventLoop::exec () from /usr/lib/qt4/libQtCore.so.4
#43 0xb66c5805 in QCoreApplication::exec () from /usr/lib/qt4/libQtCore.so.4
#44 0xb6921d47 in QApplication::exec () from /usr/lib/qt4/libQtGui.so.4
#45 0x080889cb in main (argc=1, argv=0xbf980334) at
/home/aidan/kde4/src/KDE/kdenetwork/kopete/kopete/main.cpp:102

Thanks,
Aidan
_______________________________________________
kopete-devel mailing list
kopete-devel@kde.org
https://mail.kde.org/mailman/listinfo/kopete-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

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