Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2010-05

Stack fault under WinCE

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Felipe Monteiro de Carvalho

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