cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Curl 7.29.0 core dump

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 19 Apr 2013 23:12:45 +0200 (CEST)

On Fri, 19 Apr 2013, Ceri Davies wrote:

> I'm an experienced programmer but new to curl. I have implemented a fuse
> filesystem that send notifications on open/close mkdir/rmdir events via curl
> to a web logic server, by emulating a SOAP/XML request, and it gets a
> response back via the write function callback. My test case is a recursive
> copy of a filesystem with lots of small files. Using curl 7.29.0, compiled
> manually for OEL5 (RHEL5), since the dependency list for the binary got
> complicated.
>
> This consistently crashes after while, and I get a SEGV but the stack is
> somewhat mangled, but is always the same... Is this a known issue that is
> fixed? Would you like more information?

I've seen similar crashes in the past when people have use HTTPS without the
necessary mutex calllbacks set. If you're not using HTTPS or if you have the
mutex calllbacks done fine, I'll be interested in more details.

A fine first step would be to rebuild libcurl with full debug info so that
the stack trace gets more info.

This is a libcurl built with the default resolver backend, isn't it? Is the
stack trace of the crash always happening with Curl_resolv_timeout() somewhere
around frame 5 ? If so, it could be an idea to try a different resolver
backend just to see if the symptoms changes.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2013-04-19