Repository navigation
Briglia CLI 0.2.47
Briglia CLI 0.2.47 (sequence 107)
This release fixes a Linux crash: on Debian 13 and Raspberry Pi OS 13, Briglia could abort repeatedly during web research.
Linux: no more crashes while reading web pages
- The crash shows up in the service log as
Object … of class _MultiHandle deallocated with non-zero retain count 2, followed by the process ending with signal 6 (SIGABRT), sometimes signal 11. The systemd service restarted Briglia each time, but the work in progress was interrupted. - Cause: on Linux, Swift's networking library (swift-corelibs-foundation 6.1) crashes when a network session that used a kept-open HTTPS connection is released, with libcurl 8.14 (the version on Debian 13 / Raspberry Pi OS 13). Briglia created and released one session per page read during web research, and also per Responses request, ChatGPT sign-in and upgrade download. During research that is several sessions a minute.
- Fix: on Linux these requests now share one network session that lives as long as Briglia runs and is never released. Finishing or cancelling a request only ends that request. Nothing is shared between requests: no cookies, cache or saved credentials. Each request keeps its own time limits and redirect rules.
- Checked on Linux arm64 with libcurl 8.14.1 against a keep-alive HTTPS server: the old code path aborts with the field message; the new one answers every request (72/72 per run, three runs).
Unaffected
- macOS is not affected and keeps its existing behavior unchanged.
- In our tests, libcurl 8.5 (Ubuntu 24.04) and 7.81 (Ubuntu 22.04) did not reproduce the crash.
- Prompts and requests to the models are byte-identical to 0.2.46.
Accepted by Codex before release. Evidence: a new selftest covering concurrent page reads, time-limit cuts, cancellations, Responses timeouts, redirects and byte caps (14/14 on macOS and Linux, plus the HTTPS crash reproduction on libcurl 8.14), wire 91/91 main-agent bodies identical, full CI on macOS and Linux.
How to update
-
macOS, and Linux machines that are not crashing:
/upgradeorbriglia upgrade, as usual. -
Linux machines with libcurl 8.14 (Debian 13 / Raspberry Pi OS 13): the upgrade command in 0.2.46 and earlier uses the same download code and can hit the same crash, so
/upgradeandbriglia upgrademay abort before installing. Run the install command instead, which downloads withcurlorwgetand verifies the release signature itself:curl -fsSL https://briglia.dev/install.sh | shThen restart Briglia (
systemctl --user restart brigliaif it runs as a service, or/restartin Telegram). From 0.2.47 on,briglia upgradeuses the fixed download code too.