php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11933 array_map causes segfault
Submitted: 2001-07-06 10:25 UTC Modified: 2001-10-02 18:24 UTC
From: abk at avatartechnology dot com Assigned:
Status: Closed Package: Reproducible crash
PHP Version: 4.0.6 OS: Debian GNU/Linux sid (kernel 2
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: abk at avatartechnology dot com
New email:
PHP Version: OS:

 

 [2001-07-06 10:25 UTC] abk at avatartechnology dot 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-08-06 12:47 UTC] andrei@php.net
Are you running Zend optimizer by any chance?
 [2001-08-06 12:50 UTC] andy@php.net
status -> feedback
 [2001-10-02 18:24 UTC] sniper@php.net
No feedback, and can't reproduce with latest CVS.

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Jul 06 02:01:36 2025 UTC