[Tickets] [Orxonox] #302: Bug: TclThreadManager

Orxonox trac at orxonox.net
Sun Jul 19 02:41:39 CEST 2009


#302: Bug: TclThreadManager
------------------------------+---------------------------------------------
 Reporter:  rgrieder          |        Owner:  nobody                         
     Type:  defect            |       Status:  closed                         
 Priority:  high              |    Milestone:  Version 0.2 Codename: Bellatrix
Component:  GeneralFramework  |      Version:  0.2.0                          
 Severity:  critical          |   Resolution:  fixed                          
 Keywords:  tcl, thread       |  
------------------------------+---------------------------------------------
Changes (by landauf):

  * status:  new => closed
  * resolution:  => fixed

Comment:

 Fixed in r3307

 The reason for the crash was a sloppy synchronisation of the threads. If a
 thread tried to send a query to ("execute code directly on") the main
 interpreter, it had to wait until the main interpreter entered a "ready
 state". But accidently there was no control whether the thread has ended
 it's query before the main interpreter left the "ready state" or not.
 Longer queries or parallel processing (on a multicore system) led to
 undefined behavior and therefore usually to a crash.

-- 
Ticket URL: <http://www.orxonox.net/ticket/302#comment:6>
Orxonox <http://www.orxonox.net>
Orxonox Open Source game


More information about the Tickets mailing list