Tom,
This is what i see in the debugger stack....

For first error
 "*** just read from memory location 0x00000006, which is in low
 memory.",
i think is occuring at DmQueryRecord method... in the code:

  SiteDB=DmOpenDatabaseByTypeCreator(SiteDeptDBType, creator,
dmModeReadWrite);
//Assign global variables SiteID, DeptID here
  recordH = DmQueryRecord(SiteDB, 0);
  recordP =(SiteDeptRecordTypePtr)MemHandleLock(recordH);
  SiteID = recordP->siteID;
  DeptID = recordP->deptID;
  MemHandleUnlock(recordH);


 and when i continue the debugger i get second error
 2)"*** just read from memory location 0x47121113, causing a bus error."

Second error on the Debugger stack shows this: PrvRecordEntryPtr(But i'm not
sure what it is.)

Any ideas/help on this...

Thanks
Praveen

> "Tom Hoelscher" <[EMAIL PROTECTED]> wrote in message
> news:62390@palm-dev-forum...
> >
> > What are you doing right before the first error?
> >
> > If you are reading from (or moving data from) some kind of handle, it's
> > possible you are stepping outside the handle...
> >
> > You may also be manipulating a handle/var that you haven't allocated yet
> (or
> > have deallocated).
> >
> >
> >
> > on 9/13/01 15:42, Praveen Potineni at [EMAIL PROTECTED] wrote:
> >
> > > Hi All,
> > >
> > > I am trying to debug an application using pose 3.2 and i'm getting
these
> > > errors:
> > >
> > > 1)"*** just read from memory location 0x00000006, which is in low
> memory."
> > > and when i continue the debugger i get second error
> > > 2)"*** just read from memory location 0x47121113, causing a bus
error."
> > >
> > > Can u help me with this..i'm new to palm development and i'm not yet
> quite
> > > sure how to debug and find unintialized variables...
> > >
> > > Thanks
> > > Praveen




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