WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Busybox xz truncates files larger than 60M  (Read 4216 times)

Offline andyj

  • Hero Member
  • *****
  • Posts: 1036
Busybox xz truncates files larger than 60M
« on: July 25, 2013, 08:15:26 AM »
A large file, say an eglibc-2.17 source tarball, is about 12M compressed, and about 120M when fully uncompressed. Uncompressing it with busybox xz results in a truncated file. Is this a Busybox issue, or is there some system parameter that limits this?

Andy

Online curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11049
Re: Busybox xz truncates files larger than 60M
« Reply #1 on: July 25, 2013, 08:19:44 AM »
If you have enough free space, please test busybox git, and if it still happens, report to busybox.

edit: The kernel tarball unpacks fine, it's 66mb compressed and 471mb uncompressed.
« Last Edit: July 25, 2013, 08:27:36 AM by curaga »
The only barriers that can stop you are the ones you create yourself.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Busybox xz truncates files larger than 60M
« Reply #2 on: July 25, 2013, 08:48:26 AM »
Your filesystem is in RAM, so unless you are uncompressing to mounted persistent storage, you may just be running out of RAM.

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: Busybox xz truncates files larger than 60M
« Reply #3 on: July 25, 2013, 09:24:36 AM »
What are your sizes of RAM and of swapspace?
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline andyj

  • Hero Member
  • *****
  • Posts: 1036
Re: Busybox xz truncates files larger than 60M
« Reply #4 on: August 05, 2013, 08:42:25 AM »
It's a VM with a gig of RAM, no swap. 8 gig HD. Linux source unxz | untar worked OK, now that you mention it. xzcat eglibc-2.17 | tar xv gives a "tar: short read". Slackware unxz's the file OK, using the non-busybox xz. Something about the way the file was compressed?

Andy

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Busybox xz truncates files larger than 60M
« Reply #5 on: August 05, 2013, 08:57:40 AM »
Did you try xz from the repo on the same file in the same system?
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline andyj

  • Hero Member
  • *****
  • Posts: 1036
Re: Busybox xz truncates files larger than 60M
« Reply #6 on: August 07, 2013, 12:16:02 PM »
Maybe it was an "available memory" thing, because I can't reproduce it now.