[Bugs] #3901 Speak UNSP: Speak starts in CPU loop on OLPC 13.1.0 os1

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Mon Oct 29 12:27:37 EDT 2012


#3901: Speak starts in CPU loop on OLPC 13.1.0 os1
------------------------------------------+---------------------------------
    Reporter:  greenfeld                  |          Owner:  humitos    
        Type:  defect                     |         Status:  accepted   
    Priority:  Unspecified by Maintainer  |      Milestone:  0.98       
   Component:  Speak                      |        Version:  Unspecified
    Severity:  Major                      |       Keywords:  13.1.0, r? 
Distribution:  OLPC                       |   Status_field:  Unconfirmed
------------------------------------------+---------------------------------
Changes (by humitos):

  * keywords:  13.1.0 => 13.1.0, r?


Comment:

 After a long research we found the problem. It has to do with cairo and
 the way that {{{context.arc}}} was being used. The angle was given in
 degrees and {{{.arc}}} function needs radians. So, it was taking a lot of
 time (up to 8 seconds) to draw an arc with 360 radians.

 I'm uploading a patch that fix this in Speak v42 (gtk2)

 The problem between the different version of the builds (12.1.0 and
 13.1.0) could be related with the cairo version. It seems the new cairo
 version doesn't work well with the angle in degrees.

 12.1.0 -> cairo-1.10.2-7.fc17.i686
 13.1.0 -> cairo-1.12.4-1.fc18.i686

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


More information about the Bugs mailing list