Copy to Input stylus action bug
System: Palm Zire 72s, Palm OS v5.2.8, Pleco 2.03
Summary: Executing the 'Copy to input' command when no text is selected crashes the system.
Reproducing the bug: This bug can be reproduced in various ways, but all of them feature an attempt to 'Copy to input' with no text selected.
1. In the preferences, set stylus tap-hold action to 'Menu'.
2. The Pleco screen has two parts, the list and the definition. The list may or may not be hidden, this does not matter.
3. Look up a word that has a short definition, so that the definition part of the screen has some empty space with no text.
4. Tap-hold in an empty area of the definition, i.e. not tapping on any text so that nothing is selected. After a short delay, the menu comes up (Copy, Copy to Input, Magnify, Char Info, Popup Defn).
5. Tap on any one of the menu options except Copy to Input. For example, tap on Copy.
6. The menu disappears.
7. Tap and hold again in the empty area of the definition.
8. [BUG 1] The menu does not come up this time (the menu would have come up if text had been previously selected)
9. Tap and hold once again in the empty area of the definition. The menu comes up this time.
10. OK, that's one bug. Now comes the big one. Tap-hold in an empty area of the definition (same as step 3 above). The menu pops up.
11. [BUG 2] Tap on Copy to Input. The system crashes with the following error message: Fatal Alert: MemoryMgr.c, Line:3722, Nil Ptr :shock: Looks like an uninitialized pointer to me.
You can also set the stylus tap-hold action to directly copy to input (thus bypassing the pop-up menu stage), and the system will crash too.