Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 892772 - =media-video/obs-studio-29.0.0-r1 segmentation fault after starting (involving libX11)
Summary: =media-video/obs-studio-29.0.0-r1 segmentation fault after starting (involvin...
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Chiitoo
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-31 22:29 UTC by Iade Gesso
Modified: 2023-02-03 18:43 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild --info (emerge__info.txt,13.37 KB, text/plain)
2023-01-31 22:31 UTC, Iade Gesso
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Iade Gesso 2023-01-31 22:29:04 UTC
After upgrading to =media-video/obs-studio-29.0.0-r1, I cannot get OBS-Studio running. It generates a segmentation fault in libX11.so (see the attachments).

> debug: Found portal inhibitor
> debug: Attempted path: share/obs/obs-studio/locale/en-US.ini
> debug: Attempted path: /usr/share/obs/obs-studio/locale/en-US.ini
> debug: Attempted path: share/obs/obs-studio/locale.ini
> debug: Attempted path: /usr/share/obs/obs-studio/locale.ini
> debug: Attempted path: share/obs/obs-studio/locale/it-IT.ini
> debug: Attempted path: /usr/share/obs/obs-studio/locale/it-IT.ini
> info: Using preferred locale 'it-IT'
> debug: Attempted path: share/obs/obs-studio/themes/Yami.qss
> debug: Attempted path: /usr/share/obs/obs-studio/themes/Yami.qss
> info: Using EGL/X11
> info: CPU Name: Intel(R) Core(TM) i7-4900MQ CPU @ 2.80GHz
> info: CPU Speed: 3592.121MHz
> info: Physical Cores: 4, Logical Cores: 8
> info: Physical Memory: 32077MB Total, 14401MB Free
> info: Kernel Version: Linux 6.1.1-gentoo
> info: Distribution: Gentoo "2.9"
> info: Session Type: x11
> info: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.21.1
> info: Qt Version: 5.15.8 (runtime), 5.15.8 (compiled)
> info: Portable mode: false
> QMetaObject::connectSlotsByName: No matching signal for on_tbar_position_valueChanged(int)
> info: OBS 29.0.0 (linux)
> info: ---------------------------------
> info: ---------------------------------
> info: audio settings reset:
> 	samples per sec: 48000
> 	speakers:        2
> 	max buffering:   960 milliseconds
> 	buffering type:  dynamically increasing
> info: ---------------------------------
> info: Initializing OpenGL...
> info: Loading up OpenGL on adapter NVIDIA Corporation NVIDIA GeForce GTX 780M/PCIe/SSE2
> info: OpenGL loaded successfully, version 3.3.0 NVIDIA 470.161.03, 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:          Rec. 709/Full
> info: NV12 texture support not available
> info: P010 texture support not available
> info: Audio monitoring device:
> 	name: Predefinito
> 	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-output-ui.so'
> libDeckLinkAPI.so: impossibile aprire il file oggetto condiviso: File o directory non esistente
> warning: A DeckLink iterator could not be created.  The DeckLink drivers may not be installed
> warning: Failed to initialize module 'decklink.so'
> info: [pipewire] Available captures:
> info: [pipewire]     - Desktop capture
> info: [pipewire]     - Window capture
> info: [obs-browser]: Version 2.19.0
> info: [obs-browser]: CEF Version 103.0.5060.134 (runtime), 103.0.0-5060-shared-textures_143.2591+g4204d54+chromium-103.0.5060.134 (compiled)
> info: NVENC supported
> Errore di segmentazione (core dump creato)


Reproducible: Always

Steps to Reproduce:
1. Emerge =media-video/obs-studio-29.0.0-r1
2. Launch OBS-Studio
3. No GUI shown...
Actual Results:  
OBS-Studio starts but immediately crashes

Expected Results:  
Getting the OBS-Studio GUI
Comment 1 Iade Gesso 2023-01-31 22:30:02 UTC
Here the dmesg error:

> [11251.490259] obs[893140]: segfault at d8 ip 00007efd0b2ed130 sp 00007fff88f5a208 error 4 in libX11.so.6.4.0[7efd0b2db000+8a000] likely on CPU 7 (core 3, socket 0)
> [11251.490271] Code: 2e 0f 1f 84 00 00 00 00 00 90 8b 47 1c c3 66 66 2e 0f 1f 84 00 00 00 00 00 90 8b 47 74 c3 66 66 2e 0f 1f 84 00 00 00 00 00 90 <48> 8b 87 d8 00 00 00 c3 0f 1f 84 00 00 00 00 00 48 63 f6 48 c1 e6
Comment 2 Iade Gesso 2023-01-31 22:31:39 UTC
Created attachment 849580 [details]
ebuild --info
Comment 3 Chiitoo gentoo-dev 2023-02-01 13:06:12 UTC
Did it work with a previous version, with the same settings/build configuration, and if possible to try, does that version still work?

I notice the pipewire related messages, which I've not had a chance to test really aside from building with support for it enabled, but I believe I was missing something for the video capture parts when doing that, so that makes me wonder...

A backtrace via 'gdb' might be interesting, as well as trying with a clean "user profile" (that is, with no previous scenes and such already defined).
Comment 4 Chiitoo gentoo-dev 2023-02-01 16:23:59 UTC
If the backtrace mentions 'vaapi', I might guess it could be related to upstream issue [1], although I don't think we have such a package laying around (in ::gentoo).

1. https://github.com/obsproject/obs-studio/issues/8056
Comment 5 Iade Gesso 2023-02-01 19:55:39 UTC
(In reply to Chiitoo from comment #3)
> Did it work with a previous version, with the same settings/build
> configuration, and if possible to try, does that version still work?
> 
> I notice the pipewire related messages, which I've not had a chance to test
> really aside from building with support for it enabled, but I believe I was
> missing something for the video capture parts when doing that, so that makes
> me wonder...
> 
> A backtrace via 'gdb' might be interesting, as well as trying with a clean
> "user profile" (that is, with no previous scenes and such already defined).

Yes it works! If I downgrade back to 28.x version OBS-Studo works again.

I will try wiping the profile.


Iade
Comment 6 Iade Gesso 2023-02-01 20:14:32 UTC
(In reply to Chiitoo from comment #3)
> Did it work with a previous version, with the same settings/build
> configuration, and if possible to try, does that version still work?
> 
> I notice the pipewire related messages, which I've not had a chance to test
> really aside from building with support for it enabled, but I believe I was
> missing something for the video capture parts when doing that, so that makes
> me wonder...
> 
> A backtrace via 'gdb' might be interesting, as well as trying with a clean
> "user profile" (that is, with no previous scenes and such already defined).

UPDATE: Wiping profile didn't help...

Iade
Comment 7 Iade Gesso 2023-02-01 20:22:04 UTC
(In reply to Chiitoo from comment #4)
> If the backtrace mentions 'vaapi', I might guess it could be related to
> upstream issue [1], although I don't think we have such a package laying
> around (in ::gentoo).
> 
> 1. https://github.com/obsproject/obs-studio/issues/8056

Bingo! This was the root issue :) THX


Iade
Comment 8 Chiitoo gentoo-dev 2023-02-01 20:48:40 UTC
(In reply to Iade Gesso from comment #7)
> (In reply to Chiitoo from comment #4)
> > If the backtrace mentions 'vaapi', I might guess it could be related to
> > upstream issue [1], although I don't think we have such a package laying
> > around (in ::gentoo).
> > 
> > 1. https://github.com/obsproject/obs-studio/issues/8056
> 
> Bingo! This was the root issue :) THX
> 
> 
> Iade

Thanks!

Did you have a package for it installed from an overlay or something?
Comment 9 Iade Gesso 2023-02-01 21:42:01 UTC
(In reply to Chiitoo from comment #8)
> (In reply to Iade Gesso from comment #7)
> > (In reply to Chiitoo from comment #4)
> > > If the backtrace mentions 'vaapi', I might guess it could be related to
> > > upstream issue [1], although I don't think we have such a package laying
> > > around (in ::gentoo).
> > > 
> > > 1. https://github.com/obsproject/obs-studio/issues/8056
> > 
> > Bingo! This was the root issue :) THX
> > 
> > 
> > Iade
> 
> Thanks!
> 
> Did you have a package for it installed from an overlay or something?

Yes it was in my local overlay and I forgot to have it installed.


Iade
Comment 10 Chiitoo gentoo-dev 2023-02-03 18:43:18 UTC
Alrighty, will close this up since I don't think there is anything for us to do here.

Closing as cantfix as it's something that should be fixed upstream, which at this time will not do that for this particular configuration.

Thank you for the report!