23 Jun
2004
23 Jun
'04
9:46 p.m.
Hi all.
User 'tom' on Jabber showed us this crashing bug:
1) Hold down <left mouse button> on a new spiral 2) Hit <spacebar> ...crash.
It looks like sp_spiral_write() is being called on the same object twice while trying to duplicate the spiral, and the second time is on a bad object. I added some code at line 144 to check for NULLs, and it avoids the crash. The symptom is fixed, but the root cause needs to be fixed, in that the <space> being hit while the <LMB> is down is not being processed correctly.
Should the mouse be disabled? Or should there be some code to make sure the call is done only once?
Sounds like maybe Bulia would know how to handle this one.
Thanks.
Bob