Thanks,

In the meantime I've got another crash report from a much more
knowledgeable user. The problem occurred because he did a hard
reset before installing my application, and DateBook database didn't
exist yet.
In my application I (wrongly) assumed that DateBook database
ALWAYS exists, and I didn't check for the validity of the databaseID
which I sent to DmDatabaseInfo(), where it crashed.

Regards

Bozidar


> Look in DataMgr.c.  You'll see it called a lot there.
> 
> This is one of those cases where you really want to know the 
> function name one
> call up.  It would be really cool if there was a app which 
> developers could tell
> users to run which would capture a stack crawl at a fatal alert.  
> It wouldn't be
> hard to do.  Just patch the alert trap to crawl up the stack and 
> dump the names
> to a preallocated buffer.  The app could also check for common 
> problems like
> writing past the end of the stack or writing to a5 when it's not valid.
> 
> 
> Anyways, you might find it hard to track down all the cases.  
> Perhaps gremlins
> can find a failing case?
> 
> 
> -Roger Flores
> 
> 
> 
> 

Reply via email to