[Bug 33376] Stick soldier 2 crash on startup

wine-bugs at winehq.org wine-bugs at winehq.org
Tue May 21 12:43:39 CDT 2013


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

--- Comment #5 from Fabian Ebner <f.ebner94 at gmail.com> 2013-05-21 12:43:39 CDT ---
In the Data directory of the game is an empty file (size 0) named SSents.etb
If you rename or move the file, the game will start and show the title screen
(if you try to start a match, it still crashes ...)

The root cause of the crash is
trace:file:CreateFileW L"Data\\SSents.etb" GENERIC_READ FILE_SHARE_READ
FILE_SHARE_WRITE  creation 3 attributes 0x80
trace:file:RtlDosPathNameToNtPathName_U
(L"Data\\SSents.etb",0x33f5b8,(nil),(nil))
trace:file:RtlGetFullPathName_U (L"Data\\SSents.etb" 520 0x33f308 (nil))
trace:file:wine_nt_to_unix_file_name
L"\\??\\Z:\\home\\fabian\\Downloads\\ss2\\Data\\SSents.etb" ->
"/home/fabian/.wine/dosdevices/z:/home/fabian/Downloads/ss2/Data/SSents.etb"
trace:file:CreateFileW returning 0x80   ##opened empty file
trace:file:ReadFile 0x80 0x1345b8 512 0x33f8b8 (nil)  ##read empty file
wine: Unhandled page fault on read access to 0x00000000 at address 0x4119e7
(thread 0009), starting debugger...

So either the file shouldn't be opened (when reconstructing the circumstances
on my vista installation it opened the file, so this is probably not the
problem) or ReadFile is missing some security check for empty files.

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