This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author schmir
Recipients christian.heimes, facundobatista, fijal, georg.brandl, gvanrossum, schmir
Date 2008-02-07.20:59:33
SpamBayes Score 0.007472587
Marked as misclassified No
Message-id <1202417974.19.0.00699696088391.issue1881@psf.upfronthosting.co.za>
In-reply-to
Content
when I set the the stack size to 128kb on a 64bit linux with ulimit -s
128, the tests still pass (default stack size is 8192 kb).

However the following fails at recursion level 180 with a segfault:
def f(count):
    print count
    f(count+1)
f(0)

If I set the stack size to 96k, the interpreter cannot even start that
script. So this change should be pretty safe to not overwrite stack
boundaries.

Anything else I can do to get this in?
History
Date User Action Args
2008-02-07 20:59:34schmirsetspambayes_score: 0.00747259 -> 0.007472587
recipients: + schmir, gvanrossum, georg.brandl, facundobatista, fijal, christian.heimes
2008-02-07 20:59:34schmirsetspambayes_score: 0.00747259 -> 0.00747259
messageid: <1202417974.19.0.00699696088391.issue1881@psf.upfronthosting.co.za>
2008-02-07 20:59:33schmirlinkissue1881 messages
2008-02-07 20:59:33schmircreate