[Ironpython-users] IronPython, Daily Digest 6/20/2013

CodePlex no_reply at codeplex.com
Fri Jun 21 09:18:36 CEST 2013


Hi ironpython,

Here's your Daily Digest of new issues for project "IronPython".

In today's digest:ISSUES

1. [New issue] StackOverflow with continue from try..except

----------------------------------------------

ISSUES

1. [New issue] StackOverflow with continue from try..except
http://ironpython.codeplex.com/workitem/34186
User shacktoms has proposed the issue:

"We are running IronPython 2.7.3. We have been getting a StackOverflow error, which we have reduced to the attached program. It only crashes when run under ipy64, without -X:Debug.

The crash is very easy to make go away, with seemingly innocuous modifications to the program, and different builds of IronPython 2.7.2 (e.g. a debug build) produce different behavior and the program will need some modification in order to exhibit the crash. I have never seen the problem with ipy.exe, only with ipy64.exe.

But if I put this program, excon1.py, in my C:\Program Files (x86)\IronPython 2.7 folder, start a command prompt in that folder and type
ipy64 excon1.py

I see...
Process is terminated due to StackOverflowException.

It doesn't go very far before overflowing the stack. On my machine I can reduce the range(1000) to range(50) and still see the crash.

===excon1.py===
def f(j):
    raise Exception("test")

for j in range(1000):
    try:
        f(j)
    except:
        continue
    
print "finished"
"
----------------------------------------------



----------------------------------------------
You are receiving this email because you subscribed to notifications on CodePlex.

To report a bug, request a feature, or add a comment, visit IronPython Issue Tracker. You can unsubscribe or change your issue notification settings on CodePlex.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20130621/1142c7b3/attachment.html>


More information about the Ironpython-users mailing list