Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting Segmentation Fault #52

Closed
billyjbryant opened this issue Jun 16, 2020 · 4 comments
Closed

Getting Segmentation Fault #52

billyjbryant opened this issue Jun 16, 2020 · 4 comments

Comments

@billyjbryant
Copy link

I installed obs-studio on Ubuntu 20.04 via Snapd and I am getting the following error when I attempt to run it:

billy@thor:~$ obs-studio
Qt: Session management error: None of the authentication protocols specified are supported
Attempted path: ../../data/obs-studio/locale/en-US.ini
Attempted path: ../../data/obs-studio/themes/Dark.qss
info: CPU Name: AMD FX(tm)-8350 Eight-Core Processor
info: CPU Speed: 1404.678MHz
info: Physical Cores: 4, Logical Cores: 8
info: Physical Memory: 31857MB Total, 19780MB Free
info: Kernel Version: Linux 5.4.0-37-generic
info: Distribution: "Ubuntu Core" "18"
info: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.20.8
info: Portable mode: false
Fontconfig warning: FcPattern object weight does not accept value [0 45)
Segmentation fault (core dumped)

I have attempted to uninstall and re-install. If I run with Sudo it seemingly attempts to run; however, it complains that it can't open X11 and seg-faults as well.

Not sure where to find the dump file to really figure out what is going on, and strace isn't an option because running strace on obs-studio as non-root user errors saying I need to be root.

@flexiondotorg
Copy link
Member

Please rebuild your font cache and see if that resolves the issue.

sudo fc-cache -f -v

@timClicks
Copy link

I am encountering this issue also with OBS Studio 25.0.8. Updating the font cache as suggested has not helped, unfortunately.

$ obs-studio 
Qt: Session management error: None of the authentication protocols specified are supported
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/themes/Dark.qss
Attempted path: /usr/share/obs/obs-studio/themes/Dark.qss
info: CPU Name: Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
info: CPU Speed: 3890.994MHz
info: Physical Cores: 6, Logical Cores: 6
info: Physical Memory: 15656MB Total, 7785MB Free
info: Kernel Version: Linux 5.6.0-994-generic
info: Distribution: "Ubuntu Core" "18"
info: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.20.8
info: Portable mode: false
Fontconfig warning: FcPattern object weight does not accept value [40 210)
Segmentation fault (core dumped)
$ snap info obs-studio
...
tracking:     latest/stable
refresh-date: today at 14:43 NZST
channels:
  latest/stable:    25.0.8 2020-07-02 (1090) 171MB -
  latest/candidate: 21.0.2 2019-04-09  (396) 151MB -
  latest/beta:      ↑                              
  latest/edge:      25.0.8 2020-07-01 (1090) 171MB -
installed:          25.0.8            (1090) 171MB -

@timClicks
Copy link

Adding the "really force" flag (-r) to fc-cache also does not help.

@flexiondotorg
Copy link
Member

I'll gather all segfault related feedback in issue #71. If you wish to progress this, please follow up there 👍

popey added a commit to popey/obs-studio that referenced this issue Dec 22, 2023
What's Changed

* feat: update scene switcher to 1.24.2 by @flexiondotorg in snapcrafters#49
* feat: update to composite blur 1.1.0 by @flexiondotorg in snapcrafters#50
* feat: update move transition to 2.9.7 by @flexiondotorg in snapcrafters#54
* feat: update advanced masks to 1.0.1 by @flexiondotorg in snapcrafters#51
* feat: update OBS Studio to 30.0.2 by @flexiondotorg in snapcrafters#55
* feat: update local vocal to 0.0.8 by @flexiondotorg in snapcrafters#53
* feat: update background removal to 1.1.8 by @flexiondotorg in snapcrafters#52
Full Changelog: r23344...r23356
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants