[Bug 26940] New: advapi32: Windows Sysinternals Process Explorer v14.x needs OpenTraceA/W() and ProcessTrace() stubs

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Apr 26 12:57:30 CDT 2011


           Summary: advapi32: Windows Sysinternals Process Explorer v14.x
                    needs OpenTraceA/W() and ProcessTrace() stubs
           Product: Wine
           Version: 1.3.18
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: advapi32
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: focht at gmx.net


ProcessExplorer 14.x needs OpenTraceW() and ProcessTrace() stubs.
They are commented out in spec file hence there is not even unimpl stub to hit.
The returned address (NULL) isn't checked and directly dereferenced, leading to
crash dialog.
Though the app seems to recover from it, the data collecting thread just dies.

Download: http://technet.microsoft.com/en-us/sysinternals/bb896653

--- snip ---
002f:Call KERNEL32.LoadLibraryW(0046ec38 L"advapi32.dll") ret=0042166f
002f:Ret  KERNEL32.LoadLibraryW() retval=68430000 ret=0042166f
002f:Call KERNEL32.GetProcAddress(68430000,0046ec2c "StartTraceW") ret=0042167f
002f:Ret  KERNEL32.GetProcAddress() retval=6843ff50 ret=0042167f
002f:Call KERNEL32.GetProcAddress(68430000,0046ec1c "ControlTraceW")
002f:Ret  KERNEL32.GetProcAddress() retval=6843dee0 ret=0042168c
002f:Call KERNEL32.GetProcAddress(68430000,0046ec10 "OpenTraceW") ret=00421699
002f:Ret  KERNEL32.GetProcAddress() retval=00000000 ret=00421699
002f:Call KERNEL32.GetProcAddress(68430000,0046ec00 "ProcessTrace")
002f:Ret  KERNEL32.GetProcAddress() retval=00000000 ret=004216a6
002f:Call advapi32.StartTraceW(0047ec38,0047e800 L"NT Kernel Logger",0047e788)
002f:fixme:advapi:StartTraceW (0x47ec38, L"NT Kernel Logger", 0x47e788) stub
002f:Ret  advapi32.StartTraceW() retval=00000000 ret=004217bd
0033:trace:seh:raise_exception code=c0000005 flags=0 addr=(nil) ip=00000000
0033:trace:seh:raise_exception  info[0]=00000000
0033:trace:seh:raise_exception  info[1]=00000000
0033:trace:seh:raise_exception  eax=00b9e864 ebx=00000000 ecx=00b9e860
edx=00000010 esi=0047ec50 edi=0047e788
--- snip ---

--- snip dlls/advapi32/advapi32.spec ---
# @ stub OpenTraceA
# @ stub OpenTraceW
# @ stub ProcessTrace

--- snip dlls/advapi32/advapi32.spec ---


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