fix: bump OpenVINO to 2025.4.x to resolve LXC container detector crash#22856
Closed
abhilash1in wants to merge 1 commit intoblakeblackshear:devfrom
Closed
fix: bump OpenVINO to 2025.4.x to resolve LXC container detector crash#22856abhilash1in wants to merge 1 commit intoblakeblackshear:devfrom
abhilash1in wants to merge 1 commit intoblakeblackshear:devfrom
Conversation
PR template validation failedThis PR was automatically closed because the description does not follow the pull request template. Issues found:
Please update your PR description to include all required sections from the template, then reopen this PR.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Please read the contributing guidelines before submitting a PR.
Proposed change
Bumps the pinned OpenVINO version from
2025.3.*to2025.4.*indocker/main/requirements-wheels.txt.OpenVINO 2025.3.x crashes when Frigate runs natively in a Proxmox LXC container with partial CPU allocation (a common Proxmox deployment pattern). The crash manifests when any OpenVINO detector (CPU or GPU) is configured:
or:
Root cause: In LXC containers, Proxmox allocates specific host CPU cores. The L3 cache sysfs file (
/sys/devices/system/cpu/cpuN/cache/index3/shared_cpu_list) lists all CPUs in the physical socket (e.g.,"0-11") even when most are offline. OpenVINO'slin_system_conf.cppupdate_proc_map_info()iterates all CPUs in this list and callsstd::stoi(system_info_table[offline_cpu][0])where the string is empty for offline CPUs, throwingstd::invalid_argument. The entire Frigate process then exits.Upstream fix: OpenVINO 2025.4.0 added a null-check guard before the
stoicall:This fix was confirmed by reading the OpenVINO source at commit
44526285f24(2025.3.0) vs the current tree.Type of change
Additional information
AI disclosure
AI tool(s) used: Claude (Anthropic)
How AI was used: Root cause analysis. Used GDB stack traces and OpenVINO source code analysis to identify the exact crash location and the upstream fix commit.
Extent of AI involvement: Identified the bug and the fix version. The actual change is a one-line version bump.
Human oversight: Reproduced on real hardware (Intel i5-11400, Proxmox 8.x, LXC with 4 vCPUs). Confirmed crash with 2025.3.0 and successful OpenVINO GPU detection after
pip install openvino==2025.4.1. GDB was used to capture the C++ stack trace confirming the crash location.Checklist
enlocale.ruff format frigate)