From:             [EMAIL PROTECTED]
Operating system: Linux PPC (Yellow Dog)
PHP version:      4CVS-2003-07-01 (stable)
PHP Bug Type:     Reproducible crash
Bug description:  APD shared so crashes on startup

Description:
------------
php with apd segfaults straight on request, php without apd doesn't.
Freshly installed Yellow Dog Linux 3.0 on an ibook.

Reproduce code:
---------------
<?php phpinfo; // :-) ?>

Actual result:
--------------
Backtrace:
#0  0x0fdd7410 in strlen () at mtrace.c:200
#1  0x0fda3a20 in _IO_vfprintf (s=0x7fff9008, format=0x8 <Address 0x8 out
of bounds>, ap=0x7fff91b0) at vfprintf.c:1528
#2  0x0fdc5730 in _IO_vsnprintf (string=0x7fff8a50 "\177ÿ\220", maxlen=0,
format=0xf253324 <Address 0xf253324 out of bounds>, args=0x7fff9008) at
vsnprintf.c:130
#3  0x0f238ff0 in apd_sprintf_real (fmt=0x8 <Address 0x8 out of bounds>,
args=0x0) at /home/src/cvs/pecl/apd/apd_lib.c:208
#4  0x0f235530 in apd_pprof_fprintf (fmt=0xf253324 <Address 0xf253324 out
of bounds>) at /home/src/cvs/pecl/apd/php_apd.c:129
#5  0x0f237c58 in apd_pprof_header () at
/home/src/cvs/pecl/apd/php_apd.c:1239
#6  0x0f237d60 in zif_apd_set_pprof_trace (ht=254096164,
return_value=0x10115de8, this_ptr=0x0, return_value_used=84) at
/home/src/cvs/pecl/apd/php_apd.c:1285
#7  0x0f23661c in apd_execute_internal (execute_data_ptr=0x7fffc938,
return_value_used=0) at /home/src/cvs/pecl/apd/php_apd.c:761
#8  0x0f747d70 in execute (op_array=0x10112fb0) at
/home/src/cvs/stable/Zend/zend_execute.c:1618
#9  0x0f23653c in apd_execute (op_array=0x10112fb0) at
/home/src/cvs/pecl/apd/php_apd.c:742
#10 0x0f748fec in execute (op_array=0x1010e788) at
/home/src/cvs/stable/Zend/zend_execute.c:2177
#11 0x0f23653c in apd_execute (op_array=0x1010e788) at
/home/src/cvs/pecl/apd/php_apd.c:742
#12 0x0f738050 in zend_execute_scripts (type=8, retval=0x0, file_count=3)
at /home/src/cvs/stable/Zend/zend.c:886
#13 0x0f7091d8 in php_execute_script (primary_file=0x7ffff028) at
/home/src/cvs/stable/main/main.c:1685
#14 0x0f74b784 in apache_php_module_main (r=0xf253324,
display_source_mode=0) at
/home/src/cvs/stable/sapi/apache/sapi_apache.c:54
#15 0x0f74c620 in send_php (r=0x0, display_source_mode=0, filename=0x0) at
/home/src/cvs/stable/sapi/apache/mod_php4.c:620
#16 0x0f74c79c in send_parsed_php (r=0xf253324) at
/home/src/cvs/stable/sapi/apache/mod_php4.c:635
#17 0x1002d6d4 in ap_invoke_handler ()
#18 0x1004a374 in process_request_internal ()
#19 0x1004a3fc in ap_process_request ()
#20 0x1003e86c in child_main ()
#21 0x1003ea54 in make_child ()
#22 0x1003ec1c in startup_children ()
#23 0x1003f4bc in standalone_main ()
#24 0x1003feb0 in main ()
#25 0x0fd7104c in __libc_start_main (argc=2, ubp_av=0x7ffffad4,
ubp_ev=0x0, auxvec=0x7ffffb40, rtld_fini=0xf253324, stinfo=0x1006c7b0,
stack_on_entry=0x20)
    at ../sysdeps/powerpc/elf/libc-start.c:178


-- 
Edit bug report at http://bugs.php.net/?id=24447&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=24447&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=24447&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=24447&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=24447&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=24447&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=24447&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=24447&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=24447&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=24447&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=24447&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24447&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=24447&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=24447&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=24447&r=gnused

Reply via email to