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

Compiler crash since 2.10.0-RC1 #6556

Closed
scabug opened this issue Oct 22, 2012 · 11 comments
Closed

Compiler crash since 2.10.0-RC1 #6556

scabug opened this issue Oct 22, 2012 · 11 comments

Comments

@scabug
Copy link

scabug commented Oct 22, 2012

2.10.0-RC1 compiler crashes where 2.9.2 and 2.10.0-M7 succeed.
Did not attach error report to RC1 since I was not able to in jira.

In the attachment you can see the error report.

I will try to isolate a piece of code that still shows the crash.

@scabug
Copy link
Author

scabug commented Oct 22, 2012

Imported From: https://issues.scala-lang.org/browse/SI-6556?orig=1
Reporter: Jan van der Vorst (janvandervorst)
Affected Versions: 2.10.0-RC1
Attachments:

  • crash.txt (created on Oct 22, 2012 2:04:09 PM UTC, 35103 bytes)
  • Series.scala (created on Oct 25, 2012 12:25:37 PM UTC, 897 bytes)

@scabug
Copy link
Author

scabug commented Oct 22, 2012

@paulp said:
If you can't manage total isolation, at least give us a hint. Show us how and where Ordering[(X, Y)] is used:

[error] (compile:compile) java.lang.AssertionError: assertion failed: unexpected constructor erasure scala.math.Ordering[(X, Y)]{val $outer(): Series.this.type} for anonymous class $anon

@scabug
Copy link
Author

scabug commented Oct 24, 2012

@paulp said:
I see you attached a file; maybe it's my fault for only asking for a hint, but that's not enough of a hint. It's full of external dependencies.

@scabug
Copy link
Author

scabug commented Oct 25, 2012

Jan van der Vorst (janvandervorst) said (edited on Oct 25, 2012 12:28:29 PM UTC):
Yes you are right, so I have isolated this small piece of code (see atachment) that compiles with 2.9.2 and 2.10.0-M7 but for which the 2.10.0-RC1 compiler crashes.

@scabug
Copy link
Author

scabug commented Oct 25, 2012

@paulp said:
This regressed in scala/scala@e171d6d969

@scabug
Copy link
Author

scabug commented Oct 25, 2012

@paulp said:
Promoting to blocker as a regression against both 2.9.2 and M7.

@scabug
Copy link
Author

scabug commented Oct 29, 2012

@adriaanm said:
This regressed due to a fix for valueclasses (see the commit Paul mentioned)

@scabug
Copy link
Author

scabug commented Oct 30, 2012

@odersky said:
scala/scala#1539

@scabug
Copy link
Author

scabug commented Oct 30, 2012

@adriaanm said (edited on Oct 30, 2012 8:41:07 PM UTC):
workaround in scala/scala#1542 (squashed version of 1539)

lowering priority to critical and retargetting to 2.10.x for proper fix

@scabug
Copy link
Author

scabug commented Jan 8, 2013

@retronym said:
Looks like this was cleared up with the fix for #6648 (scala/scala#1615).

I'll revert the logging to an assertion.

scala/scala#1868

@scabug
Copy link
Author

scabug commented Jan 26, 2013

@retronym said:
Changed the 'Fix version' back to 2.10.0, which is when we shipped the workaround.

The ticket remains open until scala/scala#1868 is merged, which will remove the now-obsolete workaround for 2.11.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants