-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sporadic crashes in curl_multi_remove_handle #627
Comments
I can't recall any specific fix and I can't find any in the git log now either, so I would probably say that we didn't get anywhere on that. So you are using pipelining too? |
Yes, We're using pipelining primarily for resource retrieval from our CDN (Textures, Meshes, etc.) Reconstructing what I can from the user logs associated with this crash I'm seeing a number of failed or timedout pulls from the CDN, so I realize that I am making an assumption here. |
I guess you can't reproduce it? Can you get more debugging info in the stack trace? |
Pipelining is not a very widely used feature so it wouldn't surprise me if there are a few bugs lurking in those corners. HTTP/2 is a much better pipelining so you might want to try to move over to that. Without any steps to reproduce or further details on this problem there's a not a lot we can do. I'm closing this, but if more or further detail will arise we can always reopen or create a new bug . |
Sorry... I just saw your email... There were a number of patches from Carlo Wood from several years ago that addressed the issue, but it would seem that his changes to url.c were lost in the shuffle. I've reintroduced the checks in url.c and will submit a pull request. |
…tion for pipelining. Restores checks by Carlo Wood.
Lovely, looking forward to that. Yes, Carlo Wood did a lot of good work but we never got a completed patch set and then he vanished. |
…tion for pipelining. Restores checks by Carlo Wood.
No longer attempt to use "doomed" to-be-closed connections when pipelining. Prior to this change connections marked for deletion (e.g. timeout) would be erroneously used, resulting in sporadic crashes. As originally reported and fixed by Carlo Wood (origin unknown). Bug: #627 Reported-by: Rider Linden Closes #1075 Participation-by: nopjmp@users.noreply.github.com
I'm encountering a sporadic crash in curl_multi_remove_handle, it appears to be an interaction with timeouts and pipelining very much like what is described in this thread: http://curl.haxx.se/mail/lib-2011-09/0305.html
Unfortunately, the conversation appears to trail off right after "A-ha! Pipelining!". Was any resolution ever reached?
For the record we are seeing this in 7.42.1 and my call stack looks like:
I have not been able to get a local reproduction yet... I'm only seeing this as reports from the wild.
The text was updated successfully, but these errors were encountered: