ravikumar10 / genyris

Automatically exported from code.google.com/p/genyris
Other
0 stars 0 forks source link

Stack overflow excption not easy to debug. #46

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. run something with infinite regress.
*** Welcome bbirch1, Genyris version 0.6.10-b1, home /Program Files (x86)/genyri
s-0.6.10 is listening...
> def fn(i) (print i) (fn (+ i 1))
:
<EagerProc: <fn>> # EagerProcedure
> fn 1
:
~ 1
~ 2
~ 3
~ 4
What do you see?
~ 583
java.lang.StackOverflowError
        at java.util.Hashtable.get(Unknown Source)
        at java.util.Properties.getProperty(Unknown Source)
        at java.lang.System.getProperty(Unknown Source)
        at sun.security.action.GetPropertyAction.run(Unknown Source)
What is the expected output?
Would prefer to see the Genyris backtrace, so need to catch 
java.lang.StackOverflowError
 and print BT, maybe continue REPL?

Original issue reported on code.google.com by birchb1...@gmail.com on 10 Apr 2013 at 4:35

GoogleCodeExporter commented 9 years ago
Fixed in 0.6.10-1-g1664564

Original comment by birchb1...@gmail.com on 10 Apr 2013 at 1:26

GoogleCodeExporter commented 9 years ago

Original comment by birchb1...@gmail.com on 13 Apr 2013 at 8:45