Llamagraphics

CallbackTest

This program demonstrate a crash in the Palm OS 5.0 - 5.3 simulators that we are unable to reproduce on real devices. The crash occurs when certain system forms like Phone Lookup or TapWave Zodiac's Music Controls are opened and then closed, and the refresh event causes certain callback-related routines to be called.

In this test application, the crash occurs most consistently when calling DmFindSortPosition, but in Life Balance we also get the crash when FrmDrawForm attempts to call our list custom drawing function.

To reproduce the crash:

  1. Launch the application on a Palm OS 5.0 - 5.3 simulator, either debug or release.
  2. Choose "Phone Lookup" from the "Edit" menu.
  3. Click the "Close" button.

To reproduce a similar crash on the Tapwave Zodiac simulator:

  1. Launch the application in the Zodiac simulator, either debug or release.
  2. Click on the Music Controls icon in the pen input area.
  3. Click the "Done" button.

If you have a debugger attached, then several progress messages will be displayed in the debugger log.

The bug seems to be fixed in the Palm OS 5.4 simulator, and we have not seen it occur on real devices. We're interested in a workaround for this problem so that we can run Life Balance under gremlins on the affected simulators.

If anyone finds a workaround, please let us know.

—Stuart & Catherine