cURL / Mailing Lists / curl-library / Single Mail


Re: Segfault downloading two files with "-O -J"

From: Daniel Stenberg <>
Date: Fri, 22 Jul 2011 23:02:32 +0200 (CEST)

On Thu, 21 Jul 2011, Paul Howarth wrote:

> This is from

Thanks for the report. I can repeat it too with this stacktrace on current git

Program received signal SIGSEGV, Segmentation fault.
0x08054803 in header_callback (ptr=0x8140034, size=1, nmemb=75, stream=0x0)
     at main.c:4574
4574 outs->filename = filename;
(gdb) p outs
$1 = (struct OutStruct *) 0x0
(gdb) bt
#0 0x08054803 in header_callback (ptr=0x8140034, size=1, nmemb=75,
     at main.c:4574
#1 0x0805db06 in Curl_client_write (conn=0x81412a4, type=2,
     ptr=0x8140034 "Content-Disposition: attachment;
filename=python26-boto-2.0-1.el5.src.rpm\r\n", len=75) at sendf.c:489
#2 0x080760f1 in Curl_http_readwrite_headers (data=0x812e754, conn=0x81412a4,
     nread=0xbfffe984, stop_reading=0xbfffe982) at http.c:3414
#3 0x080873cc in readwrite_data (data=0x812e754, conn=0x81412a4, k=0x812e768,
     didwhat=0xbfffea00, done=0xbfffea67) at transfer.c:481
#4 0x08088496 in Curl_readwrite (conn=0x81412a4, done=0xbfffea67)
     at transfer.c:1042
#5 0x08088fc7 in Transfer (conn=0x81412a4) at transfer.c:1409
#6 0x08089f01 in Curl_do_perform (data=0x812e754) at transfer.c:2150
#7 0x0808a198 in Curl_perform (data=0x812e754) at transfer.c:2274
#8 0x08060a5a in curl_easy_perform (curl=0x812e754) at easy.c:553
#9 0x08057c16 in operate (config=0xbfffef74, argc=5, argv=0xbffff224)
     at main.c:5587
#10 0x0805855a in main (argc=5, argv=0xbffff224) at main.c:5910

I'll take off on a little journey for some 10 days ahead but if nobody else
gets around to working on it, I'll get to it at least when I get back home

List admin:
Received on 2011-07-22