[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: KExtendedSocket::startAsyncConnect() freezes application (KDE 3)
From: Diederik van der Boor <vdboor () codingdomain ! com>
Date: 2007-12-24 19:17:15
Message-ID: 200712242017.15784.vdboor () codingdomain ! com
[Download RAW message or body]
Hi,
My application uses a KExtendedSocket::startAsyncConnect() call, but this
freezes the application for ~2 minutes if the host does not respond.
Can anyone point out a known problem here, or is this a genuine bug? Below
this e-mail you'll find the backtrace, I've stripped it a bit to make it more
readable.
Note I'm using KDE 3.5.7, and Qt 3.3.8.
Thanks in advice,
Diederik
--> freeze ends here...
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb667d2c8 in connect () from /lib/libpthread.so.0
#2 0xb4c60a0d in Rconnect () from /usr/lib/libsocks.so
#3 0xb719baab in KSocks::connect () from libkdecore.so.4
#4 0xb72655fb in KExtendedSocket::connectionEvent () from libkdecore.so.4
#5 0xb72665e9 in KExtendedSocket::startAsyncConnect () from libkdecore.so.4
#6 0xb719805b in KExtendedSocket::startAsyncConnectSlot () from
libkdecore.so.4
#7 0xb726638e in KExtendedSocket::qt_invoke () from libkdecore.so.4
#8 0xb6b8c8ad in QObject::activate_signal () from libqt-mt.so.3
#9 0xb6b8d350 in QObject::activate_signal () from libqt-mt.so.3
#10 0xb71a4140 in KExtendedSocket::lookupFinished () from libkdecore.so.4
#11 0xb71b61f0 in KExtendedSocket::startAsyncLookup () from libkdecore.so.4
#12 0xb72665b6 in KExtendedSocket::startAsyncConnect () from libkdecore.so.4
--> based on the received message, a connection is initiated with the remote
system:
#13 0x081624b3 in DirectConnectionBase::openConnection (this=0x8690c08,
ipAddress=@0x869dd10, port=1241, async=true) at
kmess/network/extra/directconnectionbase.cpp:367
#14 0x08165008 in DirectConnectionPool::addConnection (this=0x86924a0,
connection=0x8690c08, ipAddress=@0x869dd10, port=1241) at
kmess/network/extra/directconnectionpool.cpp:94
...
--> entering the application at the readyRead() signal handler.
#28 0x081148a7 in MsnConnection::dataReceived (this=0x8430bf8)
at kmess/network/msnconnection.cpp:330
#29 0x081150c9 in MsnConnection::qt_invoke (this=0x8430bf8, _id=4,
_o=0xbf939394) at ./msnconnection.moc:136
#30 0x0812c535 in MsnSwitchboardConnection::qt_invoke (this=0x8430bf8, _id=4,
_o=0xbf939394) at ./msnswitchboardconnection.moc:325
#31 0xb6b8c8ad in QObject::activate_signal () from libqt-mt.so.3
#32 0xb6b8d44d in QObject::activate_signal () from libqt-mt.so.3
#33 0xb71a3c69 in KAsyncIO::readyRead () from libkdecore.so.4
#34 0xb7265f89 in KExtendedSocket::socketActivityRead () from libkdecore.so.4
#35 0xb7266340 in KExtendedSocket::qt_invoke () from libkdecore.so.4
#36 0xb6b8c8ad in QObject::activate_signal () from libqt-mt.so.3
#37 0xb6b8d350 in QObject::activate_signal () from libqt-mt.so.3
#38 0xb6ec14a0 in QSocketNotifier::activated () from libqt-mt.so.3
#39 0xb6baa3f0 in QSocketNotifier::event () from libqt-mt.so.3
#40 0xb6b2e0ac in QApplication::internalNotify () from libqt-mt.so.3
#41 0xb6b2ee96 in QApplication::notify () from libqt-mt.so.3
#42 0xb728aee2 in KApplication::notify () from libkdecore.so.4
#43 0xb6b22521 in QEventLoop::activateSocketNotifiers () from libqt-mt.so.3
#44 0xb6add236 in QEventLoop::processEvents () from libqt-mt.so.3
#45 0xb6b44c30 in QEventLoop::enterLoop () from libqt-mt.so.3
#46 0xb6b44ac6 in QEventLoop::exec () from libqt-mt.so.3
#47 0xb6b2dc1f in QApplication::exec () from libqt-mt.so.3
#48 0x08095ba9 in main (argc=135760396, argv=0x22) at kmess/main.cpp:223
--
Peace cannot be kept by force; it can only be
achieved by understanding. -- A. Einstein
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic