cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: weird timings from curl_easy_getinfo

From: Oleg Bartunov <oleg_at_sai.msu.su>
Date: Fri, 10 Aug 2001 16:01:44 +0300 (GMT)

OK. here is a more informative backtrace:

Core was generated by .out'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/local/lib/libcurl.so.2...done.
Reading symbols from /usr/lib/libc_r.so.4...done.
Reading symbols from /usr/lib/libssl.so.2...done.
Reading symbols from /usr/lib/libcrypto.so.2...done.
Reading symbols from /usr/libexec/ld-elf.so.1...done.
#0 0x6807e295 in Transfer (c_conn=0x8687400) at transfer.c:159
159 }
(gdb) bt
#0 0x6807e295 in Transfer (c_conn=0x8687400) at transfer.c:159
#1 0x6807f8f3 in Curl_perform (curl=0x870a000) at transfer.c:873
#2 0x68080027 in curl_easy_perform (curl=0x870a000) at easy.c:163
#3 0x8048b39 in pull_one_url () at tt.c:74
#4 0x6809eac3 in _thread_start () from /usr/lib/libc_r.so.4
#5 0x0 in ?? ()
(gdb)

        Oleg
On Fri, 10 Aug 2001, Daniel Stenberg wrote:

> On Thu, 9 Aug 2001, Oleg Bartunov wrote:
>
> > I rebuild libcurl with manual edited libtool - now I have
> > 18:53:26[megera_at_maze]~/app/runet/devil>ldd a.out
> > a.out:
> > libcurl.so.2 => /usr/local/lib/libcurl.so.2 (0x68065000)
> > libc_r.so.4 => /usr/lib/libc_r.so.4 (0x68086000)
> > libssl.so.2 => /usr/lib/libssl.so.2 (0x68139000)
> > libcrypto.so.2 => /usr/lib/libcrypto.so.2 (0x68165000)
> >
> > but this doesn't help, still get seg.fault.
> >
> > Reading symbols from /usr/libexec/ld-elf.so.1...done.
> > #0 0x6807e275 in Transfer () from /usr/local/lib/libcurl.so.2
> > (gdb) bt
> > #0 0x6807e275 in Transfer () from /usr/local/lib/libcurl.so.2
> > #1 0x6807f8d3 in Curl_perform () from /usr/local/lib/libcurl.so.2
> > #2 0x68080007 in curl_easy_perform () from /usr/local/lib/libcurl.so.2
> > #3 0x8048b39 in pull_one_url () at tt.c:74
> > #4 0x6809eac3 in _thread_start () from /usr/lib/libc_r.so.4
> > #5 0x0 in ?? ()
>
> Could you recompile the library with -g (and remove -O2) ? Then we would get
> file names and line numbers from that stack trace, and we would have much
> better capability of making some kind of analasys.
>
> Anyone else around running FreeBSD that can join in here and help?
>
>

        Regards,
                Oleg
_____________________________________________________________
Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
Sternberg Astronomical Institute, Moscow University (Russia)
Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83

_______________________________________________
Curl-library mailing list
http://curl.haxx.se/libcurl/
Received on 2001-08-10