https://bugs.winehq.org/show_bug.cgi?id=38602
Bug ID: 38602 Summary: Steam 'steamwebhelper.exe' (CEF) crashes on unimplemented function ADVAPI32.dll.ImpersonateAnonymousToken during clipboard paste into 'search store' field Product: Wine Version: 1.7.43 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: advapi32 Assignee: wine-bugs@winehq.org Reporter: focht@gmx.net Distribution: ---
Hello folks,
a rather surprising find.
Paste text from clipboard into Steam store 'search the store' field ... *boom*
32-bit WINEPREFIX, default 'Windows XP', Steam client: May 14 2015 17:44:20, v1431729692
--- snip --- ... 004c:Call user32.IsClipboardFormatAvailable(0000c008) ret=119aa872 004c:Call winex11.drv.IsClipboardFormatAvailable(0000c008) ret=7ec2e5fe 004c:Ret winex11.drv.IsClipboardFormatAvailable() retval=00000000 ret=7ec2e5fe 004c:Ret user32.IsClipboardFormatAvailable() retval=00000000 ret=119aa872 004c:Call KERNEL32.GetProcAddress(7ec20000,1211f096 "IsClipboardFormatAvailable") ret=115952d6 004c:Ret KERNEL32.GetProcAddress() retval=7ec24530 ret=115952d6 004c:Call user32.IsClipboardFormatAvailable(00000008) ret=119aa8af 004c:Call winex11.drv.IsClipboardFormatAvailable(00000008) ret=7ec2e5fe 004c:Ret winex11.drv.IsClipboardFormatAvailable() retval=00000000 ret=7ec2e5fe 004c:Ret user32.IsClipboardFormatAvailable() retval=00000000 ret=119aa8af 004c:Call KERNEL32.GetProcAddress(7ec20000,1211f000 "OpenClipboard") ret=115952d6 004c:Ret KERNEL32.GetProcAddress() retval=7ec24c50 ret=115952d6 004c:Call user32.OpenClipboard(00000000) ret=119a9f64 004c:Ret user32.OpenClipboard() retval=00000001 ret=119a9f64 004c:Call ntdll.RtlAllocateHeap(00110000,00000000,00000014) ret=10c2958e 004c:Ret ntdll.RtlAllocateHeap() retval=0016b6c0 ret=10c2958e 004c:Call user32.RegisterClipboardFormatW(11f623d8 L"Chromium Web Custom MIME Data Format") ret=119aa53d 004c:Ret user32.RegisterClipboardFormatW() retval=0000c066 ret=119aa53d 004c:Call KERNEL32.GetProcAddress(7ec20000,1211f054 "GetClipboardData") ret=115952d6 004c:Ret KERNEL32.GetProcAddress() retval=7ec23738 ret=115952d6 004c:Call user32.GetClipboardData(0000c066) ret=119aa913 004c:Call winex11.drv.GetClipboardData(0000c066) ret=7ec2e76c 004c:Ret winex11.drv.GetClipboardData() retval=00000000 ret=7ec2e76c 004c:Ret user32.GetClipboardData() retval=00000000 ret=119aa913 004c:trace:seh:raise_exception code=80000100 flags=1 addr=0x7bc531ff ip=7bc531ff tid=004c 004c:trace:seh:raise_exception info[0]=1212226e 004c:trace:seh:raise_exception info[1]=12123bfc wine: Call from 0x7bc531ff to unimplemented function ADVAPI32.dll.ImpersonateAnonymousToken, aborting 004c:trace:seh:call_stack_handlers calling handler at 0x7bca025f code=80000100 flags=1 004c:Call KERNEL32.UnhandledExceptionFilter(0225de44) ret=7bca0299 wine: Unimplemented function ADVAPI32.dll.ImpersonateAnonymousToken called at address 0x7bc531ff (thread 004c), starting debugger... --- snip ---
MSDN: https://msdn.microsoft.com/en-us/library/windows/desktop/aa378610%28v=vs.85%...
$ wine --version wine-1.7.43
Regards
https://bugs.winehq.org/show_bug.cgi?id=38602
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |https://steamcdn-a.akamaihd | |.net/client/installer/Steam | |Setup.exe
https://bugs.winehq.org/show_bug.cgi?id=38602
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian@fds-team.de
--- Comment #1 from Sebastian Lackner sebastian@fds-team.de --- I simple stub is already part of wine staging, originally written for a different app: https://github.com/wine-compholio/wine-staging/blob/master/patches/advapi32-...
https://bugs.winehq.org/show_bug.cgi?id=38602
--- Comment #2 from Anastasius Focht focht@gmx.net --- Hello Sebastian,
well time to upstream this then :)
Found it buried here: https://bugs.wine-staging.com/show_bug.cgi?id=254 ("Uplay 6.x crashes when pressing Ctrl-v at the login screen (needs ADVAPI32.dl...")
Regards
https://bugs.winehq.org/show_bug.cgi?id=38602
--- Comment #3 from Nikolay Sivov bunglehead@gmail.com --- (In reply to Sebastian Lackner from comment #1)
I simple stub is already part of wine staging, originally written for a different app: https://github.com/wine-compholio/wine-staging/blob/master/patches/advapi32- ImpersonateAnonymousToken/0001-advapi32-Add-stub-for- ImpersonateAnonymousToken.patch
It should be a forward to NtImpersonateAnonymousToken().
https://bugs.winehq.org/show_bug.cgi?id=38602
--- Comment #4 from Nikolay Sivov bunglehead@gmail.com --- Stub is here after http://source.winehq.org/git/wine.git/?a=commit;h=e24eb501d3880c59ce0495cc5e....
https://bugs.winehq.org/show_bug.cgi?id=38602
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |e24eb501d3880c59ce0495cc5ef | |60b2f1db83017 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #5 from Anastasius Focht focht@gmx.net --- Hello folks,
this is fixed by commit https://source.winehq.org/git/wine.git/commitdiff/e24eb501d3880c59ce0495cc5e...
Thanks Sebastian
Copy & paste works, with two stub messages emitted per paste operation
--- snip --- ... 0038:fixme:ntdll:NtImpersonateAnonymousToken (0xfffffffe): stub 0038:fixme:ntdll:NtImpersonateAnonymousToken (0xfffffffe): stub --- snip ---
Regards
https://bugs.winehq.org/show_bug.cgi?id=38602
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.44.
https://bugs.winehq.org/show_bug.cgi?id=38602
mactrix b.adamski@mac.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |b.adamski@mac.com
--- Comment #7 from mactrix b.adamski@mac.com --- Today Steam released an update and the bug reoccurs with 1.7.47.
https://bugs.winehq.org/show_bug.cgi?id=38602
--- Comment #8 from Anastasius Focht focht@gmx.net --- Hello mactrix
--- quote ---- Today Steam released an update and the bug reoccurs with 1.7.47. --- quote ----
the current crash has nothing to do with this bug.
Just because the same process crashes now again doesn't mean it's the same underlying technical issue. Please avoid spreading misinformation.
Regards
https://bugs.winehq.org/show_bug.cgi?id=38602
--- Comment #9 from mactrix b.adamski@mac.com --- Sorry for that Anastasius.
I created a new one: https://bugs.winehq.org/show_bug.cgi?id=38960
https://bugs.winehq.org/show_bug.cgi?id=38602
smdunn21@att.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |smdunn21@att.net