[PHP-DEV] Bug #11933: array_map causes segfault From: abk <email protected>
Date: 07/06/01

From: abk <email protected>
Operating system: Debian GNU/Linux \"sid\" (kernel 2.4.5)
PHP version: 4.0.6
PHP Bug Type: Reproducible crash
Bug description: array_map causes segfault

I have a script which seems to arbitrarily crash. Removing
all uses of array_map corrects the problem, even though the
apparent point of crash isn't anywhere near a call to
array_map. I'd attach the script but it's rather long and I
don't have time to whittle it down to a minimum case.

gdb backtrace:

#0 0x4024e390 in call_user_function_ex () from
/usr/lib/apache/1.3/libphp4.so
#1 0x402967eb in php_if_array_map () from
/usr/lib/apache/1.3/libphp4.so
#2 0x40247d09 in execute () from /usr/lib/apache/1.3/libphp4.so
#3 0x40247f5c in execute () from /usr/lib/apache/1.3/libphp4.so
#4 0x40247f5c in execute () from /usr/lib/apache/1.3/libphp4.so
#5 0x4025654e in zend_execute_scripts () from
/usr/lib/apache/1.3/libphp4.so
#6 0x40268224 in php_execute_script () from
/usr/lib/apache/1.3/libphp4.so
#7 0x4026488f in apache_php_module_main () from
/usr/lib/apache/1.3/libphp4.so
#8 0x4026526e in php_restore_umask () from
/usr/lib/apache/1.3/libphp4.so
#9 0x402652aa in php_restore_umask () from
/usr/lib/apache/1.3/libphp4.so
#10 0x8054204 in ap_invoke_handler ()
#11 0x806306c in ap_some_auth_required ()
#12 0x80630c8 in ap_process_request ()
#13 0x805cc29 in ap_child_terminate ()
#14 0x805cdbc in ap_child_terminate ()
#15 0x805ced9 in ap_child_terminate ()
#16 0x805d395 in ap_child_terminate ()
#17 0x805da5d in main ()
#18 0x400e438b in __libc_start_main () from /lib/libc.so.6

-- 
Edit Bug report at: http://bugs.php.net/?id=11933&edit=1

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>