OBS ICE default IO error handler doing an exit()

Hello,

I did post about this on the OBS forum, but no responses so far.

OBS was working, but now it dies. I launched in a terminal and the launch ended with a segmentation fault and ICE default IO error handler doing an exit()

I found this in journalctl:

Jul 25 18:06:52 lee-pc audit[3316]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=3 pid=3316 comm=6C69626F62733A2067726170686963 exe="/usr/bin/obs" sig=11 res=1
Jul 25 18:06:52 lee-pc kernel: libobs: graphic[3328]: segfault at 10 ip 00007fea2d30d424 sp 00007fe9ecf7a138 error 4 in libpthread-2.33.so[7fea2d309000+f000]
Jul 25 18:06:52 lee-pc kernel: Code: ba 45 02 00 00 48 8d 35 e4 b1 00 00 48 8d 3d 10 b2 00 00 e8 de c2 ff ff e8 69 c2 ff ff 66 0f 1f 84 00 00 00 00 00 f3 0f 1e fa <8b> 47 10 89 c2 81 e2 7f 01 00 00 90 83 e0 7c 75 7b 53 48 83 ec 10
Jul 25 18:06:52 lee-pc kernel: audit: type=1701 audit(1627207612.743:215): auid=1000 uid=1000 gid=1000 ses=3 pid=3316 comm=6C69626F62733A2067726170686963 exe="/usr/bin/obs" sig=11 res=1
Jul 25 18:06:52 lee-pc audit: BPF prog-id=43 op=LOAD
Jul 25 18:06:52 lee-pc audit: BPF prog-id=44 op=LOAD
Jul 25 18:06:52 lee-pc audit: BPF prog-id=45 op=LOAD
Jul 25 18:06:52 lee-pc kernel: audit: type=1334 audit(1627207612.756:216): prog-id=43 op=LOAD
Jul 25 18:06:52 lee-pc kernel: audit: type=1334 audit(1627207612.756:217): prog-id=44 op=LOAD
Jul 25 18:06:52 lee-pc kernel: audit: type=1334 audit(1627207612.756:218): prog-id=45 op=LOAD
Jul 25 18:06:52 lee-pc systemd[1]: Started Process Core Dump (PID 3348/UID 0).
Jul 25 18:06:52 lee-pc audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@2-3348-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul 25 18:06:52 lee-pc kernel: audit: type=1130 audit(1627207612.759:219): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@2-3348-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul 25 18:06:53 lee-pc systemd-coredump[3349]: [🡕] Process 3316 (obs) of user 1000 dumped core.
                                               
                                               Stack trace of thread 3328:
                                               #0  0x00007fea2d30d424 __pthread_mutex_lock (libpthread.so.0 + 0xb424)
                                               #1  0x00007fe9eed2a339 n/a (libnvidia-glcore.so.470.57.02 + 0xdda339)
                                               #2  0x00007fea094d9fa8 n/a (libGLX_nvidia.so.0 + 0x8bfa8)
                                               #3  0x00007fea1eb33f1f __glDispatchCheckMultithreaded (libGLdispatch.so.0 + 0x42f1f)
                                               #4  0x00007fea1ead744c n/a (libGLX.so.0 + 0x1944c)
                                               #5  0x00007fea18052864 n/a (libobs-opengl.so.0 + 0x9864)
                                               #6  0x00007fea2e309921 gs_enter_context (libobs.so.0 + 0x3c921)
                                               #7  0x00007fea2e37bbc0 obs_graphics_thread_loop (libobs.so.0 + 0xaebc0)
                                               #8  0x00007fea2e37d2e9 obs_graphics_thread (libobs.so.0 + 0xb02e9)
                                               #9  0x00007fea2d30b259 start_thread (libpthread.so.0 + 0x9259)
                                               #10 0x00007fea2d2345e3 __clone (libc.so.6 + 0xfe5e3)
                                               
                                               Stack trace of thread 3326:
                                               #0  0x00007fea2d1fca95 clock_nanosleep@@GLIBC_2.17 (libc.so.6 + 0xc6a95)
                                               #1  0x00007fea2d201c77 __nanosleep (libc.so.6 + 0xcbc77)
                                               #2  0x00007fea2d22ca99 usleep (libc.so.6 + 0xf6a99)
                                               #3  0x00007fea2e31af9a n/a (libobs.so.0 + 0x4df9a)
                                               #4  0x00007fea2d30b259 start_thread (libpthread.so.0 + 0x9259)
                                               #5  0x00007fea2d2345e3 __clone (libc.so.6 + 0xfe5e3)
                                               
                                               Stack trace of thread 3317:
                                               #0  0x00007fea2d229b2f __poll (libc.so.6 + 0xf3b2f)
                                               #1  0x00007fea1fedf63b n/a (libxcb.so.1 + 0xc63b)
                                               #2  0x00007fea1fee137b xcb_wait_for_event (libxcb.so.1 + 0xe37b)
                                               #3  0x00007fea1c383f21 n/a (libQt5XcbQpa.so.5 + 0x61f21)
                                               #4  0x00007fea2d767fef n/a (libQt5Core.so.5 + 0xcdfef)
                                               #5  0x00007fea2d30b259 start_thread (libpthread.so.0 + 0x9259)
                                               #6  0x00007fea2d2345e3 __clone (libc.so.6 + 0xfe5e3)
                                               
                                               Stack trace of thread 3332:
                                               #0  0x00007fea2d229b2f __poll (libc.so.6 + 0xf3b2f)
                                               #1  0x00007fea1feaa654 n/a (libpulse.so.0 + 0x33654)
                                               #2  0x00007fea1fe939a9 pa_mainloop_poll (libpulse.so.0 + 0x1c9a9)
                                               #3  0x00007fea1fe9e281 pa_mainloop_iterate (libpulse.so.0 + 0x27281)
                                               #4  0x00007fea1fe9e331 pa_mainloop_run (libpulse.so.0 + 0x27331)
                                               #5  0x00007fea1feae7fe n/a (libpulse.so.0 + 0x377fe)
                                               #6  0x00007fea1ec545cc n/a (libpulsecommon-14.2.so + 0x565cc)
                                               #7  0x00007fea2d30b259 start_thread (libpthread.so.0 + 0x9259)
                                               #8  0x00007fea2d2345e3 __clone (libc.so.6 + 0xfe5e3)
                                               
                                               Stack trace of thread 3327:
                                               #0  0x00007fea2d3178ca __futex_abstimed_wait_common64 (libpthread.so.0 + 0x158ca)
                                               #1  0x00007fea2d313ae8 __new_sem_wait_slow64.constprop.0 (libpthread.so.0 + 0x11ae8)
                                               #2  0x00007fea2e31998f n/a (libobs.so.0 + 0x4c98f)
                                               #3  0x00007fea2d30b259 start_thread (libpthread.so.0 + 0x9259)
                                               #4  0x00007fea2d2345e3 __clone (libc.so.6 + 0xfe5e3)
                                               
                                               Stack trace of thread 3316:
                                               #0  0x00007fea0825b81c n/a (libluajit-5.1.so.2 + 0x5981c)
                                               #1  0x00007fea2d1754a7 __run_exit_handlers (libc.so.6 + 0x3f4a7)
                                               #2  0x00007fea2d17564e exit (libc.so.6 + 0x3f64e)
                                               #3  0x00007fea1c239f6e n/a (libICE.so.6 + 0x6f6e)
                                               #4  0x00007fea1c23fc65 IceFlush (libICE.so.6 + 0xcc65)
                                               #5  0x00007fea1c39b68e n/a (libQt5XcbQpa.so.5 + 0x7968e)
                                               #6  0x00007fea1c39c175 n/a (libQt5XcbQpa.so.5 + 0x7a175)
                                               #7  0x00007fea1c39cc54 n/a (libQt5XcbQpa.so.5 + 0x7ac54)
                                               #8  0x00007fea1c2551a7 _SmcProcessMessage (libSM.so.6 + 0x51a7)
                                               #9  0x00007fea1c244146 IceProcessMessages (libICE.so.6 + 0x11146)
                                               #10 0x00007fea2d98a790 n/a (libQt5Core.so.5 + 0x2f0790)
                                               #11 0x00007fea2d98dc20 _ZN15QSocketNotifier9activatedE17QSocketDescriptorNS_4TypeENS_14QPrivateSignalE (libQt5Core.so.5 + 0x2f3c20)
                                               #12 0x00007fea2d98e42d _ZN15QSocketNotifier5eventEP6QEvent (libQt5Core.so.5 + 0x2f442d)
                                               #13 0x00007fea2e50fd62 _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5 + 0x15ad62)
                                               #14 0x00007fea2d9533aa _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5 + 0x2b93aa)
                                               #15 0x00007fea2d9acbee n/a (libQt5Core.so.5 + 0x312bee)
                                               #16 0x00007fea2c21d10c g_main_context_dispatch (libglib-2.0.so.0 + 0x5410c)
                                               #17 0x00007fea2c270b99 n/a (libglib-2.0.so.0 + 0xa7b99)
                                               #18 0x00007fea2c21a871 g_main_context_iteration (libglib-2.0.so.0 + 0x51871)
                                               #19 0x00007fea2d9abfd6 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x311fd6)
                                               #20 0x00007fea2d951d1c _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2b7d1c)
                                               #21 0x00007fea2d95a284 _ZN16QCoreApplication4execEv (libQt5Core.so.5 + 0x2c0284)
                                               #22 0x0000564d58a290a7 main (obs + 0x790a7)
                                               #23 0x00007fea2d15db25 __libc_start_main (libc.so.6 + 0x27b25)
                                               #24 0x0000564d58a2a37e n/a (obs + 0x7a37e)
                                               
                                               Stack trace of thread 3345:
                                               #0  0x00007fea2d3178ca __futex_abstimed_wait_common64 (libpthread.so.0 + 0x158ca)
                                               #1  0x00007fea2d311574 pthread_cond_timedwait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf574)
                                               #2  0x00007fea2d76e000 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt5Core.so.5 + 0xd4000)
                                               #3  0x00007fea2d76b4a8 n/a (libQt5Core.so.5 + 0xd14a8)
                                               #4  0x00007fea2d767fef n/a (libQt5Core.so.5 + 0xcdfef)
                                               #5  0x00007fea2d30b259 start_thread (libpthread.so.0 + 0x9259)
                                               #6  0x00007fea2d2345e3 __clone (libc.so.6 + 0xfe5e3)
                                               
                                               Stack trace of thread 3325:
                                               #0  0x00007fea2d3178ca __futex_abstimed_wait_common64 (libpthread.so.0 + 0x158ca)
                                               #1  0x00007fea2d311574 pthread_cond_timedwait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf574)
                                               #2  0x00007fea2e32e239 os_event_timedwait (libobs.so.0 + 0x61239)
                                               #3  0x00007fea2e363a05 obs_hotkey_thread (libobs.so.0 + 0x96a05)
                                               #4  0x00007fea2d30b259 start_thread (libpthread.so.0 + 0x9259)
                                               #5  0x00007fea2d2345e3 __clone (libc.so.6 + 0xfe5e3)
                                               
                                               Stack trace of thread 3318:
                                               #0  0x00007fea2d229b2f __poll (libc.so.6 + 0xf3b2f)
                                               #1  0x00007fea2c270b29 n/a (libglib-2.0.so.0 + 0xa7b29)
                                               #2  0x00007fea2c21a871 g_main_context_iteration (libglib-2.0.so.0 + 0x51871)
                                               #3  0x00007fea2c21a8c2 n/a (libglib-2.0.so.0 + 0x518c2)
                                               #4  0x00007fea2c24b2c1 n/a (libglib-2.0.so.0 + 0x822c1)
                                               #5  0x00007fea2d30b259 start_thread (libpthread.so.0 + 0x9259)
                                               #6  0x00007fea2d2345e3 __clone (libc.so.6 + 0xfe5e3)
                                               
                                               Stack trace of thread 3319:
                                               #0  0x00007fea2d229b2f __poll (libc.so.6 + 0xf3b2f)
                                               #1  0x00007fea2c270b29 n/a (libglib-2.0.so.0 + 0xa7b29)
                                               #2  0x00007fea2c21c693 g_main_loop_run (libglib-2.0.so.0 + 0x53693)
                                               #3  0x00007fea1fffe8c8 n/a (libgio-2.0.so.0 + 0x1018c8)
                                               #4  0x00007fea2c24b2c1 n/a (libglib-2.0.so.0 + 0x822c1)
                                               #5  0x00007fea2d30b259 start_thread (libpthread.so.0 + 0x9259)
                                               #6  0x00007fea2d2345e3 __clone (libc.so.6 + 0xfe5e3)
                                               
                                               Stack trace of thread 3344:
                                               #0  0x00007fea2d3178ca __futex_abstimed_wait_common64 (libpthread.so.0 + 0x158ca)
                                               #1  0x00007fea2d311574 pthread_cond_timedwait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf574)
                                               #2  0x00007fea2d76e000 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt5Core.so.5 + 0xd4000)
                                               #3  0x00007fea2d76b4a8 n/a (libQt5Core.so.5 + 0xd14a8)
                                               #4  0x00007fea2d767fef n/a (libQt5Core.so.5 + 0xcdfef)
                                               #5  0x00007fea2d30b259 start_thread (libpthread.so.0 + 0x9259)
                                               #6  0x00007fea2d2345e3 __clone (libc.so.6 + 0xfe5e3)
                                               
                                               Stack trace of thread 3346:
                                               #0  0x00007fea2d3178ca __futex_abstimed_wait_common64 (libpthread.so.0 + 0x158ca)
                                               #1  0x00007fea2d311574 pthread_cond_timedwait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf574)
                                               #2  0x00007fea2d76e000 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt5Core.so.5 + 0xd4000)
                                               #3  0x00007fea2d76b4a8 n/a (libQt5Core.so.5 + 0xd14a8)
                                               #4  0x00007fea2d767fef n/a (libQt5Core.so.5 + 0xcdfef)
                                               #5  0x00007fea2d30b259 start_thread (libpthread.so.0 + 0x9259)
                                               #6  0x00007fea2d2345e3 __clone (libc.so.6 + 0xfe5e3)
                                               
                                               Stack trace of thread 3329:
                                               #0  0x00007fea2d3178ca __futex_abstimed_wait_common64 (libpthread.so.0 + 0x158ca)
                                               #1  0x00007fea2d313ae8 __new_sem_wait_slow64.constprop.0 (libpthread.so.0 + 0x11ae8)
                                               #2  0x00007fea0827a223 n/a (libobs-scripting.so + 0x7223)
                                               #3  0x00007fea2d30b259 start_thread (libpthread.so.0 + 0x9259)
                                               #4  0x00007fea2d2345e3 __clone (libc.so.6 + 0xfe5e3)
                                               
                                               Stack trace of thread 3343:
                                               #0  0x00007fea2d3178ca __futex_abstimed_wait_common64 (libpthread.so.0 + 0x158ca)
                                               #1  0x00007fea2d311574 pthread_cond_timedwait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf574)
                                               #2  0x00007fea2d76e000 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt5Core.so.5 + 0xd4000)
                                               #3  0x00007fea2d76b4a8 n/a (libQt5Core.so.5 + 0xd14a8)
                                               #4  0x00007fea2d767fef n/a (libQt5Core.so.5 + 0xcdfef)
                                               #5  0x00007fea2d30b259 start_thread (libpthread.so.0 + 0x9259)
                                               #6  0x00007fea2d2345e3 __clone (libc.so.6 + 0xfe5e3)
Jul 25 18:06:54 lee-pc systemd[1]: systemd-coredump@2-3348-0.service: Deactivated successfully.
Jul 25 18:06:54 lee-pc kernel: audit: type=1131 audit(1627207614.063:220): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@2-3348-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul 25 18:06:54 lee-pc audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@2-3348-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul 25 18:06:54 lee-pc audit: BPF prog-id=45 op=UNLOAD
Jul 25 18:06:54 lee-pc audit: BPF prog-id=44 op=UNLOAD
Jul 25 18:06:54 lee-pc audit: BPF prog-id=43 op=UNLOAD
Jul 25 18:06:54 lee-pc kernel: audit: type=1334 audit(1627207614.283:221): prog-id=45 op=UNLOAD
Jul 25 18:06:54 lee-pc kernel: audit: type=1334 audit(1627207614.283:222): prog-id=44 op=UNLOAD
Jul 25 18:06:54 lee-pc kernel: audit: type=1334 audit(1627207614.283:223): prog-id=43 op=UNLOAD

In the terminal, OBS reports several errors that seem to be about language/locale. Here are a few examples:

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'

I’m guessing the warning are not going to affect functionality; I don’t have a Blackmagic device.
There are errors regarding pulse and v4l2:

error: pulse-input: An error occurred while getting the source info!
error: v4l2-input: Unable to open device
error: v4l2-input: Initialization failed

Any ideas where to start, please?
Thanks.

UPDATE
I removed obs-studio and its dependencies, and then reinstalled. The problem persists.
It looks like v4l2 and pulse audio are the issues as they are the only parts of the launch process that have an error.
I removed and reinstalled v4l2loopback-dkms, but that didn’t solve the problem.

Sorted it.
I eventually found the post below. obsrc did not exist, though.

$cd ~/.config
$ mv obsrc obsrc.bak
$ mv obs-studio/ obs-studio.bak/

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.