Re: [PHP-DEV] Zend Engine question

2003-10-30 Thread Wojtek Meler
Moriyoshi Koizumi wrote: Nope, it was decided long ago that the bug won't be fixed in ZE1. AFAIC there's been no definite cure so far, but perhaps it can be fixed somehow though I didn't managed to conceive anything reasonable. It seams that enabling this helps: #if 0 /* Will be fixed in ZE2, t

Re: [PHP-DEV] Zend Engine question

2003-10-30 Thread Moriyoshi Koizumi
Wojtek Meler <[EMAIL PROTECTED]> wrote: > OK, so the reason for this bug is referencing EG(uninitialized_zval) ? > I can't find place in code where it is (really big script). > Is it possible to add some code to execute loop to check if this > happens and bailout with zend_error ? I could locate t

Re: [PHP-DEV] Zend Engine question

2003-10-30 Thread Wojtek Meler
Moriyoshi Koizumi wrote: Moriyoshi Koizumi wrote: First, maybe you want to see bug #22836 (http://bugs.php.net/22836), that appears to describe the very problem you have. Probably yes. I assume that it won't be fixed in ZE1, will it? Is there any way to fix it for own risk? I saw something in zen

Re: [PHP-DEV] Zend Engine question

2003-10-29 Thread Moriyoshi Koizumi
Wojtek Meler <[EMAIL PROTECTED]> wrote: > Moriyoshi Koizumi wrote: > > >Hi, > > > >First, maybe you want to see bug #22836 (http://bugs.php.net/22836), that appears > >to describe the very problem you have. > > > Probably yes. I assume that it won't be fixed in ZE1, will it? > Is there any way t

Re: [PHP-DEV] Zend Engine question

2003-10-29 Thread Wojtek Meler
Moriyoshi Koizumi wrote: Hi, First, maybe you want to see bug #22836 (http://bugs.php.net/22836), that appears to describe the very problem you have. Probably yes. I assume that it won't be fixed in ZE1, will it? Is there any way to fix it for own risk? I saw something in zend_execute.c with co

Re: [PHP-DEV] Zend Engine question

2003-10-29 Thread Moriyoshi Koizumi
Hi, First, maybe you want to see bug #22836 (http://bugs.php.net/22836), that appears to describe the very problem you have. Secondly, you can use various custom gdb macros like printzv, printzn which are defined in .gdbinit on top of the php source tree. Moriyoshi Wojtek Meler <[EMAIL PROTEC

[PHP-DEV] Zend Engine question

2003-10-29 Thread Wojtek Meler
Are there any tools for debugging ZE? I've got a problem with huge script that at some point behave like all variables were reference to single variable. I suspect that there is something wrong with EG(uninitialized_zval). Any hints how to fight it? I've compiled it with ZEND_INTENSIVE_DEBUGGING a