b9996

ggml-org/llama.cppb9996Jul 14, 2026by github-actions[bot]same day as b9995

What changed since b9995

low risk

Fixed potential log message loss during application exit.

New features

  • Added log flush before exit to prevent message loss

Improvements

  • Improved logging consistency during help output

Bug fixes

  • Fixed log messages lost during exit when usage() is called

Upgrade notes

No configuration changes are required.

Analyzed Oct 17, 2026

Upgrading?

Release notes summary

A fix to ensure log messages are flushed before the application exits when `usage()` is called, preventing potential message loss due to asynchronous logging from other threads.

Key Highlights

  • Added log flush before exit in `usage()`
  • Prevents log messages from being lost during exit
  • Improves logging consistency during help output

Release Notes (excerpt)

<details open> arg: Flush log before exiting after usage() (#25504) Under certain conditions, it's possible for messages emitted via LOG() to get lost before exit, apparently because they are emitted by another thread. common_params_print_usage() uses printf directly, and is not affected. Flushing the log before exit seems to resolve this. </details> **macOS/iOS:** - macOS Apple Silicon (arm64) - macOS Apple Silicon (arm64, KleidiAI enabled) DISABLED - macOS Intel (x64) - iOS XCFramework…

Published by ggml-org on GitHub.

Read the full release notes

Related Repositories