bazukas / obs-linuxbrowser

OBS Linux Browser Plugin
GNU General Public License v2.0
502 stars 47 forks source link

Issue with release binaries on Ubuntu: libcef #103

Closed wernight closed 5 years ago

wernight commented 5 years ago

Seeing the same error as https://github.com/bazukas/obs-linuxbrowser/issues/62 on two machines running Ubuntu or Debian (Rodete) based OS.

info: ---------------------------------
info: video settings reset:
        base resolution:   1437x1092
        output resolution: 956x728
        downscale filter:  Bicubic
        fps:               60/1
        format:            NV12
info: ---------------------------------
libDeckLinkAPI.so: cannot open shared object file: No such file or directory
info: No blackmagic support
error: glTexParameteri failed, glGetError returned 0x500
error: device_load_texture (GL) failed
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: VLC found, VLC video source enabled
*** buffer overflow detected ***: obs terminated
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x70bcb)[0x7fdabf25dbcb]
/lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x37)[0x7fdabf2e61b7]
/lib/x86_64-linux-gnu/libc.so.6(+0xf72f0)[0x7fdabf2e42f0]
/usr/lib/x86_64-linux-gnu/libobs.so.0(obs_register_source_s+0x193)[0x7fdac0b00273]
/home/john/.config/obs-studio/plugins/obs-linuxbrowser/bin/64bit/libobs-linuxbrowser.so(obs_module_load+0x162)[0x7fdaa84bd20f]
/usr/lib/x86_64-linux-gnu/libobs.so.0(obs_init_module+0x54)[0x7fdac0afebe4]
/usr/lib/x86_64-linux-gnu/libobs.so.0(+0x88c54)[0x7fdac0afec54]
/usr/lib/x86_64-linux-gnu/libobs.so.0(obs_find_modules+0x43a)[0x7fdac0aff63a]
/usr/lib/x86_64-linux-gnu/libobs.so.0(obs_load_all_modules+0x1e)[0x7fdac0affe2e]
obs(_ZN8OBSBasic7OBSInitEv+0x2b7)[0x560886ed1e07]
obs(_ZN6OBSApp7OBSInitEv+0x1a2)[0x560886eb0ab2]
obs(main+0x4eb)[0x560886ea7dab]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1)[0x7fdabf20d2b1]
obs(_start+0x2a)[0x560886ea8eda]
======= Memory map: ========
wernight commented 5 years ago

Looks like it's because that distro has a very old OBS Studio.

Using Linux Browser 0.2.0 works.

Upgrading to newer OBS Studio likely also works (trying that out to check).

wernight commented 5 years ago

Confirming. I finally noted the "obs" version in the binary file name. I'd suggest to put in the release description "for OBS v22.x" or similar.