Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 761939 - media-video/obs-studio breaks without pulseaudio (or with alsa)
Summary: media-video/obs-studio breaks without pulseaudio (or with alsa)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Chiitoo
URL: https://github.com/obsproject/obs-stu...
Whiteboard:
Keywords: PATCH, PullRequest
Depends on:
Blocks:
 
Reported: 2020-12-27 17:36 UTC by Stefan de Konink
Modified: 2021-01-31 15:16 UTC (History)
1 user (show)

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


Attachments
Only apply patch USE=-pulseaudio (crash.patch,647 bytes, patch)
2020-12-27 17:37 UTC, Stefan de Konink
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan de Konink 2020-12-27 17:36:58 UTC
If pulseaudio is disabled, the obs-studio pulseaudio module is obviously not available. The current sourcecode has a great deficiency, which does not even search for the alsa code. Due to another programming error (if the module is not found) the application crashes.

Reproducible: Always

Steps to Reproduce:
1. USE=-pulseaudio
2. Select ALSA plugin in obs-studio, configuration
3. Crash
Comment 1 Stefan de Konink 2020-12-27 17:37:45 UTC
Created attachment 679874 [details, diff]
Only apply patch USE=-pulseaudio
Comment 2 Chiitoo gentoo-dev 2020-12-27 18:37:30 UTC
This should currently only happen with the 9999 ebuild, and it's a known issue already discussed in bug 745996 for example.

Thanks for the report though!

1. https://bugs.gentoo.org/745996
Comment 3 Larry the Git Cow gentoo-dev 2021-01-31 15:16:34 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d071aba9e0ce3f910469fd95ba391456ae23235a

commit d071aba9e0ce3f910469fd95ba391456ae23235a
Author:     Jimi Huotari <chiitoo@gentoo.org>
AuthorDate: 2021-01-31 14:15:40 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2021-01-31 15:01:55 +0000

    media-video/obs-studio: add version 26.1.2
    
    Closes: https://bugs.gentoo.org/745996
    Closes: https://bugs.gentoo.org/761939
    Package-Manager: Portage-3.0.14, Repoman-3.0.2
    Signed-off-by: Jimi Huotari <chiitoo@gentoo.org>
    Closes: https://github.com/gentoo/gentoo/pull/18883
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 media-video/obs-studio/Manifest                    |   1 +
 .../files/obs-studio-26.1.2-fix-alsa-crash.patch   |  30 ++++
 media-video/obs-studio/obs-studio-26.1.2.ebuild    | 155 +++++++++++++++++++++
 3 files changed, 186 insertions(+)