[BusyBox] bug#1276: Mush crashes with |gunzip |tar -x

Kenneth Heafield kpu at kpu.dyndns.org
Sat Oct 12 11:16:04 UTC 2002


Package: busybox
Version: 0.60.4
Severity: normal
When I use /bin/mush and type:
hose 192.168.0.1 65432 --netslave |gunzip |tar -x
mush ends with "Segmentation fault (core dumped)."
If I remove the tar -x, it prints out the raw tar as expected.  If I 
make a fifo and write to it from gunzip and read with tar -x, it works. 
  Recompiling with ash also fixes the problem.
Normal behavior prints out no text and the tarball is extracted.
Busybox is statically linked to uClibc and I'm using kernel 2.4.19.  It 
was compiled with Gentoo 1.4-rc1.  Hose was similarly compiled from 
netpipes-4.2-export.  Here are the relevant lines from Config.h:
#define BB_CP
#define BB_ECHO
#define BB_ENV
#define BB_GUNZIP
#define BB_GZIP
#define BB_HALT
#define BB_IFCONFIG
#define BB_INIT
#define BB_INSMOD
#define BB_MODPROBE
#define BB_MOUNT
#define BB_REBOOT
#define BB_ROUTE
#define BB_TAR
#define BB_UMOUNT




More information about the busybox mailing list