[Chameleon] Ugly, how to find reason for random chrashes in Chameleon/PHP/NTDLL.dll

erik erik1969 at mailhaven.com
Wed May 11 10:02:00 EDT 2005


Hi,

I just got Chameleon up and running, sort of. It looks nice, when it works. Does anyone know what causes crashes in NTDLL, and how I can find more information on what is going on? I checked the NTDLL file and it is dated Aug-2002. I'm not running any Firewall or Antivirus daemons.

The crashes are random. Sometimes everything works nice for a while, and then suddenly boom...
I have attached a short log from WinDbg below, the dump always looks like this. Judging from this and the assembly listing, execution stops in functions like RtlCaptureContext() and RtlAddAccessDeniedAce() inside NTDLL.dll . It happens just after/during? PHP loads extension php_gd2.dll

My platform is:

ws4w v 1.0.3 (PHP 3.4.10)
Chameleon v 2.0.1, most recent bugfix release
Windows Xp, service pack 1 

Mapserver/PHP-Mapscript binaries were compiled with VS6.0, service pack 5, for Oracle 9i_r2:
MapServer version 4.6.0-beta1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE S
UPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT INPUT=ORACLESPATIAL INPUT=OGR INPUT=GDAL
INPUT=SHAPEFILE DEBUG=MSDEBUG

regards,
  erik

---- core dump from WinDdb ---------
Executable search path is: 
ModLoad: 00400000 0040d000 C:\ms4w\Apache\cgi-bin\php.exe
ModLoad: 77f50000 77ff7000 C:\WINDOWS\System32\ntdll.dll
ModLoad: 77e60000 77f46000 C:\WINDOWS\system32\kernel32.dll
ModLoad: 10000000 10154000 C:\ms4w\Apache\cgi-bin\php4ts.dll
ModLoad: 77d40000 77dcc000 C:\WINDOWS\system32\USER32.dll
ModLoad: 7f000000 7f041000 C:\WINDOWS\system32\GDI32.dll
ModLoad: 77dd0000 77e5d000 C:\WINDOWS\system32\ADVAPI32.dll
ModLoad: 78000000 78087000 C:\WINDOWS\system32\RPCRT4.dll
ModLoad: 71ad0000 71ad8000 C:\WINDOWS\System32\WSOCK32.dll
ModLoad: 71ab0000 71ac5000 C:\WINDOWS\System32\WS2_32.dll
ModLoad: 77c10000 77c63000 C:\WINDOWS\system32\msvcrt.dll
ModLoad: 71aa0000 71aa8000 C:\WINDOWS\System32\WS2HELP.dll
ModLoad: 771b0000 772d4000 C:\WINDOWS\system32\ole32.dll
ModLoad: 77120000 771ab000 C:\WINDOWS\system32\OLEAUT32.dll
ModLoad: 00320000 00352000 C:\WINDOWS\System32\ODBC32.dll
ModLoad: 77340000 773cb000 C:\WINDOWS\system32\COMCTL32.dll
ModLoad: 4f510000 4fd21000 C:\WINDOWS\system32\SHELL32.dll
ModLoad: 70a70000 70ad9000 C:\WINDOWS\system32\SHLWAPI.dll
ModLoad: 763b0000 763f5000 C:\WINDOWS\system32\comdlg32.dll
ModLoad: 71950000 71a34000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.1579_x-ww_7bbf8d08\comctl32.dll
ModLoad: 1f850000 1f866000 C:\WINDOWS\System32\odbcint.dll
ModLoad: 5ad70000 5ada4000 C:\WINDOWS\System32\uxtheme.dll
ModLoad: 00010000 00017000 C:\ms4w\Apache\php\extensions\php_dbase.dll
ModLoad: 00c70000 00cb6000 C:\ms4w\Apache\php\extensions\php_mapscript.dll
ModLoad: 00cc0000 00df9000 C:\ms4w\Apache\cgi-bin\libmap.dll
ModLoad: 6d880000 6db4c000 C:\ms4w\Apache\cgi-bin\bgd.dll
ModLoad: 00e30000 00e66000 C:\ms4w\Apache\cgi-bin\proj.dll
ModLoad: 00e70000 01273000 C:\ms4w\Apache\cgi-bin\gdal12.dll
ModLoad: 55900000 55961000 C:\WINDOWS\System32\MSVCP60.dll
ModLoad: 76b40000 76b6c000 C:\WINDOWS\System32\WINMM.dll
ModLoad: 00e00000 00e1d000 C:\WINDOWS\System32\OCI.dll
ModLoad: 01920000 019f3000 C:\ms4w\Apache\php\extensions\php_gd2.dll
(a0c.1f4): Access violation - code c0000005 (!!! second chance !!!)
eax=00000000 ebx=00000254 ecx=00000000 edx=005f1518 esi=005f0000 edi=005f0278
eip=77f745cc esp=0012e24c ebp=0012e470 iopl=0 nv up ei ng nz na pe cy
cs=001b ss=0023 ds=0023 es=0023 fs=0038 gs=0000 efl=00000283
*** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\WINDOWS\System32\ntdll.dll - 
ntdll!RtlAddAccessDeniedAce+0x563:
77f745cc 8901 mov [ecx],eax ds:0023:00000000=????????
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/chameleon/attachments/20050511/a6b1bd32/attachment.html


More information about the Chameleon mailing list