http://bugs.winehq.org/show_bug.cgi?id=26768
Summary: oleaut32 warnings on x86-64 Product: Wine Version: unspecified Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: oleaut32 AssignedTo: wine-bugs@winehq.org ReportedBy: adys.wh@gmail.com
../../../dlls/oleaut32/tmarshal.c:426:3: warning: #warning You need to implement stubless proxies for your architecture ../../../dlls/oleaut32/tmarshal.c: In function ‘serialize_param’: ../../../dlls/oleaut32/tmarshal.c:717:279: warning: cast to pointer from integer of different size ../../../dlls/oleaut32/tmarshal.c:793:73: warning: cast to pointer from integer of different size ../../../dlls/oleaut32/tmarshal.c:794:56: warning: cast to pointer from integer of different size ../../../dlls/oleaut32/tmarshal.c:800:50: warning: cast to pointer from integer of different size ../../../dlls/oleaut32/tmarshal.c:802:7: warning: cast to pointer from integer of different size ../../../dlls/oleaut32/tmarshal.c:802:41: warning: cast to pointer from integer of different size ../../../dlls/oleaut32/tmarshal.c:807:51: warning: cast to pointer from integer of different size ../../../dlls/oleaut32/tmarshal.c:809:7: warning: cast to pointer from integer of different size ../../../dlls/oleaut32/tmarshal.c:809:41: warning: cast to pointer from integer of different size ../../../dlls/oleaut32/tmarshal.c:895:92: warning: cast to pointer from integer of different size ../../../dlls/oleaut32/tmarshal.c: In function ‘deserialize_param’: ../../../dlls/oleaut32/tmarshal.c:1076:12: warning: cast from pointer to integer of different size ../../../dlls/oleaut32/tmarshal.c:1079:78: warning: cast to pointer from integer of different size ../../../dlls/oleaut32/tmarshal.c:1086:15: warning: cast from pointer to integer of different size ../../../dlls/oleaut32/tmarshal.c:1181:11: warning: cast from pointer to integer of different size ../../../dlls/oleaut32/tmarshal.c:1189:16: warning: cast to pointer from integer of different size ../../../dlls/oleaut32/tmarshal.c: In function ‘init_proxy_entry_point’: ../../../dlls/oleaut32/tmarshal.c:1699:17: warning: unused variable ‘xasm’ ../../../dlls/oleaut32/tmarshal.c: At top level: ../../../dlls/oleaut32/tmarshal.c:1317:1: warning: ‘xCall’ defined but not used
http://bugs.winehq.org/show_bug.cgi?id=26768
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |1.3.17 Summary|oleaut32 warnings on x86-64 |There are warnings when | |compiling oleaut32 on | |x86-64 Severity|minor |trivial
http://bugs.winehq.org/show_bug.cgi?id=26768
Ken Sharp kennybobs@o2.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source
http://bugs.winehq.org/show_bug.cgi?id=26768
Jerome Leclanche adys.wh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |win64
http://bugs.winehq.org/show_bug.cgi?id=26768
--- Comment #1 from Jerome Leclanche adys.wh@gmail.com 2011-09-01 03:34:56 CDT --- Still an issue in wine-1.3.27-152-g1103cb9
http://bugs.winehq.org/show_bug.cgi?id=26768
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |dank@kegel.com Summary|There are warnings when |oleaut32 needs stubless |compiling oleaut32 on |proxies implemented on |x86-64 |x86-64 Ever Confirmed|0 |1 Severity|trivial |normal
--- Comment #2 from Dan Kegel dank@kegel.com 2011-09-05 09:32:41 CDT --- Changing description to target most serious warning.
http://bugs.winehq.org/show_bug.cgi?id=26768
--- Comment #3 from Dan Kegel dank@kegel.com 2011-09-05 14:14:57 CDT --- I think this causes test ieframe/ie.ok to fail in 64 bit mode. Log:
../../../tools/runtest -q -P wine -M ieframe.dll -T ../../.. -p ieframe_test.exe.so ie.c && touch ie.ok tmarshal.c:1777: PSFacBuf_CreateProxy: Assertion `sizeof(TMAsmProxy) == 16' failed.
http://bugs.winehq.org/show_bug.cgi?id=26768
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fgouget@codeweavers.com
--- Comment #4 from François Gouget fgouget@codeweavers.com 2011-09-18 07:53:14 CDT --- This causes two tests to fail: ieframe:ie and oleaut32:tmarshal :-(
http://bugs.winehq.org/show_bug.cgi?id=26768
nathan.n saturn_systems@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |saturn_systems@yahoo.com
http://bugs.winehq.org/show_bug.cgi?id=26768
A Wine user RandomAccountName@mail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |RandomAccountName@mail.com
--- Comment #5 from A Wine user RandomAccountName@mail.com 2011-11-06 03:51:37 CST --- (In reply to comment #3)
tmarshal.c:1777: PSFacBuf_CreateProxy: Assertion `sizeof(TMAsmProxy) == 16' failed.
I see the same error when trying to run 64-bit IE8.
http://bugs.winehq.org/show_bug.cgi?id=26768
--- Comment #6 from Austin English austinenglish@gmail.com 2013-01-29 21:13:49 CST --- Still in wine-1.5.22-221-g22f8205
http://bugs.winehq.org/show_bug.cgi?id=26768
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net
--- Comment #7 from Anastasius Focht focht@gmx.net 2013-09-28 07:05:17 CDT --- Hello folks,
still present as of Wine 1.7.3
64-bit .NET Framework native image generator (NGEN) also needs this.
--- snip --- $ WINEDEBUG=+tid,+seh,+relay,+ole,+olerelay wine "c:\windows\Microsoft.NET\Framework64\v2.0.50727\ngen.exe" update ... 002c:trace:ole:PSFacBuf_CreateProxy (...{5c6fb596-4828-4ed5-b9dd-293dad736fb5}...) ... 002c:trace:ole:PSFacBuf_CreateProxy Got 4 funcs, vtbl size 32 002c:Call ole32.CoTaskMemAlloc(00000080) ret=7fe11e08cf90 002c:Call ntdll.RtlAllocateHeap(00010000,00000000,00000080) ret=7fe11dce6bbb 002c:Ret ntdll.RtlAllocateHeap() retval=00091260 ret=7fe11dce6bbb 002c:Ret ole32.CoTaskMemAlloc() retval=00091260 ret=7fe11e08cf90 002c:Call KERNEL32.VirtualAlloc(00000000,00000000,00001000,00000040) ret=7fe11e08cff3 002c:Ret KERNEL32.VirtualAlloc() retval=00000000 ret=7fe11e08cff3 002c:err:ole:PSFacBuf_CreateProxy Could not commit pages for proxy thunks 002c:Call ole32.CoTaskMemFree(00091260) ret=7fe11e08d073 002c:Call ntdll.RtlFreeHeap(00010000,00000000,00091260) ret=7fe11dce7210 002c:Ret ntdll.RtlFreeHeap() retval=00000001 ret=7fe11dce7210 002c:Ret ole32.CoTaskMemFree() retval=00000000 ret=7fe11e08d073 002c:err:ole:proxy_manager_create_ifproxy Could not create proxy for interface {5c6fb596-4828-4ed5-b9dd-293dad736fb5}, error 0x8007000e 002c:trace:ole:ifproxy_destroy 0x68e80 ... 002c:warn:ole:StdMarshalImpl_UnmarshalInterface Failed with error 0x8007000e 002c:err:ole:CoUnmarshalInterface IMarshal::UnmarshalInterface failed, 0x8007000e 002c:Call ntdll.RtlFreeHeap(00010000,00000000,00061c10) ret=7fe11dcf0219 002c:Ret ntdll.RtlFreeHeap() retval=00000001 ret=7fe11dcf0219 002c:trace:ole:CoUnmarshalInterface completed with hr 0x8007000e 002c:Ret ole32.CoUnmarshalInterface() retval=8007000e ret=7fe11d0b5be1 ... 002c:Call KERNEL32.RaiseException(8007000e,00000000,00000000,00000000) ret=7fe11d0df61f 002c:trace:seh:raise_exception code=8007000e flags=0 addr=0x7b849f6f ip=7b849f6f tid=002c 002c:trace:seh:raise_exception rax=000000000023c460 rbx=00007fe12539a3c3 rcx=000000000023c460 rdx=0000000000000000 002c:trace:seh:raise_exception rsi=000000000023c660 rdi=000000000023c5e0 rbp=000000000023c5b0 rsp=000000000023c440 002c:trace:seh:raise_exception r8=0000000000000000 r9=0000000000000000 r10=0000000000000000 r11=00000030b85814e0 002c:trace:seh:raise_exception r12=ffffffffffffffff r13=00000000000598d8 r14=0000000000000001 r15=00000000000598c0 ... 002c:Call msvcrt.?terminate@@YAXXZ() ret=781369dc .. 002c:trace:seh:MSVCRT_raise (22) 002c:Call KERNEL32.ExitProcess(00000003) ret=7fe11e6c85cd --- snip ---
Regards
https://bugs.winehq.org/show_bug.cgi?id=26768
chiameng chiameng1@ymail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |chiameng1@ymail.com
https://bugs.winehq.org/show_bug.cgi?id=26768
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |34967
https://bugs.winehq.org/show_bug.cgi?id=26768
zcarterc@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |zcarterc@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=26768
Hin-Tak Leung htl10@users.sourceforge.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |htl10@users.sourceforge.net
--- Comment #8 from Hin-Tak Leung htl10@users.sourceforge.net --- still a problem with 1.7.51
https://bugs.winehq.org/show_bug.cgi?id=26768
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |STAGED CC| |erich.e.hoover@wine-staging | |.com, michael@fds-team.de, | |sebastian@fds-team.de Staged patchset| |https://github.com/wine-com | |pholio/wine-staging/tree/ma | |ster/patches/oleaut32-x86_6 | |4_Marshaller
https://bugs.winehq.org/show_bug.cgi?id=26768
--- Comment #9 from Sebastian Lackner sebastian@fds-team.de --- I've started working on this (see staged patchset), but at the time of writing, there are still a couple of known problems left, for example with marshalling of BYVAL structs. Nevertheless, depending on what those apps actually need, there is a small chance that it still works, so feel free to try it out.
https://bugs.winehq.org/show_bug.cgi?id=26768
--- Comment #10 from Nikolay Sivov bunglehead@gmail.com --- See this one https://bugs.winehq.org/show_bug.cgi?id=14078.
https://bugs.winehq.org/show_bug.cgi?id=26768
--- Comment #11 from Sebastian Lackner sebastian@fds-team.de --- (In reply to Nikolay Sivov from comment #10)
See this one https://bugs.winehq.org/show_bug.cgi?id=14078.
Thanks, wasn't aware of this issue. Could indeed be related.
BTW: The struct issue seems to be the only problem, when skipping this test (for example with http://ix.io/mez) the rest passes fine on x86_64.
https://bugs.winehq.org/show_bug.cgi?id=26768
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wylda@volny.cz
--- Comment #12 from Wylda wylda@volny.cz --- *** Bug 35602 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=26768
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
https://bugs.winehq.org/show_bug.cgi?id=26768
--- Comment #13 from Wylda wylda@volny.cz ---
Still present in wine-2.0-160-g152b240153
https://bugs.winehq.org/show_bug.cgi?id=26768
Matteo Bruni matteo.mystral@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fjfrackiewicz@gmail.com
--- Comment #14 from Matteo Bruni matteo.mystral@gmail.com --- *** Bug 42350 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=26768
Marcus Meissner marcus@jet.franken.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |marcus@jet.franken.de
https://bugs.winehq.org/show_bug.cgi?id=26768
--- Comment #15 from Marcus Meissner marcus@jet.franken.de --- One issue is that the x86_64 wrapper stub only passes 4 arguments (this + 3 arguments) and the testcase uses massive amounts of arguments.
Needs a bit hacking.
https://bugs.winehq.org/show_bug.cgi?id=26768
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nerv@dawncrow.de Staged patchset|https://github.com/wine-com |https://github.com/wine-sta |pholio/wine-staging/tree/ma |ging/wine-staging/tree/mast |ster/patches/oleaut32-x86_6 |er/patches/oleaut32-x86_64_ |4_Marshaller |Marshaller
https://bugs.winehq.org/show_bug.cgi?id=26768
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |madewokherd@gmail.com
--- Comment #16 from Zebediah Figura z.figura12@gmail.com --- *** Bug 43749 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=26768
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |077b4391d442e927a2a59b5afb2 | |44355b0634aaa Resolution|--- |FIXED CC| |z.figura12@gmail.com Status|STAGED |RESOLVED
--- Comment #17 from Zebediah Figura z.figura12@gmail.com --- This is implemented now; https://source.winehq.org/git/wine.git/commit/077b4391d442e927a2a59b5afb2443.... Please file new bugs for remaining issues.
https://bugs.winehq.org/show_bug.cgi?id=26768
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #18 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 3.21.