segfaults with zendplatform/debugger
| From: | Mike Bretz | Date: | Tue, 05 Sep 2006 11:24:28 +0000 |
| Subject: | segfaults with zendplatform/debugger | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-25523@lists.php.net to get a copy of this message | ||
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.