-
Notifications
You must be signed in to change notification settings - Fork 21
deadlock in repl using sys.process #9824
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
Comments
Imported From: https://issues.scala-lang.org/browse/SI-9824?orig=1 |
@SethTisue said: |
@som-snytt said: |
@SethTisue said: |
@adriaanm said: Welcome to Scala 2.12.1 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_112).
Type in expressions for evaluation. Or try :help.
scala> import scala.sys.process._
import scala.sys.process._
scala> println(("ls -al /" #| "grep u").!!)
drwxr-xr-x@ 11 root wheel 374 Nov 2 12:03 usr
// more stuff from my / ;-)
|
@SethTisue said: |
@som-snytt said (edited by @adriaanm on Dec 19, 2016 7:14:39 PM UTC): |
Cay reported the following program that hangs in M4 (https://groups.google.com/forum/#!topic/scala-user/CMD_oZK_4Ns)
also hangs with
-Ydelambdafy:inline
(though with the library itself is compiled with delambdafy-method -- i did not try a scala library compiled with delambdafy-inline)This also hangs in the class-based repl.
(The rest of the description duplicates #8119 parallel collections + object initialization = hang)
Also reported by cay horstmann on https://groups.google.com/forum/#!topic/scala-user/f5YJE5AB5aA
hangs in 2.12.0-M4 and current master, thread dump below. it completes with
-Ydelambdafy:inline
, or by using-Yrepl-class-based
.thread dump:
The text was updated successfully, but these errors were encountered: