ID:               49191
 User updated by:  bmhrules at hotmail dot com
 Reported By:      bmhrules at hotmail dot com
-Status:           Feedback
+Status:           Open
 Bug Type:         IIS related
 Operating System: Windows Sever 2003 Ent. X64
 PHP Version:      5.2SVN-2009-08-07 (snap)
 New Comment:

As of using the 5.2.11-dev(snap), MySQL has not been upgraded. Before
the dev, I may have upgraded MySQL, but my memory fails me. All files in
the PHP directory are those that came with the ZIP and nothing else. 

There is a libmysql.dll in the MySQL/bin folder though. I am currently
running MySQL 5.1.36.


Previous Comments:
------------------------------------------------------------------------

[2009-08-07 17:27:56] paj...@php.net

Did you update to a recent mysql after having installed PHP? Or is
libmysql not the DLL present in the PHP releases?

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

[2009-08-07 17:24:20] bmhrules at hotmail dot com

<?php
$db = new mysqli($mysql_host,$mysql_user,$mysql_pass,$mysql_db) or
die("DB failed to connect.");
$db->set_charset('utf8');
?>

Result:


0156ea94 71c07d2e 0156eac4 0000013c 0442b878 WS2_32!getxyDataEnt+0xa1
*** WARNING: Unable to verify checksum for C:\PHP\LIBMYSQL.dll
*** ERROR: Symbol file could not be found.  Defaulted to export symbols
for C:\PHP\LIBMYSQL.dll - 
0156ecd0 0338fe86 0442b878 0442b878 0336d060 WS2_32!gethostbyname+0xb4
WARNING: Stack unwind information not available. Following frames may
be wrong.
0156ecdc 0336d060 0442b878 0156ed18 0156edec
LIBMYSQL!mysql_sqlstate+0x2b5ce
0156ed20 7d61f7d4 00000002 00000000 00000000
LIBMYSQL!mysql_sqlstate+0x87a8
00330000 00000000 eeffeeff 00001002 00000000
ntdll!RtlpAllocateFromHeapLookaside+0x13
[8/7/2009 12:22:13 PM] Thread exited. Exiting thread system id - 11956.
Exit code - 0x00000000

Other result from dmp:

Function     Arg 1     Arg 2     Arg 3   Source 
kernel32!RaiseException+53     000006c5     00000001     00000000    
rpcrt4!RpcpRaiseException+24     000006c5     76ed44e5     0146d07c   

rpcrt4!NdrpUnionMemorySize+1f9     0146d07c     76ed43ae     0017db18  
 
rpcrt4!NdrNonEncapsulatedUnionMemorySize+2b     0146d07c     76ed4307  
  0017dacc    
rpcrt4!NdrComplexStructMemorySize+364     0046d07c     76ed44f0    
0146d474    
rpcrt4!NdrComplexStructUnmarshall+d3     0046d07c     0146d474    
76ed44dc    
rpcrt4!NdrpPointerUnmarshall+216     00000000     76ed44d4     0146d474
   
rpcrt4!NdrPointerUnmarshall+30     0146d07c     0146d474     76ed43a0  
 
rpcrt4!NdrpPointerUnmarshall+216     00000000     76ed43a0     0146d474
   
rpcrt4!NdrPointerUnmarshall+30     0146d07c     0146d44c     76ed439c  
 
rpcrt4!NdrpClientUnMarshal+122     0146d07c     0146d17c     00000000  
 
rpcrt4!NdrClientCall2+2dd     76ed42d8     76ed421c     0146d43c    
dnsapi!R_ResolverQuery+1c     00000000     02261f8c     00000001    
dnsapi!Query_PrivateExW+187     02261f8c     00000001     14000040    
dnsapi!DnsQuery_W+3a     02261f8c     00000001     14000040    
mswsock!SaBlob_Query+2d     02261f8c     00000001     14000040    
mswsock!Rnr_DoDnsLookup+f0     00000000     00eb4270     00eb4258    
mswsock!Dns_NSPLookupServiceNext+24b     02261f28     00000000    
0146d874    
ws2_32!NSPROVIDER::NSPLookupServiceNext+17     00eb42a8     02261f28   
 00000000    
