Bug #11933 Updated: array_map causes segfault

From: Date: Mon, 06 Aug 2001 16:47:45 +0000
Subject: Bug #11933 Updated: array_map causes segfault
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-62310@lists.php.net to get a copy of this message
ID: 11933
Updated by: andrei
Reported By: abk@avatartechnology.com
Status: Open
Bug Type: Reproducible crash
Old Operating System: Debian GNU/Linux "sid" (kernel 2
Operating System: Debian GNU/Linux \"sid\" (kernel 2
PHP Version: 4.0.6
New Comment:

Are you running Zend optimizer by any chance?

Previous Comments:
------------------------------------------------------------------------

[2001-07-06 10:25:03] abk@avatartechnology.com

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 this bug report at http://bugs.php.net/?id=11933&edit=1



Thread (1 message)

  • andrei@php.net
  • Unknown Message
    • andrei@php.net
« previous php.dev (#62310) next »