#20539 [Ctl->Csd]: PHP CLI Segmentation Fault

From: Date: Wed, 11 Dec 2002 10:25:49 +0000
Subject: #20539 [Ctl->Csd]: PHP CLI Segmentation Fault
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-27329@lists.php.net to get a copy of this message
ID: 20539 Updated by: edink@php.net Reported By: boris@penck.de -Status: Critical +Status: Closed Bug Type: Scripting Engine problem Operating System: Linux PHP Version: 4CVS-2002-11-21 (stable) New Comment: This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2002-12-09 06:09:00] sniper@php.net Date: Thu, 28 Nov 2002 19:38:38 +0100 (CET) From: Sascha Schumann <sascha@schumann.cx> To: Edin Kadribasic <edink@proventum.net> Cc: php-dev@lists.php.net Subject: Re: [PHP-DEV] Patch for bug #20539 On Thu, 28 Nov 2002, Edin Kadribasic wrote: > Forget the patch, its not working well. The problem is that with > session autostart SID constant gets defined in rinit and gets > destroyed twice. Yes, that's why I don't like to rely on internals of something which should be a black box. The constants API needs an interface for deleting entries. - Sascha ------------------------------------------------------------------------ [2002-11-28 03:55:05] sniper@php.net This crash happens when php.ini (or php-cli.ini :) contains 'session.auto_start = 1' AND 'magic_quotes_gpc = On' ------------------------------------------------------------------------ [2002-11-28 02:46:31] boris@penck.de I can't tell. Is php.ini loaded if php-cli.ini doesn't exists by default ? ------------------------------------------------------------------------ [2002-11-28 02:32:59] sniper@php.net Is that php.ini loaded by php then when this crash happens? ------------------------------------------------------------------------ [2002-11-28 02:28:09] boris@penck.de If I remove the php-cli.ini from my /usr/local/lib directory the backtrace is the same. And no - I do not have multiple php-*.ini files. One php.ini and a php-cli.ini ( since today morning ). I copied the original php.ini-dist to /usr/local/lib/php-cli.ini and everything is fine. ( I will customize the file later ) ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/20539 -- Edit this bug report at http://bugs.php.net/?id=20539&edit=1

« previous php.bugs (#27329) next »