cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: crash freeing memory in Curl_llist_destroy

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 22 Aug 2008 23:51:06 +0200 (CEST)

On Fri, 22 Aug 2008, Stephen Powers wrote:

> has anyone seen this crash before?
>
> Program terminated with signal 11, Segmentation fault.
> #0 0xfedd6100 in realfree () from /usr/lib/libc.so.1
> (gdb) bt
> #0 0xfedd6100 in realfree () from /usr/lib/libc.so.1
> #1 0xfedd6928 in _free_unlocked () from /usr/lib/libc.so.1
> #2 0xfedd6864 in free () from /usr/lib/libc.so.1
> #3 0xff352818 in Curl_llist_destroy () from /opt/AMS_500/ARC/libcurl.so.4

Yes, when people use threaded programs and SSL without doing the mutex
callbacks.

You didn't mention what libcurl version, what platform or many specifics of
your code so we cannot make any really good guesses.

-- 
  / daniel.haxx.se
Received on 2008-08-23