[fpc-pascal] Stack fault under WinCE

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Tue May 18 23:53:06 CEST 2010


Hello,

I am getting a stack overflow under Windows CE and I am rather lost
about what it could be. Sure it could be an infinite loop, but the app
doesn't hang, and the same code runs fine under Desktop Windows...

Trying to get the backtrace also doesn't help, because it seams that
it is emptied ... any ideas how to find where this happens? Can I
increase the stack size somehow? Despite the fact that WinCE docs say
that Windows will use whatever memory available for it ...

warning: [Stack fault]: Thread=96a386e8 Proc=80097120 'simpletest.exe'
warning: AKY=00010011 PC=88039c8c(NK.EXE+0x00009c8c) RA=8803a198(NK.EXE+0x0000a1
98) BVA=22af1fe4 FSR=00000407

Program received signal SIGSEGV, Segmentation fault.
0x88039c8c in ?? ()
(gdb) bt
#0  0x88039c8c in ?? ()

docs on the subject:

http://support.microsoft.com/?scid=kb%3Ben-us%3B326162&x=7&y=2

thanks,
-- 
Felipe Monteiro de Carvalho



More information about the fpc-pascal mailing list