* [Buildroot] [Bug 8501] New: gunzip fails to uncompress files @ 2015-12-01 19:32 bugzilla at busybox.net 2015-12-01 20:21 ` [Buildroot] [Bug 8501] " bugzilla at busybox.net ` (2 more replies) 0 siblings, 3 replies; 4+ messages in thread From: bugzilla at busybox.net @ 2015-12-01 19:32 UTC (permalink / raw) To: buildroot https://bugs.busybox.net/show_bug.cgi?id=8501 Summary: gunzip fails to uncompress files Product: buildroot Version: unspecified Platform: PC OS/Version: Linux Status: NEW Severity: major Priority: P5 Component: Other AssignedTo: unassigned at buildroot.uclibc.org ReportedBy: rush0033 at hotmail.com CC: buildroot at uclibc.org Estimated Hours: 0.0 Created attachment 6231 --> https://bugs.busybox.net/attachment.cgi?id=6231 Buildroot .config file In buildroot-2015.11, the busybox gunzip applet fails to uncompress some files, even those created with the busybox gzip applet. There is no error information printed to the screen, but the value of the exit code (e.g. echo $?) is 1. The issue appears to be related to the content of the files. For example, these steps work correctly: dd if=/dev/urandom bs=512 count=10000 of=test_random gzip test_random gunzip test_random.gz However, these steps fail to uncompress the file: dd if=/dev/zero bs=512 count=10000 of=test_zero gzip test_zero gunzip test_zero.gz The test_zero.gz file produced by the busybox gzip applet can be uncompressed by another computer running Linux. So it appears to be a valid file. This issue did not exist in 2015.11-rc1, but appears to have manifested in 2015.11-rc2 and is still present in the final release of 2015.11. This issue occurs with a clean stock x86 build of buildroot. The .config file used is attached. Linux Kernel: 3.18.24 x86_64 Buildroot userland running as an x86 32-bit initrd image -- Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [Bug 8501] gunzip fails to uncompress files 2015-12-01 19:32 [Buildroot] [Bug 8501] New: gunzip fails to uncompress files bugzilla at busybox.net @ 2015-12-01 20:21 ` bugzilla at busybox.net 2015-12-01 22:16 ` bugzilla at busybox.net 2015-12-02 23:09 ` bugzilla at busybox.net 2 siblings, 0 replies; 4+ messages in thread From: bugzilla at busybox.net @ 2015-12-01 20:21 UTC (permalink / raw) To: buildroot https://bugs.busybox.net/show_bug.cgi?id=8501 Arnout Vandecappelle <arnout@mind.be> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED AssignedTo|unassigned at buildroot.uclibc |arnout at mind.be |.org | --- Comment #1 from Arnout Vandecappelle <arnout@mind.be> 2015-12-01 20:21:29 UTC --- That's due to 0002-unzip.patch; upstream has got an additional fix in 6bd3fff51aa74e2ee2d87887b12182a3b09792ef. I'll add it. -- Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [Bug 8501] gunzip fails to uncompress files 2015-12-01 19:32 [Buildroot] [Bug 8501] New: gunzip fails to uncompress files bugzilla at busybox.net 2015-12-01 20:21 ` [Buildroot] [Bug 8501] " bugzilla at busybox.net @ 2015-12-01 22:16 ` bugzilla at busybox.net 2015-12-02 23:09 ` bugzilla at busybox.net 2 siblings, 0 replies; 4+ messages in thread From: bugzilla at busybox.net @ 2015-12-01 22:16 UTC (permalink / raw) To: buildroot https://bugs.busybox.net/show_bug.cgi?id=8501 --- Comment #2 from Jason Rush <rush0033@hotmail.com> 2015-12-01 22:16:45 UTC --- I added the patch for upstream commit 6bd3fff51aa74e2ee2d87887b12182a3b09792ef to my local tree, and I can confirm that fixes the issue. -- Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [Bug 8501] gunzip fails to uncompress files 2015-12-01 19:32 [Buildroot] [Bug 8501] New: gunzip fails to uncompress files bugzilla at busybox.net 2015-12-01 20:21 ` [Buildroot] [Bug 8501] " bugzilla at busybox.net 2015-12-01 22:16 ` bugzilla at busybox.net @ 2015-12-02 23:09 ` bugzilla at busybox.net 2 siblings, 0 replies; 4+ messages in thread From: bugzilla at busybox.net @ 2015-12-02 23:09 UTC (permalink / raw) To: buildroot https://bugs.busybox.net/show_bug.cgi?id=8501 Peter Korsgaard <jacmet@uclibc.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|ASSIGNED |RESOLVED --- Comment #3 from Peter Korsgaard <jacmet@uclibc.org> --- Fixed in git and will be part of 2015.11.1, thanks. commit 63fdab6b4fcc860abd8dbc8342c7b01643a37e1a Author: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Date: Tue Dec 1 21:30:29 2015 +0100 busybox: add another upstream patch to fix (g)unzip 0002-unzip.patch was added in 69516e0 to fix a segmentation fault in the gunzip applet. However, it introduced a new issue that made the unzipping of some files fail. Add an upstream patch that fixes this new issue. Fixes #8501. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Cc: Jason Rush <rush0033@hotmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com> -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-12-02 23:09 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2015-12-01 19:32 [Buildroot] [Bug 8501] New: gunzip fails to uncompress files bugzilla at busybox.net 2015-12-01 20:21 ` [Buildroot] [Bug 8501] " bugzilla at busybox.net 2015-12-01 22:16 ` bugzilla at busybox.net 2015-12-02 23:09 ` bugzilla at busybox.net
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.