Problems with Ultima Online: Age of Shadows [Textbox glitch + out of memory error]
Flameeyes
dgp85 at users.sourceforge.net
Wed Dec 24 02:50:29 CST 2003
Flameeyes wrote:
> The second is a big problem: when starting the client, it gives an out of
> memory error. I can't find where the problem is because I don't know for
> sure which trace channel has the functions for memory statistics.
This seems to the cause of the problem:
0009:Call kernel32.CreateFileA(4a0f69f0 "C:\\Programmi\\Ultima
Online\\\\stadifi0.mul",80000000,00000001,00000000,00000003,10000080,00000000)
ret=004ff693
0009:Ret kernel32.CreateFileA() retval=00000158 ret=004ff693
0009:Call
kernel32.CreateFileMappingA(00000158,00000000,00000002,00000000,00000000,00000000)
ret=004ff712
0009:Ret kernel32.CreateFileMappingA() retval=0000015c ret=004ff712
0009:Call kernel32.MapViewOfFile(0000015c,00000004,00000000,00000000,00000000)
ret=004ff78f
0009:Ret kernel32.MapViewOfFile() retval=00000000 ret=004ff78f
0009:Call user32.MessageBoxA(00000000,005bdf70 "There is not enough memory to
continue execution. If you do not have virtual me"...,005be05c "Out of
memory",00000000) ret=004d949b
so the problem should be into MapViewOfFile (kernel/virtual.c),
retval=00000000 (NULL) is a failure. Because the return NULL is only in an
if, the problem is inherited from NtMapViewOfSection, that is in
ntdll/virtual.c.
This function seems to be a lot complex, I need to dig it to found the
problem.
--
Flameeyes <dgp85 at users.sourceforge.net>
You can find LIRC for 2.6 kernels at
http://flameeyes.web.ctonet.it/
More information about the wine-devel
mailing list