I also posted this to the emulator forum - sorry if you see it twice.

I'm trying to debug some problems in my application that are showing up in 
Gremlin testing on OS 2.0.

Just to check my assumptions, I decided to run one of the built-in apps 
through some Gremlin testing ... and the results are ... odd:

Address v2.0 crashes on emulator version 3.3, but not (afaik) on 3.2. I 
haven't been able to do a full 1 million events on 3.2, so it may crash 
later. It *does* seem fine for the first 60K events, though.

So what's up? My own project seems to run fine on emulator 3.2, as well. 
That said, I haven't completed enough events to know for sure.

Also, my app is crashing inside system calls, like InsPtLeft and 
FntSetFont. I had assumed that this was because I was trashing memory 
somewhere else. Perhaps not?

DETAILS:

Emulator: Windows v 3.3
ROM: palmos-20-en-dbg.rom
RAM: 1024K
Horde: Gremlins #701-800 / switch 10k / no save / stop 10k
Logging: everything

Result: "Address (2.0) just read from memory location 0x00000000 ..."
on #701 / event 142!

LOG (for Address 2.0):

2.243 (142):    <-  EvtGetEvent: keyDownEvent    Key:0x1F,  Modifiers: 0x0000
2.243 (142):    --- System Call 0xA0A9: SysHandleEvent.
2.243 (142):    --- System Call 0xA1BF: MenuHandleEvent.
2.243 (142):    --- System Call 0xA1A0: FrmDispatchEvent.

<snip>

2.243 (142):    --- System Call 0xA012: MemChunkFree.
2.243 (142):    --- System Call 0xA03C: MemSemaphoreReserve.
2.243 (142):    --- System Call 0xA03D: MemSemaphoreRelease.
2.243 (142):    --- System Call 0xA1FD: WinSetDrawWindow.
2.243 (142):    --- System Call 0xA164: FntSetFont.
2.243 (142):    --- System Call 0xA295: .
2.243 (142):    === ERROR: 
********************************************************************************
2.243 (142):    === ERROR: Address (2.0) just read from memory location 
0x00000000, which is in low memory.

"Low memory" is defined as the first 256 bytes of memory. It should not be 
directly accessed by applications under any circumstances.
2.243 (142):    === ERROR: 
********************************************************************************



----------------------------------------
Jaba Adams
Shinyfish Software
http://www.shinyfish.com


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to