Bug #52191 [Com]: any PHP version above 5.3.0 causes Apache above 2.2.11 to die on start

2010-12-20 Thread pxjianke at hotmail dot com
Edit report at http://bugs.php.net/bug.php?id=52191edit=1

 ID: 52191
 Comment by: pxjianke at hotmail dot com
 Reported by:therealloonylion at yahoo dot co dot uk
 Summary:any PHP version above 5.3.0 causes Apache above
 2.2.11 to die on start
 Status: Bogus
 Type:   Bug
 Package:Reproducible crash
 Operating System:   Windows XP/2003
 PHP Version:5.3.2
 Block user comment: N
 Private report: N

 New Comment:

only copies php5ts.dll to WINDOWS/system32,then reset apache.so it is
ok.


Previous Comments:

[2010-07-07 10:43:20] paj...@php.net

Duplicate of #51298


[2010-07-07 04:47:02] lj0425 at gmail dot com

It's still NW on

PHP 5.3.2 + Apache 2.2.15 + XP professional SP3



if comment out 

 PHPIniDir C:/PHP/ -

 #PHPIniDir C:/PHP/ 

in httpd.conf ,Apache start.


[2010-06-27 13:22:17] therealloonylion at yahoo dot co dot uk

The only information in the backtraces that I didn't paste was:



Type of Analysis Performed   Crash Analysis 

Machine Name   SARABI 

Operating System   Windows XP Service Pack 3 

Number Of Processors   2 

Process ID   516 

Process Image   C:\Program Files\Apache Software
Foundation\Apache2.2\bin\httpd.exe 

System Up-Time   05:46:54 

Process Up-Time   00:00:03 





There's an entry point in the backtraces (already pasted) but nothing
about main()


[2010-06-26 23:17:19] ka...@php.net

Hi, your backtrace doesn't seem to include all of it, like the
application entry point at main(), is there any chance you can get those
remaining trace bits?


[2010-06-26 19:13:37] therealloonylion at yahoo dot co dot uk

It seems to no longer occur with PHP 5.3.2 although it did last time I
tried it (a month or so ago) and when it first was released (tested on
Apache 2.2.13 and 2.2.14 at the time). It still occurs with 5.3.1,
however, so I have attached backtraces from tests with that version and
the following version matrix:





Apache 2.2.11   2.2.13  2.2.14  2.2.15

PHP

5.3.0W W  W   W

5.3.1NWNW NW  NW

5.3.2W W  W   W



W = working

NW = not working



Apache 2.2.11:



apache log:



[Sat Jun 26 15:43:39 2010] [notice] Child 5332: All worker threads have
exited.

[Sat Jun 26 15:43:39 2010] [notice] Child 5332: Child process is
exiting

[Sat Jun 26 15:44:23 2010] [crit] (OS 6)The handle is invalid.  :
master_main: create child process failed. Exiting.

[Sat Jun 26 15:44:23 2010] [notice] Parent: Forcing termination of child
process 36 





backtrace:



Thread 0 - System ID 1208

Entry point   httpd+1ecf 

Create time   26/06/2010 15:55:10 

Time spent in user mode   0 Days 0:0:0.46 

Time spent in kernel mode   0 Days 0:0:0.203 













Function Arg 1 Arg 2 Arg 3   Source 

php5ts!php_date_get_timezone_ce+39c 0134 7c90d99a
7c810f63

kernel32!CreateFileA+30  0003 0134

0x8000` 77c61aa0 0006facc 77c2c16e

msvcrt!_unlock+15 0004 77c2c215 005bbc80

msvcrt!calloc+ab 0020 00ca6924 

php5ts!zend_error+498 77c47660 77c47660 0020

php5ts!spprintf+19 0020 00ca68d4 012b2288

php5ts!php_verror+554   









PHP5TS!PHP_DATE_GET_TIMEZONE_CE+39CWARNING - DebugDiag was not able to
locate debug symbols for php5ts.dll, so the information below may be
incomplete.







In
httpd__PID__3272__Date__06_26_2010__Time_03_55_46PM__671__Second_Chance_Exception_C005.dmp
the assembly instruction at php5ts!php_date_get_timezone_ce+39c in
W:\PHP\php5ts.dll from The PHP Group has caused an access violation
exception (0xC005) when trying to read from memory location
0x0045 on thread 0



Module Information 

Image Name: W:\PHP\php5ts.dll   Symbol Type:  Export 

Base address: 0x0097   Time Stamp:  Thu Nov 19 10:17:25 2009  

Checksum: 0x   Comments:   

COM DLL: False   Company Name:  The PHP Group 

ISAPIExtension: False   File Description:  PHP Script Interpreter 

ISAPIFilter: False   File Version:  5.3.1 

Managed DLL: False   Internal Name:  PHP Script Interpreter 

VB DLL: False   Legal Copyright:  Copyright © 1997-2009 The PHP Group 

Loaded Image Name:  php5ts.dll   Legal Trademarks:  PHP 

Mapped Image Name:  W:\PHP\php5ts.dll   Original filename:  php5ts.dll 

Module name:  php5ts   Private Build:   

Single Threaded:  False   Product Name:  PHP 

Module Size:  5.45 MBytes   Product Version:  5.3.1 

Symbol File Name:  php5ts.dll   

Bug #52191 [Com]: any PHP version above 5.3.0 causes Apache above 2.2.11 to die on start

2010-07-06 Thread lj0425 at gmail dot com
Edit report at http://bugs.php.net/bug.php?id=52191edit=1

 ID:   52191
 Comment by:   lj0425 at gmail dot com
 Reported by:  therealloonylion at yahoo dot co dot uk
 Summary:  any PHP version above 5.3.0 causes Apache above 2.2.11
   to die on start
 Status:   Open
 Type: Bug
 Package:  Reproducible crash
 Operating System: Windows XP/2003
 PHP Version:  5.3.2

 New Comment:

It's still NW on

PHP 5.3.2 + Apache 2.2.15 + XP professional SP3



if comment out 

 PHPIniDir C:/PHP/ -

 #PHPIniDir C:/PHP/ 

in httpd.conf ,Apache start.


Previous Comments:

[2010-06-27 13:22:17] therealloonylion at yahoo dot co dot uk

The only information in the backtraces that I didn't paste was:



Type of Analysis Performed   Crash Analysis 

Machine Name   SARABI 

Operating System   Windows XP Service Pack 3 

Number Of Processors   2 

Process ID   516 

Process Image   C:\Program Files\Apache Software
Foundation\Apache2.2\bin\httpd.exe 

System Up-Time   05:46:54 

Process Up-Time   00:00:03 





There's an entry point in the backtraces (already pasted) but nothing
about main()


[2010-06-26 23:17:19] ka...@php.net

Hi, your backtrace doesn't seem to include all of it, like the
application entry point at main(), is there any chance you can get those
remaining trace bits?


[2010-06-26 19:13:37] therealloonylion at yahoo dot co dot uk

It seems to no longer occur with PHP 5.3.2 although it did last time I
tried it (a month or so ago) and when it first was released (tested on
Apache 2.2.13 and 2.2.14 at the time). It still occurs with 5.3.1,
however, so I have attached backtraces from tests with that version and
the following version matrix:





Apache 2.2.11   2.2.13  2.2.14  2.2.15

PHP

5.3.0W W  W   W

5.3.1NWNW NW  NW

5.3.2W W  W   W



W = working

NW = not working



Apache 2.2.11:



apache log:



[Sat Jun 26 15:43:39 2010] [notice] Child 5332: All worker threads have
exited.

[Sat Jun 26 15:43:39 2010] [notice] Child 5332: Child process is
exiting

[Sat Jun 26 15:44:23 2010] [crit] (OS 6)The handle is invalid.  :
master_main: create child process failed. Exiting.

[Sat Jun 26 15:44:23 2010] [notice] Parent: Forcing termination of child
process 36 





backtrace:



Thread 0 - System ID 1208

Entry point   httpd+1ecf 

Create time   26/06/2010 15:55:10 

Time spent in user mode   0 Days 0:0:0.46 

Time spent in kernel mode   0 Days 0:0:0.203 













Function Arg 1 Arg 2 Arg 3   Source 

php5ts!php_date_get_timezone_ce+39c 0134 7c90d99a
7c810f63

kernel32!CreateFileA+30  0003 0134

0x8000` 77c61aa0 0006facc 77c2c16e

msvcrt!_unlock+15 0004 77c2c215 005bbc80

msvcrt!calloc+ab 0020 00ca6924 

php5ts!zend_error+498 77c47660 77c47660 0020

php5ts!spprintf+19 0020 00ca68d4 012b2288

php5ts!php_verror+554   









PHP5TS!PHP_DATE_GET_TIMEZONE_CE+39CWARNING - DebugDiag was not able to
locate debug symbols for php5ts.dll, so the information below may be
incomplete.







In
httpd__PID__3272__Date__06_26_2010__Time_03_55_46PM__671__Second_Chance_Exception_C005.dmp
the assembly instruction at php5ts!php_date_get_timezone_ce+39c in
W:\PHP\php5ts.dll from The PHP Group has caused an access violation
exception (0xC005) when trying to read from memory location
0x0045 on thread 0



Module Information 

Image Name: W:\PHP\php5ts.dll   Symbol Type:  Export 

Base address: 0x0097   Time Stamp:  Thu Nov 19 10:17:25 2009  

Checksum: 0x   Comments:   

COM DLL: False   Company Name:  The PHP Group 

ISAPIExtension: False   File Description:  PHP Script Interpreter 

ISAPIFilter: False   File Version:  5.3.1 

Managed DLL: False   Internal Name:  PHP Script Interpreter 

VB DLL: False   Legal Copyright:  Copyright © 1997-2009 The PHP Group 

Loaded Image Name:  php5ts.dll   Legal Trademarks:  PHP 

Mapped Image Name:  W:\PHP\php5ts.dll   Original filename:  php5ts.dll 

Module name:  php5ts   Private Build:   

Single Threaded:  False   Product Name:  PHP 

Module Size:  5.45 MBytes   Product Version:  5.3.1 

Symbol File Name:  php5ts.dll   Special Build:   



Apache 2.2.13



apache log:



[Sat Jun 26 16:25:38 2010] [warn] pid file C:/Program Files/Apache
Software Foundation/Apache2.2/logs/httpd.pid overwritten -- Unclean
shutdown of previous Apache run?





backtrace:





Thread 0 - System ID 3396

Entry point   httpd+1ecf 

Create time   26/06/2010 16:25:38 

Time spent in user mode   0 Days 0:0:0.15 

Time spent in kernel