-
Notifications
You must be signed in to change notification settings - Fork 21
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
32-bit OS revealed bug #14
Labels
bug
Something isn't working
Comments
You can file an issue to lwt |
|
Once it's confirmed lwt bug, can you use |
I changed it to |
It's not badly needed but if you release a new version, can you update OPAM package as well? (I prefer to install ocamlearlybird via OPAM) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ocamlearlybird/ocaml_debug_adapter/debug_conn.ml
Lines 145 to 146 in 1780298
On 32-bit OS
Lwt_io.BE.read_int
reads-1
as-2
and checkf stack_pos = -1
fails. Seelwt
sources:https://github.com/ocsigen/lwt/blob/d791b9bd3e0ec3035796122e002d9e85408304d0/src/unix/lwt_io.ml#L1058-L1069
Using
if stack_pos < 0 then Lwt.return None
I was able to make it working although it's not a good fix (BTW under Windows x86, so Windows seems to be actually supported). Looks like alwt
bug?The text was updated successfully, but these errors were encountered: