The following is the LOG of the serial output when the error occurs:
...... Exception ' Data Abort ' (0x4): thread-id=05fe00b2 (pth=c0869000), proc-id=053f00be (pprc=c087ba2c) ' MyTest.exe ', Vm-active=053f00be (pprc=c087ba2c) ' MyTest.exe ' pc=4007a930 (coredll.dll+0x0006a930) ra=4007a794 (coredll.dll+ 0x0006a794) sp=00054828, bva=00001003exception ' Data Abort ' (0x4): thread-id=05fe00b2 (pth=c0869000), proc-id=053f00be (PPRC=C087BA2C) ' MyTest.exe ', vm-active=053f00be (pprc=c087ba2c) ' MyTest.exe ' pc=4007a930 (coredll.dll+0x0006a930) ra=4007a794 ( CORELW.ILLO0T0O06R7 (4 sw=i0e54ees,obve=e0t0103exception ' Data Abort ' (0x4): thread-id=05fe00b2 (pth=c0869000), Proc-id=053f00be (pprc=c087ba2c) ' MyTest.exe ', vm-active=053f00be (pprc=c087ba2c) ' MyTest.exe ' pc=4007a930 ( coredll.dll+0x0006a930) ra=4007a794 (coredll.dll+0x0006a794) sp=00053ba8, bva=00001003exception ' Data Abort ' (0x4): THREAD-ID=05FE00B2 (pth=c0869000), proc-id=053f00be (pprc=c087ba2c) ' MyTest.exe ', vm-active=053f00be (PPRC=C087BA2C) ' MyTest.exe ' pc=4007a930 (coredll.dll+0x0006a930) ra=4007a794 (coredll.dll+0x0006a794) sp=000535Bva=00001003exception ' Data Abort ' (0x4): thread-id=05fe00b2 (pth=c0869000), proc-id=053f00be (PPRC=C087BA2C) ' MyTest.exe ', vm-active=053f00be (pprc=c087ba2c) ' MyTest.exe ' pc=4007a930 (coredll.dll+0x0006a930) ra=4007a794 ( coredll.dll+0x0006a794) sp=00052f28, bva=00001003exception ' Data Abort ' (0x4): thread-id=05fe00b2 (pth=c0869000), Proc-id=053f00be (pprc=c087ba2c) ' MyTest.exe ', vm-active=053f00be (pprc=c087ba2c) ' MyTest.exe ' pc=4007a930 ( coredll.dll+0x0006a930) ra=4007a794 (coredll.dll+0x0006a794) sp=000528e8, bva=00001003exception ' Data Abort ' (0x4): THREAD-ID=05FE00B2 (pth=c0869000), proc-id=053f00be (pprc=c087ba2c) ' MyTest.exe ', vm-active=053f00be (PPRC=C087BA2C) ' MyTest.exe ' pc=4007a930 (coredll.dll+0x0006a930) ra=4007a794 (coredll.dll+0x0006a794) sp=000522a8, BVA= 00001003Exception ' User Stack Overflow ' (0XFFFFFFFD): thread-id=05fe00b2 (pth=c0869000), Proc-id=053f00be (pprc= C087BA2C) ' MyTest.exe ', vm-active=053f00be (pprc=c087ba2c) ' MyTest.exe ' pc=400666a4 (COREDLL.DLL+0X000566A4) ra= 4002ED34 (coredLL.DLL+0X0001ED34) sp=00051d3c, bva=00051d1cexception ' Data Abort ' (0x4): thread-id=05fe00b2 (pth=c0869000), Proc-Id= 053f00be (pprc=c087ba2c) ' MyTest.exe ', vm-active=053f00be (pprc=c087ba2c) ' MyTest.exe ' pc=4007a930 (coredll.dll+ 0x0006a930) ra=4007a794 (coredll.dll+0x0006a794) sp=000516fc, bva=00000004exception ' Data Abort ' (0x4): Thread-Id= 05FE00B2 (pth=c0869000), proc-id=053f00be (pprc=c087ba2c) ' MyTest.exe ', vm-active=053f00be (PPRC=C087BA2C) ' MyTest.exe ' pc=4007a930 (coredll.dll+0x0006a930) ra=4007a794 (coredll.dll+0x0006a794) SP=000510BC, BVA=00001003!!! Committed last page of the stack (0x00001003) or invalid stack pointer (0X000510BC), SEH bypassed, thread terminated!!!
Among the key information:
(1) Exception ' User Stack Overflow ' (0XFFFFFFFD)
(2)!!! Committed last page of the stack (0x00001003) or invalid stack pointer (0X000510BC), SEH bypassed, thread terminated!!!
Due to occasional problems, no reason has been found to cause the above exception information.
Modify the properties of the project:
Configuration properties, linker---system:
(1) Stack reserve size 65536 modified to 131072
(2) Stack commit size 4096 modified to 8192
have been enlarged by twice times.
The following modifications are valid and require further testing and validation.
The WinCE system runs the app just when it starts, and occasionally an exception occurs when the app starts