[Bug 38115] Grandia 2: game crashes after videos are skipped

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Sep 18 11:19:19 CDT 2015


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

--- Comment #3 from Christian Wehrmeyer <c.wehrmeyer at gmx.de> ---
I guess you meant "pin-point" where Wine does something wrong ...

And if I remember correctly (unfortunately it has been some months and I don't
have the disassembly database anymore) there was an fopen(3) call with the real
file name ("kami01.vms.adx"). If that call fails because the file does not
exist, fopen(3) returns a NULL pointer.

That the developers of the game did not check for NULL pointers - OK, that's a
given.
But once I change the file name, the game at least starts.

The fopen(3) implementation of Wine should take into consideration that the
given file name is not 1:1 available on the file system. But if it's converted
into a DOS name and then searched for again, it will be found.

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