From kde-devel Mon Dec 24 23:38:10 2007 From: Thiago Macieira Date: Mon, 24 Dec 2007 23:38:10 +0000 To: kde-devel Subject: Re: KExtendedSocket::startAsyncConnect() freezes application (KDE 3) Message-Id: <200712242138.26360.thiago () kde ! org> X-MARC-Message: https://marc.info/?l=kde-devel&m=119853958705567 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============0388122168==" --===============0388122168== Content-Type: multipart/signed; boundary="nextPart2466199.czWP4rSdEK"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart2466199.czWP4rSdEK Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Diederik van der Boor wrote: >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. > >#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 Blame your libsocks. Don't use SOCKS proxying and the problem should go=20 away. =2D-=20 =A0 Thiago Macieira =A0- =A0thiago (AT) macieira.info - thiago (AT) kde.org =A0 =A0 PGP/GPG: 0x6EF45358; fingerprint: =A0 =A0 E067 918B B660 DBD1 105C =A0966C 33F5 F005 6EF4 5358 --nextPart2466199.czWP4rSdEK Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQBHcELkM/XwBW70U1gRAolzAKCtZ/YdOBehyJ9dZQvZtODZ0bKafQCgk9Zu tFy14H8ZChvI/GF02VOXN2I= =8696 -----END PGP SIGNATURE----- --nextPart2466199.czWP4rSdEK-- --===============0388122168== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe << --===============0388122168==--