none
"Data Abort"error on WinCE6 R3, when continuously enter \Windows directory and exit to root directory RRS feed

  • Question

  • Hi,

      I run a test program, it continuously enter \Windows directory and exit to root directory by sending keyboard message. On WinCE R3, It's generate "Data Abort" error and cause memory leak, message:

    ------------------------Start of Message ---------------------------

    Iteration = 25 (Time for last 25 iterations: 0 minutes, 51 seconds; Memory Load: 10%)
    Iteration = 50 (Time for last 25 iterations: 0 minutes, 51 seconds; Memory Load: 10%)
    Iteration = 75 (Time for last 25 iterations: 0 minutes, 51 seconds; Memory Load: 11%)
    Iteration = 100 (Time for last 25 iterations: 0 minutes, 51 seconds; Memory Load: 11%)
    Iteration = 125 (Time for last 25 iterations: 0 minutes, 51 seconds; Memory Load: 11%)
    Iteration = 150 (Time for last 25 iterations: 0 minutes, 51 seconds; Memory Load: 11%)
    Iteration = 175 (Time for last 25 iterations: 0 minutes, 51 seconds; Memory Load: 11%)
    Iteration = 200 (Time for last 25 iterations: 0 minutes, 52 seconds; Memory Load: 11%)
    Iteration = 225 (Time for last 25 iterations: 0 minutes, 51 seconds; Memory Load: 11%)
    Iteration = 250 (Time for last 25 iterations: 0 minutes, 51 seconds; Memory Load: 11%)
    Iteration = 275 (Time for last 25 iterations: 0 minutes, 51 seconds; Memory Load: 11%)
    Iteration = 300 (Time for last 25 iterations: 0 minutes, 51 seconds; Memory Load: 11%)
    Iteration = 325 (Time for last 25 iterations: 0 minutes, 51 seconds; Memory Load: 11%)
    Iteration = 350 (Time for last 25 iterations: 0 minutes, 51 seconds; Memory Load: 11%)
    Iteration = 375 (Time for last 25 iterations: 0 minutes, 51 seconds; Memory Load: 11%)
    Iteration = 400 (Time for last 25 iterations: 0 minutes, 51 seconds; Memory Load: 11%)
    Iteration = 425 (Time for last 25 iterations: 0 minutes, 51 seconds; Memory Load: 11%)Exception 'Data Abort' (4): Thread-Id=04060016(pth=99c
    17000), Proc-Id=00400002(pprc=83608308) 'NK.EXE', VM-active=048e0002(pprc=9fbfabbc) 'explorer.exe'
    PC=c017e330(gwes.dll+0x0003e330) RA=c017e2f4(gwes.dll+0x0003e2f4) SP=d200f9d4, BVA=d1fff00c
    Exception 'Data Abort' (4): Thread-Id=04060016(pth=99c17000), Proc-Id=00400002(pprc=83608308) 'NK.EXE', VM-active=048e0002(pprc=9fbfabbc) 'e
    xplorer.exe'
    PC=c017e330(gwes.dll+0x0003e330) RA=c017e2f4(gwes.dll+0x0003e2f4) SP=d200f9d4, BVA=d1fff00c

    Iteration = 450 (Time for last 25 iterations: 0 minutes, 51 seconds; Memory Load: 11%)

    ------------------------ End of Message ---------------------------

      Data Abort always in HandlePaint() function in gwes.dll. 

      How to reproduct the issue:

     1. unpack “WinCE6 R3 Emulator.zip” on your PC. 

     2. On your PC, enter into unpacked folder "WinCE6 R3 Emulator", run "start 800x600.BAT"

     3. on new "Device Emulator" window, select File -> Configure... -> Peripherals -> enable "Create text console window for serial port 1", new console window will popup

     4. Show file detail in explorer.exe on wince. Open "我的设备" on desktop, check item "查看(V)" -> "详细信息 (D)". sorry about I have only NK.bin in Chinese.

     5. Show hidden files in explorer.exe on wince. Open "我的设备" on desktop, click "查看(V)" -> "选项(O)", uncheck All three items.

     6.  Start test on wince. Open "我的设备" on desktop, run "Storage Card\KeyboardSimulator.exe", watch and wait the console window, you will see  Issue 1: memory load is more and more, Issue 2 : "Data Abort" will happens at uncertain times, sometimes happens after  Iteration is more than 1000.

    File resources to download:

      WinCE6 R3 Emulator : http://pan.baidu.com/s/1sj4Sj1r

      WinCE project source pbxml : http://pan.baidu.com/s/1i33M6OH

      gwes.map : http://pan.baidu.com/s/1c0oxFTQ

    Why I think this is a WinCE issue but not our BSP:

      1. Device Emulator also has same issue

      2. When I build NK.bin under WinCE6 R2, no memory leak happens

      3. When I create a new pbxml that has less components both under R2 and R3, no Data Abort happens. Not sure which components cause Data Abort

     

    Our customer is very care about this, Why “Data Abort” and memory leak happen under R3? can any one help?

    Monday, June 23, 2014 9:34 AM