Bug Report OBS Studio 25.0.1 crashes when applying settings

Lexx_BG

New Member
At first I thought this was a local problem but other people confirmed they have the same problem, so I made a short video of it (the link below). When the "Settings" window is open and one makes any changes, clicking the "apply" button causes OBS to close itself instantly. It DOES remember the user settings, it's just that it crashes.

Arch Linux, kernel 5.5.10 and now 5.5.11. Desktop environment in my case is Cinnamon but I was told by KDE users the crash happens there as well.


There are many errors in the log, so here it is:

Code:
22:52:44.106: CPU Name: Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
22:52:44.106: CPU Speed: 3738.596MHz
22:52:44.107: Physical Cores: 4, Logical Cores: 8
22:52:44.107: Physical Memory: 32038MB Total, 21431MB Free
22:52:44.107: Kernel Version: Linux 5.5.10-arch1-1
22:52:44.107: Distribution: "Arch Linux" Unknown
22:52:44.107: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.20.7
22:52:44.108: Portable mode: false
22:52:44.149: OBS 25.0.1-1 (linux)
22:52:44.149: ---------------------------------
22:52:44.150: ---------------------------------
22:52:44.150: audio settings reset:
22:52:44.150:     samples per sec: 44100
22:52:44.150:     speakers:        2
22:52:44.155: ---------------------------------
22:52:44.155: Initializing OpenGL...
22:52:44.257: Loading up OpenGL on adapter NVIDIA Corporation GeForce GTX 1050 Ti/PCIe/SSE2
22:52:44.257: OpenGL loaded successfully, version 3.3.0 NVIDIA 440.64, shading language 3.30 NVIDIA via Cg compiler
22:52:44.267: ---------------------------------
22:52:44.267: video settings reset:
22:52:44.267:     base resolution:   1920x1080
22:52:44.267:     output resolution: 1920x1080
22:52:44.267:     downscale filter:  Bicubic
22:52:44.267:     fps:               60/1
22:52:44.267:     format:            NV12
22:52:44.267:     YUV mode:          601/Partial
22:52:44.267: NV12 texture support not available
22:52:44.267: Audio monitoring device:
22:52:44.267:     name: По подразбиране
22:52:44.267:     id: default
22:52:44.267: ---------------------------------
22:52:44.269: Failed to load 'en-US' text for module: 'decklink-ouput-ui.so'
22:52:44.341: A DeckLink iterator could not be created.  The DeckLink drivers may not be installed
22:52:44.341: No blackmagic support
22:52:44.348: NVENC supported
22:52:44.348: FFMPEG VAAPI supported
22:52:44.356: VLC found, VLC video source enabled
22:52:44.356: ---------------------------------
22:52:44.356:   Loaded Modules:
22:52:44.356:     vlc-video.so
22:52:44.356:     text-freetype2.so
22:52:44.356:     rtmp-services.so
22:52:44.356:     obs-x264.so
22:52:44.356:     obs-transitions.so
22:52:44.356:     obs-outputs.so
22:52:44.356:     obs-libfdk.so
22:52:44.356:     obs-filters.so
22:52:44.356:     obs-ffmpeg.so
22:52:44.356:     linux-v4l2.so
22:52:44.356:     linux-pulseaudio.so
22:52:44.356:     linux-jack.so
22:52:44.356:     linux-decklink.so
22:52:44.356:     linux-capture.so
22:52:44.356:     linux-alsa.so
22:52:44.356:     image-source.so
22:52:44.356:     frontend-tools.so
22:52:44.356:     decklink-ouput-ui.so
22:52:44.356: ---------------------------------
22:52:44.356: ==== Startup complete ===============================================
22:52:44.358: All scene data cleared
22:52:44.358: ------------------------------------------------
22:52:44.360: pulse-input: Server name: 'pulseaudio 13.0'
22:52:44.360: pulse-input: Audio format: s16le, 44100 Hz, 2 channels
22:52:44.360: pulse-input: Started recording from 'alsa_output.pci-0000_00_1b.0.analog-stereo.monitor'
22:52:44.360: pulse-input: Server name: 'pulseaudio 13.0'
22:52:44.360: pulse-input: Audio format: s16le, 44100 Hz, 2 channels
22:52:44.360: pulse-input: Started recording from 'alsa_input.pci-0000_00_1b.0.analog-stereo'
22:52:44.419: xcompcap: [window-capture: 'Window Capture (Xcomposite)'] update settings:
22:52:44.419:     title: Euro Truck Simulator 2
22:52:44.419:     class: Euro Truck Simulator 2
22:52:44.419:     Bit depth: 24
22:52:44.419:     Found proper GLXFBConfig (in 9): yes
22:52:44.419:
22:52:44.419: Switched to scene 'Сцена'
22:52:44.419: ------------------------------------------------
22:52:44.419: Loaded scenes:
22:52:44.419: - scene 'Сцена':
22:52:44.419:     - source: 'Window Capture (Xcomposite)' (xcomposite_input)
22:52:44.419: ------------------------------------------------
22:52:44.893: adding 46 milliseconds of audio buffering, total audio buffering is now 46 milliseconds (source: Микрофон/Aux)
22:52:44.893:
22:52:50.020: ---------------------------------
22:52:50.020: [NVENC encoder: 'streaming_h264'] settings:
22:52:50.020:     rate_control: CBR
22:52:50.020:     bitrate:      4000
22:52:50.020:     cqp:          0
22:52:50.020:     keyint:       120
22:52:50.020:     preset:       hq
22:52:50.020:     profile:      high
22:52:50.020:     width:        1920
22:52:50.020:     height:       1080
22:52:50.020:     2-pass:       false
22:52:50.020:     b-frames:     2
22:52:50.020:     GPU:          0
22:52:50.020:
22:52:50.372: libfdk_aac encoder created
22:52:50.372: libfdk_aac bitrate: 160, channels: 2
22:52:50.372: [rtmp stream: 'adv_stream'] Connecting to RTMP URL rtmp://live-lhr03.twitch.tv/app...
22:52:51.628: [rtmp stream: 'adv_stream'] Connection to rtmp://live-lhr03.twitch.tv/app successful
22:52:51.637: ==== Streaming Start ===============================================
23:05:36.550: [rtmp stream: 'adv_stream'] User stopped the stream
23:05:36.550: Output 'adv_stream': stopping
23:05:36.551: Output 'adv_stream': Total frames output: 45883
23:05:36.551: Output 'adv_stream': Total drawn frames: 45965 (45971 attempted)
23:05:36.551: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 6 (0,0%)
23:05:36.552: ==== Streaming Stop ================================================
23:05:36.696: libfdk_aac encoder destroyed
23:05:53.869: ==== Shutting down ==================================================
23:05:53.871: Switched to scene '(null)'
23:05:53.872: xcompcap: cleanup glXReleaseTexImageEXT failed: GLXBadPixmap
23:05:53.896: pulse-input: Stopped recording from 'alsa_output.pci-0000_00_1b.0.analog-stereo.monitor'
23:05:53.896: pulse-input: Got 165585 packets with 34817773 frames
23:05:53.897: pulse-input: Stopped recording from 'alsa_input.pci-0000_00_1b.0.analog-stereo'
23:05:53.897: pulse-input: Got 79119 packets with 34818408 frames
23:05:53.897: All scene data cleared
23:05:53.897: ------------------------------------------------
23:05:53.929: X Error: GLXBadDrawable, Major opcode: 151, Minor opcode: 26, Serial: 579432
23:05:53.929: Failed to make context current.
23:05:53.929: X Error: GLXBadDrawable, Major opcode: 151, Minor opcode: 26, Serial: 579434
23:05:53.929: Failed to make context current.
23:05:53.929: Failed to fetch parent window geometry!
23:05:53.929: Failed to fetch parent window geometry!
23:05:53.929: Failed to fetch parent window geometry!
23:05:53.929: Failed to fetch parent window geometry!
23:05:53.929: X Error: BadDrawable (invalid Pixmap or Window parameter), Major opcode: 151, Minor opcode: BadLength (poly request too large or internal Xlib length error), Serial: 579439
23:05:53.930: X Error: GLXBadDrawable, Major opcode: 151, Minor opcode: BadAlloc (insufficient resources for operation), Serial: 579440
23:05:53.930: X Error: GLXBadDrawable, Major opcode: 151, Minor opcode: 26, Serial: 579442
23:05:53.930: Failed to make context current.
23:05:53.930: X Error: GLXBadDrawable, Major opcode: 151, Minor opcode: 26, Serial: 579444
23:05:53.930: Failed to make context current.
23:05:53.930: X Error: GLXBadDrawable, Major opcode: 151, Minor opcode: 26, Serial: 579446
23:05:53.930: Failed to make context current.
23:05:53.930: X Error: GLXBadDrawable, Major opcode: 151, Minor opcode: 26, Serial: 579448
23:05:53.930: Failed to make context current.
23:05:53.930: Failed to fetch parent window geometry!
23:05:53.931: X Error: BadDrawable (invalid Pixmap or Window parameter), Major opcode: 151, Minor opcode: BadLength (poly request too large or internal Xlib length error), Serial: 579450
23:05:53.931: X Error: GLXBadDrawable, Major opcode: 151, Minor opcode: BadAlloc (insufficient resources for operation), Serial: 579451
23:05:53.931: X Error: GLXBadDrawable, Major opcode: 151, Minor opcode: 26, Serial: 579453
23:05:53.931: Failed to make context current.
23:05:53.931: X Error: GLXBadDrawable, Major opcode: 151, Minor opcode: 26, Serial: 579455
23:05:53.931: Failed to make context current.
23:05:54.003: Freeing OBS context data
23:05:54.029: [Scripting] Total detached callbacks: 0
23:05:54.033: == Profiler Results =============================
23:05:54.033: run_program_init: 503,57 ms
23:05:54.033:  ┣OBSApp::AppInit: 2,733 ms
23:05:54.033:  ┃ ┗OBSApp::InitLocale: 1,633 ms
23:05:54.033:  ┗OBSApp::OBSInit: 413,315 ms
23:05:54.033:    ┣obs_startup: 17,572 ms
23:05:54.033:    ┗OBSBasic::OBSInit: 353,726 ms
23:05:54.033:      ┣OBSBasic::InitBasicConfig: 0,092 ms
23:05:54.033:      ┣OBSBasic::ResetAudio: 0,078 ms
23:05:54.033:      ┣OBSBasic::ResetVideo: 117,357 ms
23:05:54.033:      ┣OBSBasic::InitOBSCallbacks: 0,003 ms
23:05:54.033:      ┣OBSBasic::InitHotkeys: 0,037 ms
23:05:54.033:      ┣obs_load_all_modules: 88,672 ms
23:05:54.033:      ┃ ┣obs_init_module(decklink-ouput-ui.so): 0,681 ms
23:05:54.033:      ┃ ┣obs_init_module(frontend-tools.so): 62,112 ms
23:05:54.033:      ┃ ┣obs_init_module(image-source.so): 0,004 ms
23:05:54.033:      ┃ ┣obs_init_module(linux-alsa.so): 0,001 ms
23:05:54.033:      ┃ ┣obs_init_module(linux-capture.so): 0,177 ms
23:05:54.033:      ┃ ┣obs_init_module(linux-decklink.so): 0,08 ms
23:05:54.033:      ┃ ┣obs_init_module(linux-jack.so): 0,001 ms
23:05:54.033:      ┃ ┣obs_init_module(linux-pulseaudio.so): 0,001 ms
23:05:54.033:      ┃ ┣obs_init_module(linux-v4l2.so): 0 ms
23:05:54.033:      ┃ ┣obs_init_module(obs-ffmpeg.so): 0,304 ms
23:05:54.033:      ┃ ┃ ┗nvenc_check: 0,281 ms
23:05:54.033:      ┃ ┣obs_init_module(obs-filters.so): 0,009 ms
23:05:54.033:      ┃ ┣obs_init_module(obs-libfdk.so): 0 ms
23:05:54.033:      ┃ ┣obs_init_module(obs-outputs.so): 0,001 ms
23:05:54.033:      ┃ ┣obs_init_module(obs-transitions.so): 0,004 ms
23:05:54.033:      ┃ ┣obs_init_module(obs-x264.so): 0 ms
23:05:54.033:      ┃ ┣obs_init_module(rtmp-services.so): 0,361 ms
23:05:54.033:      ┃ ┣obs_init_module(text-freetype2.so): 0,005 ms
23:05:54.033:      ┃ ┗obs_init_module(vlc-video.so): 1,765 ms
23:05:54.033:      ┣OBSBasic::ResetOutputs: 0,147 ms
23:05:54.033:      ┣OBSBasic::CreateHotkeys: 0,05 ms
23:05:54.033:      ┣OBSBasic::InitService: 0,963 ms
23:05:54.033:      ┣OBSBasic::InitPrimitives: 0,256 ms
23:05:54.033:      ┗OBSBasic::Load: 62,763 ms
23:05:54.033: obs_hotkey_thread(25 ms): min=0,041 ms, median=0,12 ms, max=48,308 ms, 99th percentile=0,37 ms, 99,9872% below 25 ms
23:05:54.033: audio_thread(Audio): min=0 ms, median=0,313 ms, max=4,631 ms, 99th percentile=0,604 ms
23:05:54.033:  ┗receive_audio: min=0,002 ms, median=0,265 ms, max=0,844 ms, 99th percentile=0,485 ms
23:05:54.033:    ┣buffer_audio: min=0 ms, median=0 ms, max=0,084 ms, 99th percentile=0,001 ms
23:05:54.033:    ┗do_encode: min=0,065 ms, median=0,263 ms, max=0,841 ms, 99th percentile=0,482 ms
23:05:54.033:      ┗encode(avc_aac_stream): min=0,058 ms, median=0,255 ms, max=0,832 ms, 99th percentile=0,466 ms
23:05:54.033: obs_graphics_thread(16,6667 ms): min=0,226 ms, median=1,162 ms, max=64,575 ms, 99th percentile=1,536 ms, 99,962% below 16,667 ms
23:05:54.033:  ┣tick_sources: min=0 ms, median=0,25 ms, max=14,362 ms, 99th percentile=0,45 ms
23:05:54.033:  ┣output_frame: min=0,058 ms, median=0,607 ms, max=30,736 ms, 99th percentile=0,803 ms
23:05:54.033:  ┃ ┣gs_context(video->graphics): min=0,057 ms, median=0,242 ms, max=30,405 ms, 99th percentile=0,38 ms
23:05:54.033:  ┃ ┃ ┣render_video: min=0,003 ms, median=0,18 ms, max=11,415 ms, 99th percentile=0,28 ms
23:05:54.033:  ┃ ┃ ┃ ┣render_main_texture: min=0,001 ms, median=0,093 ms, max=11,395 ms, 99th percentile=0,147 ms
23:05:54.033:  ┃ ┃ ┃ ┣render_convert_texture: min=0,044 ms, median=0,05 ms, max=1,421 ms, 99th percentile=0,089 ms
23:05:54.033:  ┃ ┃ ┃ ┗stage_output_texture: min=0,022 ms, median=0,027 ms, max=10,5 ms, 99th percentile=0,05 ms
23:05:54.033:  ┃ ┃ ┣gs_flush: min=0 ms, median=0,003 ms, max=9,162 ms, 99th percentile=0,011 ms
23:05:54.033:  ┃ ┃ ┗download_frame: min=0 ms, median=0,002 ms, max=9,876 ms, 99th percentile=0,003 ms
23:05:54.033:  ┃ ┗output_video_data: min=0,254 ms, median=0,357 ms, max=2,129 ms, 99th percentile=0,474 ms
23:05:54.033:  ┗render_displays: min=0,034 ms, median=0,079 ms, max=39,744 ms, 99th percentile=0,317 ms
23:05:54.033: video_thread(video): min=0 ms, median=1,125 ms, max=12,381 ms, 99th percentile=1,501 ms
23:05:54.033:  ┗receive_video: min=0,892 ms, median=1,124 ms, max=12,38 ms, 99th percentile=1,499 ms
23:05:54.033:    ┗do_encode: min=0,891 ms, median=1,123 ms, max=12,379 ms, 99th percentile=1,498 ms
23:05:54.033:      ┗encode(streaming_h264): min=0,879 ms, median=1,109 ms, max=12,376 ms, 99th percentile=1,481 ms
23:05:54.033: =================================================
23:05:54.033: == Profiler Time Between Calls ==================
23:05:54.033: obs_hotkey_thread(25 ms): min=25,066 ms, median=25,191 ms, max=73,372 ms, 99,5461% within ±2% of 25 ms (0% lower, 0,453921% higher)
23:05:54.033: obs_graphics_thread(16,6667 ms): min=3,701 ms, median=16,667 ms, max=64,578 ms, 99,9198% within ±2% of 16,667 ms (0,0401098% lower, 0,0401098% higher)
23:05:54.033: =================================================
23:05:54.049: Number of memory leaks: 1
 

