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

Examples crash under Mac OS X #94

Closed
SirVer opened this issue Feb 6, 2017 · 2 comments
Closed

Examples crash under Mac OS X #94

SirVer opened this issue Feb 6, 2017 · 2 comments

Comments

@SirVer
Copy link

SirVer commented Feb 6, 2017

This is a pristine checkout on e8bb880 (latest master). No other audio programs are running right now.

$ cargo run --release --example basic
    Finished release [optimized] target(s) in 0.0 secs
     Running `target/release/examples/basic`
-> exit code 1

$ target/release/examples/basic
zsh: segmentation fault (core dumped)  target/release/examples/basic

This is a MacBookPro Retina 15 Inch, Early 2013 with Intel Core i7 running OS X El Capitan.

@tomaka
Copy link
Collaborator

tomaka commented Feb 6, 2017

Thanks for the report, but please open an issue for cpal instead: https://github.com/tomaka/cpal
Since rodio doesn't contain any unsafe code, it can't be the cause.

@SirVer
Copy link
Author

SirVer commented Feb 7, 2017

Done: RustAudio/cpal#148

CPAL does not crash though (see the bug report). But it also does not play a sound. Maybe CPALs interface does not fulfill the safety guarantees/is unsound?

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

2 participants