-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
move writing to REPL history file to behind a PID lock #45450
base: master
Are you sure you want to change the base?
Conversation
Looks like PID files are not getting deleted on windows.
Also:
|
I don't get these |
This seems to be a bug in our |
@vtjnash, does this look ok now? |
SGTM, though looks mildly concerning that the new test segfaulted the windows worker and causes |
Yeah, that's not great...
|
63efded
to
dd4b8c4
Compare
@vtjnash, any idea why it would crash in |
No, that is very strange. It is supposed to be stack memory there, or the constant string "ws2_32", depending on where it is failing at that line. Or the stack is smashed by that code there (missing a \0 perhaps), and the stacktrace is bogus? |
Is the situation here better now that we have similar PID locking for Manifest in Pkg? Cf JuliaLang/Pkg.jl#2793 |
dd4b8c4
to
e8a2c11
Compare
I guess let's just try CI again with a rebase |
I don't think Pkg is relevant here and I am not sure the pid file code has changed much but still interesting to rebase this. |
Is there any energy to come back to this issue and put a fix in place? I'm having frequent REPL history file contamination when having multiple Julia sessions on a Linux cluster with a shared home directory. |
Yes, I think that we should go ahead with this. |
Looks like the tests now pass on Windows!? The only failure was an OOM on 32-bit linux, but that was back in February. |
Should fix #37015