[Bug 25583] Starcraft II fails to start

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Dec 27 19:14:49 CST 2010


http://bugs.winehq.org/show_bug.cgi?id=25583

Neil Skrypuch <ns03ja at brocku.ca> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ns03ja at brocku.ca

--- Comment #5 from Neil Skrypuch <ns03ja at brocku.ca> 2010-12-27 19:14:49 CST ---
I can confirm this bug, Starcraft II no longer starts up as of 1.3.8 (1.3.7 was
fine). I have noexec on /tmp as well. Interestingly enough, even if I remove
the default Z: drive mapping (so /tmp should no longer be visible), Starcraft
II still fails to start. I've also tested wine-1.3.10-48-g1288078, with the
same results.

Removing noexec from /tmp allows Starcraft II to start up again, which is
curious, as I still have other filesystems mounted noexec (/proc, /sys, several
ISOs via loopback).

In the newer version of Wine, I see several of these:

err:virtual:map_file_into_view failed to set 00000007 protection on file map,
noexec filesystem?
err:virtual:NtMapViewOfSection map_file_into_view 0x4410000 1000 000000000
failed

In an attempt to find the files in question, I straced Wine, finding this:

[pid 21465] mmap2(0x4410000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_SHARED|MA
P_FIXED, 23, 0) = -1 EPERM (Operation not permitted)
[pid 21465] write(2, "err:virtual:map_file_into_view f"...,
97err:virtual:map_fi
le_into_view failed to set 00000007 protection on file map, noexec filesystem?
) = 97

For fds 19, 22 and 23, which resolve to:

[pid 21465] open("/home/neil/wine-git/dlls/dbghelp/dbghelp.dll.so", O_RDONLY) = 
23
[pid 21465] open("/home/neil/.wine-sc2/dosdevices/c:/users/neil/My
Documents/Sta
rCraft II/2010-12-27 19.27.31 i7-920 Crash",
O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_D
IRECTORY|O_CLOEXEC) = 22

I'm not sure about fd 19, because I couldn't find a corresponding open() call
from the right process (although there are several from other processes).

At this point, I ran out of ideas, because none of those files reside on a
noexec filesystem. Hopefully this is useful to someone though...

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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