[Bugs] #3361 Physics UNSP: Physics: grab objects crashes the activity

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Sat May 12 14:52:09 EDT 2012


#3361: Physics: grab objects crashes the activity
------------------------------------------+---------------------------------
    Reporter:  manuq                      |          Owner:  garycmartin                
        Type:  defect                     |         Status:  assigned                   
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  Physics                    |        Version:  Git as of bugdate          
    Severity:  Unspecified                |       Keywords:  12.1.0                     
Distribution:  Unspecified                |   Status_field:  Unconfirmed                
------------------------------------------+---------------------------------
Changes (by garycmartin):

  * status:  new => assigned


Comment:

 Replying to [comment:18 dsd]:
 > The Box2D egg in lib/ is not used, since recent OLPC builds include the
 pybox2d package in /usr/lib/python2.7/site-packages.
 >
 > The Box2D egg was built using SWIG 1.x, whereas the one in site-packages
 was built with SWIG 2.x.
 >
 > Elements calls into Box2D and is sensitive to the API generated by SWIG.
 The Elements egg in Physics seems to depend on the SWIG 1.x API, but since
 we're using the box2d from SWIG 2.x, we get this crash.
 >
 > Elements upstream seems to be dead (http://elements.linuxuser.at/
 doesn't load).

 Thanks Daniel, I've found the svn at least at
 http://www.assembla.com/wiki/show/elements but yes the project appears
 dead now. We had plans to see if we could drop Elements as a dependency
 and deal directly with box2d, but now is probably not the time to try
 that... I need to have a tinker and see what is practical for a soon to be
 release, thanks for the comment/effort, will definitely be of help.

 >
 > The above patch (removing .getAsType() call) is correct here.
 >
 > This will break compatibility with older Box2D versions. I suggest
 removing the one in lib/.

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


More information about the Bugs mailing list