Bug Report OBS 0.12.0 crashes randomly

zenobs

Member
$ obs --sync
Attempted path: share/obs/obs-studio/locale/en-US.ini
Attempted path: /usr/share/obs/obs-studio/locale/en-US.ini
Attempted path: share/obs/obs-studio/locale.ini
Attempted path: /usr/share/obs/obs-studio/locale.ini
Attempted path: share/obs/obs-studio/themes/Default.qss
Attempted path: /usr/share/obs/obs-studio/themes/Default.qss
Attempted path: share/obs/obs-studio/license/gplv2.txt
Attempted path: /usr/share/obs/obs-studio/license/gplv2.txt
info: Processor: 4 logical cores
info: Processor: AMD A10-5750M APU with Radeon(tm) HD Graphics
info: Physical Memory: 7127MB Total
info: Kernel Version: Linux 3.18.8-031808-lowlatency
info: Distribution: "Ubuntu" "14.04"
info: OBS 0.12.0 (linux)
info: ---------------------------------
info: ---------------------------------
info: audio settings reset:
samples per sec: 48000
speakers: 2
buffering (ms): 1000
info: OpenGL version: 3.3 (Core Profile) Mesa 10.1.3

info: ---------------------------------
info: video settings reset:
base resolution: 1920x1080
output resolution: 1920x1080
fps: 25/1
format: NV12
info: ---------------------------------
info: Loading module: image-source.so
info: ---------------------------------
info: Loading module: linux-capture.so
info: ---------------------------------
info: Loading module: linux-decklink.so
libDeckLinkAPI.so: cannot open shared object file: No such file or directory
info: No blackmagic support
info: Failed to start search for DeckLink devices
info: ---------------------------------
info: Loading module: linux-jack.so
info: ---------------------------------
info: Loading module: linux-pulseaudio.so
info: ---------------------------------
info: Loading module: linux-v4l2.so
info: ---------------------------------
info: Loading module: obs-ffmpeg.so
info: ---------------------------------
info: Loading module: obs-filters.so
info: ---------------------------------
info: Loading module: obs-libfdk.so
info: ---------------------------------
info: Loading module: obs-outputs.so
info: ---------------------------------
info: Loading module: obs-x264.so
info: ---------------------------------
info: Loading module: rtmp-services.so
info: ---------------------------------
info: Loading module: text-freetype2.so
info: =====================================================================
info: output 'adv_stream' (rtmp_output) created
info: output 'adv_file_output' (ffmpeg_muxer) created
info: encoder 'recording_h264' (obs_x264) created
info: encoder 'streaming_h264' (obs_x264) created
info: AAC encoder bitrate mapping:
32 kbit/s: 'libfdk AAC Encoder' (libfdk_aac)
64 kbit/s: 'libfdk AAC Encoder' (libfdk_aac)
96 kbit/s: 'libfdk AAC Encoder' (libfdk_aac)
128 kbit/s: 'libfdk AAC Encoder' (libfdk_aac)
160 kbit/s: 'libfdk AAC Encoder' (libfdk_aac)
192 kbit/s: 'libfdk AAC Encoder' (libfdk_aac)
224 kbit/s: 'libfdk AAC Encoder' (libfdk_aac)
256 kbit/s: 'libfdk AAC Encoder' (libfdk_aac)
288 kbit/s: 'FFmpeg Default AAC Encoder' (ffmpeg_aac)
320 kbit/s: 'FFmpeg Default AAC Encoder' (ffmpeg_aac)
info: encoder 'adv_aac0' (libfdk_aac) created
info: encoder 'adv_aac1' (libfdk_aac) created
info: encoder 'adv_aac2' (libfdk_aac) created
info: encoder 'adv_aac3' (libfdk_aac) created
error: Service '' not found
info: service 'default_service' (rtmp_common) created
info: All scene data cleared
info: ------------------------------------------------
info: source 'Intro-alt+1' (scene) created
info: source 'Compo-alt+2' (scene) created
info: source 'Close-alt+3' (scene) created
info: source 'Slide-alt+4' (scene) created
info: source 'End-alt+0' (scene) created
info: source 'Background' (image_source) created
info: v4l2-input: Start capture from /dev/video1
info: v4l2-input: Input: 0
info: v4l2-input: Resolution: 960x720
info: v4l2-input: Pixelformat: 21UY
info: v4l2-input: Linesize: 960 Bytes
info: v4l2-input: Framerate: 24,00 fps
info: source 'C920Video1' (v4l2_input) created
info: source 'Chroma Key' (chroma_key_filter) created
info: source 'Chroma Key-greencloth' (chroma_key_filter) created
info: source 'Chroma Key-blue-custom' (chroma_key_filter) created
info: xshm-input: Geometry 1920x1080 @ 0,0
info: source 'Screen1' (xshm_input) created
info: pulse-input: Server name: 'pulseaudio 4.0'
info: pulse-input: Audio format: s16le, 44100 Hz, 2 channels
info: pulse-input: Started recording from 'alsa_input.usb-ZOOM_Corporation_H4-00-H4.analog-stereo'
info: source 'h4n' (pulse_input_capture) created
error: xcompcap: XCompositeRedirectWindow failed: BadWindow (invalid Window parameter)
info: source 'SlideShow' (xcomposite_input) created
warning: [ffmpeg] [png @ 0x7fe3080096c0] Broken zTXt chunk
info: == Profiler Results =============================
info: run_program_init: 568,631 ms
info: ┣OBSApp::AppInit: 1,528 ms
info: ┃ ┗OBSApp::InitLocale: 0,991 ms
info: ┗OBSApp::OBSInit: 376,951 ms
info: ┣obs_startup: 1,667 ms
info: ┗OBSBasic::OBSInit: 283,598 ms
info: ┣OBSBasic::InitBasicConfig: 0,615 ms
info: ┣OBSBasic::ResetAudio: 0,146 ms
info: ┣OBSBasic::ResetVideo: 157,458 ms
info: ┣OBSBasic::InitOBSCallbacks: 0,011 ms
info: ┣OBSBasic::InitHotkeys: 0,082 ms
info: ┣obs_load_all_modules: 13,307 ms
info: ┃ ┣obs_init_module(image-source.so): 0,003 ms
info: ┃ ┣obs_init_module(linux-capture.so): 0,705 ms
info: ┃ ┣obs_init_module(linux-decklink.so): 0,16 ms
info: ┃ ┣obs_init_module(linux-jack.so): 0,003 ms
info: ┃ ┣obs_init_module(linux-pulseaudio.so): 0,002 ms
info: ┃ ┣obs_init_module(linux-v4l2.so): 0,002 ms
info: ┃ ┣obs_init_module(obs-ffmpeg.so): 0,02 ms
info: ┃ ┣obs_init_module(obs-filters.so): 0,007 ms
info: ┃ ┣obs_init_module(obs-libfdk.so): 0,002 ms
info: ┃ ┣obs_init_module(obs-outputs.so): 0,003 ms
info: ┃ ┣obs_init_module(obs-x264.so): 0,002 ms
info: ┃ ┣obs_init_module(rtmp-services.so): 0,142 ms
info: ┃ ┗obs_init_module(text-freetype2.so): 0,031 ms
info: ┣OBSBasic::ResetOutputs: 0,82 ms
info: ┣OBSBasic::CreateHotkeys: 0,031 ms
info: ┣OBSBasic::InitService: 0,071 ms
info: ┣OBSBasic::InitPrimitives: 0,128 ms
info: ┗OBSBasic::Load: 60,352 ms
info: =================================================
warning: [ffmpeg] [png @ 0x7fe308014400] Broken zTXt chunk
warning: [ffmpeg] [png @ 0x7fe308014b80] Broken zTXt chunk
warning: [ffmpeg] [png @ 0x7fe308016100] Broken zTXt chunk
warning: [ffmpeg] [png @ 0x7fe308023f80] Broken zTXt chunk
warning: [ffmpeg] [png @ 0x7fe308025500] Broken zTXt chunk
warning: device_get_width (GL): No active swap
warning: device_get_height (GL): No active swap
error: X Error: BadWindow (invalid Window parameter)
info: Update check: last known remote version is 0.4.0
warning: Audio line 'h4n' audio data currently getting cut off. This could be due to a negative sync offset that's larger than the current audio buffering time.
warning: Audio line 'h4n' audio data no longer getting cut off.
The program 'obs' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
(Details: serial 1841 error_code 3 request_code 3 minor_code 0)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
Segmentation fault
 

