hello,

On Mon, 16 Jun 2008, Joey Hess wrote:

> klibc cpio segfaults extracting various cpio files. It seems to work for
> small files, but fail for larger ones, including the d-i root floppy
> image.
> 
> For example:
> 
> [EMAIL PROTECTED]:/tmp/empty>wget 
> http://people.debian.org/~joeyh/d-i/images/20080401-09:01/floppy/root.img
> [EMAIL PROTECTED]:/tmp/empty>zcat root.img | sudo /usr/lib/klibc/bin/cpio -i
> zsh: broken pipe         zcat root.img | 
> zsh: segmentation fault  sudo /usr/lib/klibc/bin/cpio -i

right easy testcase.
 
> Or:
> 
> [EMAIL PROTECTED]:/bin>find . | cpio --quiet -o -H newc >|~/bin.cpio
> [EMAIL PROTECTED]:/bin>cd /tmp/empty 
> [EMAIL PROTECTED]:/tmp/empty>sudo /usr/lib/klibc/bin/cpio -i < ~/bin.cpio 
> zsh: segmentation fault  sudo /usr/lib/klibc/bin/cpio -i < ~/bin.cpio
> 
> Version 1.5.9-2 does not have this problem. 

it has just verified, recompiled it and it has the same problem.
recompiled 1.5.9 and HEAD with gcc-4.2 and problem was gone.
didn't see an obvious gcc-4.3 warning while compiling cpio.
 
> I am not familiar with klibc enough to get a backtrace, but I hope this
> can easily be reproduced so you can..

will look into it later today after france italy match.
 
 
> Since this breaks d-i boot floppies, I've marked this RC, to avoid the
> broken one getting into testing. (However, d-i builds images using the
> version in unstable, so blocking it won't help entirely.)

hmm it migrated already afais,
as soon as a fix is known i'll upload it together with 1.5.11

-- 
maks
 



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to