[haiku-bugs] Re: [Haiku] #12116: package create fails with file too large

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Wed, 03 Jun 2015 10:03:49 -0000

#12116: package create fails with file too large
--------------------------------+----------------------------
Reporter: jessicah | Owner: bonefish
Type: bug | Status: new
Priority: normal | Milestone: Unscheduled
Component: Kits/Package Kit | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking:
Has a Patch: 0 | Platform: All
--------------------------------+----------------------------

Comment (by bonefish):

Alas, I won't have the time to debug this anytime soon. Could you get an
strace, so we can at least see whether the error comes from a syscall and
whether the size argument is sensible?

If the error is indeed reported by
`PackageFileHeapWriter::_WriteDataUncompressed()`, it's probably a bug in
the `PackageFileHeapWriter` as the method is only called for writing
individual chunks -- which are <= 64 KiB -- and the chunk size table --
which requires roughly 1/4096th of the total size of the uncompressed
data, i.e. the critical data size limit is about 8 TiB.

--
Ticket URL: <https://dev.haiku-os.org/ticket/12116#comment:1>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: