Bug #51307 [Fbk->Opn]: php.exe error on command line

From: Date: Wed, 17 Mar 2010 08:11:09 +0000
Subject: Bug #51307 [Fbk->Opn]: php.exe error on command line
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-148708@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=51307&edit=1

 ID:               51307
 User updated by:  joerg dot klein at ifsam dot lu
 Reported by:      joerg dot klein at ifsam dot lu
 Summary:          php.exe error on command line
-Status:           Feedback
+Status:           Open
 Type:             Bug
 Package:          Unknown/Other Function
 Operating System: Windows Server 2003
 PHP Version:      5.3.2

 New Comment:

By disabling gd2 or mysql or both, the error is gone.
I only have these to extensions enabled.


Previous Comments:
------------------------------------------------------------------------
[2010-03-16 16:54:04] pajoye@php.net

Please disable all extensions and enable them again one by one to figure
out which one.

------------------------------------------------------------------------
[2010-03-16 16:15:14] joerg dot klein at ifsam dot lu

Backtrace:

Thread 0 - System ID 1180
Entry point   php!mainCRTStartup 
Create time   16.03.2010 16:09:36 
Time spent in user mode   0 Days 0:0:0.15 
Time spent in kernel mode   0 Days 0:0:0.93 

Function     Arg 1     Arg 2     Arg 3   Source 
php5ts!_zend_mm_free_int+66     002250f8     5c6e6574     100d2214    
php5ts!_efree+36     01ad44b0     00223ba8     101f2e05    
php5ts!closelog+54     101ae8b7     00000001     00000013    
php5ts!zm_deactivate_syslog+5     00000001     00000013     00223ba8   

php5ts!zm_deactivate_basic+e7     00000001     00000013     00223ba8   

php5ts!module_registry_cleanup+1c     01bfcca8     00223ba8     00c0fb24
   
php5ts!zend_hash_reverse_apply+42     1054d280     10008400     00223ba8
   
php5ts!zend_deactivate_modules+62     00c0ffb0     00000000     56433230
   
php5ts!zend_deactivate_modules+48     00229adc     00223ba8     100bbbdb
   
php5ts!zend_llist_clean+b     00229adc     00000000     00c0fdf0    
php5ts!php_deactivate_ticks+1b     00c0fc0c     00223ba8     00c0fea8   

php5ts!execute+2fe     01b00128     00223b00     00000000    
php5ts!zend_execute_scripts+f6     00c0ffb0     00000000     56433230   

php5ts!php_request_shutdown+13d     00000002     00220178     01ace4c8  
 
msvcrt!_lseek+aa     00c0ffb0     00000000     56433230    
php5ts!php_request_shutdown+206     77bbd08c     00220000     00000000  
 
ntdll!RtlAllocateHeap+ee7     00000000     00000000     7ffda000    
kernel32!BaseProcessStart+23     00402d78     00000000     00000000    

PHP5TS!_ZEND_MM_FREE_INT+66In
php__PID__1284__Date__03_16_2010__Time_04_09_56PM__366__Second_Chance_Exception_C0000005.dmp
the assembly instruction at php5ts!_zend_mm_free_int+66 in C:\Program
Files\Apache Group\Apache\php-bin\php5ts.dll from The PHP Group has
caused an access violation exception (0xC0000005) when trying to read
from memory location 0x5e1baa1c on thread 0

Module Information 
Image Name: C:\Program Files\Apache Group\Apache\php-bin\php5ts.dll  
Symbol Type:  PDB 
Base address: 0x10000000   Time Stamp:  Wed Mar 03 20:38:42 2010  
Checksum: 0x00000000   Comments:   
COM DLL: False   Company Name:  The PHP Group 
ISAPIExtension: False   File Description:  PHP Script Interpreter 
ISAPIFilter: False   File Version:  5.3.2 
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:  C:\Program Files\Apache Software
Foundation\Apache2.2\php-bin\php5ts.dll   Original filename:  php5ts.dll

Module name:  php5ts   Private Build:   
Single Threaded:  False   Product Name:  PHP 
Module Size:  5,50 MBytes   Product Version:  5.3.2 
Symbol File Name:  C:\Program Files\Apache Software
Foundation\Apache2.2\php-bin\php5ts.pdb   Special Build:  &

------------------------------------------------------------------------
[2010-03-16 15:49:09] pajoye@php.net

Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php
for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php
for Win32

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.



------------------------------------------------------------------------
[2010-03-16 15:48:55] pajoye@php.net

Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves. 

A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external 
resources such as databases, etc. If the script requires a 
database to demonstrate the issue, please make sure it creates 
all necessary tables, stored procedures etc.

Please avoid embedding huge scripts into the report.

I can't reproduce any crash with the code you have provided. Please
provide a backtrace if you can, that should be a start.

------------------------------------------------------------------------
[2010-03-16 15:46:06] joerg dot klein at ifsam dot lu

as I stated above: Ignore the runtime errors, I have reduced the code as
much as possible to track down the problem.

With the correct and complete source code, the same error occurs.

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


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

    http://bugs.php.net/bug.php?id=51307


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


Thread (43 messages)

« previous php.bugs (#148708) next »