curl-library
A crash in our ios application using libcurl 7.39
Date: Sun, 15 Feb 2015 12:24:25 +0800
Our ios game applicaton use libcurl for resource downloading. Recently,we
found some dumps show that a crash in this code :
Operating system: iOS
                  7.0.6 11B651
CPU: arm64
     2 CPUs
Crash reason:  EXC_BAD_ACCESS / KERN_INVALID_ADDRESS
Crash address: 0xab7c018
Thread 11 (crashed)
 0  cjlk!_Curl_multi_process_pending_handles + 0x2c
     x0 = 0x0000000170185140    x1 = 0x0000000178c2cc00
     x2 = 0x000000017882bfc0    x3 = 0x0000000000000000
     x4 = 0x000000017831c978    x5 = 0x00000000ffffffff
     x6 = 0x0000000000000000    x7 = 0x0000000000000ab0
     x8 = 0x0000000170a2cf00    x9 = 0x0000000000000000
    x10 = 0x0000000170a2d280   x11 = 0xffffff80001fc050
    x12 = 0xffffff80001fc058   x13 = 0xffffff80001fc060
    x14 = 0xffffff80001fc064   x15 = 0x000001ff8ae5b679
    x16 = 0x00000001924b2b84   x17 = 0x0021271ae09f888e
    x18 = 0x0000000000000000   x19 = 0x0000000170185140
    x20 = 0x000000010ab7c000   x21 = 0x0000000000000002
    x22 = 0x0000000178c232a0   x23 = 0x000000010ab90a21
    x24 = 0x0000000000000000   x25 = 0x000000010ab90a78
    x26 = 0x00000000ffffffff   x27 = 0x0000000000008a78
    x28 = 0x0000000000008a90    fp = 0x0000000108d0abf0
     lr = 0x00000001000ce6a8    sp = 0x0000000108d0abd0
     pc = 0x00000001000cf848
    Found by: given as instruction pointer in context
 1  cjlk!_multi_runsingle + 0x528
     fp = 0x0000000108d0ac80    lr = 0x00000001000ce6a8
     sp = 0x0000000108d0ac00    pc = 0x00000001000ce6a8
    Found by: previous frame's frame pointer
 2  cjlk!_multi_runsingle + 0x528
     fp = 0x0000000108d0acf0    lr = 0x00000001000ce0b4
     sp = 0x0000000108d0ac90    pc = 0x00000001000ce6a8
    Found by: previous frame's frame pointer
 3  cjlk!_curl_multi_perform + 0x94
     fp = 0x0000000108d0b000    lr = 0x00000001000c5c00
     sp = 0x0000000108d0ad00    pc = 0x00000001000ce0b4
    Found by: previous frame's frame pointer
 4  cjlk!__ZN9SDownload12DoMulPerformERi + 0x204
     fp = 0x0000000108d0b4b0    lr = 0x00000001000c4f6c
     sp = 0x0000000108d0b010    pc = 0x00000001000c5c00
    Found by: previous frame's frame pointer
This caused about 5~10 dumps in 2000 times download operation,Please help!
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2015-02-15