Bug 176711 - Kopete crashes very often
Summary: Kopete crashes very often
Status: RESOLVED FIXED
Alias: None
Product: kopete
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-02 16:07 UTC by Martin Nad
Modified: 2008-12-24 14:48 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Nad 2008-12-02 16:07:50 UTC
Version:            (using KDE 4.1.3)
Compiler:          I dont know I dont know
OS:                Linux
Installed from:    Fedora RPMs

Description of problem:
kopete crash with this backtrace:

(no debugging symbols found)
[KCrash handler]
#5  0x000000370d4be23c in Kopete::MetaContact::metaContactId ()
   from /usr/lib64/libkopete.so.4
#6  0x00007fa83e283d3c in ?? () from /usr/lib64/kde4/kopete_statistics.so
#7  0x00007fa83e283f49 in ?? () from /usr/lib64/kde4/kopete_statistics.so
#8  0x00007fa83e275291 in ?? () from /usr/lib64/kde4/kopete_statistics.so
#9  0x000000370dd513f5 in QObject::event () from /usr/lib64/libQtCore.so.4
#10 0x000000370f98281d in QApplicationPrivate::notify_helper ()
   from /usr/lib64/libQtGui.so.4
#11 0x000000370f98a5ca in QApplication::notify ()
   from /usr/lib64/libQtGui.so.4
#12 0x00000037105fb46b in KApplication::notify ()
   from /usr/lib64/libkdeui.so.5
#13 0x000000370dd42391 in QCoreApplication::notifyInternal ()
   from /usr/lib64/libQtCore.so.4
#14 0x000000370dd4302a in QCoreApplicationPrivate::sendPostedEvents ()
   from /usr/lib64/libQtCore.so.4
#15 0x000000370dd6ab13 in ?? () from /usr/lib64/libQtCore.so.4
#16 0x0000003706c3779b in g_main_context_dispatch ()
   from /lib64/libglib-2.0.so.0
#17 0x0000003706c3af6d in ?? () from /lib64/libglib-2.0.so.0
#18 0x0000003706c3b12b in g_main_context_iteration ()
   from /lib64/libglib-2.0.so.0
#19 0x000000370dd6a79f in QEventDispatcherGlib::processEvents ()
   from /usr/lib64/libQtCore.so.4
#20 0x000000370fa1319f in ?? () from /usr/lib64/libQtGui.so.4
#21 0x000000370dd40cb2 in QEventLoop::processEvents ()
   from /usr/lib64/libQtCore.so.4
#22 0x000000370dd40e3d in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#23 0x000000370dd432ed in QCoreApplication::exec ()
   from /usr/lib64/libQtCore.so.4
#24 0x0000000000444d3c in _start ()

Version-Release number of selected component (if applicable):

kdenetwork-4.1.3-1.fc10.x86_64

How reproducible:
many times

Steps to Reproduce:
1.start kopete
2.klick join group-chat or click quit
3.kopete crashed
Comment 2 Rex Dieter 2008-12-02 16:34:41 UTC
For step 2, "join group-chat", which protocols/servers are you using?
Comment 3 Martin Nad 2008-12-02 16:47:51 UTC
jabber,jabbim.cz
Comment 4 Roman Jarosz 2008-12-02 17:59:12 UTC
If you disable statictcs plugin the crash should go away.
Comment 5 Martin Nad 2008-12-07 17:59:47 UTC
I disabled staticstic plugin,but kopete still crashes
Comment 6 Martin Nad 2008-12-07 18:02:11 UTC
If I disabled all notification message kopete not crashes,so much
Comment 7 Shlomi Fish 2008-12-09 11:24:07 UTC
Can confirm here. Kopete of KDE 4 crashes a lot. I can reproduce it very consistently, by setting the status to "Online", waiting for all accounts to connect, and then setting the status to "Offline".

I'm using the Mandriva RPMs on Mandriva Linux Cooker (with KDE 4.2-beta).

Regards,