Lexx_BG

New Member
Where can I get 25.0.3? Arch repo has 25.0.1, the download section of OBSproject also has 25.0.1 for both Linux and Windows...
 

Tuna

Member
OBS has tagged 25.0.3. If you use Arch repositories that's where you need to ask for an update.
 

danilo-jlle

New Member
Same thing here running Manjaro x64 (OBS 25.0.1).
Only that my hotkeys for switching scenes won't save (hotkeys for start/stop/pause/resume recording saved).
I ran obs --verbose from terminal and had a segfault (core dumped) and OBS closes (see obs.txt and log atachments).
I've tested on a laptop and on a PC both running Manjaro.
Dmesg shows:
Code:
[ 6489.275435] obs[7510]: segfault at 8 ip 00007f5f50557300 sp 00007ffea8027ed8 error 4 in libQt5Widgets.so.5.14.1[7f5f50450000+3c4000]
[ 6489.275545] audit: type=1701 audit(1585355356.431:151): auid=1000 uid=1000 gid=1000 ses=3 subj==unconfined pid=7510 comm="obs" exe="/usr/bin/obs" sig=11 res=1
 

Attachments

  • 2020-03-27 21-45-22.txt
    8.3 KB · Views: 6
  • obs.txt
    5.2 KB · Views: 6
Top