#11994 BLOC 12.1.0: runin-gtk crashes with segmentation fault

Zarro Boogs per Child bugtracker at laptop.org
Tue Jul 10 21:57:57 EDT 2012

#11994: runin-gtk crashes with segmentation fault
           Reporter:  greenfeld              |       Owner:  Quozl                            
               Type:  defect                 |      Status:  new                              
           Priority:  blocker                |   Milestone:  12.1.0                           
          Component:  manufacturing process  |     Version:  Development build as of this date
         Resolution:                         |    Keywords:                                   
        Next_action:  diagnose               |    Verified:  0                                
Deployment_affected:                         |   Blockedby:                                   
           Blocking:                         |  

Comment(by Quozl):

 Samuel, James and Mitch worked through this on IRC.

 The code is probably a Taylor Series calculation.

 The address in r2 is not accessible, which triggers the fault.

 The address in r1 is sincostab, a table of constants for the calculation.

 The address in r2 should have been derived from the double prevision
 register d7.  But the double precision registers could not be viewed by
 gdb, as if we lack NEON support.

 Working hypotheses are
  * there is a bug in the sincos suite,
  * cairo is passing a bad argument to sincos and the routine is not
 validating its input,
  * there is a hardware problem causing otherwise-correct code to
  * something somewhere is not preserving floating point registers across
 an interrupt, or suspend and resume.

Ticket URL: <http://dev.laptop.org/ticket/11994#comment:23>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system

More information about the Bugs mailing list