[BusyBox] Re: "rpm" fails with SIGSEGV

Laurence Anderson l.d.anderson at warwick.ac.uk
Wed Nov 12 16:54:50 UTC 2003


On Wednesday 12 November 2003 12:47 pm, you wrote:
> On Wed, 12 Nov 2003 05:58:09 -0600
>
> Rob Landley <rob at landley.net> wrote:
> > Is this the new "fork and use a pipe" code?  (Glenn said he saw a bug
> > like this.  I'm happy to try tracking it down if we can get a
> > reproducible test case.  This is on a standard intel setup?  What
> > kernel, what libc, etc...)
>
> The fork and pipe is only used in get_header_tar_bz2, i did a test and
> reverted get_header_tar_gz to use fork and pipe and it was embarasingly
> slow.

The rpm code uses the read_gz interface, and is getting short reads (from 
archive_xreal_all_eof), what do you think of the patch?

Out of interest, what was the reason for going back to the pipe & fork method?

Laurence




More information about the busybox mailing list