[Bugs] #2489 UNSP: Turtleart freezes after 50 minutes

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Sat Nov 27 14:53:06 EST 2010


#2489: Turtleart freezes after 50 minutes
------------------------------------------+---------------------------------
    Reporter:  tonyforster                |          Owner:  walter                     
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  Turtleart                  |        Version:  Unspecified                
    Severity:  Unspecified                |       Keywords:                             
Status_field:  Unconfirmed                |   Distribution:  Unspecified                
   Seeta_dev:                             |  
------------------------------------------+---------------------------------

Comment(by tonyforster):

 Replying to [comment:11 walter]:
 > Hmm. Still froze after 4300 seconds.
 was that with clock()? i would expect that
 time() cast as int should fail semirandomly in the next 1000 hrs
 time() as a float should be ok providing the all code  that uses it is
 also ok

 the elegant solution is to replace all code
 while t2-t1<x wait
 to not wait if t2 < t1
 because t2<t1 only if an int has overflowed

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/2489#comment:12>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list