https://bugs.winehq.org/show_bug.cgi?id=49931
Bug ID: 49931 Summary: 64-bit Dota 2 randomly crashes, but 32-bit Dota 2 works perfectly Product: Wine Version: 5.18 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: alexhenrie24@gmail.com Distribution: ---
To reproduce:
1. Install Steam for Windows.
2. Install Dota 2 via `wine 'C:\Program Files (x86)\Steam\steam.exe' steam://run/570`. This will install both the 32-bit and the 64-bit version of the game.
3. Start 64-bit Dota via `wine 'C:\Program Files (x86)\Steam\steamapps\common\dota 2 beta\game\bin\win64\dota2.exe'`.
4. In the lower-right corner, click Play Dota, Practice With Bots, Solo, Start Bot Match.
5. Click on any hero, click Lock In, and wait for the game to start.
Before the game starts, Dota freezes, then crashes. Sometimes it crashes before you even click Play Dota. Sometimes it crashes right after the map starts rendering.
No useful information is written to the console in vanilla Wine. However, in Wine Staging, lines similar to the following are printed repeatedly right before the crash:
04b8:err:virtual:try_map_free_area mmap() error Cannot allocate memory, range 0x7f1522b50000-0x7f1522b53000, unix_prot 0x7. 04b8:err:virtual:try_map_free_area mmap() error Cannot allocate memory, range 0x7f1522c80000-0x7f1522c83000, unix_prot 0x7. 04b8:err:virtual:try_map_free_area mmap() error Cannot allocate memory, range 0x7f1523ad0000-0x7f1523ad3000, unix_prot 0x7. 04b8:err:virtual:alloc_area_in_reserved_or_between_callback Could not map in reserved area. m Files (x86)\Steam\steamapps\common\dota 2 beta\game\bin\win64\dota2.exe: ../wine-staging/dlls/ntdll/unix/virtual.c:1286: create_view: Assertion `!((UINT_PTR)base & page_mask)' failed.
If you instead run 32-bit Dota via `wine 'C:\Program Files (x86)\Steam\steamapps\common\dota 2 beta\game\bin\win32\dota2.exe'`, the game runs perfectly.