Message190192
| 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:38 | ronaldoussoren | set | recipients:
+ ronaldoussoren, brett.cannon, larry |
| 2013年05月28日 10:23:38 | ronaldoussoren | set | messageid: <1369736618.14.0.0992213959134.issue18075@psf.upfronthosting.co.za> |
| 2013年05月28日 10:23:38 | ronaldoussoren | link | issue18075 messages |
| 2013年05月28日 10:23:37 | ronaldoussoren | create |
|