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

Fix a couple of segfaults on linux #2108

Merged
merged 8 commits into from
May 6, 2024
Merged

Fix a couple of segfaults on linux #2108

merged 8 commits into from
May 6, 2024

Conversation

SniperJoe
Copy link
Contributor

@SniperJoe SniperJoe commented May 5, 2024

Problem 1: unique_ptrs in matInv33 was not initialized correctly with make_unique, which led to segfaults on attempt to use nullptr.
Problem 2: VRChaperoneSetup, VRSettings and VRCompositor functions sometimes still return nullptr despite that openvr is initialized. It also leads to segfaults on attempts to use that pointers.
Problem 3: cpal sometimes uses pactl cmd line tool on linux which will not be available if pulseaudio-utils package is not installed

Copy link
Member

@zmerp zmerp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks alright, but we require someone that can test on Linux

@galister galister self-requested a review May 6, 2024 09:02
Copy link
Collaborator

@galister galister left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

works as advertised

@zmerp zmerp merged commit 1a54f01 into alvr-org:master May 6, 2024
6 checks passed
zmerp pushed a commit that referenced this pull request May 7, 2024
* lots of fixes

* remove unique_ptr from matInv33

* debug output removings

* remove unwanted formatting

* remove unwanted formatting

* fix formatting attempt

* remove cache

---------

Co-authored-by: Nikita Morozov <mornickmyl@gmail.com>
@zmerp zmerp mentioned this pull request May 7, 2024
zmerp pushed a commit that referenced this pull request May 7, 2024
* lots of fixes

* remove unique_ptr from matInv33

* debug output removings

* remove unwanted formatting

* remove unwanted formatting

* fix formatting attempt

* remove cache

---------

Co-authored-by: Nikita Morozov <mornickmyl@gmail.com>
@guysoft
Copy link

guysoft commented May 29, 2024

Also fixed issue for me #2070

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

Successfully merging this pull request may close these issues.

4 participants