[Bug 46236] Far 3.0 x64 crashes starting from build 5200

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Jan 27 14:50:52 CST 2019


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

--- Comment #13 from Chatty <mail at chatty.de> ---
With joined efforts Alex Alabuzhev and I have tracked the issue further down.
>From build 5200 upwards they changed from gcc to VS2015, later VS2017. The
Microsoft compiler handles thread initialization differently in x64 leading to
the above described SEH.

One workaround is to compile Far x64 with gcc, then the original code work up
to the latest build (5356 at the moment).

Another workaround is to disable the window thread initialized in
wm_listener::Check() - just insert return as first instruction. According to
Alex it's not important on a Mac. Then Far x64 can be started also up to the
latest build but immediately an exception occurs also pointing at thread
initialization within MSVCRT. So back to workaround one.

To clarify: Far x64 (or any similar multithreaded app) compiled with VS201x
used with Mac-Wine is the only combination affected. Bug title should be
changed to "x64 multithreading compiled with VS201x raises SEH (example Far
x64)".

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