Shlomi Fish
Comment 8 Roman Jarosz 2008-12-09 13:03:49 UTC
Please paste backtrace of a crash with disabled statistics plugin, thanks.
Comment 9 Shlomi Fish 2008-12-09 13:56:40 UTC
(In reply to comment #8)
> Please paste backtrace of a crash with disabled statistics plugin, thanks.
> 

Here you go:

{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{


(gdb) bt full
#0  0x00000000 in ?? ()
No symbol table info available.
#1  0xb6cd5651 in QMetaObject::invokeMethod (obj=0x94db2b0,
    member=0xbfecbbf0 "disconnectFromHostImplementation()",
    type=Qt::DirectConnection, ret=
        {<QGenericArgument> = {_data = 0x0, _name = 0x0}, <No data fields>},
    val0={_data = 0x0, _name = 0x0}, val1={_data = 0x0, _name = 0x0}, val2=
      {_data = 0x0, _name = 0x0}, val3={_data = 0x0, _name = 0x0}, val4=
      {_data = 0x0, _name = 0x0}, val5={_data = 0x0, _name = 0x0}, val6=
      {_data = 0x0, _name = 0x0}, val7={_data = 0x0, _name = 0x0}, val8=
      {_data = 0x0, _name = 0x0}, val9=
      {_data = 0x0, _name = 0x1 <Address 0x1 out of bounds>})
    at kernel/qmetaobject.cpp:945
        sig = {a = 512, s = 35,
  ptr = 0xbfecbbf0 "disconnectFromHostImplementation()", {
    array = "disconnectFromHostImplementation()\000\000�\223\v\b\000\000\000\000f\037ζ�\223\v\b\220cP\t\000\000\000\000м��������ն\204cP\td���\200\223\v\bxcP\t\f\000\000\000\001\000\000\000\000\000\000\000�5x��cP\tؼ��=���\200�M\t\f\000\000\000�c!�@Q/��\223\v\b\000\000\000\000�C۶\200�M\t\200�M\t\b����^P\t@Q/�\003\000\000\000\f\000\000\000�c!��\212޵����غM\tu5��\200�M\t\220���"...,
    q_for_alignment_1 = 7308900669957826916,
    q_for_alignment_2 = 3.9461098367292044e+180}}
        typeNames = {0x0 <repeats 11 times>}
---Type <return> to continue, or q <return> to quit---
        idx = 140878288
        param = {0xb7fc7300, 0x1, 0xb62163b4, 0xb62f5140, 0xbfecbb94,
  0x9c86770, 0xb62f3ff4, 0x95063e8, 0x28, 0xbfecbbb8, 0x9506378}
#2  0xb5e639ad in QAbstractSocket::disconnectFromHost (this=0x94db2b0)
    at ../../src/corelib/kernel/qobjectdefs.h:365
No locals.
#3  0xb5e6762c in QAbstractSocketPrivate::canReadNotification (this=0x94f1d00)
    at socket/qabstractsocket.cpp:547
        q = (QAbstractSocket * const) 0x94db2b0
        newBytes = <value optimized out>
        hasData = <value optimized out>
#4  0xb5e561d9 in QAbstractSocketEngine::readNotification (this=0x95062e8)
    at socket/qabstractsocketengine.cpp:136
        receiver = (QAbstractSocketEngineReceiver *) 0x94db2b0
#5  0xb5e5756f in QReadNotifier::event (this=0x961d770, e=0xbfecc200)
    at socket/qnativesocketengine.cpp:968
No locals.
#6  0xb6edcfac in QApplicationPrivate::notify_helper (this=0x80d4510,
    receiver=0x961d770, e=0xbfecc200) at kernel/qapplication.cpp:3803
        consumed = <value optimized out>
#7  0xb6ee51d5 in QApplication::notify (this=0xbfecc45c, receiver=0x961d770,
    e=0xbfecc200) at kernel/qapplication.cpp:3393
        res = true
---Type <return> to continue, or q <return> to quit---
#8  0xb7c5caa1 in KApplication::notify (this=0xbfecc45c, receiver=0x961d770,
    event=0xbfecc200)
    at /usr/src/debug/kdelibs-4.1.81/kdeui/kernel/kapplication.cpp:307
No locals.
#9  0xb6ccc853 in QCoreApplication::notifyInternal (this=0xbfecc45c,
    receiver=0x961d770, event=0xbfecc200) at kernel/qcoreapplication.cpp:587
        result = false
        cbdata = {0x961d770, 0xbfecc200, 0xbfecc1cb}
        d = (class QObjectPrivate *) 0x95ddda0
        threadData = (QThreadData *) 0x80b9380
        deleteWatch = 1
        oldDeleteWatch = (int *) 0x0
        inEvent = false
        returnValue = <value optimized out>
#10 0xb6cf85f8 in socketNotifierSourceDispatch (source=0x80dd268)
    at kernel/qcoreapplication.h:209
        p = <value optimized out>
        i = 6
        event = {_vptr.QEvent = 0xb6db2b28, d = 0x0, t = 50, posted = 0,
  spont = 0, m_accept = 1, reserved = 5849}
#11 0xb5c5dc9a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#12 0xb5c613b8 in ?? () from /usr/lib/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#13 0xb5c61578 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#14 0xb6cf834a in QEventDispatcherGlib::processEvents (this=0x80c64f0, flags=
      {i = -1075002552}) at kernel/qeventdispatcher_glib.cpp:319
        d = (QEventDispatcherGlibPrivate * const) 0x80ce8b8
        canWait = true
        result = <value optimized out>
