bugDenemo - Bugs: bug #27354, recursive key capture not possible...

 
 

bug #27354: recursive key capture not possible -> bad news

Submitter:  Richard Shann <rshann>
Submitted:  Mon 31 Aug 2009 09:40:49 AM UTC
   
 
Category:  None
Severity:  3 - Normal Item Group:  None
Status:  Fixed Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 03 Sep 2009 08:52:54 AM UTC, comment #5: 

I have completed the other input functions and changed the acceptable input function to return #f

Richard Shann <rshann>
Group administrator
Wed 02 Sep 2009 05:40:40 PM UTC, comment #4: 

I will assume that your change to git makes this bug less frequent but it has not entirely eliminated it.

Here is how to reproduce it:

Run Education/BassClefNoteNameSpeedTest
click start
before game has ended lauch Education/CountSteps
try and hit a number

This will always occur when a script waits for a user input and then another script is loaded and the new script also asks for input.

Jeremiah Benham <jjbenham>
Group administrator
Tue 01 Sep 2009 08:05:11 PM UTC, comment #3: 

I have made d-GetCommand return #f on finding that it is being called recursively. It previously returned "" which is a deprecated way of indicating failure.
Some games (and other commands?) may be affected by this change, but it will probably prevent the hanging that this bug reported.

Richard Shann <rshann>
Group administrator
Tue 01 Sep 2009 06:15:33 PM UTC, comment #2: 

Can someone post a reproducible sequence for getting this bug?

Richard Shann <rshann>
Group administrator
Mon 31 Aug 2009 12:33:08 PM UTC, comment #1: 

I think this happens when denemo is waiting for a keypress and then new is kit and the next game asks for a keypress.

Can the d-New (sp?) is activated could is somehow stop or kill any old script process? If so would this effect all the init scripts preloaded or can we just stop the last process.

This bug is probably reproduced most often in the scripts I have accepting both keyboard and mouse input at the same time.

Jeremiah Benham <jjbenham>
Group administrator
Mon 31 Aug 2009 09:40:49 AM UTC, original submission:  

If you try to run a second game you get the recursive key capture not possible message and ... it recurses, so that you can't escape.

Richard Shann <rshann>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by steele (Updated the item)
  • -email is unavailable- added by jjbenham (Posted a comment)
  • -email is unavailable- added by rshann (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-12-04 steele Open/ClosedOpen Closed
    2009-09-03 rshann StatusNeed Info Fixed
    2009-09-01 rshann StatusNone Need Info

    Back to the top

    Powered by Savane 3.12.
    Corresponding source code