Thanks for the good detective work. -nate
On 5/1/07, robert grabbe <[EMAIL PROTECTED]> wrote: > > Hi, concerning the wxgazebo and gazebo run time errors of "segmentation > fault" and "Initialization error": > > I've found that the segmentation fault encountered just after startup of > gazebo is due > to a negative mass assert statement in ode's dSetBodyMass function called > from gazebo Body.cc. More about error types encountered below. Here's what > made it run: > > In ode-0.8 directory > make uninstall > make clean > ./configure --enable-double-precission --enable-realease > make install > > In gazebo src, it has to be rebuilt, too: > make uninstall > make clean > ./configure > make install > > Description of errors encountered: > > Before changing anything, worlds without objects could be run (or just > commenting out all objects with mass in a world file). Running GNU debugger > on gazebo traced the error to Body.cc's call to dSetBodyMass when a world > file contained an object with mass. > > Upon enabling double precision in ode, an Initialization error message > from ode appeared and gazebo exited > without a seg fault. Then I found a message on this site, can't find it now > (sorry), that mentioned that > the "--enable-release" configure option for ode turns off assert statements > causing it to exit when errors occur. > That's how the two configure options were determined. > > This "fix" is consistent with having ode installed without it's debug > asserts turned on as intended. Glancing at the ode code, it detects the > "negative mass" in terms of a mass matrix not being positive semi-definite > (I think?). > > Sincerely, > > Robert Grabbe > -- > View this message in context: > http://www.nabble.com/gazebo%3A-%28ode-fix-for%29-segmentation-fault%2C-dSetBodyMass%2C-Initialization-error-tf3676737.html#a10274231 > Sent from the playerstage-gazebo mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Playerstage-gazebo mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Playerstage-gazebo mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
