From: Rich M. <jp...@gm...> - 2011-07-11 16:07:29
|
> -----Original Message----- > From: Elena Lazkano Ortega [mailto:e.l...@eh...] > Sent: Monday, July 11, 2011 6:48 AM > To: pla...@li... > Subject: [Playerstage-users] computer architecture issued > > Hello, > > We use the sonar sensor in previous versions of player and now that we > have > moved to player 3.1.0 (svn) and stage 4.0.1 (git) we are experiencing > strange problems that we do not understand. > > If we launch the configuration file bellow and playerv, everything > works > in a ubuntu 11.04 64 bit arch. But it gives segmentation fault in > ubuntu 11.04 32 bit arch. > > The .cfg file: > > driver > ( > name "stage" > provides ["simulation:0" ] > plugin "stageplugin" > > worldfile "zakilio-sonarrarekin.world" > ) > > driver > ( > name "stage" > provides [ "ranger:0" ] > model "zakilio" > ) > > By the way, we have followed the instructions to compile player 3.0.1 > and stage 3.2.2 on a MacOSX > (http://www.boinkrobotics.com/robotics/ps_tutorial.html) and > it worked for simple drivers but segfaults when using for instance the > wavefront driver. We are pretty sure that it is not problem of the cfg > file neither of the > client program since these run on player 2.1.3, stage-2.1.1 perfectly. > > But we have noticed that version 3 often gives segmentation fault > randomly > (linux, macos). we have tried to compile player 3.1.0 and stage 4.0.1, > and although it gives no error, executing "player simple.world" gives > segmentation error inmediately. > > Why is all this happening? we have been using PS for years with very > good behaviour and since we moved everything seems to be extremely > unstable. > > Thanks in advance, > > elena > > Performance differences between different architectures could be the result of bad compiler flags or bad assumptions in the code. It's also possible that the environments are set up differently. If you can narrow down where the errors are happening it would be helpful. Player and Stage both went through major rewrites between versions 2 and 3: Stage now uses the 3D FLTK engine for its GUI and Player's driver model has been greatly changed so the server now handles threading, etc. It's unfortunate that you're seeing performance regressions, and we'd certainly like to narrow down what the issues are so they can be fixed. There's a small guide at [1] that covers the basics of troubleshooting crashes with gdb, and it should at least be helpful to find out what parts of the code are giving you problems. Rich [1] http://playerstage.sourceforge.net/wiki/Debugging_with_GDB |