I've been fiddling with my apache & php installation again,
and I'm getting exception errors when trying to view a php
page. I've enabled a lot of extensions, and I think that the
problem lies therein. I've attached some output from my
vstudio debugger, wich I hope is enough for you guys to
awnser these Q's:
- is this a known bug or not (if it's a bug at all)?
- should I investigate more, and track it down to (probably)
the faulty extension?
apache's version is 1.3.27, php is 4.3.0 (win32 zip package),
OS is windows 2k. requesting the same php file without ext.
loaded works like a charm. with the extensions generates
the exception, and continuesly reloads the page, and the
output stops halfway through the page at random points.
running the same page through the cgi or cli sapi generates
a full page, but gives the same error at the end.
the non-standard extensions have been compiled against
the php4ts.lib etc. from source using visual studio.
appologies upfront in case I did something totally stupid,
overlooked the obvious, or are in need of a fresh OS.
Regards, Sjon.
output from debug window:
'Apache.exe': Loaded 'D:\Apache\Apache.exe', No symbols loaded.
'Apache.exe': Loaded 'C:\WINNT\system32\NTDLL.DLL', Exports loaded.
'Apache.exe': Loaded 'D:\Apache\ApacheCore.dll', Exports loaded.
'Apache.exe': Loaded 'C:\WINNT\system32\KERNEL32.DLL', Exports loaded.
'Apache.exe': Loaded 'C:\WINNT\system32\USER32.DLL', Exports loaded.
'Apache.exe': Loaded 'C:\WINNT\system32\GDI32.DLL', Exports loaded.
'Apache.exe': Loaded 'C:\WINNT\system32\ADVAPI32.DLL', Exports loaded.
'Apache.exe': Loaded 'C:\WINNT\system32\rpcrt4.dll', Exports loaded.
'Apache.exe': Loaded 'C:\WINNT\system32\ws2_32.dll', Exports loaded.
'Apache.exe': Loaded 'C:\WINNT\system32\msvcrt.dll', Exports loaded.
'Apache.exe': Loaded 'C:\WINNT\system32\ws2help.dll', Exports loaded.
'Apache.exe': Loaded 'D:\Apache\Win9xConHook.dll', Exports loaded.
'Apache.exe': Loaded 'C:\WINNT\system32\msvcr70.dll', Symbols loaded.
'Apache.exe': Loaded 'C:\WINNT\system32\imm32.dll', Exports loaded.
'Apache.exe': Loaded 'D:\Apache\modules\mod_perl.so', Exports loaded.
'Apache.exe': Loaded 'C:\Perl\bin\perl56.dll', Exports loaded.
'Apache.exe': Loaded 'D:\Apache\modules\mod_php4.so', Exports loaded.
'Apache.exe': Loaded 'C:\WINNT\php4ts.dll', Exports loaded.
'Apache.exe': Loaded 'C:\WINNT\system32\wsock32.dll', Exports loaded.
'Apache.exe': Loaded 'C:\WINNT\system32\OLE32.DLL', Exports loaded.
'Apache.exe': Loaded 'C:\WINNT\system32\OLEAUT32.DLL', Exports loaded.
'Apache.exe': Loaded 'C:\WINNT\system32\odbc32.dll', Exports loaded.
'Apache.exe': Loaded 'C:\WINNT\system32\comctl32.dll', Exports loaded.
'Apache.exe': Loaded 'C:\WINNT\system32\COMDLG32.DLL', Exports loaded.
'Apache.exe': Loaded 'C:\WINNT\system32\shlwapi.dll', Exports loaded.
'Apache.exe': Loaded 'C:\WINNT\system32\SHELL32.DLL', Exports loaded.
'Apache.exe': Loaded 'C:\WINNT\system32\odbcint.dll', No symbols loaded.
'Apache.exe': Loaded 'D:\Apache\modules\mod_proxy.so', Exports loaded.
'Apache.exe': Loaded 'D:\Apache\modules\mod_python.so', Exports loaded.
'Apache.exe': Loaded 'C:\WINNT\system32\python22.dll', Exports loaded.
'Apache.exe': Loaded 'C:\PHP\extensions\php_activedebug.dll', Exports loaded.
'Apache.exe': Loaded 'C:\WINNT\system32\MSVCP60.DLL', Exports loaded.
'Apache.exe': Loaded 'C:\WINNT\system32\MSVCIRT.DLL', Exports loaded.
'Apache.exe': Loaded 'C:\PHP\extensions\php_bcompiler.dll', Exports loaded.
'Apache.exe': Loaded 'C:\PHP\extensions\php_bz2.dll', Exports loaded.
'Apache.exe': Loaded 'C:\PHP\extensions\php_cpdf.dll', Exports loaded.
'Apache.exe': Loaded 'C:\PHP\extensions\php_crack.dll', Exports loaded.
'Apache.exe': Loaded 'C:\PHP\extensions\php_curl.dll', Exports loaded.
'Apache.exe': Loaded 'C:\WINNT\libeay32.dll', Exports loaded.
'Apache.exe': Loaded 'C:\WINNT\ssleay32.dll', Exports loaded.
'Apache.exe': Loaded 'C:\PHP\extensions\php_db.dll', Exports loaded.
'Apache.exe': Loaded 'C:\PHP\extensions\php_dba.dll', Exports loaded.
'Apache.exe': Loaded 'C:\PHP\extensions\php_dbase.dll', Exports loaded.
'Apache.exe': Loaded 'C:\PHP\extensions\php_dbx.dll', Exports loaded.
'Apache.exe': Loaded 'C:\PHP\extensions\php_domxml.dll', Exports loaded.
'Apache.exe': Loaded 'C:\WINNT\iconv.dll', Exports loaded.
'Apache.exe': Loaded 'C:\PHP\extensions\php_exif.dll', Exports loaded.
'Apache.exe': Loaded 'C:\PHP\extensions\php_fbsql.dll', Exports loaded.
'Apache.exe': Loaded 'C:\WINNT\system32\RNR20.DLL', Exports loaded.
'Apache.exe': Loaded 'C:\WINNT\system32\dnsapi.dll', Exports loaded.
'Apache.exe': Loaded 'C:\WINNT\system32\IPHLPAPI.DLL', Exports loaded.
'Apache.exe': Loaded 'C:\WINNT\system32\icmp.dll', Exports loaded.
'Apache.exe': Loaded 'C:\WINNT\system32\mprapi.dll', Exports loaded.
'Apache.exe': Loaded 'C:\WINNT\system32\samlib.dll', Exports loaded.
'Apache.exe': Loaded 'C:\WINNT\system32\NETAPI32.DLL', Exports loaded.
'Apache.exe': Loaded 'C:\WINNT\system32\secur32.dll', Exports loaded.
'Apache.exe': Loaded 'C:\WINNT\system32\netrap.dll', Exports loaded.
'Apache.exe': Loaded 'C:\WINNT\system32\WLDAP32.DLL', Exports loaded.
'Apache.exe': Loaded 'C:\WINNT\system32\activeds.dll', Exports loaded.
'Apache.exe': Loaded 'C:\WINNT\system32\adsldpc.dll', Exports loaded.
'Apache.exe': Loaded 'C:\WINNT\system32\rtutils.dll', Exports loaded.
'Apache.exe': Loaded 'C:\WINNT\system32\SETUPAPI.DLL', Exports loaded.
'Apache.exe': Loaded 'C:\WINNT\system32\USERENV.DLL', Exports loaded.
'Apache.exe': Loaded 'C:\WINNT\system32\RASAPI32.DLL', Exports loaded.
'Apache.exe': Loaded 'C:\WINNT\system32\RASMAN.DLL', Exports loaded.
'Apache.exe': Loaded 'C:\WINNT\system32\tapi32.dll', Exports loaded.
'Apache.exe': Loaded 'C:\WINNT\system32\DHCPCSVC.DLL', Exports loaded.
'Apache.exe': Loaded 'C:\WINNT\system32\winrnr.dll', Exports loaded.
'Apache.exe': Loaded 'C:\PHP\extensions\php_filepro.dll', Exports loaded.
'Apache.exe': Loaded 'C:\PHP\extensions\php_gd2.dll', Exports loaded.
'Apache.exe': Loaded 'C:\PHP\extensions\php_gettext.dll', Exports loaded.
'Apache.exe': Loaded 'C:\WINNT\libintl-1.dll', Exports loaded.
'Apache.exe': Loaded 'C:\PHP\extensions\php_hyperwave.dll', Exports loaded.
'Apache.exe': Loaded 'C:\PHP\extensions\php_iconv.dll', Exports loaded.
'Apache.exe': Loaded 'C:\PHP\extensions\php_imap.dll', Exports loaded.
'Apache.exe': Loaded 'C:\WINNT\system32\winmm.dll', Exports loaded.
'Apache.exe': Loaded 'C:\PHP\extensions\php_interbase.dll', Exports loaded.
'Apache.exe': Loaded 'C:\WINNT\gds32.dll', Exports loaded.
'Apache.exe': Loaded 'C:\WINNT\system32\mpr.dll', Exports loaded.
'Apache.exe': Loaded 'C:\PHP\extensions\php_ixsfunc.dll', Exports loaded.
'Apache.exe': Loaded 'C:\WINNT\system32\WINSPOOL.DRV', Exports loaded.
'Apache.exe': Loaded 'C:\PHP\extensions\php_java.dll', Exports loaded.
'Apache.exe': Loaded 'C:\PHP\extensions\php_ldap.dll', Exports loaded.
'Apache.exe': Loaded 'C:\PHP\extensions\php_mbstring.dll', Exports loaded.
'Apache.exe': Loaded 'C:\PHP\extensions\php_mcrypt.dll', Exports loaded.
'Apache.exe': Loaded 'C:\WINNT\libmcrypt.dll', Exports loaded.
'Apache.exe': Loaded 'C:\PHP\extensions\php_mhash.dll', Exports loaded.
'Apache.exe': Loaded 'C:\WINNT\libmhash.dll', Exports loaded.
'Apache.exe': Loaded 'C:\PHP\extensions\php_mime_magic.dll', Exports loaded.
'Apache.exe': Loaded 'C:\PHP\extensions\php_ming.dll', Exports loaded.
'Apache.exe': Loaded 'C:\PHP\extensions\php_msql.dll', Exports loaded.
'Apache.exe': Loaded 'C:\WINNT\mSQL.dll', Exports loaded.
'Apache.exe': Loaded 'C:\PHP\extensions\php_mssql.dll', Exports loaded.
'Apache.exe': Loaded 'C:\WINNT\ntwdblib.dll', Exports loaded.
'Apache.exe': Loaded 'C:\PHP\extensions\php_openssl.dll', Exports loaded.
'Apache.exe': Loaded 'C:\PHP\extensions\php_pdf.dll', Exports loaded.
'Apache.exe': Loaded 'C:\PHP\extensions\php_pgsql.dll', Exports loaded.
'Apache.exe': Loaded 'C:\PHP\extensions\php_printer.dll', Exports loaded.
'Apache.exe': Loaded 'C:\PHP\extensions\php_shmop.dll', Exports loaded.
'Apache.exe': Loaded 'C:\PHP\extensions\php_snmp.dll', Exports loaded.
'Apache.exe': Loaded 'C:\WINNT\system32\rasadhlp.dll', Exports loaded.
'Apache.exe': Loaded 'C:\PHP\extensions\php_templates.dll', Exports loaded.
'Apache.exe': Loaded 'C:\PHP\extensions\php_threads.dll', Exports loaded.
'Apache.exe': Loaded 'C:\PHP\extensions\php_w32api.dll', Exports loaded.
'Apache.exe': Loaded 'C:\PHP\extensions\php_xdebug.dll', Exports loaded.
'Apache.exe': Loaded 'C:\PHP\extensions\php_xmlrpc.dll', Exports loaded.
'Apache.exe': Loaded 'C:\PHP\extensions\php_xslt.dll', Exports loaded.
'Apache.exe': Loaded 'C:\WINNT\sablot.dll', Exports loaded.
'Apache.exe': Loaded 'C:\WINNT\expat.dll', Exports loaded.
'Apache.exe': Loaded 'C:\PHP\extensions\php_yaz.dll', Exports loaded.
'Apache.exe': Loaded 'C:\WINNT\Yaz.dll', Exports loaded.
'Apache.exe': Loaded 'C:\PHP\extensions\php_zip.dll', Exports loaded.
'Apache.exe': Loaded 'C:\WINNT\system32\msafd.dll', Exports loaded.
'Apache.exe': Loaded 'C:\WINNT\system32\wshtcpip.dll', Exports loaded.
'Apache.exe': Loaded 'C:\Program Files\Messenger\Plus\MsgPlusH.dll', Exports loaded.
'Apache.exe': Loaded 'C:\WINNT\system32\wininet.dll', Exports loaded.
'Apache.exe': Loaded 'C:\WINNT\system32\CRYPT32.DLL', Exports loaded.
'Apache.exe': Loaded 'C:\WINNT\system32\msasn1.dll', Exports loaded.
'Apache.exe': Loaded 'C:\WINNT\system32\version.dll', Exports loaded.
'Apache.exe': Loaded 'C:\WINNT\system32\lz32.dll', Exports loaded.
The thread 'Win32 Thread' (0x2c8) has exited with code 0 (0x0).
Unhandled exception at 0x0096cbcd (php4ts.dll) in Apache.exe: 0xC0000005: Access
violation reading location 0x00000014.
First-chance exception at 0x0096cbcd (php4ts.dll) in Apache.exe: 0xC0000005: Access
violation reading location 0x00000014.
Unhandled exception at 0x0096cbcd (php4ts.dll) in Apache.exe: 0xC0000005: Access
violation reading location 0x00000014.
First-chance exception at 0x0096cbcd (php4ts.dll) in Apache.exe: 0xC0000005: Access
violation reading location 0x00000014.
Unhandled exception at 0x0096cbcd (php4ts.dll) in Apache.exe: 0xC0000005: Access
violation reading location 0x00000014.
snippet from disassembly window:
0096CBBB pop ebx
0096CBBC ret
0096CBBD nop
0096CBBE nop
0096CBBF nop
zend_hash_destroy:
0096CBC0 push ebx
0096CBC1 mov ebx,dword ptr [esp+8]
0096CBC5 push ebp
0096CBC6 mov ebp,dword ptr ds:[9AD2A8h]
0096CBCC push esi
>> 0096CBCD mov esi,dword ptr [ebx+14h]
0096CBD0 test esi,esi
0096CBD2 je zend_hash_destroy+65h (96CC25h)
0096CBD4 push edi
0096CBD5 mov eax,dword ptr [ebx+20h]
0096CBD8 mov edi,esi
0096CBDA mov esi,dword ptr [esi+10h]
0096CBDD test eax,eax
0096CBDF je zend_hash_destroy+2Ah (96CBEAh)
0096CBE1 mov ecx,dword ptr [edi+8]
0096CBE4 push ecx
0096CBE5 call eax
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php