Bug #53243 [Com]: Segfault on _zend_is_inconsistent

From: Date: Fri, 05 Nov 2010 11:15:29 +0000
Subject: Bug #53243 [Com]: Segfault on _zend_is_inconsistent
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-155792@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=53243&edit=1

 ID:                 53243
 Comment by:         beber at meleeweb dot net
 Reported by:        beber at meleeweb dot net
 Summary:            Segfault on _zend_is_inconsistent
 Status:             Bogus
 Type:               Bug
 Package:            Scripting Engine problem
 Operating System:   Gentoo GNU/Linux x86_64
 PHP Version:        5.3.3
 Block user comment: N

 New Comment:

I am the autor of the module and as I don't have hand on ht, I report
the bug.

How could I known ht is zero ?


Previous Comments:
------------------------------------------------------------------------
[2010-11-05 10:47:26] pajoye@php.net

Anyway, as I said earlier this code is correct, but the code calling
this function is not as it should never reach this point if the ht is
not set or consistent. Report a bug to the author of this module
instead.

------------------------------------------------------------------------
[2010-11-05 09:55:48] beber at meleeweb dot net

No, this is an apache module.

I have no hand on "ht". 

zend_alter_ini_entry("open_basedir", 13, 
"/var/www:/var/www/otis.scabb:/var/tmp:/usr/share/php", 52,
PHP_INI_SYSTEM, 
PHP_INI_STAGE_RUNTIME); is the only function I call.

------------------------------------------------------------------------
[2010-11-05 00:39:58] pajoye@php.net

Looks like it is done wrongly then. It should not happen or not be
called when ht is not set. Run your code through valgrind.

Btw, I suppose you meant a php extension, not an apache module :)

------------------------------------------------------------------------
[2010-11-05 00:12:20] beber at meleeweb dot net

I don't have. Job in done is an apache module which simply does :

zend_alter_ini_entry("open_basedir", 13,
"/var/www:/var/www/otis.scabb:/var/tmp:/usr/share/php", 52,
PHP_INI_SYSTEM, PHP_INI_STAGE_RUNTIME);

------------------------------------------------------------------------
[2010-11-05 00:09:16] pajoye@php.net

it should not reach this point if ht is not set. Do you have a script to
reproduce this crash?

------------------------------------------------------------------------


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/bug.php?id=53243


-- 
Edit this bug report at http://bugs.php.net/bug.php?id=53243&edit=1


Thread (7 messages)

« previous php.bugs (#155792) next »