On Sun, 21 Aug 2011 10:38:25 +0100 Paul Howarth <p...@city-fan.org> wrote:
> On Sat, 20 Aug 2011 00:30:43 +0200 (CEST) > Daniel Stenberg <dan...@haxx.se> wrote: > > > On Thu, 18 Aug 2011, Paul Howarth wrote: > > > > >> https://github.com/bagder/curl/commit/5eb2396cd15cbbf73b02 > > > > > > It doesn't for me: > > > > Hm, ok then perhaps something else fixed it since with my git > > version I cannot reproduce. I also ran it successfully with > > valgrind to verify a little extra. > > > > Can you try the git version and check in your end? > > I've tried with the 20110821 daily snapshot and get slightly different > output but still a core dump: > > $ curl -O -J > 'http://koji.fedoraproject.org/koji/getfile?taskID=3281612&name=ibus-1.3.99.20110419-15.fc15.x86_64.rpm' > 'http://koji.fedoraproject.org/koji/getfile?taskID=3281612&name=ibus-libs-1.3.99.20110419-15.fc15.x86_64.rpm' > >/dev/null % Total % Received % Xferd Average Speed Time > >Time Time Current Dload Upload Total Spent Left Speed > >0 0 0 0 0 0 0 0 --:--:-- --:--:-- > >--:--:-- 0Warning: Refusing to overwrite > >ibus-1.3.99.20110419-15.fc15.x86_64.rpm: File > Warning: exists > 0 388k 0 1040 0 0 2369 0 0:02:48 --:--:-- > 0:02:48 2482 curl: (23) Failed writing body (0 != 1040) > Segmentation fault (core dumped) I got this backtrace from gdb: #0 0x00000000004067ce in header_callback (ptr=0x62a150, size=<optimized out>, nmemb=<optimized out>, stream=0x0) at main.c:4610 #1 0x00007ffff7d9c04b in Curl_client_write (conn=0x62be30, type=<optimized out>, ptr=0x62a150 "Content-Disposition: attachment; filename=ibus-libs-1.3.99.20110419-15.fc15.x86_64.rpm\r\n", len=88) at sendf.c:483 #2 0x00007ffff7d9ab9e in Curl_http_readwrite_headers (data=0x621560, conn=0x62be30, nread=0x7fffffffd5a0, stop_reading=0x7fffffffd5af) at http.c:3397 #3 0x00007ffff7dae33a in readwrite_data (done=0x7fffffffd63f, didwhat=read_sleb128: Corrupted DWARF expression. ) at transfer.c:464 #4 Curl_readwrite (conn=0x62be30, done=0x7fffffffd63f) at transfer.c:1025 #5 0x00007ffff7dafb84 in Transfer (conn=0x62be30) at transfer.c:1392 #6 Curl_do_perform (data=0x621560) at transfer.c:2133 #7 0x0000000000404369 in operate (argv=<optimized out>, argc=0, config=0x7fffffffd720) at main.c:5643 #8 main (argc=0, argv=<optimized out>) at main.c:5968 Paul. > > Paul. > ------------------------------------------------------------------- > List admin: http://cool.haxx.se/list/listinfo/curl-library > Etiquette: http://curl.haxx.se/mail/etiquette.html ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html