segmentation fault at to small stacksize( ulimit -s)
| From: | Hajo Locke | Date: | Thu, 02 Sep 2010 08:00:58 +0000 |
| Subject: | segmentation fault at to small stacksize( ulimit -s) | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-49556@lists.php.net to get a copy of this message | ||
Hello,
i have a question the installation-list could not solve.thus i try my luck here...
I have a script (php-cli) which results in segfault. If i increase stack size by...
ulimit -s unlimited
...the script is running and shows correct memory-limit error message.
My system's stack size default is 8192 kb
What to do if i want to avoid this segfault but not increasing stack size to unlimited because there may be other consequences?
What is the recommended way to solve this?
Thanks,
Hajo