cURL / Mailing Lists / curl-users / Single Mail

curl-users

Segmentation fault in curl 7.5

From: Tim Tassonis <timtas_at_webshuttle.ch>
Date: Thu, 7 Dec 2000 15:56:20 +0100

Hi

I'm getting a Segmentaion fault with curl 7.5 on Linux. I compiled with
./configure --prefix=/opt --with-ssl=/opt --disable-shared

and get the following as soon as I use curl with the option "-O":

Program received signal SIGSEGV, Segmentation fault.
chunk_free (ar_ptr=0x401133a0, p=0x80f7231) at malloc.c:3049
3049 malloc.c: No such file or directory.
(gdb) where
#0 chunk_free (ar_ptr=0x401133a0, p=0x80f7231) at malloc.c:3049
#1 0x4007e51a in free () at malloc.c:2952
#2 0x804c840 in free_config_fields (config=0xbffff5d8) at main.c:1292
#3 0x804d8b6 in main (argc=3, argv=0xbffff6e4) at main.c:1782

main.c, line 1782 is:
1782: free_config_fields(&config);

main.c, line 1292 is:
1291: if(config->outfile)
1292: free(config->outfile);
1293: if(config->ftpport)

It happens as well with other compile options.

Bye
Tim
Received on 2000-12-07