Bug Report Segmentation fault

In OBS 0.14.2 under Linux when moving the mouse across some objects, selecting something from a drop down(scene transitions) or working with the interface in general(for example settings) produces the following:
Code:
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: 8 logical cores
info: Processor: Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz
info: Physical Memory: 16013MB Total
info: Kernel Version: Linux 4.5.4-1-ck
info: Distribution: "Arch Linux" Unknown
QObject::connect: invalid null parameter
info: OBS 0.14.2-1 (linux)
info: ---------------------------------
info: ---------------------------------
info: audio settings reset:
    samples per sec: 44100
    speakers:        2
info: OpenGL version: 3.2.0 NVIDIA 364.19

info: ---------------------------------
info: video settings reset:
    base resolution:   2560x1440
    output resolution: 2560x1440
    fps:               60/1
    format:            NV12
info: ---------------------------------
info: Loading module: image-source.so
info: ---------------------------------
info: Loading module: linux-alsa.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-transitions.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 'simple_stream' (rtmp_output) created
info: encoder 'simple_h264_stream' (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 'simple_aac' (libfdk_aac) created
info: output 'simple_file_output' (ffmpeg_muxer) created
info: service 'default_service' (rtmp_common) created
info: Switched to Preview/Program mode
info: ------------------------------------------------
info: All scene data cleared
info: ------------------------------------------------
info: pulse-input: Server name: 'pulseaudio 8.0'
info: pulse-input: Audio format: s16le, 44100 Hz, 2 channels
info: pulse-input: Started recording from 'alsa_output.pci-0000_00_1f.3.analog-stereo.monitor'
info: source 'Desktop Audio' (pulse_output_capture) created
info: pulse-input: Server name: 'pulseaudio 8.0'
error: pulse-input: Sample spec is not valid
error: Failed to create source 'Mic/Aux'!
info: source 'Mic/Aux' (pulse_input_capture) created
info: source 'Scene' (scene) created
info: source 'ARK' (xcomposite_input) created
info: == Profiler Results =============================
info: run_program_init: 245.329 ms
info:  ┣OBSApp::AppInit: 0.9 ms
info:  ┃ ┗OBSApp::InitLocale: 0.445 ms
info:  ┗OBSApp::OBSInit: 185.551 ms
info:    ┣obs_startup: 0.649 ms
info:    ┗OBSBasic::OBSInit: 168.499 ms
info:      ┣OBSBasic::InitBasicConfig: 0.121 ms
info:      ┣OBSBasic::ResetAudio: 0.047 ms
info:      ┣OBSBasic::ResetVideo: 86.937 ms
info:      ┣OBSBasic::InitOBSCallbacks: 0.004 ms
info:      ┣OBSBasic::InitHotkeys: 0.027 ms
info:      ┣obs_load_all_modules: 10.943 ms
info:      ┃ ┣obs_init_module(image-source.so): 0.001 ms
info:      ┃ ┣obs_init_module(linux-alsa.so): 0.001 ms
info:      ┃ ┣obs_init_module(linux-capture.so): 0.214 ms
info:      ┃ ┣obs_init_module(linux-decklink.so): 0.114 ms
info:      ┃ ┣obs_init_module(linux-jack.so): 0.001 ms
info:      ┃ ┣obs_init_module(linux-pulseaudio.so): 0.001 ms
info:      ┃ ┣obs_init_module(linux-v4l2.so): 0.001 ms
info:      ┃ ┣obs_init_module(obs-ffmpeg.so): 0.046 ms
info:      ┃ ┣obs_init_module(obs-filters.so): 0.003 ms
info:      ┃ ┣obs_init_module(obs-libfdk.so): 0.001 ms
info:      ┃ ┣obs_init_module(obs-outputs.so): 0.001 ms
info:      ┃ ┣obs_init_module(obs-transitions.so): 0.002 ms
info:      ┃ ┣obs_init_module(obs-x264.so): 0.001 ms
info:      ┃ ┣obs_init_module(rtmp-services.so): 0.063 ms
info:      ┃ ┗obs_init_module(text-freetype2.so): 0.016 ms
info:      ┣OBSBasic::ResetOutputs: 0.233 ms
info:      ┣OBSBasic::CreateHotkeys: 2.706 ms
info:      ┣OBSBasic::InitService: 0.042 ms
info:      ┣OBSBasic::InitPrimitives: 19.162 ms
info:      ┗OBSBasic::Load: 16.046 ms
info: =================================================
error: X Error: BadWindow (invalid Window parameter)
error: X Error: BadWindow (invalid Window parameter)
info: adding 23 milliseconds of audio buffering, total audio buffering is now 23 milliseconds
info: Update check: last known remote version is 0.4.0
info: adding 23 milliseconds of audio buffering, total audio buffering is now 46 milliseconds
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 9490 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)
code 139

Kernel version: 4.5.4-1
nvidia driver version: 364.19
Desktop environment: Gnome (tested in Mate too)
Graphics Card: 980TI
CPU: Intel Core i5-6600K(Skylake)

I am happy to provide any more info/help debug this issue. This is ongoing since 0.13(I think)
 

TimothyOnline

New Member
1) Purge OBS Studio from your box:

$ sudo apt-get purge obs-studio

2) Remove any unnecessary packages:

$ sudo apt autoremove

3) Wipe the configuration files:

$ sudo rm -r ~/.config/obs-studio

4) Re-install OBS Studio:

$ sudo apt-get update && sudo apt-get install obs-studio
 
Top