#10405 NORM Not Tri: Sugar-session memory leak on XOs possibly caused by screen rotation

Zarro Boogs per Child bugtracker at laptop.org
Wed Oct 20 13:10:33 EDT 2010


#10405: Sugar-session memory leak on XOs possibly caused by screen rotation
--------------------------+-------------------------------------------------
 Reporter:  greenfeld     |                 Owner:                                         
     Type:  defect        |                Status:  new                                    
 Priority:  normal        |             Milestone:  Not Triaged                            
Component:  not assigned  |               Version:  1.5/1.0 Software Build os852 aka 10.1.2
 Keywords:                |           Next_action:  never set                              
 Verified:  0             |   Deployment_affected:                                         
Blockedby:                |              Blocking:                                         
--------------------------+-------------------------------------------------
 There is a Memory leak in sugar-session on XOs running 10.1.2 that appears
 to be aggravated by rotating the screen.  Both XO 1's as well as XO 1.5's
 with the rotation-allowing patches are affected.

 I could not reproduce the leak on pre-final F14 Sugar on a stick on a
 laptop or preliminary/test XO builds.

 A dextrose-equipped XO was also tested but does not rotate the screen
 properly (the main sugar wheel display does not adjust with rotations).

 Reproduction:
 1. Create/use a looping shell script which repeatedly calls xrandr to
 rotate the screen into each orientation.
 2. Disable networking on the XO using the Control Panel (to avoid #10386,
 which may or may not be related).
 3. Note the size of the sugar-session process.
 4. Open a terminal activity; start the script created in step 1.
 5. Wait 30 minutes to an hour; note that sugar-session is now 50-100 MB
 larger.   {An overnight run may be too long; I ended up hitting an OOM
 killer when sugar-session used up 98% of RAM.}

-- 
Ticket URL: <http://dev.laptop.org/ticket/10405>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list