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

 ID:                 61568
 User updated by:    login dot naitsirch at arcor dot de
 Reported by:        login dot naitsirch at arcor dot de
 Summary:            PHP crashes while including classes without any
                     error message or log
 Status:             Open
 Type:               Bug
 Package:            Reproducible crash
 Operating System:   Win 7 (x64)
 PHP Version:        5.3.10
 Block user comment: N
 Private report:     N

 New Comment:

Hi.
display_errors is On and PHP crashes also if I only include the 
InvoiceProcessor.php.
The point is that the script does not only exit because of any error. It really 
crashes. You can see a screenshot here 
http://www.abload.de/img/php-erroryvk88.png

I found out that a Windows event report is created.

Application Error
Name der fehlerhaften Anwendung: php.exe, Version: 5.3.10.0, Zeitstempel: 
0x4f2ae50c
Name des fehlerhaften Moduls: php5ts.dll, Version: 5.3.10.0, Zeitstempel: 
0x4f2ae5d1
Ausnahmecode: 0xc0000005
Fehleroffset: 0x000a3b02
ID des fehlerhaften Prozesses: 0x1b70
Startzeit der fehlerhaften Anwendung: 0x01cd1264a473718d
Pfad der fehlerhaften Anwendung: C:\Program Files (x86)\PHP\php.exe
Pfad des fehlerhaften Moduls: C:\Program Files (x86)\PHP\php5ts.dll
Berichtskennung: e2bf8482-7e57-11e1-926f-e06995696037

Sorry, it is in German because I have the German Win7 edition


Previous Comments:
------------------------------------------------------------------------
[2012-04-04 10:09:52] reeze dot xia at gmail dot com

Hi, naitsirch:
   I did't reproduce it in PHP5.3. I've notice that, those two files really do 
nothing but declare classes. "Product.php would Fatal because of 
"Leonex_Core_Model_Abstract" not found. It's reasonable. but the anther file 
inclusion do nothing is expected. but if you turn display_errors to Off. it 
will 
output nothing.
   Please check your ini config.

------------------------------------------------------------------------
[2012-03-30 15:30:04] login dot naitsirch at arcor dot de

Description:
------------
Hi,

I have a strange problem with two PHP scripts. If I include them in another 
file without doing anything else PHP will crash without any error message. It 
doesn't matter if you execute it with CLI or via web server. But if I change or 
remove any char even in the comments the script works again. Maybe there is any 
special char in the script which result in a PHP crash during parsing. This 
problem occurs in PHP 5.3.9 and 5.3.10 on Windows. I have not tested it on 
Linux.

Test script:
---------------
I have uploaded a ZIP archive which contains three files: test.php, Product.php 
and InvoiceProcessor.php

You have just to execute or call the 'test.php' (via CLI or web server). 
Product.php and InvoiceProcessor.php contains both one class. 

Link to download page: http://www.filehosting.org/file/details/326139/test.zip



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



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

Reply via email to