I have an intermittant error occurring inside FrmCloseAllForms, immediately before my app exits. Here are the last few lines from the gremlin log below. It doesn't happen every time, and I'm not sure what's happening inside FrmCloseAllForms(); note the error immediately after the WinPopDrawState() that is executed as part of the system call:
3410.925 (15649): --- System Call 0xA1A1: |-|-FrmCloseAllForms. ... (bunch of lines) ... 3410.935 (15649): --- System Call 0xA174: |-|-|FrmSetActiveForm. 3410.935 (15649): --- System Call 0xA1FD: |-|-|WinSetDrawWindow. 3410.935 (15649): --- System Call 0xA326: |-|-|-WinValidateHandle. 3410.935 (15649): --- System Call 0xA395: |-|-|WinPushDrawState. 3410.935 (15649): --- System Call 0xA026: |-|-|-MemMove. 3410.935 (15649): --- System Call 0xA399: |-|-|WinSetBackColor. 3410.935 (15649): --- System Call 0xA206: |-|-|WinEraseWindow. 3410.935 (15649): --- System Call 0xA1C4: |-|-|-RctSetRectangle. 3410.935 (15649): --- System Call 0xA219: |-|-|-WinEraseRectangle. 3410.935 (15649): --- System Call 0xA20F: |-|-|-|WinGetClip. 3410.935 (15649): --- System Call 0xA1C9: |-|-|-|RctGetIntersection. 3410.935 (15649): --- System Call 0xA376: |-|-|-|BmpGetBits. 3410.935 (15649): --- System Call 0xA3E3: |-|-|-|-BmpColortableSize. 3410.935 (15649): --- System Call 0xA027: |-|-|-|MemSet. 3410.935 (15649): --- System Call 0xA256: |HwrIRQ6Handler. 3410.935 (15649): --- System Call 0xA3C4: |TargetCfgRoutines. 3410.935 (15649): --- System Call 0xA256: |HwrIRQ6Handler. 3410.935 (15649): --- System Call 0xA3C4: |TargetCfgRoutines. 3410.935 (15649): --- System Call 0xA396: |-|-|WinPopDrawState. 3411.045 (15649): === ERROR: **************************************************************************** **** 3411.045 (15649): === ERROR: MyApp (1.02) just read from memory location 0x02000000, causing a bus error. A "bus error" means that the application accessed a memory location that is not in RAM or ROM, nor corresponds to a memory-mapped hardware register. 3411.045 (15649): === ERROR: -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
