Bugs item #2805358, was opened at 2009-06-12 12:23
Message generated for change (Comment added) made by bagder
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=2805358&group_id=976
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: libcurl
Group: crash
Status: Open
>Resolution: Works For Me
Priority: 5
Private: No
Submitted By: Lisong Guo (guolisong)
Assigned to: Daniel Stenberg (bagder)
Summary: curl crash during POST operation
Initial Comment:
There is a curl crash during a normal POST operation. The version I experienced was libcurl 7.15.3
Here is the stack backtrack:
#0 0x00002ad751d6a892 in curl_free () from /usr/lib64/libcurl.so.3
#1 0x00002ad751d6aad0 in curl_msnprintf () from /usr/lib64/libcurl.so.3
#2 0x00002ad751d6bb35 in curl_mvsnprintf () from /usr/lib64/libcurl.so.3
#3 0x00002ad751d5cdef in Curl_failf () from /usr/lib64/libcurl.so.3
#4 0x00002ad751d56418 in Curl_resolv () from /usr/lib64/libcurl.so.3
#5 0x00002ad751d65abe in Curl_connect () from /usr/lib64/libcurl.so.3
Seem like libcurl would coredump when it could not build a connection to server. By the way, I've set the CURLOPT_TIMEOUT option to 30 seconds. And the crash happened under large load.
----------------------------------------------------------------------
>Comment By: Daniel Stenberg (bagder)
Date: 2009-06-16 19:55
Message:
We do POST all the time, and so do a million apps using libcurl.
Can you please show us a complete example that causes a coredump for you?
----------------------------------------------------------------------
Comment By: Lisong Guo (guolisong)
Date: 2009-06-16 08:26
Message:
No. I just replaced the libcurl.so.3 with the new libcurl.so.4 in 7.19.5.
----------------------------------------------------------------------
Comment By: Dan Fandrich (dfandrich)
Date: 2009-06-16 08:24
Message:
The name of the library in curl 7.19.5 is libcurl.so.4, so you must still
be using the old version (or, you're using Debian).
----------------------------------------------------------------------
Comment By: Lisong Guo (guolisong)
Date: 2009-06-16 07:49
Message:
The bug seemed to be resolved in 7.19.5.
But there is another similar coredump during my testing. As follows:
#0 0x00002b44933adba2 in addbyter () from /usr/lib64/libcurl.so.3
#1 0x00002b44933addf0 in dprintf_formatf () from /usr/lib64/libcurl.so.3
#2 0x00002b44933aef05 in curl_mvsnprintf () from /usr/lib64/libcurl.so.3
#3 0x00002b449339d49f in Curl_failf () from /usr/lib64/libcurl.so.3
#4 0x00002b4493395b45 in Curl_resolv_timeout () from
/usr/lib64/libcurl.so.3
#5 0x00002b44933a7a37 in Curl_connect () from /usr/lib64/libcurl.so.3
#6 0x00002b44933b3fea in Curl_perform () from /usr/lib64/libcurl.so.3
Any idea would be appreciated !
----------------------------------------------------------------------
Comment By: Daniel Stenberg (bagder)
Date: 2009-06-12 16:11
Message:
This bug is reported in an older version and seems (or is possible) to have
been corrected in a more recent version.
If you can please upgrade and try it again with the latest version, it
would help a lot!
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=2805358&group_id=976
Received on 2009-06-16