Burgestrand / spotify

Low-level Ruby bindings for libspotify, the official Spotify C API
https://rubygems.org/gems/spotify
Other
146 stars 17 forks source link

Callbacks cause segfaults on windows #22

Open Burgestrand opened 10 years ago

Burgestrand commented 10 years ago

Noticed this when I was fixing up Burgestrand/libspotify#5. The examples work fine, as long as no callbacks were called, so the logging in example segfaults before finishing.

Not sure if it’s the casting of managed pointers into the callbacks that is causing it, or just that callbacks do not work well on windows in FFI.

Didn’t have the strength to investigate today, so it’ll have to be at another time.

Burgestrand commented 10 years ago

I did some tries on Windows a month back or so. Had the same issue. Bug is still alive. Didn't do any debugging tho.