Bug 832602 - "error in chunked encoding" when trying to extract (tar-out) a truncated ISO image
Summary: "error in chunked encoding" when trying to extract (tar-out) a truncated ISO ...
Keywords:
Status: NEW
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libguestfs
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-06-15 22:03 UTC by Richard W.M. Jones
Modified: 2021-04-19 10:35 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Richard W.M. Jones 2012-06-15 22:03:38 UTC
Description of problem:

(Reported by Jeff Peeler)

Take a regular ISO file, truncate it down to ~10 MB, and try
to extract it:

  $ guestfish -a truncated.iso -m /dev/sda1 tar-out / /tmp/iso-content.tar
  [...]
  error in chunked encoding

Also the appliance crashes.

The real error is a kernel error, something like:

  [  109.397757] attempt to access beyond end of device
  [  109.403722] vda: rw=0, want=580844, limit=16512

The real error is not communicated back to the user, and the appliance
crashes making further commands impossible.

Version-Release number of selected component (if applicable):

1.14.8, but likely to affect recent versions


Note You need to log in before you can comment on or make changes to this bug.