#21180 [NEW]: apd (probably apd_execute ();) initiates segfault in php-cli
| From: | tony2001 at ua dot fm | Date: | Wed, 25 Dec 2002 12:32:04 +0000 |
| Subject: | #21180 [NEW]: apd (probably apd_execute ();) initiates segfault in php-cli | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-11832@lists.php.net to get a copy of this message | ||
From: tony2001@ua.fm
Operating system: RH 7.3
PHP version: 4.3.0RC4
PHP Bug Type: PEAR related
Bug description: apd (probably apd_execute ();) initiates segfault in php-cli
(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 bug report at http://bugs.php.net/?id=21180&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=21180&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=21180&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=21180&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=21180&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=21180&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=21180&r=support
Expected behavior: http://bugs.php.net/fix.php?id=21180&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=21180&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=21180&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=21180&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21180&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=21180&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=21180&r=isapi