Bug 50202 - kopete crash when connecting to msn
Summary: kopete crash when connecting to msn
Status: RESOLVED WORKSFORME
Alias: None
Product: kopete
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
: 64071 66098 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-11-05 01:09 UTC by Rob Kaper
Modified: 2007-10-23 21:13 UTC (History)
3 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 Rob Kaper 2002-11-05 01:09:38 UTC
Version:           0.5.8cvs >= 20021020 (using KDE 3.0.9 (KDE 3.1 RC1))
Installed from:    compiled sources
Compiler:          gcc version 3.2
OS:          Linux (i686) release 2.4.19

Couldn't find a dup for this, if there is, sorry.

[New Thread 16384 (LWP 19610)]
0x41265219 in wait4 () from /lib/libc.so.6
#0  0x41265219 in wait4 () from /lib/libc.so.6
#1  0x412e5230 in __DTOR_END__ () from /lib/libc.so.6
#2  0x4107c0f3 in waitpid () from /lib/libpthread.so.0
#3  0x407371ec in KCrash::defaultCrashHandler(int) (sig=11) at kcrash.cpp:235
#4  <signal handler called>
#5  0x418fd764 in MSNSocket::sendCommand(QString const&, QString const&, bool, QString const&) (this=0x0, cmd=@0xfffffe00, args=@0xbfffe3c0, addId=65, 
    body=@0x1) at /usr/local/qt/include/qcstring.h:372
#6  0x419082ef in MSNNotifySocket::addGroup(QString) (this=0x0, groupName=)
    at /usr/local/qt/include/qstring.h:933
#7  0x418ed557 in MSNProtocol::addGroup(QString const&, QString const&) (
    this=0x82908b8, groupName=@0xbfffe550, contactToAdd=@0x0)
    at msnprotocol.cpp:863
#8  0x418ebca0 in MSNProtocol::slotOnlineStatusChanged(MSNSocket::OnlineStatus)
    (this=0x82908b8, status=Connecting) at msnprotocol.cpp:623
#9  0x418f12dc in MSNProtocol::qt_invoke(int, QUObject*) (this=0x82908b8, 
    _id=11, _o=0xbfffe6f0) at /usr/local/qt/include/private/qucom_p.h:312
#10 0x40b1a250 in QObject::activate_signal(QConnectionList*, QUObject*) (
    this=0x82b9ca8, clist=0x82ba5c8, o=0xbfffe6f0) at kernel/qobject.cpp:2214
#11 0x418fe7da in MSNSocket::onlineStatusChanged(MSNSocket::OnlineStatus) (
    this=0xbfffe6f0, t0=Connected) at msnsocket.moc:155
#12 0x418fa5a2 in MSNSocket::setOnlineStatus(MSNSocket::OnlineStatus) (
    this=0xfffffe00, status=Connecting) at msnsocket.cpp:124
#13 0x41905f83 in MSNNotifySocket::parseCommand(QString const&, unsigned, QString const&) (this=0x82b9ca8, cmd=@0xbfffe9b0, id=3221219776, data=@0xbfffeb50)
    at msnnotifysocket.cpp:255
#14 0x418fcd19 in MSNSocket::parseLine(QString const&) (this=0x82b9ca8, 
    str=@0xbfffec80) at msnsocket.cpp:338
#15 0x418fbbe7 in MSNSocket::slotReadLine() (this=0x82b9ca8)
    at msnsocket.cpp:264
#16 0x418fabc8 in MSNSocket::slotDataReceived() (this=0x82b9ca8)
    at msnsocket.cpp:208
#17 0x418fe8b0 in MSNSocket::qt_invoke(int, QUObject*) (this=0x82b9ca8, _id=2, 
    _o=0xbfffee80) at msnsocket.moc:173
#18 0x41900369 in MSNAuthSocket::qt_invoke(int, QUObject*) (this=0x2, 
    _id=137075880, _o=0xfffffe00) at msnauthsocket.moc:85
#19 0x4190ac44 in MSNNotifySocket::qt_invoke(int, QUObject*) (this=0x2, _id=2, 
    _o=0x82b9ca8) at msnnotifysocket.moc:387
#20 0x40b1a250 in QObject::activate_signal(QConnectionList*, QUObject*) (
    this=0x82a7480, clist=0x82a5100, o=0xbfffee80) at kernel/qobject.cpp:2214
#21 0x40b1a123 in QObject::activate_signal(int) (this=0x82a7480, signal=2)
    at kernel/qobject.cpp:2188
#22 0x407976ef in KAsyncIO::readyRead() (this=0xfffffe00)
    at /usr/local/qt/include/qmetaobject.h:261
#23 0x407739dc in KExtendedSocket::socketActivityRead() (this=0x2)
    at kextsock.cpp:1913
#24 0x40774eb8 in KExtendedSocket::qt_invoke(int, QUObject*) (this=0x2, 
    _id=11, _o=0xfffffe00) at kextsock.moc:131
#25 0x40b1a250 in QObject::activate_signal(QConnectionList*, QUObject*) (
    this=0x82a4b30, clist=0x82a6098, o=0xbffff3b0) at kernel/qobject.cpp:2214
#26 0x40b1a4b8 in QObject::activate_signal(int, int) (this=0x82a4b30, 
    signal=2, param=20) at kernel/qobject.cpp:2279
#27 0x40e0d81d in QSocketNotifier::activated(int) (this=0x82a4b30, t0=20)
    at .moc/debug-shared-mt/moc_qsocketnotifier.cpp:86
#28 0x40b3973c in QSocketNotifier::event(QEvent*) (this=0x82a4b30, 
    e=0xbffff630) at kernel/qsocketnotifier.cpp:268
#29 0x40ab4a2a in QApplication::internalNotify(QObject*, QEvent*) (
    this=0xbffff830, receiver=0x82a4b30, e=0xbffff630)
    at kernel/qapplication.cpp:2296
#30 0x40ab408f in QApplication::notify(QObject*, QEvent*) (this=0xbffff830, 
    receiver=0x82a4b30, e=0xbffff630) at kernel/qapplication.cpp:2061
#31 0x406acc85 in KApplication::notify(QObject*, QEvent*) (this=0xfffffe00, 
    receiver=0x82a4b30, event=0xbffff630) at kapplication.cpp:441
#32 0x40a5a87b in QApplication::sendEvent(QObject*, QEvent*) (
    receiver=0x82a4b30, event=0xbffff630) at kernel/qapplication.h:477
#33 0x40a8f26e in QEventLoop::activateSocketNotifiers() (this=0x80b29f8)
    at kernel/qeventloop_unix.cpp:544
#34 0x40a6a375 in QEventLoop::processEvents(unsigned) (this=0x80b29f8, flags=4)
    at kernel/qeventloop_x11.cpp:301
#35 0x40acad5f in QEventLoop::enterLoop() (this=0x80b29f8)
    at kernel/qeventloop.cpp:188
#36 0x40acaca6 in QEventLoop::exec() (this=0x80b29f8)
    at kernel/qeventloop.cpp:138
#37 0x40ab4ba3 in QApplication::exec() (this=0xbffff830)
    at kernel/qapplication.cpp:2417
#38 0x08049c83 in main (argc=-512, argv=0xfffffe00) at main.cpp:76
#39 0x411ccb34 in __libc_start_main () from /lib/libc.so.6
Comment 1 Rob Kaper 2002-11-05 01:27:48 UTC
Changed severity to crash. 
 
Comment 2 Martijn Klingens 2002-11-05 09:32:37 UTC
Subject: Re: [Kopete-devel]  New: kopete crash when connecting to msn

On Tuesday 05 November 2002 01:09, Rob Kaper wrote:
> #5  0x418fd764 in MSNSocket::sendCommand(QString const&, QString const&,
>     bool, QString const&) (this=0x0, cmd=@0xfffffe00, args=@0xbfffe3c0,
>     addId=65, 
>     body=@0x1) at /usr/local/qt/include/qcstring.h:372
> #6  0x419082ef in MSNNotifySocket::addGroup(QString) (this=0x0, groupName=)
>     at /usr/local/qt/include/qstring.h:933

Strange that it crashes in sendCommand... do you have the kdDebug() output 
handy too?
Comment 3 Martijn Klingens 2002-11-05 22:46:06 UTC
Subject: Re: [Kopete-devel]  New: kopete crash when connecting to msn

On Tuesday 05 November 2002 01:09, Rob Kaper wrote:
> #7  0x418ed557 in MSNProtocol::addGroup(QString const&, QString const&) (
>     this=0x82908b8, groupName=@0xbfffe550, contactToAdd=@0x0)
>     at msnprotocol.cpp:863
> #8  0x418ebca0 in
> MSNProtocol::slotOnlineStatusChanged(MSNSocket::OnlineStatus)
> (this=0x82908b8, status=Connecting) at msnprotocol.cpp:623
                          ^^^^^^^^^^^^^^^^^^^^^^^^

Connecting, not connected.

And that method starts with

----
void MSNProtocol::slotOnlineStatusChanged( MSNSocket::OnlineStatus status )
{
	mIsConnected = status == MSNSocket::Connected;
	if ( mIsConnected )
	{
----

Is that assignment correct? Or should that be

	mIsConnected = ( status == MSNSocket::Connected );

instead?

I can't see any other possibility. Olivier's last commit from yesterday noon 
changes this, so I wonder how old Rob's checkout was.

Version:           0.5.8cvs >= 20021020 (using KDE 3.0.9 (KDE 3.1 RC1))

Doesn't say too much.

Rob, from when was this checkout? Does updating help if the checkout is from 
before 2002/11/04 12:46:38 (revision 1.157 of msnprotocol.cpp) ?
Comment 4 Rob Kaper 2002-11-06 01:11:41 UTC
I've got: 
 
/msnprotocol.cpp/1.157/Mon Nov  4 21:50:32 2002//  
 
So sorry. :) 
  
Comment 5 Martijn Klingens 2002-11-30 23:27:05 UTC
Seems to be fixed now. The bug was caused by the syncing of groups to the 
server, but I can't reproduce that anymore. Valgrind remains silent, so unless 
I'm taking the wrong steps to reproduce I'm pretty confident this bug is 
fixed. 
Comment 6 Stephan Kulow 2003-09-11 13:45:38 UTC
*** Bug 64071 has been marked as a duplicate of this bug. ***
Comment 7 Stephan Kulow 2003-10-16 10:01:39 UTC
*** Bug 66098 has been marked as a duplicate of this bug. ***
Comment 8 Philippe Gachoud 2007-10-21 20:45:28 UTC
(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1241962000 (LWP 11276)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#6  0xb587711a in MSNAccount::slotNotifySocketClosed ()
   from /usr/lib/libkopete_msn_shared.so.0
#7  0xb587f668 in MSNAccount::qt_invoke ()
   from /usr/lib/libkopete_msn_shared.so.0
#8  0xb6832893 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#9  0xb6833338 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#10 0xb58888dc in MSNSocket::socketClosed ()
   from /usr/lib/libkopete_msn_shared.so.0
#11 0xb589c4cd in MSNNotifySocket::disconnect ()
   from /usr/lib/libkopete_msn_shared.so.0
#12 0xb5898f3b in MSNNotifySocket::sslLoginFailed ()
   from /usr/lib/libkopete_msn_shared.so.0
#13 0xb589f0f5 in MSNNotifySocket::qt_invoke ()
   from /usr/lib/libkopete_msn_shared.so.0
#14 0xb6832893 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#15 0xb6833338 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#16 0xb58b916c in MSNSecureLoginHandler::loginFailed ()
   from /usr/lib/libkopete_msn_shared.so.0
#17 0xb58b940f in MSNSecureLoginHandler::slotTweenerReceived ()
   from /usr/lib/libkopete_msn_shared.so.0
#18 0xb58ba5a6 in MSNSecureLoginHandler::qt_invoke ()
   from /usr/lib/libkopete_msn_shared.so.0
#19 0xb6832893 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#20 0xb746d021 in KIO::Job::result () from /usr/lib/libkio.so.4
#21 0xb74c58cd in KIO::Job::emitResult () from /usr/lib/libkio.so.4
#22 0xb74c5d2e in KIO::SimpleJob::slotFinished () from /usr/lib/libkio.so.4
#23 0xb74c643d in KIO::TransferJob::slotFinished () from /usr/lib/libkio.so.4
#24 0xb74c5301 in KIO::SimpleJob::qt_invoke () from /usr/lib/libkio.so.4
#25 0xb74c5363 in KIO::TransferJob::qt_invoke () from /usr/lib/libkio.so.4
#26 0xb6832893 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#27 0xb6bbe8ec in QSignal::signal () from /usr/lib/libqt-mt.so.3
#28 0xb6852842 in QSignal::activate () from /usr/lib/libqt-mt.so.3
#29 0xb685a258 in QSingleShotTimer::event () from /usr/lib/libqt-mt.so.3
#30 0xb67c9af0 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#31 0xb67cb91f in QApplication::notify () from /usr/lib/libqt-mt.so.3
#32 0xb6f8fca2 in KApplication::notify () from /usr/lib/libkdecore.so.4
#33 0xb675c209 in QApplication::sendEvent () from /usr/lib/libqt-mt.so.3
#34 0xb67bc53b in QEventLoop::activateTimers () from /usr/lib/libqt-mt.so.3
#35 0xb6770d49 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#36 0xb67e41ce in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#37 0xb67e3fde in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#38 0xb67cb699 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#39 0x0807f95c in ?? ()
#40 0xbf8bdfb4 in ?? ()
#41 0xbf8bdfac in ?? ()
#42 0xbf8bdfa4 in ?? ()
#43 0x00000000 in ?? ()
Comment 9 Pino Toscano 2007-10-22 13:36:47 UTC
@comment 8 (Philippe):
your problem is NOT this one, but bug #150913, please refer to that one.
Comment 10 Philippe Gachoud 2007-10-23 21:13:21 UTC
thx a lot for your answer and for your investment in the community :D

best regards

Philippe Gachoud

On Monday 22 October 2007, Pino Toscano wrote:
[bugs.kde.org quoted mail]