cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Apache Segmentation Fault when Ending curl_multi FTP Transfers

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 2 May 2013 20:37:29 +0200 (CEST)

On Thu, 2 May 2013, Ben Thomas wrote:

> If any of the "multi" transfers fail, I want to be able to immediately stop
> the rest of the transfers, so if I'm transferring 5 files, and the first one
> fails (for whatever reason), I don't want to bother wasting bandwidth
> sending the rest. I just want to stop all the transfers, but when I try and
> do this, I get a segmentation fault in Apache: "[notice] child pid 9945 exit
> signal Segmentation fault (11)"

You're talking about a crash in Apache that runs PHP/CURL which uses libcurl.
There's a lot of layers in there that makes it really hard for us to make any
conclusions at all - totally without any debug/log/stacktrace data. You also
failed to mention which libcurl version this is and on what operating system
it runs.

So, let's take a step back and:

1 - please try with a modern libcurl installed (the latest or almost latest)

2 - please get us a stacktrace of the crash if it still happens, and if it
     still does please consider using a libcurl with debug enabled when
     triggering the problem so that we can get more info from it

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