#15 0xb6f7992a in QGuiEventDispatcherGlib::processEvents (this=0x80c64f0,
    flags={i = -1075002504}) at kernel/qguieventdispatcher_glib.cpp:198
        d = (QGuiEventDispatcherGlibPrivate * const) 0x80ce8b8
        returnValue = 112
#16 0xb6ccaec3 in QEventLoop::processEvents (this=0xbfecc3f0, flags=
      {i = -1075002440}) at kernel/qeventloop.cpp:143
        d = (QEventLoopPrivate * const) 0x82c0f68
#17 0xb6ccb081 in QEventLoop::exec (this=0xbfecc3f0, flags={i = -1075002376})
    at kernel/qeventloop.cpp:194
        d = (QEventLoopPrivate * const) 0x82c0f68
#18 0xb6ccd7f2 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845
        threadData = (QThreadData *) 0x80b9380
        eventLoop = {<QObject> = {_vptr.QObject = 0xb6db3b88,
    static staticMetaObject = {d = {superdata = 0x0,
        stringdata = 0xb6d5d540 "QObject", data = 0xb6d5d5c0,
---Type <return> to continue, or q <return> to quit---
        extradata = 0x0}}, d_ptr = 0x82c0f68, static staticQtMetaObject = {
      d = {superdata = 0x0, stringdata = 0xb6d66660 "Qt", data = 0xb6d68300,
        extradata = 0x0}}}, static staticMetaObject = {d = {
      superdata = 0x80b7660, stringdata = 0xb6d6c520 "QEventLoop",
      data = 0xb6d6c540, extradata = 0x0}}}
        returnCode = -1
#19 0xb6edce14 in QApplication::exec () at kernel/qapplication.cpp:3331
No locals.
#20 0x0808b145 in main (argc=-1075001276, argv=0x80bf228)
    at /usr/src/debug/kdenetwork-4.1.81/kopete/kopete/main.cpp:102
        aboutData = {d = 0x80bffa0}
        options = {d = 0x80c8998}
        kopete = {<KUniqueApplication> = {<KApplication> = {<QApplication> = {<QCoreApplication> = {<QObject> = {_vptr.QObject = 0x80aa4c8,
            static staticMetaObject = {d = {superdata = 0x0,
                stringdata = 0xb6d5d540 "QObject", data = 0xb6d5d5c0,
                extradata = 0x0}}, d_ptr = 0x80d4510,
            static staticQtMetaObject = {d = {superdata = 0x0,
                stringdata = 0xb6d66660 "Qt", data = 0xb6d68300,
                extradata = 0x0}}}, static staticMetaObject = {d = {
              superdata = 0x80b7660,
              stringdata = 0xb6d6c5a0 "QCoreApplication", data = 0xb6d6c640,
              extradata = 0x0}}, static self = 0xbfecc45c},
---Type <return> to continue, or q <return> to quit---
        static staticMetaObject = {d = {superdata = 0xb6db3bc4,
            stringdata = 0xb7509680 "QApplication", data = 0xb7509860,
            extradata = 0x0}}}, static staticMetaObject = {d = {
          superdata = 0xb76c12e8, stringdata = 0xb7deef20 "KApplication",
          data = 0xb7def0c0, extradata = 0x0}},
      static loadedByKdeinit = false, static KApp = 0xbfecc45c,
      d = 0x80dfab0}, static staticMetaObject = {d = {superdata = 0xb7e5ede0,
        stringdata = 0xb7def6c0 "KUniqueApplication", data = 0xb7def7c0,
        extradata = 0x0}}, d = 0x814d820}, static staticMetaObject = {d = {
      superdata = 0x80b78f8, stringdata = 0x80aa300 "KopeteApplication",
      data = 0x80aa440, extradata = 0x0}}, m_mainWindow = {o = 0x815cdc0},
  m_isShuttingDown = false, m_emoticonHandler = 0x82bcd90,
  m_fileEngineHandler = 0x82ba930}

}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}
Comment 10 Martin Nad 2008-12-10 16:55:20 UTC
The application Kopete (kopete) crashed and caused the signal 11 (SIGSEGV)
[KCrash handler]
#5  0x000000300355305c in QObject::connect () from /usr/lib64/libQtCore.so.4
#6  0x000000306369aab3 in Kopete::ChatSession::ChatSession ()
   from /usr/lib64/libkopete.so.4
