php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58790 any Anonymous function generates segmentation fault
Submitted: 2009-08-04 08:47 UTC Modified: 2009-08-05 21:18 UTC
From: asmir at lignano dot it Assigned:
Status: Closed Package: APC (PECL)
PHP Version: 5_3 CVS-2009-08-04 (dev) OS: Slackware
Private report: No CVE-ID: None
 [2009-08-04 08:47 UTC] asmir at lignano dot it
Description:
------------
i'm using php 5.3.0 with apc 
any anonymous function generates segmentation fault.


Reproduce code:
---------------
<?php

$f = function(){

};
?>




Expected result:
----------------
normal termination without errors

Actual result:
--------------
(gdb) bt
#0  0x00000000 in ?? ()
#1  0xb742c4d8 in execute (op_array=0x8348ff4) at /usr/local/src/php-5.3.0/Zend/zend_vm_execute.h:104
#2  0xb740d033 in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /usr/local/src/php-5.3.0/Zend/zend.c:1188
#3  0xb73c09a4 in php_execute_script (primary_file=0xbf948510) at /usr/local/src/php-5.3.0/main/main.c:2196
#4  0xb748b1dc in php_handler (r=0x85946e8) at /usr/local/src/php-5.3.0/sapi/apache2handler/sapi_apache2.c:648
#5  0x0807e33e in ap_run_handler ()
#6  0x0807ea6c in ap_invoke_handler ()
#7  0x080b67d7 in ap_internal_redirect ()
#8  0x080ea821 in handler_redirect ()
#9  0x0807e33e in ap_run_handler ()
#10 0x0807ea6c in ap_invoke_handler ()
#11 0x080b5f81 in ap_process_request ()
#12 0x080b3232 in ap_process_http_connection ()
#13 0x08085a8b in ap_run_process_connection ()
#14 0x08085e8e in ap_process_connection ()
#15 0x080eba27 in child_main ()
#16 0x080ebbd5 in make_child ()
#17 0x080ebdf1 in perform_idle_server_maintenance ()
#18 0x080ec25c in ap_mpm_run ()
#19 0x080691e2 in main ()


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-08-05 21:18 UTC] gopalv82 at yahoo dot com
Already fixed in apc-trunk in SVN
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 10:01:26 2024 UTC