OBS Studio - 28.1.2 (linux) segfaults when starting a recording (Ubuntu 22.04 LTS)

petervabe

New Member
Probably after daily updates (not sure), obs crashes with a segfault whenever recording is started .
obs --startrecording used to work fine a while ago on the same machine

Tested three cases :
1) start with --startrecording
2) hit the 'Start recording´ button
3) start the Auto-configuration wizard (which does a test recording)

Platform info :

Operating System: Kubuntu 22.04
KDE Plasma Version: 5.24.7
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3
Kernel Version: 5.15.0-56-generic (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i7-6600U CPU @ 2.60GHz
Memory: 15.3 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 520

The verbose output is as follows (captured after starting Auto-configuration :

==== Auto-config wizard testing commencing ======
warning: 1 views remain at shutdown
info: ---------------------------------
info: video settings reset:
base resolution: 2240x720
output resolution: 1120x360
downscale filter: Bicubic
fps: 30/1
format: NV12
YUV mode: Rec. 709/Partial
info: NV12 texture support not available
info: P010 texture support not available
info: ---------------------------------
info: [x264 encoder: 'test_x264'] preset: veryfast
info: [x264 encoder: 'test_x264'] profile: high
info: [x264 encoder: 'test_x264'] settings:
rate_control: CRF
bitrate: 0
buffer size: 0
crf: 20
fps_num: 30
fps_den: 1
width: 1120
height: 360
keyint: 250

Segmentation fault (core dumped)

Additionally in dmesg :

$ sudo dmesg
[ 7908.080849] obs[17774]: segfault at 100000019 ip 0000000100000019 sp 00007fffd0b0f978 error 14 in obs[55fd96e4d000+67000]
[ 7908.080867] Code: Unable to access opcode bytes at RIP 0xffffffef.

Tried running under sudo, same issue
Unfortunately none of the debug info is very helpful at all.

Appreciate any suggestions
 

petervabe

New Member
RESOLVED

System upgrade to 22.04 LTS had disabled the obs-studio repo.
Re-enabling then update/upgrade software fixed the issue.
 
Top