-
Notifications
You must be signed in to change notification settings - Fork 110
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
Importing fido2.hid
causes Abort trap: 6
on macOS 13.6.5
#216
Comments
Could you test with 1.1.2 and see if it was an issue there as well? |
Yes, same situation: The crash is present, and it disappears if I comment |
More data points, if I do this with Apple's Sounds like a change in Python 3.12? |
Oh, and because I didn't mention it yet: This happens on shutdown – everything works fine until you end the program, at which point during cleanup and module unload it causes this error. |
FWIW, I don't see this with python.org python 3.12.7 on macOS; just a 0 exit code. |
Tested with fido2 1.1.3 and Python 3.12.2 from MacPorts on macOS 13.6.5 22G621.
The backtrace for the crash is
If I stub out the
elif sys.platform.startswith("darwin")
block inhid/__init__.py
and replace the three functions with lambdas that do nothing, this crash does not occur, so it must be caused by something infido2.hid.macos
.If I comment both
REGISTERED_READ_CALLBACK
andREMOVAL_CALLBACK
inhid/macos.py
, the crash no longer happens.The text was updated successfully, but these errors were encountered: