cURL / Mailing Lists / curl-library / Single Mail

curl-library

SIGSERV with --enable-ares

From: VOROSKOI Andras <voroskoi_at_frugalware.org>
Date: Sat, 3 Mar 2007 19:19:52 +0100

----- Forwarded message from VOROSKOI Andras <voroskoi_at_frugalware.org> -----

From: VOROSKOI Andras <voroskoi_at_frugalware.org>
To: curl-users_at_cool.haxx.se
Subject: SIGSERV with --enable-ares
Date: Sat, 3 Mar 2007 16:05:43 +0100

Hi,

I got http://libtorrent.rakshasa.no/ticket/819 with rtorrent, they
suggest recompiling curl(gcc 4.1.2) with c-ares support. I've done so, but now i
got a segfault. C-ares version is 1.3.2, curl 7.16.1.

Here is what i get when i run rtorrent in gdb:

Program received signal SIGSEGV, Segmentation fault.
0xb7d34895 in curl_multi_add_handle (multi_handle=0x81037cc,
easy_handle=0x0) at multi.c:373
373 if(!GOOD_EASY_HANDLE(easy_handle))
Current language: auto; currently c

I do not post the backtrace as i've triggered it from rtorrent, so there
is noting useful for you imo.

I've also tried latest nighty build, but same error. Please let me know
if you need any additional information.

----- End forwarded message -----

This was my original letter to curl-users, but Daniel Stenberg said i
should send it here.
He also said that 0x0 is not a valid easy handle, but the segfault
should be fixed anyway. Btw rtorrent works fine with curl 7.15.5 compiled
without c-ares support, so here must be some problem with curl/c-ares too.

Thanks for your help in advance!

-- 
voroskoi
Received on 2007-03-03