cURL Mailing List Monthly Index Single Mail
Re: Errors/crashes with FTP using multi interface?
From: Sam Deane <sam_at_elegantchaos.com>
Date: Fri, 29 Mar 2013 10:53:39 +0000
On 28 Mar 2013, at 22:15, Daniel Stenberg <daniel_at_haxx.se> wrote:
> 1. You didn't eliminate gcd completely. I had to remove a bunch of more uses.
I didn't claim to have eliminated GCD. I said I'd eliminated GCD dispatch sources - which had been one of the things we were wondering about, because of the way they work.
> 2. You extracted a URL with CURLINFO_EFFECTIVE_URL and then you freed the
This is true.
> 3. You freed the list you extracted with CURLINFO_PRIVATE _before_ you cleaned
This is also true.
> See attached source that has these flaws fixed. Works fine for me.
I'm afraid that I can't accept your attached source, as it's not in the correct patch format ;)
However, your attached source had the following lines in it:
Turning off the post quote stuff does indeed fix the crash.
Turning it back on again, however, causes it to crash, with your (non-gcd) version.
The backtrace is pretty consistent:
* thread #1: tid = 0x2503, 0x000000010006458f libcares.dylib`ares_destroy(channel=0x0000000100812a00) + 50 at ares_destroy.c:55, stop reason = EXC_BAD_ACCESS (code=13, address=0x0)
It seems to happen just after the third connection has been added.
I've attached my modified source.
These mail archives are generated by hypermail.
Page updated January 05, 2012.
web site info