Please report this to Zend.
Mike Bretz wrote:
Hello,
since yesterday I have retried to use zendplatform and it's debugger
together with zend studio. (PHP Version is 5.1.6, happened with 5.1.4 too)
We are getting a reproducable segmentation fault as follows:
Program received signal SIGSEGV, Segmentation fault.
0xb79c37db in zend_get_zval_ptr_ptr () from
/usr/lib/apache2/modules/libphp5.so
(gdb) where
#0 0xb79c37db in zend_get_zval_ptr_ptr () from
/usr/lib/apache2/modules/libphp5.so
#1 0xb79b0249 in execute () from /usr/lib/apache2/modules/libphp5.so
#2 0xb7981e7e in execute () from /usr/lib/apache2/modules/libphp5.so
#3 0xb5c7210f in ?? () from
/opt/Zend/lib/Debugger-5.2.0/php-5.1.x/ZendDebugger.so
#4 0x0865432c in ?? ()
#5 0x00000001 in ?? ()
#6 0x00000000 in ?? ()
Can not get out more information since zendplatform does not run when
php is compiled with --enable-debug.
The script I run through the debugger is:
<?
$pid = getmypid();
echo($pid);
?>
The debugger has a "watch" for a "$this->foo" entry.
With this watch setting it always crashes PHP in line 3 (the echo...).
(yes, I know I do not have an object in this code but this is not a
reason to segfault ;)
Is this a zendplatform issue or php zend engine issue? Where do you
think I should schedule a bug entry?
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php