Bug #60758 [Nab->Asn]: require() crashes Apache

From: Date: Thu, 08 Mar 2012 23:59:43 +0000
Subject: Bug #60758 [Nab->Asn]: require() crashes Apache
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-168288@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=60758&edit=1

 ID:                 60758
 Updated by:         pajoye@php.net
 Reported by:        bugzilla33 at gmail dot com
 Summary:            require() crashes Apache
-Status:             Not a bug
+Status:             Assigned
 Type:               Bug
 Package:            Reproducible crash
 Operating System:   Windows
 PHP Version:        5.4.0RC5
-Assigned To:        
+Assigned To:        dmitry
 Block user comment: N
 Private report:     N

 New Comment:

hi Dmitry,

Seems that we have it back :P


Previous Comments:
------------------------------------------------------------------------
[2012-03-08 18:53:57] mmoreno at pobox dot com

I've confirmed this problem has NOT been fixed using this snapshot (2012-03-08):
http://windows.php.net/downloads/snaps/php-5.3/r324022/php-5.3-ts-windows-vc9-x86-
r324022.zip

------------------------------------------------------------------------
[2012-03-07 20:55:41] pajoye@php.net

It is already fixed in svn, use a snapshot if you like to confirm it. 5.3.11 will 
have the fix (5.4.0 has it).

------------------------------------------------------------------------
[2012-03-07 20:50:41] chris at deskpro dot com

I can also report this problem still exists in PHP 5.3.10 - Windows 7 64 bit with distro from http://www.wampserver.com/en/ - arises when loading
Symfony: https://github.com/symfony/symfony/issues/3216

------------------------------------------------------------------------
[2012-02-08 17:30:04] mmoreno at pobox dot com

I too am experiencing this same problem on 5.3.10 running on Windows 2008 SP2.  I have also
confirmed that this is crashing when trying to include() a file that happens to be exactly 4096
bytes.

Can you explain how this is "has already been fixed" and/or "is a different
issue"?  Am I missing something?  Unfortunately, I don't have the means to build and test
a snapshot.


Full Call Stack



Function     Arg 1     Arg 2     Arg 3     Arg 4   Source 
php5ts!lex_scan+d12     0363e348     027adb48     027adb48     0363e374  
c:\php-sdk\snap_5_3\vc9\x86\php-5.3.10-ts\zend\zend_language_scanner.c @ 2507 + 12 
php5ts!zendlex+4e     0363e340     027adb48     06826510     027adb48  
c:\php-sdk\snap_5_3\vc9\x86\php-5.3.10-ts\zend\zend_compile.c @ 4975 + b 
php5ts!zendparse+1d4     027adb48     06826510     00000002     00000040  
c:\php-sdk\snap_5_3\vc9\x86\php-5.3.10-ts\zend\zend_language_parser.c @ 3285 + b 
php5ts!compile_file+e4     0363f99c     00000008     027adb00     027adb48  
c:\php-sdk\snap_5_3\vc9\x86\php-5.3.10-ts\zend\zend_language_scanner.l @ 365 
php5ts!phar_compile_file+1e6     0363f99c     00000008     027adb48     027adb48  
c:\php-sdk\snap_5_3\vc9\x86\php-5.3.10-ts\ext\phar\phar.c @ 3393 + 1b 
php5ts!ZEND_INCLUDE_OR_EVAL_SPEC_CV_HANDLER+251     040d6eb8     0363fab4     027adb48     03b70124 
 c:\php-sdk\snap_5_3\vc9\x86\php-5.3.10-ts\zend\zend_vm_execute.h @ 22510 
php5ts!execute+2e8     041e7fb0     027adb01     027adb48     052690a0  
c:\php-sdk\snap_5_3\vc9\x86\php-5.3.10-ts\zend\zend_vm_execute.h @ 107 + a 
php5ts!zend_call_function+862     00000000     0363faa0     03b70280     00000000  
c:\php-sdk\snap_5_3\vc9\x86\php-5.3.10-ts\zend\zend_execute_api.c @ 969 + 1b 
php5ts!zif_call_user_func_array+63     00000002     06623018     00000000     00000000  
c:\php-sdk\snap_5_3\vc9\x86\php-5.3.10-ts\ext\standard\basic_functions.c @ 4803 + 18 
php5ts!zend_do_fcall_common_helper_SPEC+920     03b70280     027adb00     027adb48     03b70280  
c:\php-sdk\snap_5_3\vc9\x86\php-5.3.10-ts\zend\zend_vm_execute.h @ 320 + 41 
php5ts!ZEND_DO_FCALL_SPEC_CONST_HANDLER+11a     027adb48     0363fbb8     00000000     0363fe44  
c:\php-sdk\snap_5_3\vc9\x86\php-5.3.10-ts\zend\zend_vm_execute.h @ 1640 + e 
php5ts!execute+2e8     03b3e5e0     027adb00     027adb48     00000000  
c:\php-sdk\snap_5_3\vc9\x86\php-5.3.10-ts\zend\zend_vm_execute.h @ 107 + a 
php5ts!zend_execute_scripts+fe     00000008     027adb48     00000000     00000003  
c:\php-sdk\snap_5_3\vc9\x86\php-5.3.10-ts\zend\zend.c @ 1237 
php5ts!php_execute_script+24c     0363fe44     027adb48     00000005     018a416c  
c:\php-sdk\snap_5_3\vc9\x86\php-5.3.10-ts\main\main.c @ 2308 + 12 
php5apache2_2!php_handler+634     0268f050     0268f050     018a4ce0     6eecd540  
c:\php-sdk\snap_5_3\vc9\x86\php-5.3.10-ts\sapi\apache2handler\sapi_apache2.c @ 669 + e 
libhttpd!ap_run_handler+25

------------------------------------------------------------------------
[2012-02-06 08:11:42] hannes at dorn dot cc

Ups, sorry, 4096 byte require bug still exists in 5.3.10

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=60758


-- 
Edit this bug report at https://bugs.php.net/bug.php?id=60758&edit=1


Thread (21 messages)

« previous php.bugs (#168288) next »