On 4/30/06, Marshall Greenblatt <[EMAIL PROTECTED]> wrote:

Hi All,

I'm currently in the process of building an SAPI client and I'm
experiencing a
crash using PHP 5.1.2 with both the current release sources and with the
newest
snapshot (php5.1-200604301630) on the Win32 platform.  The crash happens
consistently with both the release and debug TS builds of the PHP library.

The crash seems to be caused by a corrupted CG(auto_globals) HashTable
pointer.
The zend_is_auto_global() function passes this pointer to zend_hash_find()
where it fails the IS_CONSISTENT() test. I've created a small demo
application
(see below) that duplicates this crash consistently on my platform.

I've spent two days trying to debug this problem but my knowledge of zend
internals are sorely lacking.  Any suggestions on further debugging steps
or
modifications to the test code that may resolve this crash would be
greatly
appreciated :-).

Regards,
Marshall Greenblatt



The solution to the debug-mode crashes with php5.1-200604301630 was adding
the ZEND_DEBUG compile option.  The demo application has no release-mode
crash with php5.1-200604301630 (though it does crash with php5.1.2).  Thanks
to anyone who looked at this!

Regards,
Marshall Greenblatt

Reply via email to