-
Notifications
You must be signed in to change notification settings - Fork 89
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
Segmentation fault when running examples on Ubuntu 14.04 #136
Comments
Hmm this might have something to do with not having the linux ALSA extension header bindings set up yet. We only have bindings to the general Would you mind running the I only have OS X available to me at the moment, but I'm hoping to use rust-portaudio w/ ALSA for some embedded audio stuff mid-next month which is when I was planning on having a go at this. It shouldn't be too tricky to run rust-bindgen on the necessary header and set it up (I'm happy for someone else to beat me to it). |
I can't get into the computer on which I've initially done that, but on another computer, also running Ubuntu 14.04, but running Pulseaudio, I get the same error and I get: When running non_blocking using cargo:
When running devices.rs:
When running
|
fyi, i was seeing this with debian bullseye as well, however, it seems to be resolved with |
When running the example non_blocking, I get:
When doing a stacktrace with gdb:
A similar thing happens to
blocking.rs
,saw.rs
,sine.rs
, but not ondevices.rs
orhosts.rs
.I suspect that some struct passed to the C functions isn't correct.
The text was updated successfully, but these errors were encountered: