Could you be copying too many characters into the trigger label?  95% of the
time a bus error is due to copying bytes into a string or other variable,
structure, string, etc. than were allocated.

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Tuesday, July 01, 2003 1:42 PM
Subject: Best way to find a "bus error" bug? [USING POL]


>
> Hello all,
>
> I am getting "PMoT v1.0 (my program) just read from memory location
> 0x2F0A2067, causing a bus error.
>
> What's the best way to debug it.  When I go through the debugger it drops
> down to assembly level code..
>
> This is crashing on a popuptrigger trying to open.  I have verified my
> label is the longest string.  Thoughts?
>
> Here is the assembly code where it crashes:
> 1006684C: 1600            move.b   d0,d3
> 1006684E: 584F            addq.w   #4,a7
> 10066850: 4A03            tst.b    d3
> 10066852: 660E            bne.s    PrvSendEventToForm (0x10066862);
> 0x10066862
> 10066854: 2F2E000C        move.l   12(a6),-(a7)
> 10066858: 2F0B            move.l   a3,-(a7)
> 1006685A: 4E4F            trap     #15   <<<<---------- Crashes here
>
> --
> Glenn Ford
> National Library of Medicine
> Bethesda, MD. USA
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
>


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

Reply via email to