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

A crash in a very simple piece of code under the compiler #33

Open
GoogleCodeExporter opened this issue Sep 8, 2015 · 2 comments
Open

Comments

@GoogleCodeExporter
Copy link

- define:
! (Delta mirrorFor: #Test) classSide methodsFor: 'toy benchmarks' !
foo

| p1 p2 |
p1 := 234 @ 56.
p2 := 524 @ 766.
^ Time millisecondsToRun: [ 
10000000 timesRepeat: [ p1 + p2 ]
]! !

- Then evaluate "Test foo".  On the second evaluation (when a fully
compiled version of the method should first be used), a stack overflow
occurs.  The process stops, but the VM continues to run.

Original issue reported on code.google.com by [email protected] on 26 Apr 2007 at 5:21

@GoogleCodeExporter
Copy link
Author

Indeed. Reproduced here too.

Original comment by [email protected] on 30 Apr 2007 at 8:08

@GoogleCodeExporter
Copy link
Author

I can no longer reproduce this bug. Don't know what used to cause it but it 
seems to
have been fixed, possibly by the fix to the integer loop optimization bug that I
checked in a while ago.

Dave, If you get the chance, can you reproduce this under the latest VM and 
image? I
couldn't. If not, can we mark it as Fixed or Invalid?

Original comment by [email protected] on 2 Nov 2008 at 5:07

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

1 participant