cURL / Mailing Lists / curl-library / Single Mail

curl-library

Weird crash in multi_socket()

From: Jeff Pohlmeyer <yetanothergeek_at_gmail.com>
Date: Sat, 9 Sep 2006 16:04:26 -0500

I am getting a wierd segfault in the attached program.

It looks like the stack is getting corrupted somewhere
in the multi_socket function of multi.c ...

My guess is either a bug in libcurl/hiper or libevent,
or I am (ab)using one of the libs incorrectly, or I have
made a really stupid programming mistake somewhere.

Can someone please have a look, and see if you can find
the problem?

I think this would be a cool example of libcurl+libevent
if I can get it to work correctly.

Thanks,

 - Jeff

Received on 2006-09-09