Bug 203034 - about to receive file with DCC and konversation crashed
Summary: about to receive file with DCC and konversation crashed
Status: RESOLVED FIXED
Alias: None
Product: konversation
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Konversation Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-08 02:11 UTC by Shawn Starr
Modified: 2009-08-08 03:59 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 Shawn Starr 2009-08-08 02:11:19 UTC
Application that crashed: konversation
Version of the application: 1.2-alpha5+ #3427
KDE Version: 4.3.63 (KDE 4.3.63 (KDE 4.4 >= 20090805))
Qt Version: 4.5.2
Operating System: Linux 2.6.29.6-217.2.3.fc11.x86_64 x86_64
Distribution: "Fedora release 11 (Leonidas)"

What I was doing when the application crashed:
about to receive file with DCC and konversation crashed
I was trying to adjust the ports, and set to use MANUAL the IP address instead of from IRC server. The user tried to send and then it crashed (he was going to send via DCC passive mode)

 -- Backtrace:
Application: Konversation (konversation), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f6c6dab7820 (LWP 3709))]

Thread 2 (Thread 0x7f6c5d3cb910 (LWP 3710)):
#0  0x00007f6c6b1692f9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00000034c4a5ad7b in QWaitConditionPrivate::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#3  0x00000034bf681dac in QHostInfoAgent::run (this=0x132ca10) at kernel/qhostinfo.cpp:260
#4  0x00000034c4a59cd5 in QThreadPrivate::start (arg=0x132ca10) at thread/qthread_unix.cpp:188
#5  0x00007f6c6b16486a in start_thread () from /lib64/libpthread.so.0
#6  0x00007f6c6aa3039d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f6c6dab7820 (LWP 3709)):
[KCrash Handler]
#5  QString::isEmpty (this=<value optimized out>) at ../../src/corelib/tools/qstring.h:691
#6  QIODevice::errorString (this=<value optimized out>) at io/qiodevice.cpp:1533
#7  0x00000000005b00c6 in Konversation::DCC::TransferRecv::connectionFailed (this=0x27aeea0, errorCode=QAbstractSocket::SocketTimeoutError)
    at /root/extragear/network/konversation/src/dcc/transferrecv.cpp:663
#8  0x00000000005b12e3 in Konversation::DCC::TransferRecv::qt_metacall (this=0x27aeea0, _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0x7fff377570f0)
    at /root/extragear-dev/network/konversation/src/transferrecv.moc:106
#9  0x00000034c4b54fdc in QMetaObject::activate (sender=0x19f1350, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x7fff377570f0) at kernel/qobject.cpp:3113
#10 0x00000034bf69b011 in QAbstractSocket::error (this=0x7fff37756f30, _t1=QAbstractSocket::SocketTimeoutError) at .moc/release-shared/moc_qabstractsocket.cpp:148
#11 0x00000034bf69db51 in QAbstractSocketPrivate::_q_abortConnectionAttempt (this=0x2777970) at socket/qabstractsocket.cpp:1063
#12 0x00000034bf6a182d in QAbstractSocket::qt_metacall (this=0x19f1350, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff37757220)
    at .moc/release-shared/moc_qabstractsocket.cpp:110
#13 0x00000034c4b54fdc in QMetaObject::activate (sender=0x12104f0, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x7fff377570f0) at kernel/qobject.cpp:3113
#14 0x00000034c4b4ef93 in QObject::event (this=0x12104f0, e=0x0) at kernel/qobject.cpp:1075
#15 0x00000034c5f8ee2c in QApplicationPrivate::notify_helper (this=0xd2b150, receiver=0x12104f0, e=0x7fff37757850) at kernel/qapplication.cpp:4056
#16 0x00000034c5f95e5e in QApplication::notify (this=0x7fff37757b80, receiver=0x12104f0, e=0x7fff37757850) at kernel/qapplication.cpp:4021
#17 0x00007f6c6ba77773 in KApplication::notify (this=0x7fff37757b80, receiver=0x12104f0, event=0x7fff37757850) at /root/kdelibs/kdeui/kernel/kapplication.cpp:302
#18 0x00000034c4b3fcbc in QCoreApplication::notifyInternal (this=0x7fff37757b80, receiver=0x12104f0, event=0x7fff37757850) at kernel/qcoreapplication.cpp:610
#19 0x00000034c4b6aa72 in QCoreApplication::sendEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.h:213
#20 QTimerInfoList::activateTimers (event=<value optimized out>, receiver=<value optimized out>) at kernel/qeventdispatcher_unix.cpp:572
#21 0x00000034c4b6846d in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:165
#22 0x00000034bbe37abe in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#23 0x00000034bbe3b278 in ?? () from /lib64/libglib-2.0.so.0
#24 0x00000034bbe3b3a0 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#25 0x00000034c4b683b6 in QEventDispatcherGlib::processEvents (this=0xcfdbc0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#26 0x00000034c6021b6e in QGuiEventDispatcherGlib::processEvents (this=0x7fff37756f30, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#27 0x00000034c4b3e5f2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 36}) at kernel/qeventloop.cpp:149
#28 0x00000034c4b3e9c4 in QEventLoop::exec (this=0x7fff37757af0, flags={i = 0}) at kernel/qeventloop.cpp:201
#29 0x00000034c4b40b79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#30 0x0000000000465bd0 in main (argc=5, argv=0x7fff37758838) at /root/extragear/network/konversation/src/main.cpp:100

Reported using DrKonqi
Comment 1 Bernd Buschinski 2009-08-08 03:59:35 UTC
SVN commit 1008619 by buschinski:

- properly disconnect from the sockets, if we are still connecting and call close, it will emit error(), ignore it if we just want to close it
BUG:203034


 M  +3 -0      transferrecv.cpp  
 M  +4 -0      transfersend.cpp  


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