Bug Report [Still unsolved] Regular crashes due to an X Window System error

j09

New Member
I'm running Manjaro Linux, using XFCE and running OBS 0.12.2 (linux) and I can't seem to find anyone else with this error. OBS usually crashes when I'm changing OBS's display settings. Here's my output from running with a console: http://pastebin.com/xqFLVZgP and here's the log file for that particular crash https://gist.github.com/anonymous/d6f5e188b05ca8866ab2 .

I've asked around on the IRC but no-one knows what to do. My console output seems to suggest a bug in the software. I've installed it from the AUR repository in Manjaro.

Thank you for your attention, any help would be greatly appreciated.
 

Attachments

  • 2015-12-02%252003-57-30.txt
    6.1 KB · Views: 35

derklempner

Member
I'm wondering if it's an Xfce issue. I run Xubuntu, and I'm getting similar errors whenever I launch OBS. Sometimes I have to launch the program five or six times before it decides to not crash when opening, changing settings, or configuring scenes. It's getting annoying to say the least, and after installing 0.13.1 today, it's still happening.

Here's what happened when I opened the Settings window and tried to view the Output section:

Code:
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 21603 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)

Oh, I see, run it as obs --sync. Okay...

Code:
error: X Error: BadWindow (invalid Window parameter)
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 407 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)

The program window flashed quickly on the screen and disappeared. Note the error code? Let's try again...

Code:
error: X Error: BadWindow (invalid Window parameter)
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 329 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.)
QObject::~QObject: Timers cannot be stopped from another thread
Segmentation fault (core dumped)

I'm starting to see a pattern. Could Xfce be causing these problems?
 
Last edited:

Kong Kannika

New Member
I've got the same problem on Ubuntu 16.04. I just follow @ZeroFossilFuel's post and it works for me.

just copy the command below and past it to your terminal. then run your OBS again.

Code:
rm -rf ~/.config/obs-studio/
 

ZeroLabs

Member
It's been a while since I revisited this bug but I will test it later today. Needless to say, if it really is fixed I will be dancing in the street! :)
 

ZeroLabs

Member
Rut roh Rorge. Latest unstable build is not happy. Tried reinstalling. No joy.

~$ obs
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-2600K CPU @ 3.40GHz
info: Physical Memory: 16030MB Total
info: Kernel Version: Linux 4.4.0-36-generic
info: Distribution: "Ubuntu" "16.04"
obs: symbol lookup error: /usr/lib/libobs.so.0: undefined symbol: XGetXCBConnection



Reinstalling the stable build works fine again...

~$ obs
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-2600K CPU @ 3.40GHz
info: Physical Memory: 16030MB Total
info: Kernel Version: Linux 4.4.0-36-generic
info: Distribution: "Ubuntu" "16.04"
QObject::connect: invalid null parameter
info: OBS 0.15.4 (linux)
info: ---------------------------------
info: ---------------------------------
info: audio settings reset:
samples per sec: 44100
speakers: 2
info: OpenGL version: 3.2.0 NVIDIA 361.42

info: ---------------------------------
info: video settings reset:
base resolution: 1600x900
output resolution: 1280x720
fps: 30/1
format: NV12
info: ---------------------------------
libDeckLinkAPI.so: cannot open shared object file: No such file or directory
info: No blackmagic support
info: ---------------------------------
info: Loaded Modules:
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: image-source.so
info: ==== Startup complete ===============================================
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_1b.0.analog-stereo.monitor'
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_input.pci-0000_00_1b.0.analog-stereo'
info: xshm-input: Geometry 1440x900 @ 0,900
info: xshm-input: Geometry 1440x900 @ 0,0
info: v4l2-input: Start capture from /dev/video5
error: v4l2-input: Unable to open device
error: v4l2-input: Initialization failed
info: v4l2-input: Start capture from /dev/video2
info: v4l2-input: Input: 0
info: v4l2-input: Resolution: 640x360
info: v4l2-input: Pixelformat: 21UY
info: v4l2-input: Linesize: 640 Bytes
info: v4l2-input: Framerate: 15.00 fps
info: v4l2-input: Start capture from /dev/video3
info: v4l2-input: Input: 0
info: v4l2-input: Resolution: 640x360
info: v4l2-input: Pixelformat: 21UY
info: v4l2-input: Linesize: 640 Bytes
info: v4l2-input: Framerate: 15.00 fps
info: v4l2-input: Start capture from /dev/video1
info: v4l2-input: Input: 0
info: v4l2-input: Resolution: 640x360
info: v4l2-input: Pixelformat: 21UY
info: v4l2-input: Linesize: 640 Bytes
info: v4l2-input: Framerate: 30.00 fps
info: v4l2-input: Start capture from /dev/video0
info: v4l2-input: Input: 0
info: v4l2-input: Resolution: 640x360
info: v4l2-input: Pixelformat: 21UY
info: v4l2-input: Linesize: 640 Bytes
info: v4l2-input: Framerate: 30.00 fps
info: Switched to scene 'Screen Top'
info: ------------------------------------------------
info: Loaded scenes:
info: - scene 'Face':
info: - source: 'Facecam' (v4l2_input)
info: - source: 'OTS/Stovecam' (v4l2_input)
info: - source: 'Benchcam' (v4l2_input)
info: - source: 'Banner txt' (text_ft2_source)
info: - source: 'Chat here' (text_ft2_source)
info: - source: 'Lunch' (text_ft2_source)
info: - source: 'Dinner' (text_ft2_source)
info: - source: 'Bottom' (xshm_input)
info: - scene 'Bench':
info: - source: 'Benchcam' (v4l2_input)
info: - scene 'OTS/Stove':
info: - source: 'OTS/Stovecam' (v4l2_input)
info: - source: 'Benchcam' (v4l2_input)
info: - scene 'Ham':
info: - source: 'HamCam' (v4l2_input)
info: - source: 'Dinner' (text_ft2_source)
info: - source: 'OTS/Stovecam' (v4l2_input)
info: - source: 'SpareCam' (v4l2_input)
info: - scene 'Spare':
info: - source: 'SpareCam' (v4l2_input)
info: - source: 'OTS/Stovecam' (v4l2_input)
info: - source: 'Bottom' (xshm_input)
info: - source: 'Banner txt' (text_ft2_source)
info: - source: 'Dinner' (text_ft2_source)
info: - source: 'Benchcam' (v4l2_input)
info: - scene 'Screen Top':
info: - source: 'Top' (xshm_input)
info: - scene 'Screen Bottom':
info: - source: 'Bottom' (xshm_input)
info: ------------------------------------------------
info: Update check: last known remote version is 0.4.0
 
Last edited:
Top