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 ronaldoussoren
Recipients brett.cannon, larry, ronaldoussoren
Date 2013-05-28.10:23:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1369736618.14.0.0992213959134.issue18075@psf.upfronthosting.co.za>
In-reply-to
Content
I can confirm the problem. It appears to be a stack overflow, when I increase the stack size of the main thead (by adding "-Wl,-stack_size,2faf000" to the link command for BUILDPYTHON) the crash in test_json goes away.

Appearently the default maximum stack size isn't large enough for the default value of the recursion limit.

An easy workaround (fix?) would be to add -Wl,-stack_size,VALUE to the link flags on OSX, for some sane value of VALUE. The value is the maximum size of the stack of the main thread and doesn't affect process size unless a process actually uses more stack space. It does affect the available free address space, and hence the maximum stack size shouldn't be increased too far (especially for 32-bit builds)
History
Date User Action Args
2013-05-28 10:23:38ronaldoussorensetrecipients: + ronaldoussoren, brett.cannon, larry
2013-05-28 10:23:38ronaldoussorensetmessageid: <1369736618.14.0.0992213959134.issue18075@psf.upfronthosting.co.za>
2013-05-28 10:23:38ronaldoussorenlinkissue18075 messages
2013-05-28 10:23:37ronaldoussorencreate