At 11:56 PM +0800 3/30/02, Low Pui Kuen wrote: >I am afraid that I don't know which line causes the UIAppShell. When >I press the PDA home... it shows me the UIAppShell(unknown version) >has just read from memory location 0x005A241D, causing a bus error. > >I tried to run the emulator with the debugger, but I could not see >the debugger arrow pointing to any line, any the output prints >nothing.
First, the key phrase from your error message is "bus error", not "UIAppShell". I think it's time for you to step through your code line by line with the debugger, beginning _before_ the error occurs, and walk through your reproducible case until you trigger the error. It doesn't sound to me like you have done that. I haven't used GDB since early in the George Sr. Presidency, so I can't advise you on the details; however, I'm sure you the documentation that came with it will tell you how. If you can't manage to debug at source level, then I suggest using the Palm Reporter/HostTrace routines, or HostFile output, to log your events, log your steps through your main event handler, and isolate at least which one of your functions is causing the error. If you can post a source fragment of the offending routine, you'll be more likely to get help. There are many ways that you could be trashing that pointer (I'm still inventing new ways to do that), so until you narrow down your problem it's a lost cause to do anything from this side of the terminal. ---- Hal Mueller [EMAIL PROTECTED] Mobile Geographics LLC http://www.mobilegeographics.com/ Seattle, Washington (206) 297-9575 MapTap public test now underway! http://www.mobilegeographics.com/maptap/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
