curl-library
crash in iOS build
Date: Tue, 7 Jan 2014 13:35:45 -0800
Hi,
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.
I am using the libcurl iOS build from your website and running to the
device. All of our curl multi calls are on the same thread.
*(lldb) **bt*
* thread #30: tid = 0x85ac4, 0x019ecafe ZyaStoreTest`Curl_splay + 50, name
= 'CurlWorker, stop reason = EXC_BAD_ACCESS (code=1, address=0xf70d5ec)
frame #0: 0x019ecafe ZyaStoreTest`Curl_splay + 50
frame #1: 0x019ecc3a ZyaStoreTest`Curl_splaygetbest + 26
frame #2: 0x019e87e0 ZyaStoreTest`curl_multi_perform + 156
frame #3: 0x01250118
ZyaStoreTest`MusicMastermind_NetClient::CurlTransport::run(this=0x191c9580)
+ 536 at CurlTransport.cpp:358
frame #4: 0x01250644
ZyaStoreTest`_ZThn8_N25MusicMastermind_NetClient13CurlTransport3runEv(this=0x191c9588)
+ 24 at CurlTransport.cpp:420
frame #5: 0x01192a1c
ZyaStoreTest`juce::Thread::threadEntryPoint(this=0x191c9588) + 568 at
juce_Thread.cpp:143
frame #6: 0x01192afe
ZyaStoreTest`juce::juce_threadEntryPoint(userData=0x191c9588) + 14 at
juce_Thread.cpp:155
frame #7: 0x01166b3c
ZyaStoreTest`juce::threadEntryProc(userData=0x191c9588) + 116 at
juce_posix_SharedCode.h:790
frame #8: 0x3a382c1c libsystem_pthread.dylib`_pthread_body + 140
frame #9: 0x3a382b8e libsystem_pthread.dylib`_pthread_start + 102
I have also build v 7.34.0 with debug symbols and get the crash at what I
assume if the same place.
*(lldb) **bt*
* 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)
frame #0: 0x01a10cee ZyaStoreTest`Curl_splay(i=timeval at 0x0ba4da18,
t=0x0e9795e4) + 46 at splay.c:52
frame #1: 0x01a10f44 ZyaStoreTest`Curl_splayinsert(i=timeval at
0x0ba4da10, t=0x00000000, node=0x01170d19) + 56 at splay.c:110
frame #2: 0x01a07b42 ZyaStoreTest`Curl_expire(data=0x04688004, milli=1)
+ 510 at multi.c:2614
frame #3: 0x01a0780a
ZyaStoreTest`curl_multi_add_handle(multi_handle=0x18949234,
easy_handle=0x04688004) + 398 at multi.c:432
frame #4: 0x0125873a
ZyaStoreTest`MusicMastermind_NetClient::CurlWorkItem::process(this=0x18857e50)
+ 258 at CurlTransport.cpp:69
frame #5: 0x0125a262
ZyaStoreTest`MusicMastermind_NetClient::CurlTransport::run(this=0x18949500)
+ 274 at CurlTransport.cpp:342
frame #6: 0x0125a894
ZyaStoreTest`_ZThn8_N25MusicMastermind_NetClient13CurlTransport3runEv(this=0x18949508)
+ 24 at CurlTransport.cpp:420
frame #7: 0x0119cc6c
ZyaStoreTest`juce::Thread::threadEntryPoint(this=0x18949508) + 568 at
juce_Thread.cpp:143
frame #8: 0x0119cd4e
ZyaStoreTest`juce::juce_threadEntryPoint(userData=0x18949508) + 14 at
juce_Thread.cpp:155
frame #9: 0x01170d8c
ZyaStoreTest`juce::threadEntryProc(userData=0x18949508) + 116 at
juce_posix_SharedCode.h:790
frame #10: 0x3a382c1c libsystem_pthread.dylib`_pthread_body + 140
frame #11: 0x3a382b8e libsystem_pthread.dylib`_pthread_start + 102
*(lldb) **fr v i*
(timeval) i = {
tv_sec = 1389125016
tv_usec = 851353
}
*(lldb) **fr v t*
(Curl_tree *) t = 0x0e9795e4
*(lldb) **fr v t->key*
(timeval) t->key = <read memory from 0xe9795f0 failed (0 of 8 bytes read)>
Any help would be appreciated.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-01-07