#7  0x00007f0da9759f58 in ?? () from /usr/lib64/kde4/kopete_jabber.so
#8  0x00007f0da974a696 in ?? () from /usr/lib64/kde4/kopete_jabber.so
#9  0x00007f0da9748c23 in ?? () from /usr/lib64/kde4/kopete_jabber.so
#10 0x00007f0da972d401 in ?? () from /usr/lib64/kde4/kopete_jabber.so
#11 0x00007f0da97349e6 in ?? () from /usr/lib64/kde4/kopete_jabber.so
#12 0x0000003003556764 in QMetaObject::activate ()
   from /usr/lib64/libQtCore.so.4
#13 0x00007f0da9767a55 in JabberClient::messageReceived ()
   from /usr/lib64/kde4/kopete_jabber.so
#14 0x00007f0da976a011 in JabberClient::qt_metacall ()
   from /usr/lib64/kde4/kopete_jabber.so
#15 0x0000003003556764 in QMetaObject::activate ()
   from /usr/lib64/libQtCore.so.4
#16 0x00007f0da93ec2b5 in XMPP::Client::messageReceived ()
   from /usr/lib64/libiris_kopete.so.1
#17 0x00007f0da9439e7b in XMPP::Client::pmMessage ()
   from /usr/lib64/libiris_kopete.so.1
#18 0x00007f0da93ef006 in XMPP::Client::qt_metacall ()
   from /usr/lib64/libiris_kopete.so.1
#19 0x0000003003556764 in QMetaObject::activate ()
   from /usr/lib64/libQtCore.so.4
#20 0x00007f0da93eba12 in XMPP::JT_PushMessage::message ()
   from /usr/lib64/libiris_kopete.so.1
#21 0x00007f0da9462510 in XMPP::JT_PushMessage::take ()
   from /usr/lib64/libiris_kopete.so.1
#22 0x00007f0da9483ab5 in XMPP::Task::take ()
   from /usr/lib64/libiris_kopete.so.1
#23 0x00007f0da943a5ef in XMPP::Client::distribute ()
   from /usr/lib64/libiris_kopete.so.1
#24 0x00007f0da943aed6 in XMPP::Client::streamReadyRead ()
   from /usr/lib64/libiris_kopete.so.1
#25 0x00007f0da93ef085 in XMPP::Client::qt_metacall ()
   from /usr/lib64/libiris_kopete.so.1
#26 0x0000003003556764 in QMetaObject::activate ()
   from /usr/lib64/libQtCore.so.4
#27 0x00007f0da93ee56a in XMPP::ClientStream::qt_metacall ()
   from /usr/lib64/libiris_kopete.so.1
#28 0x0000003003556764 in QMetaObject::activate ()
   from /usr/lib64/libQtCore.so.4
#29 0x000000300355c9cf in ?? () from /usr/lib64/libQtCore.so.4
#30 0x0000003003551073 in QObject::event () from /usr/lib64/libQtCore.so.4
#31 0x000000301878281d in QApplicationPrivate::notify_helper ()
   from /usr/lib64/libQtGui.so.4
#32 0x000000301878a5ca in QApplication::notify ()
   from /usr/lib64/libQtGui.so.4
#33 0x000000000111e46b in KApplication::notify ()
   from /usr/lib64/libkdeui.so.5
#34 0x0000003003542391 in QCoreApplication::notifyInternal ()
   from /usr/lib64/libQtCore.so.4
#35 0x000000300356e0d6 in ?? () from /usr/lib64/libQtCore.so.4
#36 0x000000300356a83d in ?? () from /usr/lib64/libQtCore.so.4
#37 0x0000003000c3779b in g_main_context_dispatch ()
   from /lib64/libglib-2.0.so.0
#38 0x0000003000c3af6d in ?? () from /lib64/libglib-2.0.so.0
#39 0x0000003000c3b12b in g_main_context_iteration ()
   from /lib64/libglib-2.0.so.0
#40 0x000000300356a79f in QEventDispatcherGlib::processEvents ()
   from /usr/lib64/libQtCore.so.4
#41 0x000000301881319f in ?? () from /usr/lib64/libQtGui.so.4
#42 0x0000003003540cb2 in QEventLoop::processEvents ()
   from /usr/lib64/libQtCore.so.4
#43 0x0000003003540e3d in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#44 0x00000030035432ed in QCoreApplication::exec ()
   from /usr/lib64/libQtCore.so.4
#45 0x0000000000444d3c in _start ()
Comment 11 Dario Andres 2008-12-18 18:33:35 UTC
The backtrace in comment 9 looks the same as the one on bug 176821 (see bug 176821 comment 2). 
Comment 12 Roman Jarosz 2008-12-24 14:48:27 UTC
Both crashes should be fixed in SVN, please test it if you can.