univrsal/tuna

buffer overflow - "Failed to load vlc mappings: must be an object"

jukefr opened this issue · 1 comments

Describe the bug
Crash on start of OBS 26.1.2+dfsg1-1(64bit)

logs
error: os_dlopen(libvlc.so.5->libvlc.so.5): libvlc.so.5: cannot open shared object file: No such file or directory
info: Couldn't find VLC installation, VLC video source disabled
info: [tuna] Loading v1.5.5 build time 2021.08.29 11:18
QMetaObject::connectSlotsByName: No matching signal for on_scene_changed(int)
QMetaObject::connectSlotsByName: No matching signal for on_add_source()
QMetaObject::connectSlotsByName: No matching signal for on_remove_source()
error: [tuna] Failed to load vlc mappings: must be an object
info: [tuna] Loaded 0 outputs
error: [tuna] Failed to load vlc mappings: must be an object
*** buffer overflow detected ***: terminated
(same issue with or without VLC installed, tried both)

Tried a fresh build of master locally, same result.
Tried latest github artifact, same result.
Tried latest stable release and it does not seem to be detected by OBS in any way.

To Reproduce
Steps to reproduce the behavior:

  1. Launch OBS 26.1.2+dfsg1-1(64bit) with latest tuna

Expected behavior
N/A

Screenshots
N/A

Log

logs
Failed to load module "xapp-gtk3-module"
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/Dark.qss
Attempted path: /usr/share/obs/obs-studio/themes/Dark.qss
info: CPU Name: Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz
info: CPU Speed: 4200.000MHz
info: Physical Cores: 4, Logical Cores: 8
info: Physical Memory: 64267MB Total, 58374MB Free
info: Kernel Version: Linux 5.11.0-31-generic
info: Distribution: "Ubuntu" "21.04"
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_advAudioProps_clicked()
QMetaObject::connectSlotsByName: No matching signal for on_advAudioProps_destroyed()
QMetaObject::connectSlotsByName: No matching signal for on_actionGridMode_triggered()
QMetaObject::connectSlotsByName: No matching signal for on_program_customContextMenuRequested(QPoint)
QMetaObject::connectSlotsByName: No matching signal for on_transitionRemove_clicked()
info: OBS 26.1.2+dfsg1-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 1070 Ti/PCIe/SSE2
info: OpenGL loaded successfully, version 3.3.0 NVIDIA 470.57.02, 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'
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: v4l2loopback not installed, virtual camera disabled
info: NVENC supported
info: FFMPEG VAAPI supported
warning: Failed to load 'en-US' text for module: 'v4l2sink.so'
info: VLC found, VLC video source enabled
info: [tuna] Loading v1.5.5 build time 2021.08.29 11:18
QMetaObject::connectSlotsByName: No matching signal for on_scene_changed(int)
QMetaObject::connectSlotsByName: No matching signal for on_add_source()
QMetaObject::connectSlotsByName: No matching signal for on_remove_source()
error: [tuna] Failed to load vlc mappings: must be an object
info: [tuna] Loaded 0 outputs
error: [tuna] Failed to load vlc mappings: must be an object
*** buffer overflow detected ***: terminated
“obs” terminated by signal SIGABRT (Abort)

Additional context

vlc version
VLC media player 3.0.12 Vetinari (revision 3.0.12-1-0-gd147bb5e7e)
VLC version 3.0.12 Vetinari (3.0.12-1-0-gd147bb5e7e)
Compiled by buildd on lgw01-amd64-039.buildd (Mar  9 2021 16:42:00)
Compiler: gcc version 10.2.1 20210306 (Ubuntu 10.2.1-21ubuntu1)
same with fresh build of master
info: [tuna] Loading v1.5.5 build time 2021.09.07 00:19
QMetaObject::connectSlotsByName: No matching signal for on_scene_changed(int)
QMetaObject::connectSlotsByName: No matching signal for on_add_source()
QMetaObject::connectSlotsByName: No matching signal for on_remove_source()
error: [tuna] Failed to load vlc mappings: must be an object
info: [tuna] Loaded 0 outputs
error: [tuna] Failed to load vlc mappings: must be an object
*** buffer overflow detected ***: terminated

I can't reproduce this. Can you try the latest build and make sure that you use the latest version of obs.