derklempner

Member
Same here. Randomly crashes for various reasons, but crashes every time I try to change the recording encoder:
Code:
user@hostname:~$ obs --sync
Attempted path: share/obs/obs-studio/locale/en-US.ini
Attempted path: /usr/share/obs/obs-studio/locale/en-US.ini
Attempted path: share/obs/obs-studio/locale.ini
Attempted path: /usr/share/obs/obs-studio/locale.ini
Attempted path: share/obs/obs-studio/themes/Default.qss
Attempted path: /usr/share/obs/obs-studio/themes/Default.qss
Attempted path: share/obs/obs-studio/license/gplv2.txt
Attempted path: /usr/share/obs/obs-studio/license/gplv2.txt
info: Processor: 4 logical cores
info: Processor: AMD A8-5500 APU with Radeon(tm) HD Graphics
info: Physical Memory: 7815MB Total
info: Kernel Version: Linux 3.19.0-28-generic
info: Distribution: "Ubuntu" "15.04"
QObject::connect: invalid null parameter
info: OBS 0.12.0 (linux)
info: ---------------------------------
info: ---------------------------------
info: audio settings reset:
    samples per sec: 48000
    speakers:        2
    buffering (ms):  100
info: OpenGL version: 3.2.0 NVIDIA 352.30

