Alsa Lib segfaults when built statically
alsa-project/alsa-lib issue #349 was reopened from cybersoulK:
I am building a game that uses alsa. All of my linux players segfault. This has been going for over 1 year. Alsa-lib is built statically on a ubuntu machine with the following commands:
``` git clone https://github.com/alsa-project/alsa-lib cd alsa-lib
apt-get update apt-get install libtool apt-get install make apt install autoconf
autoreconf -i ./configure --disable-shared make ```
Then i use libasound.a to build my Rust executable (On my mac machine).
I do the same process to build openssl for linux and it works great.
So There definitely is an issue when building alsa lib statically.
One of my players was able to provide me with a core dump that might be helpful to track down the fault:
<img width="770" alt="image" src="https://github.com/alsa-project/alsa-lib/assets/102260392/7390b851-47a1-4e50-a33b-e33254dddabc">
[coredump.txt](https://github.com/alsa-project/alsa-lib/files/12508784/coredump.txt)
Issue URL : https://github.com/alsa-project/alsa-lib/issues/349 Repository URL: https://github.com/alsa-project/alsa-lib
participants (1)
-
GitHub issues - reopened