Using the 3.5 debug ROMs I'm getting a bus error in WinSaveBits.  The crash only 
happens with 3.5 debug ROMs (on any device) as I've
tested it with almost every other debug and no-debug ROM.  I've included the code and 
the stack trace.

This brings up a question though.  When are we going to see the 3.5 OS source code?

The offending code is this:
: CODE START :
static RectangleType rDraw = { { iBusyMsgTopLeftX, iBusyMsgTopLeftY} , 
{iBusyMsgExtentX, iBusyMsgExtentY}  };
static RectangleType rSave;
Word err;

WinGetFramesRectangle(boldRoundFrame, &rDraw, &rSave);
BusyMsgInfo.hSave = WinSaveBits(&rSave, &err); //<<< Crashes here
: CODE END :

The rDraw and rSave values appear to be correct.  No other drawing routines are 
happening.


The stack trace shows:
MyRoutine()
WinSaveBits()
WinCopyRectangle()
WinPushDrawState()
It's specifically dieing at address 10C57D2A


-- 
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