benilla-re systems structs docs

s_failedToOpenArchive

global · client

Address
0x82ed90 · 30 bytes, up to 0x82edad
Type
char[30]
Meaning
Holds "Failed to open archive %s: %s", the fatal message for a base archive that does not open
Confidence
verified, proof one
Finding
storm/errorlog#fatal-error-display

Finding: Fatal error display in storm: error logs and crash dumps

SErrDisplayAppFatal(fmt, ...) (0x64d0e0) and SErrDisplayAppFatal2(code, fmt, ...) (0x64cf80) both call 0x64cfa0(code, fmt, args), the first with the code 0x85100086. It takes the error lock, collects the file and line recorded for this thread, formats the message into 2048 bytes with _vsnprintf, hands the code, file, message and line to 0x64d100, which reports the error as error <code & 0xffff>, 134 for the first, and then calls StormExitProcess(1): the process ends. The recorded file and line are null and 0, since only the unreached setter 0x64e5c0 writes them. A base archive that does not open reaches it from MountArchives (storm/mount), and so does any archive that fails with error 0x26, 0x8510006c or 0x85100083, through 0x64cf80.

The derivation is in the doc.