ID: 49191
User updated by: bmhrules at hotmail dot com
-Summary: Uknown exception at 0x000006c5
Reported By: bmhrules at hotmail dot com
Status: Bogus
Bug Type: IIS related
-Operating System: Windows Sever 2003 Ent. X64
+Operating System: Windows Server 2003 Ent. X64
PHP Version: 5.2SVN-2009-08-07 (snap)
New Comment:
As was stated I am not using the libmysql.dll that MySQL supplies in my
PHP directory. I hope that this apparent misunderstanding is not the
cause for this bug reports permanent closure.
Previous Comments:
------------------------------------------------------------------------
[2009-08-07 17:40:47] bmhrules at hotmail dot com
As was stated, all files in the php directory are those that came in
the ZIP. I was just making a note that there seems to be a file called
libmysql.dll in the MySQL/bin folder.
I believe that was placed there by the MySQL installer. I have no clue
as of why there is one there or if it is even required.
------------------------------------------------------------------------
[2009-08-07 17:36:46] pajoye@php.net
Do not use mysql's libmysql with PHP but only the DLL provided in our
releases. Add c:\php first in your PATH (or whatever is the path to
PHP).
------------------------------------------------------------------------
[2009-08-07 17:33:07] bmhrules at hotmail dot com
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.
------------------------------------------------------------------------
[2009-08-07 17:27:56] pajoye@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.
------------------------------------------------------------------------
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/49191--
Edit this bug report at http://bugs.php.net/?id=49191&edit=1