-
Notifications
You must be signed in to change notification settings - Fork 9
[win] decode_frames #8
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
base: main
Are you sure you want to change the base?
Conversation
|
@robertoaloi has imported this pull request. If you are a Meta employee, you can view this in D81490753. |
|
@ZeeWanderer I'm still trying to understand why this is needed on windows. E.g., is this a bug in If you try this on a windows box, what do you see: |
|
i see |
Ah, this is a good insight! In |
|
@jcpetruzza i have tried adding that and it does not solve the issue. The bug appears to be in the erl<->windows interop specifically. Any console apps by default have |
|
@ZeeWanderer Interesting, is there a bug filed for this already? I didn't find anything on the otp issue tracker. If not, could we make a small repro and file one? We can then add the link to the issue as a comment on top of your mitigation |
|
@jcpetruzza i havent found a bug filed either |
08ccd26 to
c633e6e
Compare
|
What is the status on this? |
|
The theory is that there is a bug in the windows version of OTP when a port is created on the stdin/stdout descriptors. I'd like to have a small repro of the problem on windows so that we can open an issue on OTP. With the issue open, I'm more comfortable merging this as a temporary workaround. I'm a bit blocked getting hold of a windows box where I can try this out myself, though. @ZeeWanderer if you can try to make the repro that would help: essentially, open a port like we do in |
|
|
Interesting. Of course this works as expected on linux: In |
|
added and recompiled |
|
Perfect, could I ask you to file the bug in otp, as you can provide better instructions to reproduce? (windows version, otp build info, etc) |
|
@ZeeWanderer we've been discussing this issue, and changing So edb windows support is effectively blocked until erlang/otp#10258 is resolved |
No description provided.