From: "Mark Chauvin" <[EMAIL PROTECTED]> > --- Mikhail Barashkov <[EMAIL PROTECTED]> wrote: > > Mark Chauvin wrote: > > > > >I've got some users that are getting lock-up errors > > on > > >their Palms while running my program. A typical > > error > > >says Memory manager, null pointer, press reset. It > > >seems random and I can't recreate it. > > > > > > > > You've got serious memory problems. > > Test your app on POSE with all debugging options ON. > > > I did. I can't make it crash on the emulator. I made > it die once on my handheld, but can't reproduce it. > Did you run the emulator with low memory? An attempt to allocate might be failing. Which also leads to the question of whether your code always tests all pointers for null before using them. There's an app called MemHog that's good for load testing.
You'll also find that it's difficult to reproduce user errors because you don't use the app the same way they do. What you really need is a friendly user that experiences this regularly enough to video the sequence that leads to the crash. Another possibility is to create a logging mechanism so that you can get an idea as to what's happening immediately before the crash. This also requires a user that can reproduce the crash. Chris Tutty -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
