segfaults with zendplatform/debugger

php.internals

Mike Bretz

20 years ago
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?
-- mike peter bretz metropolis ag / entwicklung email: m.bretz@metropolis-ag.de heinestraße 72 phone: +49-7121-348-120 d-72762 reutlingen fax: +49-7121-348-111 http://www.metropolis-ag.de/ metropolis ag. creating social internetworks.

Derick Rethans

20 years ago
On Tue, 5 Sep 2006, Mike Bretz wrote:
> 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)
Please report this to the Zend folks as the PHP team has no knowledge about the platform or their debugger. regards, Derick
-- Derick Rethans http://derickrethans.nl | http://ez.no | http://xdebug.org

Johannes Schlueter

20 years ago
Please report this to Zend. Mike Bretz wrote: