http://bugs.winehq.org/show_bug.cgi?id=26940
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@winehq.org ReportedBy: focht@gmx.net
Hello,
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") ret=0042168c 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") ret=004216a6 002f:Ret KERNEL32.GetProcAddress() retval=00000000 ret=004216a6 002f:Call advapi32.StartTraceW(0047ec38,0047e800 L"NT Kernel Logger",0047e788) ret=004217bd 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 tid=0033 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 ---
Regards
http://bugs.winehq.org/show_bug.cgi?id=26940
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://download.sysinternal | |s.com/Files/ProcessExplorer | |.zip
--- Comment #1 from Anastasius Focht focht@gmx.net 2011-04-26 12:58:22 CDT --- Hello,
filling some fields.
Regards
http://bugs.winehq.org/show_bug.cgi?id=26940
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #2 from Austin English austinenglish@gmail.com 2011-04-29 11:27:59 CDT --- Fixed by: http://source.winehq.org/git/wine.git/commitdiff/f9a455964c818392f6c0796b66b... http://source.winehq.org/git/wine.git/commitdiff/51bdb255e3c635a4918ad1c9db9...
http://bugs.winehq.org/show_bug.cgi?id=26940
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org 2011-04-29 13:16:22 CDT --- Closing bugs fixed in 1.3.19.
http://bugs.winehq.org/show_bug.cgi?id=26940
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |f9a455964c818392f6c0796b66b | |a11e3611b4fa6
--- Comment #4 from Anastasius Focht focht@gmx.net 2011-10-11 15:01:28 CDT --- Hello,
filling/correcting fields ...
Regards
https://bugs.winehq.org/show_bug.cgi?id=26940
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://download.sysinternal |https://web.archive.org/web |s.com/Files/ProcessExplorer |/20110514155558/http://down |.zip |load.sysinternals.com/Files | |/ProcessExplorer.zip
https://bugs.winehq.org/show_bug.cgi?id=26940
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|advapi32: Windows |Windows Sysinternals |Sysinternals Process |Process Explorer v14.x |Explorer v14.x needs |needs |OpenTraceA/W() and |advapi32.OpenTraceA/W() and |ProcessTrace() stubs |ProcessTrace() stubs