ID:               45630
 User updated by:  ast dot markus at gmx dot net
 Reported By:      ast dot markus at gmx dot net
 Status:           Open
 Bug Type:         CGI related
 Operating System: Windows Vista SP1 x64
 PHP Version:      5.3CVS-2008-07-26 (snap)
 New Comment:

If I use an unmodified php.ini it also works partly. It just crashes
after processed the PHP Script. But using the PDO extension it causes to
the crash mentioned in my first post.


Previous Comments:
------------------------------------------------------------------------

[2008-07-30 19:59:05] ast dot markus at gmx dot net

> Did you have the debug stuff installed when you did that backtrace?
If you mean this:
http://snaps.php.net/win32/php5.3-dbgpack-win32-200807280430.zip - yes

I tried it without any php.ini loaded and it works! At least partly. It
processed the PHP Script and also gave me an output now. But after that
it crashes.

I made an backtrace of this crash. Here the complete backtrace result.
I hope it helps:
http://85.88.23.236/CrashHang_Report__PID_2996__PID_3364__PID_3380__PID_4196__PID_4448__PID_4500__PID_4544__PID_4568__PID_4892__PID_5472__PID_5624__PID_5804__PID_5848__PID_5936__PID_6048__PID_908__PID_916__07302008215228250.mht

> caused either by "Out of memory
I have 4GB Ram :)

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

[2008-07-30 18:54:29] [EMAIL PROTECTED]

Did you have the debug stuff installed when you did that backtrace?
And as it seems this error is caused either by "Out of memory" or when
exceeding memory_limit, try without any php.ini loaded. (just remove
every php*.ini file from your system to be absolutely sure!)

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

[2008-07-29 11:23:38] ast dot markus at gmx dot net

> Does this happen with Apache?
I tried Apache. But Apache does not work for me at all (not because of
PHP) and I have currently no time to try to fix Apache. I am sorry.
Maybe I try it later again ...

But here are my cgi/fastcgi related php.ini options:
cgi.force_redirect = 0
cgi.fix_pathinfo = 1
fastcgi.impersonate = 1

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

[2008-07-27 11:10:58] [EMAIL PROTECTED]

Does this happen with Apache? (Please try) And please provide the
cgi/fastcgi related php.ini options you have used.

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

[2008-07-26 08:51:13] ast dot markus at gmx dot net

Description:
------------
Try to use a PHP5.3dev via FastCGI on IIS7 causes php-cgi.php to crash.

Reproduce code:
---------------
<?php
echo phpinfo();
?>

Expected result:
----------------
the phpinfo table

Actual result:
--------------
Thread 0 - System ID 3912
Entry point   php_cgi!fcgi_impersonate+26 
Create time   16.07.2008 18:07:25 
Time spent in user mode   0 Days 0:0:0.78 
Time spent in kernel mode   0 Days 0:0:0.265 






Function     Arg 1     Arg 2     Arg 3   Source 
php5ts!zend_mm_safe_error+196     018a0968     018a0b58     1009f909   

php5ts!_zend_mm_realloc_int+a86     01ac2d88     000001f4     00c0ddcc 
  
php5ts!children_scan_black+39     00c0fe00     00000010     00000001   

php_cgi!fcgi_write+4df     00c0ff78     00000000     56433230    
php5ts!php_log_err+f1     003e0000     00000000     02119688    
kernel32!HeapFree+14     00407830     00000000     00c0ff94    
php_cgi!mainCRTStartup+da     00405ea6     7efde000     00000000    
ntdll!_RtlUserThreadStart+1b     00000000     00000000     00000000   





PHP5TS!ZEND_MM_SAFE_ERROR+196In
php-cgi__PID__3380__Date__07_16_2008__Time_06_07_26PM__96__Second_Chance_Exception_C0000005.dmp
the assembly instruction at php5ts!zend_mm_safe_error+196 in
M:\Server\Tools\PHP5.3\php5ts.dll from The PHP Group has caused an
access violation exception (0xC0000005) when trying to read from memory
location 0x033638d8 on thread 0

Module Information 
Image Name: M:\Server\Tools\PHP5.3\php5ts.dll   Symbol Type:  PDB 
Base address: 0x10000000   Time Stamp:  Wed Jul 09 10:20:38 2008  
Checksum: 0x00000000   Comments:   
COM DLL: False   Company Name:  The PHP Group 
ISAPIExtension: False   File Description:  PHP Script Interpreter 
ISAPIFilter: False   File Version:  5.3.0-dev 
Managed DLL: False   Internal Name:  PHP Script Interpreter 
VB DLL: False   Legal Copyright:  Copyright © 1997-2008 The PHP Group 
Loaded Image Name:  php5ts.dll   Legal Trademarks:  PHP 
Mapped Image Name:     Original filename:  php5ts.dll 
Module name:  php5ts   Private Build:   
Single Threaded:  False   Product Name:  PHP 
Module Size:  5,18 MBytes   Product Version:  5.3.0-dev 
Symbol File Name:  M:\Server\Tools\PHP5.3\debug\php5ts.pdb   Special
Build:  & 



Thread 0 - System ID 5380
Entry point   php_cgi!fcgi_impersonate+26 
Create time   16.07.2008 22:37:23 
Time spent in user mode   0 Days 0:0:0.46 
Time spent in kernel mode   0 Days 0:0:0.171 






Function     Arg 1     Arg 2     Arg 3   Source 
php5ts!zend_mm_shutdown+58     00bfdce7     0000003f     00c0ddcc    
php_cgi!fcgi_get_params+bf     00405102     00c0ddcc     00bfdc78    
msvcrt!_read+d1     00000000     00000002     00000001    




PHP5TS!ZEND_MM_SHUTDOWN+58In
php-cgi__PID__5472__Date__07_16_2008__Time_10_37_38PM__106__Second_Chance_Exception_C0000005.dmp
the assembly instruction at php5ts!zend_mm_shutdown+58 in
M:\Server\Tools\PHP5.3\php5ts.dll from The PHP Group has caused an
access violation exception (0xC0000005) when trying to read from memory
location 0x00000000 on thread 0


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


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

Reply via email to