[Bug 43890] Divinity: Original Sin 2 does not successfully launch

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Sep 7 19:47:58 CDT 2018


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

beren.minor+wine at gmail.com <beren.minor+wine at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |beren.minor+wine at gmail.com

--- Comment #9 from beren.minor+wine at gmail.com <beren.minor+wine at gmail.com> ---
Hi, I investigated the "Definitive Edition" version of the game, distributed on
GOG (version 3.6.28.9550).

I'm not entirely sure if this is the only issue with DOS2, but from my
investigation, one of the reason is that the game uses 0xfffffffe as an
affinity mask for its threads, when the number of logical cores is less than 6.

In this case, SetThreadAffinityMask returns an error as the mask isn't a subset
of the process affinity mask, as described by the Windows API documentation.

I don't know what is actually happening on Windows in this case, but because 0
is returned in this case, the game assume the thread creation failed, and ends
up crashing.

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