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

Segfault on Raspberry Pi 5, no debug symbols #1282

Open
GeoffreyPlitt opened this issue Jul 8, 2024 · 0 comments
Open

Segfault on Raspberry Pi 5, no debug symbols #1282

GeoffreyPlitt opened this issue Jul 8, 2024 · 0 comments

Comments

@GeoffreyPlitt
Copy link

GeoffreyPlitt commented Jul 8, 2024

I'm getting a segfault when running sfizz_jack on my Pi 5 (Raspian 12 Lite 64-bit). It errs even when just doing --helpfull, and there are no debug symbols, so I can't get a stacktrace.

pi@raspberrypi:~ $ uname -a
Linux raspberrypi 6.6.31+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.6.31-1+rpt1 (2024-05-29) aarch64 GNU/Linux
pi@raspberrypi:~ $ sfizz_jack --helpfull
Segmentation fault

I know the device's sound card and drivers are working fine because both aplay /usr/share/sounds/alsa/Front_Center.wav and mpv --ao=jack /usr/share/sounds/alsa/Front_Center.wav result in playing a sound I can hear.

I installed sfizz with the standard steps, copied from the Raspian section of the official install page:
echo 'deb http://download.opensuse.org/repositories/home:/sfztools:/sfizz/Raspbian_12/ /' | sudo tee /etc/apt/sources.list.d/home:sfztools:sfizz.list
curl -fsSL https://download.opensuse.org/repositories/home:sfztools:sfizz/Raspbian_12/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home_sfztools_sfizz.gpg > /dev/null
sudo apt-get update
sudo apt-get install -y sfizz.

I wanted to get a backtrace gdb says No debugging symbols found in sfizz_jack, so I can't debug the segfault. How do I get debugging symbols?

@GeoffreyPlitt GeoffreyPlitt changed the title Segault on Raspberry Pi 5, no debug symbols Segfault on Raspberry Pi 5, no debug symbols Jul 8, 2024
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

1 participant