https://bugs.winehq.org/show_bug.cgi?id=49591
Bug ID: 49591 Summary: Multiple GOG installers display the error message "Out of Global Vars range" Product: Wine Version: 5.12 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: qsniyg@mail.com Distribution: ---
(This isn't a new issue, but I couldn't find any existing bug reports about this)
This doesn't prevent the installers from working, as it only pops up at the end of the installation, so it's not a major issue.
The smallest installer for a free game I could find (so far) that can reproduce this issue is Stargunner: https://www.gog.com/game/stargunner . There are other smaller installers (such as Ultima 4), but they don't contain this issue (at least not when I tested them).
Looking at the GOG log (C:/users/.../Temp/Setup Log ...), these lines look relevant:
--- snip --- CurStepChanged raised an exception. Exception message: Message box (OK): Runtime Error (at 73:1379): --- snip --- Current Page: Finished Exception message: Message box (OK): Runtime Error (at 211:814):
Out of Global Vars range. --- snip --- Exception message: Message box (OK): Invalid Opcode. --- snip ---
Looking at the wine log:
--- snip --- 1384816.651:00cc:00d0:trace:nls:MultiByteToWideChar cp 1252 "Out of Global Vars range" -> L"Out of Global Vars range", ret = 24 1384816.651:00cc:00d0:Ret KERNEL32.MultiByteToWideChar() retval=00000018 ret=00405449 1384816.651:00cc:00d0:Call KERNEL32.RaiseException(0eedfade,00000001,00000007,0031dca8) ret=004a0c4b 1384816.652:00cc:00d0:trace:seh:raise_exception code=eedfade flags=1 addr=0x7b00f787 ip=7b00f787 tid=00d0 --- snip ---
I'm not quite sure what is the cause of the issue yet. There are multiple other eedfade (pascal) exceptions, but I don't believe they are related (one is due to trying to access c:\gog games\Stargunner\goglog.ini, which doesn't exist, another is due to trying to access a non-existing CLSID in HKEY_CLASSES_ROOT)