-
Notifications
You must be signed in to change notification settings - Fork 13
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
pytest segfault #22
Comments
Not on Windows 10 64-bit with Fmod 2.01 (latest download as of yesterday) under Python 3.9. I am not getting this test failures either, i get one expected skip and and everything else succeeds except for the custom rolloff, but i suspect that this particular thing is broken, but i am not sure why. |
That's interesting. Here's what I'm getting, in more detail:
I reckon the segfault is a bug at FMOD's end in their 64bit Linux libraries. The differing cone orientations are stranger. After reasonable (?) rounding, it looks like on 64bit Linux the orientation is noted at [0, 0, infty] instead of [0, 1, 1]. Not sure what that's supposed to mean. Perhaps also a question for the FMOD forum? I don't think it's a problem with the Python bindings as such. |
ah, yes, I'm testing with version 2.1 of |
I would think that these are in Fmod as well, because cone_orientation is rather straightforward to bridge. |
yes, so maybe not a bug, but a breaking API change? perhaps we should ask FMOD directly then? |
forwarded the issue to FMOD: https://qa.fmod.com/t/different-cone-orientation-on-linux-and-windows/16972 |
Not sure, i was only able to find 2.01, if that's the one then yes, otherwise i can't see the download. |
apologies, I do mean 2.01 as referred to on the FMOD download page as well. In the documentation however, FMOD itself refers to a version 2.1. That's why I got confused. |
Then yes, i'm running the tests under the same version and the cone related ones definitely work. |
https://qa.fmod.com/t/different-cone-orientation-on-linux-and-windows/16972/2 <- this is interesting perhaps @tyrylu, you could have a look at this? I'd be happy to test. |
Try if the current master works. Yes, i know, we should have the CI infracture, but the current masters thesis work takes too much time. |
I'll test soon. Don't worry about the time; we're all doing this in our limited spare time. :-) |
Yes! That indeed fixes it. How great. :-) Now, we got a bit off topic here of course. The segfault is still there, but the cone_orientation stuff testing passes just fine now. I'm leaving this open to track the segfault. I'm opening a new issue to track other failing tests. Perhaps they have an equally easy fix to them. |
Running
pytest
on my system (Linux 64bit) with the latest libfmod libraries (version 2.1) results in some failed tests:but, most notably, in a consistent segfault on
The exact line where it segfaults is
pyfmodex/pyfmodex/geometry.py
Line 99 in f813ae9
I suspect this is a problem with FMOD and not with pyfmodex, but I'm wondering if others are facing the same issue?
The text was updated successfully, but these errors were encountered: