Mailing Lists
|
|
cURL Mailing List Monthly Index Single Mail
curl-tracker Archives
[curl:bugs] #1170 curl_easy_recv() ends in crash within Curl_recv_plain
From: Con Kolivas <ckolivas_at_users.sf.net>
Date: Fri, 14 Dec 2012 09:11:01 +0000
I've tried what I normally try on linux on windows and I have no idea how to proceed. A segfault makes the stacktrace become invalid even under gdb, even when stepping through the application. Coredumps have never once worked. Drmingw has only once returned a stacktrace pointing to curl_formget which is how I got this far. The rest of the time it gives invalid addresses and register values that are meaningless to me. Debugging mingw stuff on windows is so awkward that I really have no idea where to go from here and I've spent many many hours on it already.
--- ** [bugs:#1170] curl_easy_recv() ends in crash within Curl_recv_plain** **Status:** open **Labels:** libcurl **Created:** Mon Dec 10, 2012 03:16 AM UTC by Con Kolivas **Last Updated:** Thu Dec 13, 2012 10:59 AM UTC **Owner:** Daniel Stenberg In the cgminer project \( https://github.com/ckolivas/cgminer \) I am using libcurl version 7.28.1 compiled for mingw32 and using curl easy recv on the raw socket returned. Dropping internet connection on windows\* with this compiled version I get a reproducible crash on the following line: sendf.c:353 failf\(conn->data, "Recv failure: %s", Curl\_strerror\(conn, err\)\); Debugging is disabled in the build, but this line reliably crashes on mingw32. Commenting out the line entirely the crash goes away. This can be reproduced without dropping internet connection on windows by killing the tcp connection with currports. I don't know the exact mechanism of the crash without digging further but I suspect conn->data is dereferenced. --- Sent from sourceforge.net because you indicated interest in <https://sourceforge.net/p/curl/bugs/1170/> To unsubscribe from further messages, please visit <https://sourceforge.net/auth/prefs/>Received on 2012-12-14 These mail archives are generated by hypermail. |
Page updated January 05, 2012.
web site info