ws2_32!NSPROVIDERSTATE::LookupServiceNext+1c     00eb48e8     00000000 
   0146d874    
ws2_32!NSQUERY::LookupServiceNext+ae     00eb4270     00000000    
0146d874    
ws2_32!WSALookupServiceNextW+78     00eb4258     00000000     0146d874 
  
ws2_32!WSALookupServiceNextA+63     00eb4258     00000000     0000013c 
  
ws2_32!getxyDataEnt+a1     0146d8c0     0000013c     03b2cf48    
ws2_32!gethostbyname+b4     03b2cf48     03b2cf48     0336d060    
libmysql!mysql_sqlstate+2b5ce     03b2cf48     0146db14     0146dbe8   

libmysql!mysql_sqlstate+87a8     00000002     00000000     00000000   

ntdll!RtlpAllocateFromHeapLookaside+13     eeffeeff     00001002    
00000000    

In w3wp__PID__25784__Date__08_07_2009__Time_12_16_54PM__654__First
chance exception 0X000006C5.dmp the assembly instruction at
kernel32!RaiseException+53 in C:\WINDOWS\SysWOW64\kernel32.dll from
Microsoft Corporation has caused an unknown exception (0x000006c5) on
thread 6

This exception originated from rpcrt4!RpcpRaiseException+24. 

I've attempted using FastCGI with IIS but I keep getting errors saying
the process unexpectedly exited.

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

[2009-08-07 16:50:55] paj...@php.net

Please try using FastCGI instead, it is the recommended interface for
IIS.

If you have to use ISAPI, we will need a reproduce script to be able to
fix these crashes.

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

[2009-08-07 16:43:34] bmhrules at hotmail dot com

Description:
------------
While running PHP in isapi I was getting quite a few different access
violation errors. They are not constant but sporadic.

PHP has encountered an Access Violation at 027033E4
PHP has encountered an Access Violation at 026DA5BA
PHP has encountered an Access Violation at 0264ACB2

I've disabled most of my extensions in the php.ini, but so far no luck
in getting these random errors to vanish.

Reproduce code:
---------------
n/a

Expected result:
----------------
n/a

Actual result:
--------------
My feeble attempts at backtraces would sometimes get:
*** WARNING: Unable to verify checksum for \\?\C:\PHP\php5ts.dll
*** ERROR: Symbol file could not be found.  Defaulted to export symbols
for \\?\C:\PHP\php5ts.dll - 
014ef1a4 02e07c3d 00000004 00000000 0000000a
ntdll!RtlDetermineDosPathNameType_U+0x330
014ef1c8 02e085b1 0000002b 00000000 00000000 php5ts!php_gcvt+0x28d
014ef4b0 02d4bdc9 00000000 00000000 0230d968
php5ts!ap_php_slprintf+0x4c1
00000000 00000000 00000000 00000000 00000000 php5ts!emalloc+0x39

Sometimes this:
*** WARNING: Unable to verify checksum for C:\PHP\LIBMYSQL.dll
*** ERROR: Symbol file could not be found.  Defaulted to export symbols
for C:\PHP\LIBMYSQL.dll - 
0166ec1c 0338fe86 0397c888 0397c888 0336d060 WS2_32!gethostbyname+0x8d
0166ec28 0336d060 0397c888 0166ec64 0166ed38
LIBMYSQL!mysql_sqlstate+0x2b5ce
0166ecbc 7d625062 0166f1f4 0000000c 0166ecf4
LIBMYSQL!mysql_sqlstate+0x87a8
0166ecf0 7d61f7d4 00151378 0166ef24 7d61f768
ntdll!RtlUnicodeStringToAnsiString+0x6e
0166ef70 00000000 00000000 00000000 00000000
ntdll!RtlAllocateHeap+0x14e


You will have to excuse my potentially useless report and walk me
through to help figure out what is causing conflicts since I am not at
all knowledgeable with debugging on x64, or any OS for that matter.


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


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

Reply via email to