cURL / Mailing Lists / curl-library / Single Mail

curl-library

Curl_resolv_timeout crash in AIX

From: Zheng, Fred <fred.zheng_at_sap.com>
Date: Wed, 25 Nov 2015 07:58:36 +0000

Hi,
                I met a curl_resolv_timeout crash in AIX7.1 when curl is running in multi-thread. Curl version is the latest, 7.45.0. The call stack is:

Segmentation fault in addbyter at 0x8000000004b3418 ($t3)
0x8000000004b3418 (addbyter+0x18) 98650000 stb r3,0x0(r5)
(dbx) where
addbyter(??, ??) at 0x8000000004b3418
dprintf_formatf(??, ??, ??, ??) at 0x8000000004b3564
curl_mvsnprintf(??, ??, ??, ??) at 0x8000000004b3324
Curl_failf(0x90000000002ab90, 0x8001000a008ef68, 0x44204080, 0x800000000000d032, 0x3ffc000000000003, 0x2ba8, 0x0, 0x0) at 0x8000000004b31d0
Curl_resolv_timeout(??, ??, ??, ??, ??) at 0x8000000004bdd58

And I have already set the CURLOPT_NOSIGNAL to 1L according to advice.
But in redhat linux, my program runs OK, the core dump only happens in AIX7.1.
And I also add the configure option --enable-threaded-resolver to compile curl, the core dump still happens.
Could someone give me some advice ?
Thanks a lot.

B.R.
Fred

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-11-25