cURL / Mailing Lists / curl-library / Single Mail

curl-library

Crash in curl_hash_add in iOS

From: JOHAN LANTZ <johan.lantz_at_telefonica.com>
Date: Thu, 30 Jun 2016 13:27:36 +0000

Hi

This morning we deployed our first version of an iOS app that relies on curl (4.47.0) for some of the http functionality.

Unfortunately we are seeing some crashes in Crashlytics that I am not able to understand.

Can anyone make something out of the call stack below?

The initial reference to curly.c is from a wrapper that I have made and the code is available here:
https://github.com/johanlantz/curly

The actual crash however seems internal to curl and appears to happens when there are connectivity problems.

Crashed: Thread
0 GConnect 0x10042cac8 Curl_hash_add + 4299393736
1 GConnect 0x10040ec4c Curl_cache_addr + 4299271244
2 GConnect 0x10040ec4c Curl_cache_addr + 4299271244
3 GConnect 0x10040ee1c Curl_resolv + 4299271708
4 GConnect 0x10040efb4 Curl_resolv_timeout + 4299272116
5 GConnect 0x1004221cc create_conn + 4299350476
6 GConnect 0x10041fb80 Curl_connect + 4299340672
7 GConnect 0x10042e2c8 multi_runsingle + 4299399880
8 GConnect 0x10042dfe0 curl_multi_perform + 4299399136
9 GConnect 0x100445c90 worker_thread (curly.c:147)
10 libsystem_pthread.dylib 0x182e03b28 _pthread_body + 156
11 libsystem_pthread.dylib 0x182e03a8c _pthread_body + 154
12 libsystem_pthread.dylib 0x182e01028 thread_start + 4

Does anyone have any suggestions or ideas?

Best Regards

Johan

________________________________

Este mensaje y sus adjuntos se dirigen exclusivamente a su destinatario, puede contener información privilegiada o confidencial y es para uso exclusivo de la persona o entidad de destino. Si no es usted. el destinatario indicado, queda notificado de que la lectura, utilización, divulgación y/o copia sin autorización puede estar prohibida en virtud de la legislación vigente. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma vía y proceda a su destrucción.

The information contained in this transmission is privileged and confidential information intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this transmission in error, do not read it. Please immediately reply to the sender that you have received this communication in error and then delete it.

Esta mensagem e seus anexos se dirigem exclusivamente ao seu destinatário, pode conter informação privilegiada ou confidencial e é para uso exclusivo da pessoa ou entidade de destino. Se não é vossa senhoria o destinatário indicado, fica notificado de que a leitura, utilização, divulgação e/ou cópia sem autorização pode estar proibida em virtude da legislação vigente. Se recebeu esta mensagem por erro, rogamos-lhe que nos o comunique imediatamente por esta mesma via e proceda a sua destruição

-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2016-06-30