obs-studio crashes with segmentation fault

PsySc0rpi0n

New Member
Hi...

I'm new to obs-studio so I have not placed this in bug reports because it might be some problem with my Debian and not with the application itself...

I have compiled obs-studio following the Git site instructions. I'm using Debian Jessie 64bit.

The segmentation fault comes a couple of seconds after I try to start a desktop stream using the only encoder available, x264. It just terminates! If I try to record a stream it works correctly, at least apparently.

I have tried to run obs-studio with gdb to check for errors that might tell me what the problem is.

I'm not going to share the output here for security reasons, but if anyone is willing to look to gdb "bt" command output, I'll provide a private link to it!

This is the terminal output:

Attempted path: share/obs/obs-studio/locale/en-US.ini
Attempted path: /home/narayan/obs-studio/share/obs/obs-studio/locale/en-US.ini
Attempted path: share/obs/obs-studio/locale.ini
Attempted path: /home/narayan/obs-studio/share/obs/obs-studio/locale.ini
Attempted path: share/obs/obs-studio/themes/Dark.qss
Attempted path: /home/narayan/obs-studio/share/obs/obs-studio/themes/Dark.qss
Attempted path: share/obs/obs-studio/license/gplv2.txt
Attempted path: /home/narayan/obs-studio/share/obs/obs-studio/license/gplv2.txt
info: Processor: 8 logical cores
info: Processor: Intel(R) Core(TM) i7-3740QM CPU @ 2.70GHz
info: Physical Memory: 15947MB Total
info: Kernel Version: Linux 4.7.0-0.bpo.1-amd64
info: Distribution: "Debian GNU/Linux" "8"
info: Portable mode: false
QObject::connect: invalid null parameter
info: OBS 0.16.6-28-gec60ab9 (linux)
info: ---------------------------------
info: ---------------------------------
info: audio settings reset:
samples per sec: 44100
speakers: 2
info: OpenGL version: 3.3 (Core Profile) Mesa 10.3.2

info: ---------------------------------
info: video settings reset:
base resolution: 1920x1080
output resolution: 1920x1080
downscale filter: Bicubic
fps: 30/1
format: NV12
info: ---------------------------------
libDeckLinkAPI.so: cannot open shared object file: No such file or directory
info: No blackmagic support
error: os_dlopen(libnvidia-encode.so.1->libnvidia-encode.so.1): libnvidia-encode.so.1: cannot open shared object file: No such file or directory

info: VLC found, VLC video source enabled
info: ---------------------------------
info: Loaded Modules:
info: vlc-video.so
info: text-freetype2.so
info: rtmp-services.so
info: obs-x264.so
info: obs-transitions.so
info: obs-outputs.so
info: obs-libfdk.so
info: obs-filters.so
info: obs-ffmpeg.so
info: linux-v4l2.so
info: linux-pulseaudio.so
info: linux-jack.so
info: linux-decklink.so
info: linux-capture.so
info: linux-alsa.so
info: image-source.so
info: frontend-tools.so
info: ==== Startup complete ===============================================
info: All scene data cleared
info: ------------------------------------------------
info: pulse-input: Server name: 'pulseaudio 5.0'
info: pulse-input: Audio format: s16le, 44100 Hz, 2 channels
info: pulse-input: Started recording from 'alsa_output.pci-0000_00_1b.0.analog-stereo.monitor'
info: pulse-input: Server name: 'pulseaudio 5.0'
info: pulse-input: Audio format: s16le, 44100 Hz, 2 channels
info: pulse-input: Started recording from 'alsa_input.pci-0000_00_1b.0.analog-stereo'
info: v4l2-input: Start capture from /dev/video0
info: v4l2-input: Input: 0
info: v4l2-input: Resolution: 1920x1080
info: v4l2-input: Pixelformat: VYUY
info: v4l2-input: Linesize: 3840 Bytes
info: v4l2-input: Framerate: 5.00 fps
info: Switched to scene 'Desktop-stream'
info: ------------------------------------------------
info: Loaded scenes:
info: - scene 'Desktop-stream':
info: - source: 'WebCam' (v4l2_input)
info: - source: 'Desktop-Window' (xcomposite_input)
info: ------------------------------------------------
info: adding 46 milliseconds of audio buffering, total audio buffering is now 46 milliseconds
info: Update check: last known remote version is 0.4.0
info: ---------------------------------
info: [x264 encoder: 'streaming_h264'] preset: veryfast
info: [x264 encoder: 'streaming_h264'] profile: main
info: [x264 encoder: 'streaming_h264'] settings:
rate_control: CBR
bitrate: 2500
buffer size: 2500
crf: 0
fps_num: 30
fps_den: 1
width: 1920
height: 1080
keyint: 60
vfr: off

info: libfdk_aac encoder created
info: libfdk_aac bitrate: 160, channels: 2
info: [rtmp stream: 'adv_stream'] Connecting to RTMP URL rtmp://live-lhr.twitch.tv/app...
info: [rtmp stream: 'adv_stream'] Connection to rtmp://live-lhr.twitch.tv/app successful
info: ==== Streaming Start ===============================================
Segmentation fault

What can you guys tell me about this?
 
Top