cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl_multi_remove_handle() crashes if called before transfers are complete.

From: Saqib Ali <saqib.ali.75_at_gmail.com>
Date: Wed, 9 Mar 2011 08:45:09 -0500

 % uname -a
SunOS lisvr4 5.10 Generic_137111-04 sun4v sparc SUNW,Sun-Fire-T1000

 % curl -V
curl 7.21.3 (sparc-sun-solaris2.10) libcurl/7.21.3 OpenSSL/0.9.8l zlib/1.1.4
libssh2/1.2.7
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3
pop3s rtsp scp sftp smtp smtps telnet tftp
Features: IPv6 Largefile NTLM SSL libz

I'll get the GDB backtrace shortly.

- Saqib

On Wed, Mar 9, 2011 at 3:08 AM, Daniel Stenberg <daniel_at_haxx.se> wrote:

> On Tue, 8 Mar 2011, Saqib Ali wrote:
>
> When I try to remove an easy_handle from the multi's stack after the files
>> are transmitted, everything works fine. However, When I try to remove an
>> easy_handle from the multi's stack during file transmission it Seg Faults.
>>
>
> What libcurl version on what operating system?
>
>
> However, if you change the code by moving Block C between Blocks A & B,
>> you will see that it gives a seg fault.
>>
>
> And how does a backtrace on that look like?
>
> --
>
> / daniel.haxx.se
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-library
> Etiquette: http://curl.haxx.se/mail/etiquette.html
>

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-03-09