-
Notifications
You must be signed in to change notification settings - Fork 133
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
ArrayIndexOutOfBoundsException when running more than one process in parallel #2034
Comments
Same here :-( I have some *.sc files to operate with csv files but when i start following bash command
I get the same error (but not all the time). So compilation doesn't work well in parallel. If I run commands using I am running JVM 21, scala 3.3.3 and scala-cli 1.5.4 Any workarounds? Is there the way to build *.sc file into jar file not to compile at runtime at all? |
Hmm... If |
NNN, It's working well with |
but when it doesn't work, what error are you getting? |
Same as described in the issue. I have 2 stacktraces (they are quite same but not identical):
|
Version(s)
1.0.0-RC1
and0.2.1
, under both Linux and Mac OS XDescribe the bug
When spawning more than one scala-cli process in parallel, some of the processes fail with:
To Reproduce
Given any scala-cli script, e.g:
And the following bash script which spawns the first process in the background:
It frequently exits with the following error:
The error is more likely to occur if you spawn more background processes.
Full stack trace:
Expected behaviour
Multiple concurrent scala-cli processes should reliably and successfully execute independently of other running processes.
The text was updated successfully, but these errors were encountered: