[BusyBox 0000601]: tar -zcvf blocks forever

bugs at busybox.net bugs at busybox.net
Fri Dec 16 08:07:50 UTC 2005


The following issue requires your FEEDBACK. 
====================================================================== 
http://busybox.net/bugs/view.php?id=601 
====================================================================== 
Reported By:                iggarpe
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   601
Category:                   Other
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     feedback
====================================================================== 
Date Submitted:             12-15-2005 09:13 PST
Last Modified:              12-16-2005 00:07 PST
====================================================================== 
Summary:                    tar -zcvf blocks forever
Description: 
Try:

tar -zcvf dummy.tar.gz /bin/busybox

Never exits. Seems that the job is done and the dummy.tar.gz file is
correct.

This bug was introduced in revision 11876, and I traced the change
responsible. It seems that the close() call (see patch) is needed for
correct termination, or maybe this change just exposed some other bug.

Whatever: the attached patch fixes the problem, but someone should review
it and try to understand why it works!!!.


====================================================================== 

---------------------------------------------------------------------- 
 landley - 12-16-05 00:07  
---------------------------------------------------------------------- 
A) I'm simply not seeing this.  You didn't tell us your kernel version, C
library, architecture, and so on.

B) There is no way that change should POSSIBLY have that symptom. 
Something is very wrong with your environment.  I don't know if it's your
compiler, your kernel, your C library, or what.  But this fix ain't it. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
12-15-05 09:14  iggarpe        New Issue                                    
12-15-05 09:14  iggarpe        Status                   new => assigned     
12-15-05 09:14  iggarpe        Assigned To               => BusyBox         
12-15-05 09:16  iggarpe        File Added: tar.diff                         
12-16-05 00:07  landley        Note Added: 0000788                          
12-16-05 00:07  landley        Status                   assigned => feedback
======================================================================




More information about the busybox-cvs mailing list