https://bugs.winehq.org/show_bug.cgi?id=43358
--- Comment #1 from Sebastian Lackner sebastian@fds-team.de --- Created attachment 58719 --> https://bugs.winehq.org/attachment.cgi?id=58719 Use assembly wrapper to call OnVoiceProcessingPassStart callback.
My current theory (based on the backtrace and the generated assembly code) is that the OnVoiceProcessingPassStart callback (which is implemented by the application) corrupts the %esi register.
The attached patch should fix this issue (this is a slightly improved version compared to what I shared on IRC), but the question is if it is the correct approach. It is necessary to look at the assembly code of EVE Online to determine if they really use a broken OnVoiceProcessingPassStart function, or if recent versions of GCC just generates incorrect code somewhere else.