-
Notifications
You must be signed in to change notification settings - Fork 337
EnumDesktopWindows example crashing in ffi 1.9.25 #649
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
Comments
#302 similar bug |
Thank you for analysis! I can repro this issue. It also fails with our test suite:
|
larskanis
added a commit
to larskanis/libffi
that referenced
this issue
Jan 24, 2019
The stack pointer has been incorrectly restored after a closure call. The issue came up at ruby-ffi: ffi/ffi#649 Patch by Alexander Mitin. Fixes libffi#215
This was referenced Jan 24, 2019
This issue is fixed in ffi-1.11.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In the WIndows-10 ffi crashin when i run EnumDesktopWindows from wiki i have got "[BUG] Segmentation fault". ffi - 1.9.25 x86-mingw32, ruby 2.5.1p57 (2018-03-29 revision 63029) [i386-mingw32]. Here is sample code and crash information
Samples here ....
Ruby v2.1 and v2.2 haven't tested.
From v1.9.4 up to 1.9.18, ffi working fine in the same Ruby versions as above, excluded Ruby v2.5. ffi less than v1.9.21 does not compatible with Ruby 2.5.
The text was updated successfully, but these errors were encountered: