[BusyBox] bug#1276: marked as done (Mush crashes with |gunzip |tar -x)

BusyBox.net bug Tracking System owner at busybox.net
Sat Oct 26 07:46:03 UTC 2002


Your message dated Sat, 26 Oct 2002 07:42:16 -0600
with message-id <20021026134216.GA12305 at codepoet.org>
and subject line [BusyBox] bug#1276: Mush crashes with |gunzip |tar -x
has caused the attached bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Erik Andersen
(administrator, BusyBox.net bugs database)

--------------------------------------
Received: (at submit) by bugs.busybox.net; 12 Oct 2002 17:06:49 +0000
>From kpu at kpu.dyndns.org  Sat Oct 12 11:06:49 2002
Received: by winder.codepoet.org (Postfix, from userid 104)
	id E1D6E1575EF; Sat, 12 Oct 2002 11:06:48 -0600 (MDT)
Received: from KPU.dyndns.org (bgp941027bgs.brmngh01.mi.comcast.net [68.40.229.207])
	by winder.codepoet.org (Postfix) with ESMTP id F2F561575D0
	for <submit at bugs.busybox.net>; Sat, 12 Oct 2002 11:06:43 -0600 (MDT)
Received: from kpu.dyndns.org ([192.168.0.2])
	by KPU.dyndns.org (8.12.5/8.12.5) with ESMTP id g9CH7pUD004729
	for <submit at bugs.busybox.net>; Sat, 12 Oct 2002 13:07:52 -0400
Message-ID: <3DA80ECF.9080501 at kpu.dyndns.org>
Date: Sat, 12 Oct 2002 07:00:15 -0500
From: Kenneth Heafield <kpu at kpu.dyndns.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2b) Gecko/20021006
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: submit at bugs.busybox.net
Subject: Mush crashes with |gunzip |tar -x
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Status: No, hits=-0.2 required=5.0
	tests=DATE_IN_PAST_03_06,SPAM_PHRASE_00_01,USER_AGENT,
	      USER_AGENT_MOZILLA_UA,X_ACCEPT_LANG
	version=2.42
X-Spam-Level: 

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

---------------------------------------
Received: (at 1276-done) by bugs.busybox.net; 26 Oct 2002 13:42:17 +0000
>From andersen at codepoet.org  Sat Oct 26 07:42:17 2002
Received: by winder.codepoet.org (Postfix, from userid 1000)
	id B750A157AF6; Sat, 26 Oct 2002 07:42:16 -0600 (MDT)
Date: Sat, 26 Oct 2002 07:42:16 -0600
From: Erik Andersen <andersen at codepoet.org>
To: Kenneth Heafield <kpu at kpu.dyndns.org>, 1276-done at bugs.busybox.net
Subject: Re: [BusyBox] bug#1276: Mush crashes with |gunzip |tar -x
Message-ID: <20021026134216.GA12305 at codepoet.org>
Reply-To: andersen at codepoet.org
References: <3DA80ECF.9080501 at kpu.dyndns.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <3DA80ECF.9080501 at kpu.dyndns.org>
User-Agent: Mutt/1.3.28i
X-Operating-System: Linux 2.4.19-rmk2, Rebel-NetWinder(Intel StrongARM 110 rev 3), 185.95 BogoMips
X-No-Junk-Mail: I do not want to get *any* junk mail.

On Sat Oct 12, 2002 at 07:00:15AM -0500, Kenneth Heafield wrote:
> 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 

The problem was actually the fault of gunzip misbehaving.

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--



More information about the busybox mailing list