Skip to content
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

Scalac crashes while compiling a big array #8506

Closed
scabug opened this issue Apr 15, 2014 · 3 comments
Closed

Scalac crashes while compiling a big array #8506

scabug opened this issue Apr 15, 2014 · 3 comments
Assignees
Milestone

Comments

@scabug
Copy link

scabug commented Apr 15, 2014

Declared quite large array - 10 000 elements (well, prime numbers lookup, whether n+1 is a prime). Compiler throw a lengthy error - atached in err.txt
When number of elements changed to something lower - works well.
Command used was just scalac src\MainS.scala

@scabug
Copy link
Author

scabug commented Apr 15, 2014

Imported From: https://issues.scala-lang.org/browse/SI-8506?orig=1
Reporter: Maksymilian Pawlak (maksymus007)
Affected Versions: 2.10.4
Attachments:

  • err.txt (created on Apr 15, 2014 8:53:39 PM UTC, 238231 bytes)
  • MainS.scala (created on Apr 15, 2014 8:53:39 PM UTC, 30426 bytes)

@scabug
Copy link
Author

scabug commented Apr 28, 2014

@gourlaysama said:
I can reproduce with 2.10.4, but not with 2.11.0, even with stack size to the minimum. Just to be sure, could you test with 2.11 in the exact same environment?
Anyway it looks like this recursion in typedArgs has been refactored away in 2.11.

@scabug
Copy link
Author

scabug commented May 16, 2014

@adriaanm said:
Since 2.10 is in maintenance mode, and it's fixed in 2.11.0, closing the ticket. Thanks for checking, Antoine!

@scabug scabug closed this as completed May 16, 2014
@scabug scabug added this to the 2.11.0 milestone Apr 7, 2017
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

No branches or pull requests

2 participants