From:             hannes dot magnusson at gmail dot com
Operating system: Linux
PHP version:      5.3CVS-2009-04-22 (CVS)
PHP Bug Type:     Reproducible crash
Bug description:  8192 bytes files crash

Description:
------------
Any 8192 byte file crashes under apach2.
Doesn't even have to have <?php tags, just as long as the file is
8192bytes.

For some reason I cannot reproduce this under CLI

Reproduce code:
---------------
- Create a file with the size of 8192
- Compile PHP as apache2 module
- Hit the file

Actual result:
--------------
#0  0xb7e69211 in memchr () from /lib/tls/i686/cmov/libc.so.6
#1  0xb733c98a in lex_scan (zendlval=0xbfb628ac) at
Zend/zend_language_scanner.l:1608
#2  0xb73635d9 in zendlex (zendlval=0xbfb628a8) at
/usr/src/php/5.3/Zend/zend_compile.c:4880
#3  0xb7335a60 in zendparse () at
/usr/src/php/5.3/Zend/zend_language_parser.c:3280
#4  0xb733bc59 in compile_file (file_handle=0xbfb62a8c, type=2) at
Zend/zend_language_scanner.l:337
#5  0xb73b05bf in ZEND_INCLUDE_OR_EVAL_SPEC_TMP_HANDLER
(execute_data=0xb86123d0) at /usr/src/php/5.3/Zend/zend_vm_execute.h:5166
#6  0xb73a0fdd in execute (op_array=0xb8719ba0) at
/usr/src/php/5.3/Zend/zend_vm_execute.h:104
#7  0xb7376a9c in zend_execute_scripts (type=8, retval=0x0, file_count=3)
at /usr/src/php/5.3/Zend/zend.c:1188
#8  0xb730ad4e in php_execute_script (primary_file=0xbfb64e44) at
/usr/src/php/5.3/main/main.c:2157
#9  0xb743596c in php_handler (r=0xb860de78) at
/usr/src/php/5.3/sapi/apache2handler/sapi_apache2.c:648
#10 0xb804330d in ap_run_handler () from /usr/sbin/apache2
#11 0xb8046f2f in ap_invoke_handler () from /usr/sbin/apache2
#12 0xb8056190 in ap_internal_redirect () from /usr/sbin/apache2
#13 0xb805620c in ap_process_request () from /usr/sbin/apache2
#14 0xb8052f78 in ?? () from /usr/sbin/apache2
#15 0xb804b6fd in ap_run_process_connection () from /usr/sbin/apache2
#16 0xb805b781 in ?? () from /usr/sbin/apache2
#17 0xb805bad9 in ?? () from /usr/sbin/apache2
#18 0xb805c830 in ap_mpm_run () from /usr/sbin/apache2
#19 0xb802e0e9 in main () from /usr/sbin/apache2


-- 
Edit bug report at http://bugs.php.net/?id=48043&edit=1
-- 
Try a CVS snapshot (PHP 5.2):        
http://bugs.php.net/fix.php?id=48043&r=trysnapshot52
Try a CVS snapshot (PHP 5.3):        
http://bugs.php.net/fix.php?id=48043&r=trysnapshot53
Try a CVS snapshot (PHP 6.0):        
http://bugs.php.net/fix.php?id=48043&r=trysnapshot60
Fixed in CVS:                        
http://bugs.php.net/fix.php?id=48043&r=fixedcvs
Fixed in CVS and need be documented: 
http://bugs.php.net/fix.php?id=48043&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=48043&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=48043&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=48043&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=48043&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=48043&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=48043&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=48043&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=48043&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=48043&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=48043&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=48043&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=48043&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=48043&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=48043&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=48043&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=48043&r=mysqlcfg

Reply via email to