-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Fix a libuv assertion after redirect_*(::IOStream) #12144
Conversation
I'm at a loss as to why this is failing on 32bit travis. |
How does one go about getting ssh to one of the travis VMs? @tkelman or anybody else who has done that before. |
I haven't done Travis, but I suspect you send an email to their support people. AppVeyor recently added RDP functionality where you can remote into a node if needed, that's pretty well-documented too if anyone ever needs to do that. |
yep [email protected], they are on Germany tz |
When passing an IOStream to redirect_*, there was still a reference to the libuv side stream, which would be used to print errors, etc. However, since the julia side is now unreferenced, it would be gc'ed and its finalizer would take the libuv side with it, leaving the C side pointer pointing to free'd memory. Fix this by recording the IOStream as the new JL_STD* stream on the C side as well.
…ne. Might fix windows
Fix a libuv assertion after redirect_*(::IOStream)
There's a warning printed for the |
also call the julia close cleanup handler on the file pseudo-objects
When passing an IOStream to redirect_, there was still a reference
to the libuv side stream, which would be used to print errors, etc. However,
since the julia side is now unreferenced, it would be gc'ed and its finalizer
would take the libuv side with it, leaving the C side pointer pointing to free'd
memory. Fix this by recording the IOStream as the new JL_STD stream on the C
side as well.
This is the 0.4 version of #12143.