Bug 165458 - startup crash because of oscar
Summary: startup crash because of oscar
Status: RESOLVED FIXED
Alias: None
Product: kopete
Classification: Applications
Component: ICQ and AIM Plugins (show other bugs)
Version: 0.12.7
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-01 02:03 UTC by Raphael Geissert
Modified: 2008-10-15 23:45 UTC (History)
0 users

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 Raphael Geissert 2008-07-01 02:03:57 UTC
Version:           0.12.7 (using KDE 3.5.9)
Installed from:    Debian testing/unstable Packages
OS:                Linux

For slightly more than a week kopete sometimes crashes when it starts (not to 
mention that it takes a _while_ to finally appear on the tasks bar, and right 
before it does it, I think, freezes several applications because of DCOP for 
a couple of seconds).

It happens right after a couple of yh! IM conversation windows appear (spam), 
although from the backtrace I can see it is oscar the one causing the crash.

Please tell me if there's anything else I can do to track this down, because 
like I said, it doesn't crash all the time. And IIRC once the main window 
appears it hasn't crashed because of oscar.

Backtrace:
Using host libthread_db library "/lib/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0xb60dd6c0 (LWP 4606)]
[KCrash handler]
#6  Connection::rootTask (this=0x8bdcaf0)
    at /build/buildd/kdenetwork-3.5.9/./kopete/protocols/oscar/liboscar/connection.cpp:162
#7  0xb5044853 in Client::qt_invoke (this=0x8bdcaf0, _id=3, _o=0xbf807fc4)
    at ./client.moc:626
#8  0xb725df6d in QObject::activate_signal (this=0x8cdead0, clist=0x89f5528, 
    o=0xbf807fc4) at kernel/qobject.cpp:2359
#9  0xb725eaed in QObject::activate_signal (this=0x8cdead0, signal=2)
    at kernel/qobject.cpp:2328
#10 0xb500e6b9 in Task::finished (this=0x8cdead0) at ./task.moc:88
#11 0xb50356d8 in Task::done (this=0x8cdead0)
    at /build/buildd/kdenetwork-3.5.9/./kopete/protocols/oscar/liboscar/task.cpp:217
#12 0xb5036077 in Task::setSuccess (this=0x8cdead0, code=0, str=@0x89eb8dc)
    at /build/buildd/kdenetwork-3.5.9/./kopete/protocols/oscar/liboscar/task.cpp:191
#13 0xb50368ee in StageOneLoginTask::closeTaskFinished (this=0x8cdead0)
    at /build/buildd/kdenetwork-3.5.9/./kopete/protocols/oscar/liboscar/logintask.cpp:98
#14 0xb5036933 in StageOneLoginTask::qt_invoke (this=0x8cdead0, _id=4, 
    _o=0xbf808104) at ./logintask.moc:84
#15 0xb725df6d in QObject::activate_signal (this=0x8f46218, clist=0x881fad8, 
    o=0xbf808104) at kernel/qobject.cpp:2359
#16 0xb725eaed in QObject::activate_signal (this=0x8f46218, signal=2)
    at kernel/qobject.cpp:2328
#17 0xb500e6b9 in Task::finished (this=0x8f46218) at ./task.moc:88
#18 0xb50356d8 in Task::done (this=0x8f46218)
    at /build/buildd/kdenetwork-3.5.9/./kopete/protocols/oscar/liboscar/task.cpp:217
#19 0xb5036077 in Task::setSuccess (this=0x8f46218, code=0, str=@0xbf808264)
    at /build/buildd/kdenetwork-3.5.9/./kopete/protocols/oscar/liboscar/task.cpp:191
#20 0xb504e843 in CloseConnectionTask::take (this=0x8f46218, 
    transfer=0x9e687f8)
    at /build/buildd/kdenetwork-3.5.9/./kopete/protocols/oscar/liboscar/closeconnectiontask.cpp:127
#21 0xb5010462 in Task::take (this=0x8dba920, transfer=0x9e687f8)
    at /build/buildd/kdenetwork-3.5.9/./kopete/protocols/oscar/liboscar/task.cpp:141
#22 0xb5007e01 in Connection::distribute (this=0x88e5640, transfer=0x9e687f8)
    at /build/buildd/kdenetwork-3.5.9/./kopete/protocols/oscar/liboscar/connection.cpp:217
#23 0xb5007e54 in Connection::streamReadyRead (this=0x88e5640)
    at /build/buildd/kdenetwork-3.5.9/./kopete/protocols/oscar/liboscar/connection.cpp:234
#24 0xb502e020 in Connection::qt_invoke (this=0x88e5640, _id=3, _o=0xbf808364)
    at ./connection.moc:141
#25 0xb725df6d in QObject::activate_signal (this=0x8f46648, clist=0x91a9c78, 
    o=0xbf808364) at kernel/qobject.cpp:2359
#26 0xb725eaed in QObject::activate_signal (this=0x8f46648, signal=4)
    at kernel/qobject.cpp:2328
#27 0xb500c08c in Stream::readyRead (this=0x8f46648) at ./stream.moc:103
#28 0xb500c0bd in ClientStream::doReadyRead (this=0x8f46648)
    at /build/buildd/kdenetwork-3.5.9/./kopete/protocols/oscar/liboscar/oscarclientstream.cpp:404
#29 0xb500f73f in ClientStream::cp_incomingData (this=0x8f46648)
    at /build/buildd/kdenetwork-3.5.9/./kopete/protocols/oscar/liboscar/oscarclientstream.cpp:321
#30 0xb50342eb in ClientStream::qt_invoke (this=0x8f46648, _id=6, 
    _o=0xbf808464) at ./oscarclientstream.moc:157
#31 0xb725df6d in QObject::activate_signal (this=0x8b35ee4, clist=0x89bd0b0, 
    o=0xbf808464) at kernel/qobject.cpp:2359
#32 0xb725eaed in QObject::activate_signal (this=0x8b35ee4, signal=3)
    at kernel/qobject.cpp:2328
#33 0xb500cc0c in CoreProtocol::incomingData (this=0x8b35ee4)
    at ./coreprotocol.moc:110
#34 0xb5033f5d in CoreProtocol::wireToTransfer (this=0x8b35ee4, 
    wire=@0x8b35f0c)
    at /build/buildd/kdenetwork-3.5.9/./kopete/protocols/oscar/liboscar/coreprotocol.cpp:226
#35 0xb503409f in CoreProtocol::addIncomingData (this=0x8b35ee4, 
    incomingBytes=@0xbf808614)
    at /build/buildd/kdenetwork-3.5.9/./kopete/protocols/oscar/liboscar/coreprotocol.cpp:108
#36 0xb50341d9 in ClientStream::bs_readyRead (this=0x8f46648)
    at /build/buildd/kdenetwork-3.5.9/./kopete/protocols/oscar/liboscar/oscarclientstream.cpp:385
#37 0xb5034353 in ClientStream::qt_invoke (this=0x8f46648, _id=10, 
    _o=0xbf8086a4) at ./oscarclientstream.moc:161
#38 0xb725df6d in QObject::activate_signal (this=0x8e94418, clist=0x8de8a48, 
    o=0xbf8086a4) at kernel/qobject.cpp:2359
#39 0xb725eaed in QObject::activate_signal (this=0x8e94418, signal=4)
    at kernel/qobject.cpp:2328
#40 0xb500c8bc in ByteStream::readyRead (this=0x8e94418)
    at ./bytestream.moc:108
#41 0xb5019d1f in KNetworkByteStream::slotReadyRead (this=0x8e94418)
    at /build/buildd/kdenetwork-3.5.9/./kopete/protocols/oscar/liboscar/oscarbytestream.cpp:124
#42 0xb50326a3 in KNetworkByteStream::qt_invoke (this=0x8e94418, _id=4, 
    _o=0xbf8087b4) at ./oscarbytestream.moc:108
#43 0xb725df6d in QObject::activate_signal (this=0x8dfe0a0, clist=0x91e1818, 
    o=0xbf8087b4) at kernel/qobject.cpp:2359
#44 0xb725eaed in QObject::activate_signal (this=0x8dfe0a0, signal=9)
    at kernel/qobject.cpp:2328
#45 0xb6c8468c in KNetwork::KClientSocketBase::readyRead (this=0x8dfe0a0)
    at ./kclientsocketbase.moc:192
#46 0xb6c846c6 in KNetwork::KClientSocketBase::slotReadActivity (
    this=0x89fa658)
    at /build/buildd/kdelibs-3.5.9.dfsg.1/./kdecore/network/kclientsocketbase.cpp:416
#47 0xb6c89e78 in KNetwork::KBufferedSocket::slotReadActivity (this=0x8dfe0a0)
    at /build/buildd/kdelibs-3.5.9.dfsg.1/./kdecore/network/kbufferedsocket.cpp:354
#48 0xb6c97dd9 in KNetwork::KBufferedSocket::qt_invoke (this=0x8dfe0a0, 
    _id=8, _o=0xbf8088bc) at ./kbufferedsocket.moc:97
#49 0xb725df6d in QObject::activate_signal (this=0x8fa02f0, clist=0x8f2d2b8, 
    o=0xbf8088bc) at kernel/qobject.cpp:2359
#50 0xb725e9f0 in QObject::activate_signal (this=0x8fa02f0, signal=2, 
    param=29) at kernel/qobject.cpp:2452
#51 0xb7588e50 in QSocketNotifier::activated (this=0x8fa02f0, t0=29)
    at .moc/release-shared-mt/moc_qsocketnotifier.cpp:85
#52 0xb727ba00 in QSocketNotifier::event (this=0x8fa02f0, e=0xbf808bd8)
    at kernel/qsocketnotifier.cpp:261
#53 0xb720018a in QApplication::internalNotify (this=0xbf808dcc, 
    receiver=0x8fa02f0, e=0xbf808bd8) at kernel/qapplication.cpp:2638
#54 0xb7200f76 in QApplication::notify (this=0xbf808dcc, receiver=0x8fa02f0, 
    e=0xbf808bd8) at kernel/qapplication.cpp:2361
#55 0xb6c57ec2 in KApplication::notify (this=0xbf808dcc, receiver=0x8fa02f0, 
    event=0xbf808bd8)
    at /build/buildd/kdelibs-3.5.9.dfsg.1/./kdecore/kapplication.cpp:550
#56 0xb71f4a47 in QEventLoop::activateSocketNotifiers (this=0x872e580)
    at kernel/qapplication.h:523
#57 0xb71af1d0 in QEventLoop::processEvents (this=0x872e580, flags=4)
    at kernel/qeventloop_x11.cpp:386
#58 0xb7216b80 in QEventLoop::enterLoop (this=0x872e580)
    at kernel/qeventloop.cpp:201
#59 0xb7216a16 in QEventLoop::exec (this=0x872e580)
    at kernel/qeventloop.cpp:148
#60 0xb71ffcff in QApplication::exec (this=0xbf808dcc)
    at kernel/qapplication.cpp:2761
#61 0x08081acc in main (argc=-1257880696, argv=0x100)
    at /build/buildd/kdenetwork-3.5.9/./kopete/kopete/main.cpp:107
#62 0xb7ad1450 in __libc_start_main () from /lib/i686/cmov/libc.so.6
#63 0x0806e4a1 in _start ()
Comment 1 Roman Jarosz 2008-10-15 23:21:53 UTC

*** This bug has been marked as a duplicate of bug 160359 ***
Comment 2 Roman Jarosz 2008-10-15 23:45:57 UTC
SVN commit 871882 by rjarosz:

Fix crash on login.
Set d->stage to StageTwo after stage one is finished and not on new connection
because somehow d->stage could have been set to StageTwo while we were in
StageOne stage.
Clear oscar client before connecting to server because we could start it more
than once.

BUG: 160359



 M  +18 -4     client.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=871882