cURL / Mailing Lists / curl-library / Single Mail


Re: crash in iOS build

From: Brett Harrison <>
Date: Wed, 8 Jan 2014 11:29:01 -0800

I turned off the SSL backend for now. With that turned off, I am only have
problems with 7.34.0.

I reproduced a problem (but not the crash) in the iOS example project.
 Maybe they are related.


I downloaded:

I then downloaded:


export CFLAGS="-arch armv7 -pipe -Os -gdwarf-2 -isysroot

export LDFLAGS="-arch armv7 -isysroot

./configure --disable-shared --enable-static --host="armv7-apple-darwin"
--prefix=/Users/brett/Downloads/out --enable-threaded-resolver
--enable-debug --disable-optimize

make -j `sysctl -n hw.logicalcpu_max`

In the example project inlcuded in

I added these lines to the easy handle init.

        curl_easy_setopt(_curl, CURLOPT_CONNECTTIMEOUT, 30);

        curl_easy_setopt(_curl, CURLOPT_TIMEOUT_MS, 40000);
When running to the device (in my case an ipad). I changed the URL: to ( and always work. always times out. Maybe it has something to do with the number of
IP addresses mapped in the DNS entry...

Running with the same build settings on 7.33.0 works correctly.

On Tue, Jan 7, 2014 at 2:05 PM, Daniel Stenberg <> wrote:

> On Tue, 7 Jan 2014, Brett Harrison wrote:
> I am trying to update our libcurl library from 7.21.3 to 7.33.0. I am
>> getting a rare but occasional crash with the new library. Do you know of
>> any changes in how I should use curl_multi_perform between 7.21.3 to
>> 7.33.0? Using 7.21.3 I do not get this crash.
> Do you build them with the same SSL backend?

> I have also build v 7.34.0 with debug symbols and get the crash at what I
>> assume if the same place.
>> * thread #36: tid = 0xa4a26, 0x01a10cee ZyaStoreTest`Curl_splay(i=timeval
>> at 0x0ba4da18, t=0x0e9795e4) + 46 at splay.c:52, name = 'CurlWorker, stop
>> reason = EXC_BAD_ACCESS (code=1, address=0xe9795f0)
> Traditionally, getting crashes in the splay code have indicated problems
> with threading or memory related problems - in the application.
> I can't recall any notable known multi interface crashes in 7.34.0.
> --
> /
> -------------------------------------------------------------------
> List admin:
> Etiquette:

List admin:
Received on 2014-01-08