[Bugs] #2512 UNSP: physics crashes if you make a make a scribbly ball with the pen

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Sun Oct 2 22:18:28 EDT 2011

#2512: physics crashes if you make a make a scribbly ball with the pen
    Reporter:  carrott                    |          Owner:  garycmartin                
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  Physics                    |        Version:  Unspecified                
    Severity:  Unspecified                |       Keywords:                             
Distribution:  Dextrose                   |   Status_field:  Unconfirmed                

Comment(by garycmartin):

 Tried to nail this with a couple of tricks, but still no luck avoiding the
 segmentation fault. I tried adding a filter to the resolution of the
 recorded line so that data and overlap segments would be reduced; also
 limited the total number of points that can be drawn with any one
 continuous stroke. A scribbly ball of over 600 points almost always
 crashes, less than that and crashes are intermittent, I think depending on
 how much your scribble overlaps.

 One stopgap is to make the Circle the first tool that is selected by
 default (circles are also the most efficient shape to simulate so give the
 fastest performance). How do folks feel about that UI change?

Ticket URL: <http://bugs.sugarlabs.org/ticket/2512#comment:4>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system

More information about the Bugs mailing list