[Bug 30069] Microsoft SQL Server 2000 Desktop Engine (MSDE 2000) Release A needs LPC for shared memory communications (NtCreatePort and friends)

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Mar 4 03:14:24 CST 2012


http://bugs.winehq.org/show_bug.cgi?id=30069

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |download
             Status|UNCONFIRMED                 |NEW
                 CC|                            |focht at gmx.net
          Component|-unknown                    |ntdll
            Summary|Microsoft SQL Server 2000   |Microsoft SQL Server 2000
                   |Desktop Engine (MSDE 2000)  |Desktop Engine (MSDE 2000)
                   |Release A fails to install  |Release A needs LPC for
                   |                            |shared memory
                   |                            |communications
                   |                            |(NtCreatePort and friends)
     Ever Confirmed|0                           |1

--- Comment #2 from Anastasius Focht <focht at gmx.net> 2012-03-04 03:14:24 CST ---
Hello,

the bug reporter is right, the SQL server engine uses LPC for shared memory
communications (when client and server processes are running on the same
machine).

--- snip ---
000f:Call KERNEL32.CreateProcessW(00000000,00119120
L"C:\\MSSQL\\Binn\\sqlservr.exe
-sMSSQLSERVER",00000000,00000000,00000000,00000400,00540000,00000000,0033fc58,0033fc9c)
ret=7eda160b 
...
000f:Ret  KERNEL32.CreateProcessW() retval=00000001 ret=7eda160b 
...
0036:Call KERNEL32.LoadLibraryA(42cd4000 "ntdll.dll") ret=42cd115b
0036:Ret  KERNEL32.LoadLibraryA() retval=7bc10000 ret=42cd115b
0036:Call KERNEL32.GetProcAddress(7bc10000,42cd400c "NtCreatePort")
ret=42cd1178
0036:Ret  KERNEL32.GetProcAddress() retval=7bc20edc ret=42cd1178
0036:Call KERNEL32.GetProcAddress(7bc10000,42cd401c "NtConnectPort")
ret=42cd119a
0036:Ret  KERNEL32.GetProcAddress() retval=7bc20dd4 ret=42cd119a
0036:Call KERNEL32.GetProcAddress(7bc10000,42cd402c "NtListenPort")
ret=42cd11bc
0036:Ret  KERNEL32.GetProcAddress() retval=7bc21194 ret=42cd11bc
0036:Call KERNEL32.GetProcAddress(7bc10000,42cd403c "NtAcceptConnectPort")
ret=42cd11de
0036:Ret  KERNEL32.GetProcAddress() retval=7bc20c0c ret=42cd11de
0036:Call KERNEL32.GetProcAddress(7bc10000,42cd4050 "NtCompleteConnectPort")
ret=42cd1200
0036:Ret  KERNEL32.GetProcAddress() retval=7bc20dbc ret=42cd1200
0036:Call KERNEL32.GetProcAddress(7bc10000,42cd4068 "NtReplyWaitReceivePort")
ret=42cd1222
0036:Ret  KERNEL32.GetProcAddress() retval=7bc21884 ret=42cd1222
0036:Call KERNEL32.GetProcAddress(7bc10000,42cd4080 "NtReplyPort") ret=42cd1244
0036:Ret  KERNEL32.GetProcAddress() retval=7bc1eb3c ret=42cd1244
0036:Call KERNEL32.GetProcAddress(7bc10000,42cd408c "NtRequestPort")
ret=42cd1266
0036:Ret  KERNEL32.GetProcAddress() retval=7bc1ebc0 ret=42cd1266
0036:Call KERNEL32.GetProcAddress(7bc10000,42cd409c "NtRequestWaitReplyPort")
ret=42cd1285
0036:Ret  KERNEL32.GetProcAddress() retval=7bc2189c ret=42cd1285
0036:Call KERNEL32.GetProcAddress(7bc10000,42cd40b4
"NtImpersonateClientOfPort") ret=42cd12a4
0036:Ret  KERNEL32.GetProcAddress() retval=7bc1e8d4 ret=42cd12a4
0036:Call KERNEL32.GetProcAddress(7bc10000,42cd40d0 "NtClose") ret=42cd12c3
0036:Ret  KERNEL32.GetProcAddress() retval=7bc20da4 ret=42cd12c3 
0036:Call KERNEL32.FreeLibrary(7bc10000) ret=42cd12dd
0036:Ret  KERNEL32.FreeLibrary() retval=00000001 ret=42cd12dd
0036:Call KERNEL32.MultiByteToWideChar(00000000,00000000,031eaf14
"\\BaseNamedObjects\\Global\\NEXUS4MSSQLSERVER",ffffffff,031ead0c,00000104)
ret=42cd15c3
0036:Ret  KERNEL32.MultiByteToWideChar() retval=0000002b ret=42cd15c3
0036:Call ntdll.wcslen(031ead0c
L"\\BaseNamedObjects\\Global\\NEXUS4MSSQLSERVER") ret=42cd15de
0036:Ret  ntdll.wcslen() retval=0000002a ret=42cd15de
0036:Call ntdll.NtCreatePort(00140014,031eb01c,00000000,00000038,00080000)
ret=42cd1654
0036:fixme:ntdll:NtCreatePort (0x140014,0x31eb01c,0,56,0x80000),stub!
0036:Ret  ntdll.NtCreatePort() retval=c0000002 ret=42cd1654
0036:Call KERNEL32.GetLastError() ret=42cd1996
0036:Ret  KERNEL32.GetLastError() retval=00002747 ret=42cd1996
0036:RET  SSmsLPCn.ConnectionListen() retval=00000000 ret=42cf5c30
0036:Call msvcrt.free(00140010) ret=42cf5c6c
0036:Call ntdll.RtlFreeHeap(00110000,00000000,00140010) ret=7ea1d3d0
0036:Ret  ntdll.RtlFreeHeap() retval=00000001 ret=7ea1d3d0
000d:Ret  KERNEL32.LoadLibraryExW() retval=00000000 ret=7ed9e127
0036:Ret  msvcrt.free() retval=00000001 ret=42cf5c6c
000d:Call ntdll.RtlFreeHeap(00110000,00000000,00000000) ret=7ed9e9d1
000d:Ret  ntdll.RtlFreeHeap() retval=00000001 ret=7ed9e9d1
000d:Call ntdll.RtlFreeHeap(00110000,00000000,00000000) ret=7ed9e9fb
000d:Ret  ntdll.RtlFreeHeap() retval=00000001 ret=7ed9e9fb
0036:Call
advapi32.ReportEventA(cafe4242,00000001,00000008,c0004a43,00000000,00000001,00000000,031eb02c
",\xaf\x1e\x03X\xb0\x1e\x03\x9e\\\xcfBP\xc0\x13",00000000) ret=42cf5b96
000d:Call ntdll.RtlFreeHeap(00110000,00000000,00000000) ret=7ed9ea25
000d:Ret  ntdll.RtlFreeHeap() retval=00000001 ret=7ed9ea25
0036:fixme:advapi:ReportEventA
(0xcafe4242,0x0001,0x0008,0xc0004a43,(nil),0x0001,0x00000000,0x31eb02c,(nil)):
stub
000d:Call KERNEL32.LoadLibraryExW(7edaa25c L"user32",00000000,00000002)
ret=7ed9e127
0036:fixme:advapi:ReportEventW
(0xcafe4242,0x0001,0x0008,0xc0004a43,(nil),0x0001,0x00000000,0x12db70,(nil)):
stub
0036:err:eventlog:ReportEventW L"ConnectionListen(Shared-Memory (LPC)) : Error
10055"
0036:Ret  advapi32.ReportEventA() retval=00000001 ret=42cf5b96 
--- snip ---

Server log file:

--- snip ---
...
2012-03-04 09:51:02.68 server    Using 'SSNETLIB.DLL' version '8.0.766'.
2012-03-04 09:51:02.69 spid5     Clearing tempdb database.
2012-03-04 09:51:02.70 server    SQL server listening on .
2012-03-04 09:51:02.70 server    Error: 17826, Severity: 18, State: 1
2012-03-04 09:51:02.70 server    Could not set up Net-Library 'SSNETLIB'..
2012-03-04 09:51:02.70 server    Unable to load any netlibs.
2012-03-04 09:51:02.70 server    SQL Server could not spawn FRunCM thread.
--- snip ---

Not sure if LPC is a strict requirement for the SQL server/service start.
SQL supports named pipe and TCP besides "shared memory" (LPC).

Regards

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list