#1139570 OBS Studio crashes right after attaching USB camera

Package:
obs-plugins
Source:
obs-plugins
Description:
recorder and streamer for live video content (plugins)
Submitter:
Jaak Ristioja
Date:
2026-06-09 20:11:03 UTC
Severity:
normal
#1139570#5
Date:
2026-06-09 19:25:21 UTC
From:
To:
Attaching a USB camera crashes obs-studio on Debian Trixie, due to a
double free in find_device_id_by_real_path()

This is related to the patch linux-v4l2-Save-device-by-id-or-path.patch
which was not merged to upstream. A similar crash wes reported in the
upstream pull request comments by a user back in 2024:


https://github.com/obsproject/obs-studio/pull/6493#issuecomment-2409777707

Please find attached a console log and backtraces with debug info from
running OBS Studio under gdb.