Bug 2418595 - FLAC__lpc_quantize_coefficients debug logs displayed when encoding with small blocksize
Summary: FLAC__lpc_quantize_coefficients debug logs displayed when encoding with small...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: flac
Version: 43
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Miroslav Lichvar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-12-03 13:10 UTC by David Warner
Modified: 2025-12-05 02:11 UTC (History)
5 users (show)

Fixed In Version: flac-1.5.0-5.fc43
Clone Of:
Environment:
Last Closed: 2025-12-05 02:11:31 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description David Warner 2025-12-03 13:10:19 UTC
flac 1.5.0 in Fedora 43 prints out large numbers of debug lines in the form
`FLAC__lpc_quantize_coefficients: negative shift=%d order=%u cmax=%f`
when encoding with certain parameters (specifically a small block size and the exhaustive model search option).

Example command line:
`flac -8e -f --blocksize 256 -o /dev/null input.wav`

This happens even when `--totally-silent` is provided.

The log itself seems to be just for debugging: https://github.com/xiph/flac/blob/9547dbc2ddfca06a70ea937dbb605bbe78ea5f90/src/libFLAC/lpc.c#L292

Can NDEBUG be set when compiling this package?

Reproducible: Always

Steps to Reproduce:
1. Encode file with small block size and high compression options, `flac -8e -f --blocksize 256 -o /dev/null input.wav`
Actual Results:
Lots of debug log lines.

Expected Results:
No debug log lines.

Comment 1 Miroslav Lichvar 2025-12-03 13:33:31 UTC
This was fixed recently for rawhide in bug ##2416751.

I'll submit a build for f43.

Comment 2 Fedora Update System 2025-12-03 13:47:57 UTC
FEDORA-2025-b74eaa8f9e (flac-1.5.0-5.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-b74eaa8f9e

Comment 3 David Warner 2025-12-03 22:47:51 UTC
Thanks. Not sure why I couldn't find that earlier bug report - Google's results for 'FLAC__lpc_quantize_coefficients' are useless.

Comment 4 Fedora Update System 2025-12-04 01:21:12 UTC
FEDORA-2025-b74eaa8f9e has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-b74eaa8f9e`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-b74eaa8f9e

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2025-12-05 02:11:31 UTC
FEDORA-2025-b74eaa8f9e (flac-1.5.0-5.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.


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