#21180 [Opn->Fbk]: apd (probably apd_execute ();) initiates segfault in php-cli
| From: | mj@php.net | Date: | Thu, 27 Mar 2003 13:39:14 +0000 |
| Subject: | #21180 [Opn->Fbk]: apd (probably apd_execute ();) initiates segfault in php-cli | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-14671@lists.php.net to get a copy of this message | ||
ID: 21180
Updated by: mj@php.net
Reported By: tony2001 at ua dot fm
-Status: Open
+Status: Feedback
Bug Type: PEAR related
Operating System: RH 7.3
PHP Version: 4.3.0RC4
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2002-12-25 06:32:04] tony2001 at ua dot fm
(gdb) run ./pprofp -u /usr/local/lib/php/extensions/apd/pprof.02929
Starting program: /usr/local/bin/php ./pprofp -u
/usr/local/lib/php/extensions/apd/pprof.02929
<skipped dump>
Program received signal SIGSEGV, Segmentation fault.
0x080fe6c2 in zend_get_executed_lineno () at
/root/CVS/php-4.3.0RC4/Zend/zend_execute_API.c:269
269 return active_opline->lineno;
(gdb) bt
#0 0x080fe6c2 in zend_get_executed_lineno () at
/root/CVS/php-4.3.0RC4/Zend/zend_execute_API.c:269
#1 0x4010ef78 in apd_execute () from
/usr/local/lib/php/extensions/apd.so
#2 0x080ff18e in call_user_function_ex (function_table=0x8157588,
object_pp=0x0, function_name=0x81ced2c,
retval_ptr_ptr=0xbffff0e8, param_count=0, params=0x81ca19c,
no_separation=1, symbol_table=0x0)
at /root/CVS/php-4.3.0RC4/Zend/zend_execute_API.c:557
#3 0x080feb94 in call_user_function (function_table=0x8157588,
object_pp=0x0, function_name=0x81ced2c,
retval_ptr=0xbffff120, param_count=0, params=0x81936d8) at
/root/CVS/php-4.3.0RC4/Zend/zend_execute_API.c:399
#4 0x0807e875 in user_shutdown_function_call
(shutdown_function_entry=0x81ceeb4)
at /root/CVS/php-4.3.0RC4/ext/standard/basic_functions.c:2013
#5 0x0810b800 in zend_hash_apply (ht=0x819b0b4, apply_func=0x807e834
<user_shutdown_function_call>)
at /root/CVS/php-4.3.0RC4/Zend/zend_hash.c:688
#6 0x0807eaf1 in php_call_shutdown_functions () at
/root/CVS/php-4.3.0RC4/ext/standard/basic_functions.c:2094
#7 0x080e003f in php_request_shutdown (dummy=0x0) at
/root/CVS/php-4.3.0RC4/main/main.c:924
#8 0x08121f17 in main (argc=4, argv=0xbffff8e4) at
/root/CVS/php-4.3.0RC4/sapi/cli/php_cli.c:803
#9 0x42017499 in __libc_start_main () from /lib/i686/libc.so.6
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21180&edit=1