info: ---------------------------------
info: video settings reset:
    base resolution:   1920x1080
    output resolution: 1920x1080
    fps:               30/1
    format:            NV12
info: ---------------------------------
info: Loading module: image-source.so
info: ---------------------------------
info: Loading module: linux-capture.so
info: ---------------------------------
info: Loading module: linux-decklink.so
libDeckLinkAPI.so: cannot open shared object file: No such file or directory
info: No blackmagic support
info: Failed to start search for DeckLink devices
info: ---------------------------------
info: Loading module: linux-jack.so
info: ---------------------------------
info: Loading module: linux-pulseaudio.so
info: ---------------------------------
info: Loading module: linux-v4l2.so
info: ---------------------------------
info: Loading module: obs-ffmpeg.so
info: ---------------------------------
info: Loading module: obs-filters.so
info: ---------------------------------
info: Loading module: obs-libfdk.so
info: ---------------------------------
info: Loading module: obs-outputs.so
info: ---------------------------------
info: Loading module: obs-x264.so
info: ---------------------------------
info: Loading module: rtmp-services.so
info: ---------------------------------
info: Loading module: text-freetype2.so
info: =====================================================================
info: output 'adv_stream' (rtmp_output) created
info: output 'adv_file_output' (ffmpeg_muxer) created
info: encoder 'recording_h264' (obs_x264) created
info: encoder 'streaming_h264' (obs_x264) created
info: AAC encoder bitrate mapping:
     32 kbit/s: 'libfdk AAC Encoder' (libfdk_aac)
     64 kbit/s: 'libfdk AAC Encoder' (libfdk_aac)
     96 kbit/s: 'libfdk AAC Encoder' (libfdk_aac)
    128 kbit/s: 'libfdk AAC Encoder' (libfdk_aac)
    160 kbit/s: 'libfdk AAC Encoder' (libfdk_aac)
    192 kbit/s: 'libfdk AAC Encoder' (libfdk_aac)
    224 kbit/s: 'libfdk AAC Encoder' (libfdk_aac)
    256 kbit/s: 'libfdk AAC Encoder' (libfdk_aac)
    288 kbit/s: 'FFmpeg Default AAC Encoder' (ffmpeg_aac)
    320 kbit/s: 'FFmpeg Default AAC Encoder' (ffmpeg_aac)
info: encoder 'adv_aac0' (libfdk_aac) created
info: encoder 'adv_aac1' (libfdk_aac) created
info: encoder 'adv_aac2' (libfdk_aac) created
info: encoder 'adv_aac3' (libfdk_aac) created
info: service 'default_service' (rtmp_common) created
info: All scene data cleared
info: ------------------------------------------------
info: pulse-input: Server name: 'pulseaudio 6.0'
info: pulse-input: Audio format: s16le, 44100 Hz, 2 channels
info: pulse-input: Started recording from 'alsa_output.usb-0d8c_C-Media_USB_Audio_Device-00-Device.analog-stereo.monitor'
info: source 'Desktop Audio' (pulse_output_capture) created
info: pulse-input: Server name: 'pulseaudio 6.0'
info: pulse-input: Audio format: s16le, 44100 Hz, 1 channels
info: pulse-input: Started recording from 'alsa_input.usb-0d8c_C-Media_USB_Audio_Device-00-Device.analog-mono'
info: source 'Mic/Aux' (pulse_input_capture) created
info: source 'War Thunder' (scene) created
info: source 'We'll BRB' (scene) created
info: source 'BRB' (image_source) created
error: xcompcap: XCompositeRedirectWindow failed: BadWindow (invalid Window parameter)
info: source 'War Thunder Capture' (xcomposite_input) created
info: source 'Minecraft STREAM' (scene) created
info: source 'Desktop' (scene) created
info: xshm-input: Geometry 1920x1080 @ 0,0
info: source 'Screen Capture (XSHM)' (xshm_input) created
info: source 'Borderlands: The Pre-Sequel!' (scene) created
error: xcompcap: XCompositeRedirectWindow failed: BadWindow (invalid Window parameter)
info: source 'Borderlands:TPS Capture' (xcomposite_input) created
error: xcompcap: XCompositeRedirectWindow failed: BadWindow (invalid Window parameter)
info: source 'Minecraft Capture' (xcomposite_input) created
error: xcompcap: XCompositeRedirectWindow failed: BadWindow (invalid Window parameter)
info: source 'Twitch Alerts Capture (Xcomposite)' (xcomposite_input) created
info: source 'Twitch Alerts Chroma Key' (chroma_key_filter) created
info: source 'Shadow Warrior' (scene) created
error: xcompcap: XCompositeRedirectWindow failed: BadWindow (invalid Window parameter)
info: source 'Shadow Warrior Capture' (xcomposite_input) created
info: source 'Starting Soon' (scene) created
info: source 'Starting Soon Pic' (image_source) created
info: source 'Minecraft RECORD' (scene) created
warning: device_get_width (GL): No active swap
warning: device_get_height (GL): No active swap
warning: device_get_width (GL): No active swap
warning: device_get_height (GL): No active swap
info: == Profiler Results =============================
info: run_program_init: 1177.07 ms
info:  ┣OBSApp::AppInit: 1.798 ms
info:  ┃ ┗OBSApp::InitLocale: 0.659 ms
info:  ┗OBSApp::OBSInit: 226.401 ms
info:    ┣obs_startup: 1.073 ms
info:    ┗OBSBasic::OBSInit: 189.748 ms
info:      ┣OBSBasic::InitBasicConfig: 0.467 ms
info:      ┣OBSBasic::ResetAudio: 0.142 ms
info:      ┣OBSBasic::ResetVideo: 86.498 ms
info:      ┣OBSBasic::InitOBSCallbacks: 0.008 ms
info:      ┣OBSBasic::InitHotkeys: 0.069 ms
info:      ┣obs_load_all_modules: 21.041 ms
info:      ┃ ┣obs_init_module(image-source.so): 0.005 ms
info:      ┃ ┣obs_init_module(linux-capture.so): 1.151 ms
info:      ┃ ┣obs_init_module(linux-decklink.so): 0.215 ms
info:      ┃ ┣obs_init_module(linux-jack.so): 0.004 ms
info:      ┃ ┣obs_init_module(linux-pulseaudio.so): 0.003 ms
info:      ┃ ┣obs_init_module(linux-v4l2.so): 0.004 ms
info:      ┃ ┣obs_init_module(obs-ffmpeg.so): 0.017 ms
info:      ┃ ┣obs_init_module(obs-filters.so): 0.009 ms
info:      ┃ ┣obs_init_module(obs-libfdk.so): 0.001 ms
info:      ┃ ┣obs_init_module(obs-outputs.so): 0.003 ms
info:      ┃ ┣obs_init_module(obs-x264.so): 0.008 ms
info:      ┃ ┣obs_init_module(rtmp-services.so): 0.125 ms
info:      ┃ ┗obs_init_module(text-freetype2.so): 0.029 ms
info:      ┣OBSBasic::ResetOutputs: 3.213 ms
info:      ┣OBSBasic::CreateHotkeys: 0.432 ms
info:      ┣OBSBasic::InitService: 0.242 ms
info:      ┣OBSBasic::InitPrimitives: 5.373 ms
info:      ┗OBSBasic::Load: 34.398 ms
info: =================================================
info: Update check: last known remote version is 0.4.0
warning: Audio line 'Mic/Aux' audio data currently getting cut off.  This could be due to a negative sync offset that's larger than the current audio buffering time.
warning: Audio line 'Mic/Aux' audio data no longer getting cut off.
Attempted path: share/obs/obs-studio/locale.ini
Attempted path: /usr/share/obs/obs-studio/locale.ini
Attempted path: share/obs/obs-studio/themes/
Attempted path: /usr/share/obs/obs-studio/themes/
The program 'obs' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
  (Details: serial 13749 error_code 3 request_code 3 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
Segmentation fault (core dumped)
 

rspeer

New Member
The same thing is happening to me. The easiest way to make it happen is to click a few menus, but it will also crash on its own after streaming for about 20 minutes.
 
Top