cURL / Mailing Lists / curl-library / Single Mail

curl-library

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

From: Paul Howarth <paul_at_city-fan.org>
Date: Sun, 21 Aug 2011 10:38:25 +0100

On Sat, 20 Aug 2011 00:30:43 +0200 (CEST)
Daniel Stenberg <daniel_at_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)

Paul.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-08-21