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 11:21:01 -0500

> Dan, Hi. I used dbx to debug my program.
> Below is the backtrace.
>
>
>
>
> % dbx myCurlTest
> For information about new features see `help changes'
> To remove this message, put `dbxenv suppress_startup_message 7.5' in your
> .dbxrc
> Reading myCurlTest
> Reading ld.so.1
> Reading libcurl.so.4.2.0
> Reading libCstd.so.1
> Reading libCrun.so.1
> Reading libm.so.2
> Reading libc.so.1
> Reading libldap.so.5
> Reading librt.so.1
> Reading libssl.so.0.9.8
> Reading libcrypto.so.0.9.8
> Reading libsocket.so.1
> Reading libnsl.so.1
> Reading libdl.so.1
> Reading libz.so.1
> Reading libsasl.so.1
> Reading libmd.so.1
> Reading libnspr4.so
> Reading libplc4.so
> Reading libnss3.so
> Reading libssl3.so
> Reading libaio.so.1
> Reading libgcc_s.so.1
> Reading libpthread.so.1
> Reading libthread.so.1
> Reading libsoftokn3.so
> Reading libplds4.so
> Reading libbsm.so.1
> Reading libsecdb.so.1
> Reading libcmd.so.1
> Reading libCstd_isa.so.1
> Reading libc_psr.so.1
> Reading libmd_psr.so.1
> Reading libnspr_flt4.so
> (dbx) run
>
> Running: myCurlTest
> (process id 14008)
> Reading libmp.so.2
> Reading libscf.so.1
> Reading libdoor.so.1
> Reading libuutil.so.1
> Reading libgen.so.1
> Reading libtsol.so.2
> Start Block A
> * About to connect() to MyRemoteIP port 22 (#0)
> * Trying 10.0.110.51... * 0x58f50 is at send pipe head!
> End Block A
> Start Block C
> * Expire cleared
> t_at_1 (l_at_1) signal SEGV (no mapping at the fault address) in
> ssh_statemach_act at 0xff34f5a0
> 0xff34f5a0: ssh_statemach_act+0x32c8: ld [%l2], %o0
> (dbx)
>
>
>
> - Saqib
>
>
>
>
>
>
> On Wed, Mar 9, 2011 at 7:41 AM, Daniel Stenberg <daniel_at_haxx.se> wrote:
>
>> On Wed, 9 Mar 2011, Saqib Ali wrote:
>>
>> Daniel, What do you mean by "backtrace"? Do you mean the output produced
>>> by
>>> the verbose option?
>>>
>>
>> backtrace as with a debugger like gdb, or possibly valgrind.
>>
>> --
>>
>> / daniel.haxx.se
>>
>
>

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