[Bug 27680] Multiple 64-bit applications crash on startup (violation of the Windows 64-bit ABI, stack pointer (RSP) must be 16-byte aligned when making a call to Win64 API)

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Jun 28 13:22:55 CDT 2015


https://bugs.winehq.org/show_bug.cgi?id=27680

--- Comment #22 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

--- quote ---
So far there are 7 apps affected by this problem, and for at least one of them
(Planetside 2) it is critical because there is no 32bit alternative to use as a
workaround. I'd say that is a significant number.
--- quote ---

I wouldn't call seven out of potentially thousands of 64-bit apps significant.
Wine is pretty good at catching those offenders and I've tested/run a number of
64-bit apps without issues.
There are 64-bit versions of major games that work out of the box (WoW for
example).

The GO project (bug 36695) fixed their code because Wine caught the violation.

https://github.com/golang/go/commit/418b39d436ceda146bbbced0bd716bff2f8371e2

Others don't bother at all, they just ignore Linux and/or don't like Wine.

--- quote ---
It should be up to Wine to reproduce Windows behaviour, where this issue is
non-fatal.
--- quote ---

It's technically and legally not possible to recreate exact binary code
sequence of MS Windows API entries and potentially leaf functions, especially
when it comes down to native API.

But alas, it's up to Alexandre to introduce the rather drastic (in my opinion)
measure of realigning the stack on Win64.
Those apps violate the Win64 ABI and "magically" fixing this might hide even
more mess, making analysis harder.

Regards

-- 
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