Skip to content

Conversation

@Keno
Copy link
Member

@Keno Keno commented Jul 14, 2015

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.

@Keno
Copy link
Member Author

Keno commented Jul 14, 2015

I'm at a loss as to why this is failing on 32bit travis.

@Keno
Copy link
Member Author

Keno commented Jul 14, 2015

How does one go about getting ssh to one of the travis VMs? @tkelman or anybody else who has done that before.

@tkelman
Copy link
Contributor

tkelman commented Jul 14, 2015

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.

@carnaval
Copy link
Contributor

yep [email protected], they are on Germany tz

Keno added 2 commits July 15, 2015 19:52
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.
Keno added a commit that referenced this pull request Jul 16, 2015
Fix a libuv assertion after redirect_*(::IOStream)
@Keno Keno merged commit 70edd80 into master Jul 16, 2015
@tkelman tkelman deleted the kf/libuvredirect branch July 17, 2015 04:53
@yuyichao
Copy link
Contributor

@Keno

There's a warning printed for the spawn test recently on AppVeyor for both 32 and 64 bit and it first appears on master for the merge commit of this PR

@yuyichao yuyichao mentioned this pull request Jul 20, 2015
vtjnash added a commit that referenced this pull request Jul 20, 2015
also call the julia close cleanup handler on the file pseudo-objects
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants