tar -cjf
Denys Vlasenko
vda.linux at googlemail.com
Tue Jul 1 18:10:38 UTC 2008
On Tuesday 01 July 2008 17:21, Vladimir Dronnikov wrote:
> Oops!
>
> # tar -cjf tar.bz2 some-dir
> Segmentation fault
>
> File tar.bz2 is created and contains the only line
> bzip2: bunzip error 0
>
> But
> # strace -f -v 2>2 /bin/tar -cjf tar.bz2 some-dir
>
> creates perfectly valid archive.
>
> The point is in stderr redirected?
No, it's me being an idiot. After vfork you may not return
from a function.
strace -f makes vfork work as fork and masks this.
--
vda
More information about the busybox
mailing list