Bug 26264 - hangs on compression of large httpd-error.log file
Summary: hangs on compression of large httpd-error.log file
Alias: None
Product: bzip2
Classification: Unclassified
Component: bzip2 (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Nobody
Depends on:
Reported: 2020-07-19 16:18 UTC by John Lind
Modified: 2022-05-26 20:06 UTC (History)
2 users (show)

See Also:
Last reconfirmed: 2021-04-11 00:00:00


Note You need to log in before you can comment on or make changes to this bug.
Description John Lind 2020-07-19 16:18:02 UTC
I am running version 1.0.8 on FreeBSD on a Raspberry PI 3 Plus (arm64).  Things start out just fine, but then all of a sudden, the output file quits growing and one of the CPU cores is 100% consumed by bzip2.  I have waited several minutes, and it just doesn't seem to progress any farther.  The filesystem is only 21% full and no errors are posted to messages.

If desired, I can submit the log file causing the problem - but it's 138Mb so I don't want to do that unless necessary.

FreeBSD 12.1-RELEASE r354233 GENERIC  arm64
Comment 1 Mark Wielaard 2020-07-19 22:25:32 UTC
We need a bit more information to see what is going on.

Do other files compress correctly?
Does the same file compress on a different architecture with the FreeBSD 1.08 bzip2 binary?

Could you try to figure out where the process is stuck?
For example by attaching gdb and generating a backtrace?

Could you try running the bzip2 testsuite against your binary?
Comment 2 Mark Wielaard 2022-05-26 20:06:13 UTC
No feedback for 2 years, closing.