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:
I double checked both configurations and both apache and cli are using
the same php.ini and also the same settings.
Nothing was changed since the previous working php versions. The only
change to the system was replacing the php directory. Since 5.3 I use
always the VC6 TS versions.
I also have redownloaded and installed the 5.3.2 VC6 TS win32 binaries
without success.
Something has to be changed from 5.3.1 to 5.3.2.
Previous Comments:
------------------------------------------------------------------------
[2010-03-17 10:37:31] pajoye@php.net
I see only one cause, some old version of these extensions are being
loaded. Or extensions not from the same PHP releases (VC6 instead of VC9
for example, for php 5.3).
But there are no problem in 5.3.2's gd or mysql extensions. They work
just fine (cli as you see yourself), apache, etc.). I would double check
that apache is actually using the same configuration than CLI (via a
simple phpinfo), and compare the paths (extension_dir, loaded php.ini).
------------------------------------------------------------------------
[2010-03-17 09:11:08] joerg dot klein at ifsam dot lu
By disabling gd2 or mysql or both, the error is gone.
I only have these to extensions enabled.
------------------------------------------------------------------------
[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.
------------------------------------------------------------------------
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