| Summary: | obs segmentation fault at start | ||
|---|---|---|---|
| Product: | Fedora | Reporter: | alexyecu <alexyecu> |
| Component: | obs-studio | Assignee: | Momcilo Medic <fedorauser> |
| Status: | RESOLVED EOL | ||
| Severity: | enhancement | CC: | leigh123linux, mgansser, ngompa13 |
| Priority: | P1 | ||
| Version: | f34 | ||
| Hardware: | x86_64 | ||
| OS: | GNU/Linux | ||
| namespace: | |||
Hi! Can you share a bit more information on your system? (Perhaps, running "journalctl --no-hostname -k > dmesg.txt" and attaching resulting file.) For what is worth, these are the lines that should follow: ... warning: Failed to load 'en-US' text for module: 'decklink-captions.so' warning: Failed to load 'en-US' text for module: 'decklink-ouput-ui.so' libDeckLinkAPI.so: cannot open shared object file: No such file or directory warning: A DeckLink iterator could not be created. The DeckLink drivers may not be installed 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: FFMPEG VAAPI supported info: [obs-ndi] hello ! (version 4.9.1) ... Perhaps this can give you a hint of where OBS breaks. Kind regards, Momo. -- Journal begins at Sat 2021-07-10 06:32:51 MSK, ends at Sat 2021-07-10 13:24:53 MSK. -- июл 10 07:06:05 kernel: ecryptfs_encrypt_page: Error attempting to write lower page; rc = [-4] июл 10 07:06:05 kernel: ecryptfs_write_end: Error encrypting page (upper index [0x0000000000000005]) июл 10 11:06:05 kernel: Bluetooth: RFCOMM TTY layer initialized июл 10 11:06:05 kernel: Bluetooth: RFCOMM socket layer initialized июл 10 11:06:05 kernel: Bluetooth: RFCOMM ver 1.11 июл 10 11:06:12 kernel: obs[788060]: segfault at 10 ip 00007f95e434b65c sp 00007ffd346ce340 error 4 in libpython3.9.so.1.0[7f95e42ac000+1ab000] июл 10 11:06:12 kernel: Code: 87 f6 ff e9 b4 87 f6 ff 66 0f 1f 44 00 00 48 8b 15 f1 26 20 00 41 54 48 b8 ef ff ff ff ff ff ff 7f 55 53 4c 8b a2 38 02 00 00 <49> 8b 6c 24 10 48 39 c6 0f 87 aa 87 f6 ff 89 f9 48 8d 7e 10 85 c9 июл 10 11:09:15 kernel: obs[795964]: segfault at 10 ip 00007fa11de4c65c sp 00007ffef12aa100 error 4 in libpython3.9.so.1.0[7fa11ddad000+1ab000] июл 10 11:09:15 kernel: Code: 87 f6 ff e9 b4 87 f6 ff 66 0f 1f 44 00 00 48 8b 15 f1 26 20 00 41 54 48 b8 ef ff ff ff ff ff ff 7f 55 53 4c 8b a2 38 02 00 00 <49> 8b 6c 24 10 48 39 c6 0f 87 aa 87 f6 ff 89 f9 48 8d 7e 10 85 c9 Is it possible that you're running some Python plugins? This looks very much like this Hexchat bug[1]. Can you try to disable those and see if that works? (We can then decide on how and where this should be fixed. [1] https://bugzilla.redhat.com/show_bug.cgi?id=1883982 >Is it possible that you're running some Python plugins? OBS has default settings. >Can you try to disable those and see if that works? How can I do this? Nothing special in ~/.config/obs-studio/plugin_config/, rtmp-services and text-freetype2 dirs only. Perhaps if you just temporarily rename your config directory: mv .config/obs-studio .config/obs-studio.bak; obs Of course, it goes without saying to first close the OBS. That way we can see if it is some specific config that breaks it. It doesn't segment fault here. [leigh@localhost ~]$ 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/locale/en-GB.ini Attempted path: /usr/share/obs/obs-studio/locale/en-GB.ini info: Using preferred locale 'en-GB' Attempted path: share/obs/obs-studio/themes/Dark.qss Attempted path: /usr/share/obs/obs-studio/themes/Dark.qss info: CPU Name: AMD Ryzen 5 3600 6-Core Processor info: CPU Speed: 2200.000MHz info: Physical Cores: 6, Logical Cores: 12 info: Physical Memory: 32085MB Total, 11777MB Free info: Kernel Version: Linux 5.12.14-300.fc34.x86_64 info: Distribution: Fedora 34 info: Session Type: x11 info: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.20.11 info: Portable mode: false Attempted path: share/obs/obs-studio/themes/Dark/no_sources.svg Attempted path: /usr/share/obs/obs-studio/themes/Dark/no_sources.svg QMetaObject::connectSlotsByName: No matching signal for on_tbar_position_valueChanged(int) QMetaObject::connectSlotsByName: No matching signal for on_actionShowTransitionProperties_triggered() QMetaObject::connectSlotsByName: No matching signal for on_actionHideTransitionProperties_triggered() info: OBS 27.0.1 (linux) info: --------------------------------- info: --------------------------------- info: audio settings reset: samples per sec: 48000 speakers: 2 info: --------------------------------- info: Initializing OpenGL... info: Loading up OpenGL on adapter NVIDIA Corporation NVIDIA GeForce GTX 1050 Ti/PCIe/SSE2 info: OpenGL loaded successfully, version 3.3.0 NVIDIA 470.42.01, shading language 3.30 NVIDIA via Cg compiler info: --------------------------------- info: video settings reset: base resolution: 1920x1080 output resolution: 1920x1080 downscale filter: Bicubic fps: 60/1 format: NV12 YUV mode: 709/Partial info: NV12 texture support not available info: Audio monitoring device: name: Default id: default info: --------------------------------- warning: Failed to load 'en-US' text for module: 'decklink-captions.so' warning: Failed to load 'en-US' text for module: 'decklink-ouput-ui.so' warning: Failed to load 'en-GB' text for module: 'linux-alsa.so' warning: Failed to load 'en-GB' text for module: 'linux-capture.so' libDeckLinkAPI.so: cannot open shared object file: No such file or directory warning: A DeckLink iterator could not be created. The DeckLink drivers may not be installed info: No blackmagic support warning: Failed to load 'en-GB' text for module: 'linux-jack.so' warning: Failed to load 'en-GB' text for module: 'linux-pulseaudio.so' warning: v4l2loopback not installed, virtual camera disabled info: NVENC supported info: FFMPEG VAAPI supported warning: Failed to load 'en-GB' text for module: 'obs-libfdk.so' warning: Failed to load 'en-GB' text for module: 'obs-x264.so' warning: Failed to load 'en-GB' text for module: 'rtmp-services.so' 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-vst.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: decklink-ouput-ui.so info: decklink-captions.so info: --------------------------------- info: ==== Startup complete =============================================== info: All scene data cleared info: ------------------------------------------------ info: pulse-input: Server name: 'PulseAudio (on PipeWire 0.3.31) 14.0.0' info: pulse-input: Audio format: s32le, 48000 Hz, 2 channels info: pulse-input: Started recording from 'alsa_output.pci-0000_09_00.1.hdmi-stereo-extra1.monitor' info: [Loaded global audio device]: 'Desktop Audio' info: pulse-input: Server name: 'PulseAudio (on PipeWire 0.3.31) 14.0.0' info: pulse-input: Audio format: s32le, 48000 Hz, 2 channels info: pulse-input: Started recording from 'alsa_input.pci-0000_0d_00.4.analog-stereo' info: [Loaded global audio device]: 'Mic/Aux' info: Switched to scene 'Scene' info: ------------------------------------------------ info: Loaded scenes: info: - scene 'Scene': info: ------------------------------------------------ qt.qpa.xcb: QXcbConnection: XCB error: 5 (BadAtom), sequence: 1304, resource id: 0, major code: 20 (GetProperty), minor code: 0 Attempted path: share/obs/obs-studio/images/overflow.png Attempted path: /usr/share/obs/obs-studio/images/overflow.png info: adding 21 milliseconds of audio buffering, total audio buffering is now 21 milliseconds (source: Desktop Audio) info: adding 21 milliseconds of audio buffering, total audio buffering is now 42 milliseconds (source: Mic/Aux) info: ==== Shutting down ================================================== info: pulse-input: Stopped recording from 'alsa_output.pci-0000_09_00.1.hdmi-stereo-extra1.monitor' info: pulse-input: Got 391 packets with 400384 frames info: pulse-input: Stopped recording from 'alsa_input.pci-0000_0d_00.4.analog-stereo' info: pulse-input: Got 382 packets with 391168 frames info: All scene data cleared info: ------------------------------------------------ info: [Scripting] Total detached callbacks: 0 info: Freeing OBS context data info: == Profiler Results ============================= info: run_program_init: 422.973 ms info: ┣OBSApp::AppInit: 1.417 ms info: ┃ ┗OBSApp::InitLocale: 0.646 ms info: ┗OBSApp::OBSInit: 346.172 ms info: ┣obs_startup: 12.417 ms info: ┗OBSBasic::OBSInit: 303.58 ms info: ┣OBSBasic::InitBasicConfig: 0.055 ms info: ┣OBSBasic::ResetAudio: 0.113 ms info: ┣OBSBasic::ResetVideo: 82.43 ms info: ┣OBSBasic::InitOBSCallbacks: 0.003 ms info: ┣OBSBasic::InitHotkeys: 0.03 ms info: ┣obs_load_all_modules: 144.678 ms info: ┃ ┣obs_init_module(decklink-captions.so): 0.034 ms info: ┃ ┣obs_init_module(decklink-ouput-ui.so): 0.523 ms info: ┃ ┣obs_init_module(frontend-tools.so): 61.834 ms info: ┃ ┣obs_init_module(image-source.so): 0.004 ms info: ┃ ┣obs_init_module(linux-alsa.so): 0.001 ms info: ┃ ┣obs_init_module(linux-capture.so): 0.153 ms info: ┃ ┣obs_init_module(linux-decklink.so): 0.054 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): 2.237 ms info: ┃ ┣obs_init_module(obs-ffmpeg.so): 0.654 ms info: ┃ ┃ ┗nvenc_check: 0.623 ms info: ┃ ┣obs_init_module(obs-filters.so): 0.013 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.003 ms info: ┃ ┣obs_init_module(obs-vst.so): 0.001 ms info: ┃ ┣obs_init_module(obs-x264.so): 0 ms info: ┃ ┣obs_init_module(rtmp-services.so): 0.381 ms info: ┃ ┣obs_init_module(text-freetype2.so): 0.004 ms info: ┃ ┗obs_init_module(vlc-video.so): 1.724 ms info: ┣OBSBasic::ResetOutputs: 0.077 ms info: ┣OBSBasic::CreateHotkeys: 0.027 ms info: ┣OBSBasic::InitService: 0.827 ms info: ┣OBSBasic::InitPrimitives: 0.106 ms info: ┗OBSBasic::Load: 8.118 ms info: obs_hotkey_thread(25 ms): min=0.09 ms, median=0.13 ms, max=16.338 ms, 99th percentile=8.202 ms, 100% below 25 ms info: audio_thread(Audio): min=0 ms, median=0.028 ms, max=0.074 ms, 99th percentile=0.038 ms info: obs_graphics_thread(16.6667 ms): min=0.156 ms, median=0.371 ms, max=35.572 ms, 99th percentile=4.332 ms, 99.2218% below 16.667 ms info: ┣tick_sources: min=0.001 ms, median=0.003 ms, max=0.041 ms, 99th percentile=0.007 ms info: ┣output_frame: min=0.059 ms, median=0.103 ms, max=2.821 ms, 99th percentile=0.328 ms info: ┃ ┗gs_context(video->graphics): min=0.059 ms, median=0.103 ms, max=2.821 ms, 99th percentile=0.328 ms info: ┃ ┣render_video: min=0.02 ms, median=0.036 ms, max=0.27 ms, 99th percentile=0.076 ms info: ┃ ┃ ┗render_main_texture: min=0.016 ms, median=0.03 ms, max=0.257 ms, 99th percentile=0.064 ms info: ┃ ┗gs_flush: min=0.003 ms, median=0.005 ms, max=1.031 ms, 99th percentile=0.024 ms info: ┗render_displays: min=0.031 ms, median=0.183 ms, max=35.026 ms, 99th percentile=1.437 ms info: ================================================= info: == Profiler Time Between Calls ================== info: obs_hotkey_thread(25 ms): min=25.147 ms, median=25.208 ms, max=41.404 ms, 96.4809% within ±2% of 25 ms (0% lower, 3.51906% higher) info: obs_graphics_thread(16.6667 ms): min=6.777 ms, median=16.667 ms, max=35.577 ms, 97.8558% within ±2% of 16.667 ms (0.974659% lower, 1.16959% higher) info: ================================================= info: Number of memory leaks: 0 Removing of the config directory changes nothing. (In reply to alexyecu from comment #7) > Removing of the config directory changes nothing. Try sudo dnf reinstall obs-\* >sudo dnf reinstall obs-\*
Does not work. Guess there are some missed dependencies in the package: they are not in list, so they are not installed at my pc. Another variant is missing files in obs rpm-package, but looks like there are enough people who have obs working — that means all files are at their places.
|
$ 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/locale/ru-RU.ini Attempted path: /usr/share/obs/obs-studio/locale/ru-RU.ini info: Using preferred locale 'ru-RU' Attempted path: share/obs/obs-studio/themes/System.qss Attempted path: /usr/share/obs/obs-studio/themes/System.qss info: CPU Name: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz info: CPU Speed: 4000.000MHz info: Physical Cores: 4, Logical Cores: 8 info: Physical Memory: 15868MB Total, 11009MB Free info: Kernel Version: Linux 5.12.14-300.fc34.x86_64 info: Distribution: Fedora 34 info: Session Type: x11 info: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.20.11 info: Portable mode: false Attempted path: share/obs/obs-studio/themes/Dark/no_sources.svg Attempted path: /usr/share/obs/obs-studio/themes/Dark/no_sources.svg QMetaObject::connectSlotsByName: No matching signal for on_tbar_position_valueChanged(int) QMetaObject::connectSlotsByName: No matching signal for on_actionShowTransitionProperties_triggered() QMetaObject::connectSlotsByName: No matching signal for on_actionHideTransitionProperties_triggered() info: OBS 27.0.1 (linux) info: --------------------------------- info: --------------------------------- info: audio settings reset: samples per sec: 48000 speakers: 2 info: --------------------------------- info: Initializing OpenGL... info: Loading up OpenGL on adapter NVIDIA Corporation NVIDIA GeForce GTX 1660 Ti/PCIe/SSE2 info: OpenGL loaded successfully, version 3.3.0 NVIDIA 465.31, shading language 3.30 NVIDIA via Cg compiler info: --------------------------------- info: video settings reset: base resolution: 1920x1080 output resolution: 1920x1080 downscale filter: Lanczos fps: 60/1 format: NV12 YUV mode: 709/Partial info: NV12 texture support not available info: Audio monitoring device: name: По умолчанию id: default info: --------------------------------- warning: Failed to load 'en-US' text for module: 'decklink-captions.so' warning: Failed to load 'en-US' text for module: 'decklink-ouput-ui.so' Segmentation fault (core dumped) In Fedora 32 this works fine. Flatpack version starts ok.