cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: make test fails on Fedore Core 4.0

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 7 Sep 2006 10:08:08 +0200 (CEST)

On Thu, 7 Sep 2006, BG Mahesh wrote:

> I did a "where" in gdb after crash...
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x0082f330 in Curl_Transfer_at_plt () from /usr/local/src/curl-7.15.5
> /lib/.libs/libcurl.so.3
> (gdb) where
> #0 0x0082f330 in Curl_Transfer_at_plt () from /usr/local/src/curl-7.15.5
> /lib/.libs/libcurl.so.3
> #1 0x0083b187 in ftp_statemach_act (conn=0x8423ae0) at ftp.c:2198

Weird, how come you didn't get any source file and line number for frame #0?
Can you set a break-point i ftp_statemach_act() and single-step from there to
see what it does and why it crashes?

Can you try applying Peter Sylvester's getsockname() and see if that changes
anything?

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2006-09-07