[Bug 52008] Star Ocean The Last Hope International crashes on startup after Wine 6.17

WineHQ Bugzilla wine-bugs at winehq.org
Wed Nov 10 23:14:44 CST 2021


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

--- Comment #2 from Patrick Hibbs <hibbsncc1701 at gmail.com> ---
Created attachment 71015
  --> https://bugs.winehq.org/attachment.cgi?id=71015
Shell32 trace on git master

OK after debugging with WINEDEBUG="+shell", we find out that it crashed
attempting to resolve the path to the My Documents directory.

Looking at the prefix I found that the "My Documents" folder was a broken
symlink. (Caused due to a user home directory migration.)

Fixing the symlink allowed the game to run correctly, and even fixed the saving
issue. (Which means the broken symlink was to blame here as well.)

Is this the correct behavior? It would seem to me that the proper behavior
would be to either:

1. Fail to resolve the broken symlink and return an error to the caller.

2. Delete the broken symlink, fall back to creating a folder within the
prefix's user profile and using it instead. (Or maybe using the folder
redirection support to do this so it's visible in winecfg.)

In any case, wine previously allowed this. Even if it could not open the
directory, the path would still be "resolved" as far as the caller is
concerned. At the very least, a warning in the console would be a nice user
friendly improvement here. So that wine doesn't get inundated with "I broke my
prefix" bug reports. :P

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