Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:49556 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 6237 invoked from network); 2 Sep 2010 08:01:03 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Sep 2010 08:01:03 -0000 Authentication-Results: pb1.pair.com smtp.mail=hajo.locke@gmx.de; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=hajo.locke@gmx.de; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmx.de designates 213.165.64.23 as permitted sender) X-PHP-List-Original-Sender: hajo.locke@gmx.de X-Host-Fingerprint: 213.165.64.23 mailout-de.gmx.net Received: from [213.165.64.23] ([213.165.64.23:50745] helo=mail.gmx.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id EF/44-05865-EB95F7C4 for ; Thu, 02 Sep 2010 04:01:03 -0400 Received: (qmail invoked by alias); 02 Sep 2010 08:00:59 -0000 Received: from dd0801.kasserver.com (EHLO platz17) [85.13.143.205] by mail.gmx.net (mp011) with SMTP; 02 Sep 2010 10:00:59 +0200 X-Authenticated: #1706803 X-Provags-ID: V01U2FsdGVkX19CoykTFu1Ck5G0km0zN6rX7NpY2a98JoYOj7Evvd inN/WCpyPmJiKN Message-ID: <362E823C667645879A68E5C89A6CC5B1@nmm.local> To: Date: Thu, 2 Sep 2010 10:00:58 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5931 X-Y-GMX-Trusted: 0 Subject: segmentation fault at to small stacksize( ulimit -s) From: hajo.locke@gmx.de ("Hajo Locke") 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