Actions
Bug #9123
closedBuilds are failing with "stack overflow error" in typer
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
In Cfclerk, we are seing stack overflow errors like:
[ERROR] error: java.lang.StackOverflowError [INFO] at scala.tools.nsc.typechecker.Typers$Typer.scala$tools$nsc$typechecker$Typers$Typer$$typedInternal(Typers.scala:5379) [INFO] at scala.tools.nsc.typechecker.Typers$Typer.body$2(Typers.scala:5370) [INFO] at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5374) [INFO] at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5463) [INFO] at scala.tools.nsc.typechecker.Typers$Typer.computeType(Typers.scala:5554) [INFO] at scala.tools.nsc.typechecker.Namers$Namer.assignTypeToTree(Namers.scala:880) [INFO] at scala.tools.nsc.typechecker.Namers$Namer.valDefSig(Namers.scala:1382) [INFO] at scala.tools.nsc.typechecker.Namers$Namer.getSig$1(Namers.scala:1533) [INFO] at scala.tools.nsc.typechecker.Namers$Namer.typeSig(Namers.scala:1542) [INFO] at scala.tools.nsc.typechecker.Namers$Namer$$anonfun$monoTypeCompleter$1$$anonfun$apply$1.apply$mcV$sp(Namers.scala:782) [INFO] at scala.tools.nsc.typechecker.Namers$Namer$$anonfun$monoTypeCompleter$1$$anonfun$apply$1.apply(Namers.scala:781) [INFO] at scala.tools.nsc.typechecker.Namers$Namer$$anonfun$monoTypeCompleter$1$$anonfun$apply$1.apply(Namers.scala:781) [INFO] at scala.tools.nsc.typechecker.Namers$Namer.scala$tools$nsc$typechecker$Namers$Namer$$logAndValidate(Namers.scala:1569) [INFO] at scala.tools.nsc.typechecker.Namers$Namer$$anonfun$monoTypeCompleter$1.apply(Namers.scala:781) [INFO] at scala.tools.nsc.typechecker.Namers$Namer$$anonfun$monoTypeCompleter$1.apply(Namers.scala:773) [INFO] at scala.tools.nsc.typechecker.Namers$$anon$1.completeImpl(Namers.scala:1685) [INFO] at scala.tools.nsc.typechecker.Namers$LockingTypeCompleter$class.complete(Namers.scala:1693) [INFO] at scala.tools.nsc.typechecker.Namers$$anon$1.complete(Namers.scala:1683) [INFO] at scala.reflect.internal.Symbols$Symbol.info(Symbols.scala:1514) [INFO] at scala.reflect.internal.Symbols$Symbol.initialize(Symbols.scala:1659) [INFO] at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5008) [INFO] at scala.tools.nsc.typechecker.Typers$Typer.runTyper$1(Typers.scala:5396)
Moreover, we don't set the required Xmx, which may be why builds are sooooo slow.
Updated by François ARMAND about 8 years ago
Oh, and "-server" option is not required at all 1/ for a build and 2/ since we are requiring java 1.7.
Updated by François ARMAND about 8 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from François ARMAND to Vincent MEMBRÉ
- Pull Request set to https://github.com/Normation/rudder-parent-pom/pull/30
Updated by François ARMAND about 8 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset parent-pom|ebfc6601a2ff281107eadd82a9daa659759127b3.
Updated by Vincent MEMBRÉ about 8 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 3.1.15/14 and 3.2.8/7 which were released today.
- 3.1: Announce Changelog
- 3.2: Announce Changelog
- Download: https://www.rudder-project.org/site/get-rudder/downloads/
Actions