curl-users
Re: pre2
Date: Thu, 17 Jan 2002 00:01:10 +0100 (MET)
On Wed, 16 Jan 2002, Georg Horn wrote:
> Hm, still having situations, where curl stops with an error but gives no
> error-message:
>
> $ src/curl -i -v --connect-timeout 1 https://meine.db24.de/
> * Closing connection #0
> curl: (28)
I found a case where this happens which I think fixes your problem:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/curl/curl/lib/connect.c.diff?r1=1.23&r2=1.24
> But in other cases it dumps core:
Hm, I can't repeat this.
> Unfortunately, i cannot make a backtrace with gdb:
>
> $ gdb --core core
> GNU gdb 4.18
> [...]
Did you build it staticly? It makes things easier for debugging:
$ ./configure --disable-shared --enable-debug
$ ./src/curl [URL]
Segmentation fault (core dumped)
Then...
$ gdb src/curl core
(gdb) bt
Works every time here.
-- Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/Received on 2002-01-17