Overview
| Artifact ID: | d7319938d8dd0ba32015814321a8e4c4e383f966 |
|---|---|
| Ticket: | 3166410fffffffffffffffffffffffffffffffff
"out of stack space" on AIX |
| User & Date: | nijtmans on 2011-01-27 18:03:42 |
Changes
- icomment:
How about changing the lines 1071-1073: if (stackSize || (tsdPtr->stackBound && ((stackGrowsDown && (&result < tsdPtr->stackBound)) || (!stackGrowsDown && (&result > tsdPtr->stackBound))))) { to: if (stackSize || (tsdPtr->stackBound && ((stackGrowsDown && ((&result - tsdPtr->stackBound) < 0)) || (!stackGrowsDown && ((&result - tsdPtr->stackBound) > 0))))) { That should always work, no matter that the stackBound is near the 2G bounary. I would fail when the stack grows to more than half the available memory, but that seems highly unlikely. Does that help? - login: "nijtmans"
- mimetype: "text/plain"
- username: "nijtmans"