Bug 59577 - Crash when sending a file over MSN
Summary: Crash when sending a file over MSN
Status: RESOLVED FIXED
Alias: None
Product: kopete
Classification: Applications
Component: MSN Plugin (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-09 23:25 UTC by Martin Hignett
Modified: 2003-07-28 23:41 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 Martin Hignett 2003-06-09 23:25:06 UTC
Version:            (using KDE KDE 3.1.1)
Installed from:    Compiled From Sources
Compiler:          gcc 3.3 
OS:          Linux

Connect to friend using MSN Messenger and try to send him/her a file. The transfer file dialog box appears, but the transfer aborts as soon as the other end accepts it. One or two minutes later Kopete crashes with the following backtrace:

[New Thread 16384 (LWP 27024)]
[New Thread 32769 (LWP 28802)]
0x41431d2a in waitpid () from /lib/libpthread.so.0
#0  0x41431d2a in waitpid () from /lib/libpthread.so.0
#1  0x40b4ac89 in KCrash::defaultCrashHandler(int) ()
   from /opt/kde3/lib/libkdecore.so.4
#2  0x41430895 in __pthread_sighandler () from /lib/libpthread.so.0
#3  <signal handler called>
#4  0x40647746 in KIO::Job::emitResult() () from /opt/kde3/lib/libkio.so.4
#5  0x400a8ba2 in KopeteTransfer::slotError(int, QString const&) ()
   from /opt/kde3/lib/libkopete.so.1
#6  0x400a89d0 in KopeteTransfer::setError(KopeteTransfer::KopeteTransferError)
    () from /opt/kde3/lib/libkopete.so.1
#7  0x425ff952 in MSNFileTransferSocket::slotTimer() ()
   from /opt/kde3/lib/kde3/kopete_msn.so
#8  0x42601bd6 in MSNFileTransferSocket::qt_invoke(int, QUObject*) ()
   from /opt/kde3/lib/kde3/kopete_msn.so
#9  0x40ed68e7 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#10 0x411ccc6a in QSignal::signal(QVariant const&) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#11 0x40ef1328 in QSignal::activate() () from /usr/lib/qt3/lib/libqt-mt.so.3
#12 0x40ef85d3 in QSingleShotTimer::event(QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#13 0x40e755f8 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#14 0x40e74b50 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#15 0x40ad7929 in KApplication::notify(QObject*, QEvent*) ()
   from /opt/kde3/lib/libkdecore.so.4
#16 0x40e4c935 in QEventLoop::activateTimers() ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#17 0x40e29974 in QEventLoop::processEvents(unsigned) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#18 0x40e89b83 in QEventLoop::enterLoop() ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#19 0x40e89a76 in QEventLoop::exec() () from /usr/lib/qt3/lib/libqt-mt.so.3
#20 0x40e7587f in QApplication::exec() () from /usr/lib/qt3/lib/libqt-mt.so.3
#21 0x0806de23 in main ()
#22 0x415908ae in __libc_start_main () from /lib/libc.so.6

Hope that helps!
Comment 1 Martin Hignett 2003-06-09 23:26:29 UTC
Ooops... ment to add that this is today's (9th June 2003) CVS build! 
Comment 2 Olivier Goffart 2003-06-10 08:36:26 UTC
I il try to see what can cause this bug. it seems there is a problem in KIO::Job , maybe 
because something is deleted too quickly. 
Comment 3 Martijn Klingens 2003-07-13 18:24:23 UTC
Is this bug still present? Stability for especially MSN and the general 
framework has improved a lot lately. I wouldn't be surprised if the bug can be 
closed now... 
 
Martijn 
 
Comment 4 Martin Hignett 2003-07-27 13:18:39 UTC
I still get random crashes with file transfers when using MSN in cvs head... I have a 
feeling its a race condition somewhere which makes it hard to reproduce reliably :-( 
 
Hope that helps 
Comment 5 Martijn Klingens 2003-07-27 13:24:03 UTC
Hmm, if you compiled Kopete with '--enable-debug=full' passed to configure it might be 
helpful to see some valgrind traces. Run 'valgrind --num-callers=12 kopete --nofork &> 
kopete-logfile'. Instead of redirecting all output you could also use valgrind's --logfile 
argument. Either way we rather rely on full debug info. 
 
Martijn 
 
Comment 6 Olivier Goffart 2003-07-28 23:41:20 UTC
I've commited several patch to msn filetransfer, and it seems we are unable to 
reproduce this bug now