szKarlen / strongtalk

The Strongtalk source
http://code.google.com/p/strongtalk
1 stars 0 forks source link

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

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
- 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 David.Gr...@gmail.com on 26 Apr 2007 at 5:21

GoogleCodeExporter commented 9 years ago
Indeed. Reproduced here too.

Original comment by prunedt...@gmail.com on 30 Apr 2007 at 8:08

GoogleCodeExporter commented 9 years ago
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 StephenL...@gmail.com on 2 Nov 2008 at 5:07