From: Mazda A. <ma...@cs...> - 2006-09-18 17:21:17
|
Hi, Thanks for the reply. > Can you run gazebo through gdb, and post a trace back? For pioneer2dx.world: #0 0xffffe410 in __kernel_vsyscall () #1 0xa79b39d1 in raise () from /lib/tls/i686/cmov/libc.so.6 #2 0xa79b5209 in abort () from /lib/tls/i686/cmov/libc.so.6 #3 0xa79e981a in __fsetlocking () from /lib/tls/i686/cmov/libc.so.6 #4 0xa79f1c98 in free () from /lib/tls/i686/cmov/libc.so.6 #5 0xa79f34e6 in malloc () from /lib/tls/i686/cmov/libc.so.6 #6 0xa7d9864b in xmlBufferCreateSize () from /usr/lib/libxml2.so.2 #7 0xa7d992df in xmlNodeGetContent () from /usr/lib/libxml2.so.2 #8 0x08061d0a in WorldFileNode::GetNodeValue (this=0x80c9fb0, key=0xa7abaff4 "<#022") at WorldFile.cc:403 403 value = xmlNodeGetContent(currNode->xmlNode); #9 0x08061eba in WorldFileNode::GetDouble (this=0x80c9fb0, key=0x80ad8f3 "updateRate", def=10, require=0) at WorldFile.cc:613 613 char *value = this->GetNodeValue( key ); #10 0x0806eaf1 in ObserverCam::Load (this=0x80c96a0, file=0x80c7750, node=0x80c9fb0) at ObserverCam.cc:207 207 this->updatePeriod = 1 / (node->GetDouble("updateRate", 10.0, 0) + 1e-6); #11 0x08060bdc in World::LoadModel (this=0x80d2a38, node=0x80c9fb0, parent=0x0) at World.cc:335 335 if (model->MasterLoad( this->worldFile, node ) != 0) For road.world: #0 0xa7a5782a in malloc_usable_size () from /lib/tls/i686/cmov/libc.so.6 #1 0xa7a597f8 in free () from /lib/tls/i686/cmov/libc.so.6 #2 0xa7a5b4e6 in malloc () from /lib/tls/i686/cmov/libc.so.6 #3 0xa7c09ae8 in operator new () from /usr/lib/libstdc++.so.6 #4 0x0806ce9e in LightSource::Load (this=0x80c9610, file=0x80c7750, node=0x80c9ff0) at LightSource.cc:150 150 this->lightGeom = new LightGeom(this->body, this->modelSpaceId); #5 0x08060bdc in World::LoadModel (this=0x80d2920, node=0x80c9ff0, parent=0x0) at World.cc:335 335 if (model->MasterLoad( this->worldFile, node ) != 0) #6 0x08060da7 in World::LoadModel (this=0x80d2920, node=0x80d06d8, parent=0x0) at World.cc:386 386 if (this->LoadModel( cnode, model ) != 0) #7 0x0806115a in World::Load (this=0x80d2920, worldFile=0x80c7750) at World.cc:254 254 if (this->LoadModel( this->worldFile->GetRootNode(), NULL ) != 0) #8 0x0805f291 in Init () at main.cc:324 324 if (world->Load(worldFile) != 0) For road.world without light source: #0 0xa797e82a in malloc_usable_size () from /lib/tls/i686/cmov/libc.so.6 #1 0xa79807f8 in free () from /lib/tls/i686/cmov/libc.so.6 #2 0xa79824e6 in malloc () from /lib/tls/i686/cmov/libc.so.6 #3 0xa7b30ae8 in operator new () from /usr/lib/libstdc++.so.6 #4 0x0806c5c4 in GroundPlane::Load (this=0x80d2ad8, file=0x80c7750, node=0x80c9ff0) at GroundPlane.cc:164 164 this->planeGeom = new PlaneGeom( this->body, this->modelSpaceId, altitude, normal ); #5 0x08060bdc in World::LoadModel (this=0x80d28a8, node=0x80c9ff0, parent=0x0) at World.cc:335 335 if (model->MasterLoad( this->worldFile, node ) != 0) #6 0x08060da7 in World::LoadModel (this=0x80d28a8, node=0x80d06d8, parent=0x0) at World.cc:386 386 if (this->LoadModel( cnode, model ) != 0) #7 0x0806115a in World::Load (this=0x80d28a8, worldFile=0x80c7750) at World.cc:254 254 if (this->LoadModel( this->worldFile->GetRootNode(), NULL ) != 0) > Does the seg fault happen with the pioneer2dx.world? Yes. the trace is provided above. > If you remove a light source from the world file, does it still crash? Yes. But in another place. Thanks again, --Mazda > Debian should be a fine choice. Many people also use gentoo and ubuntu. > > -nate > > On 9/16/06, Mazda Ahmadi <ma...@cs...> wrote: >> >> Thanks Roozbeh, that's indeed a bug. However that didn't solve my problem. >> >> When I use "wheelchair, terrain, example, etc" worldfiles, the memory >> corruption happens in file Worldfile, this line: >> >> value = xmlNodeGetContent( currNode->xmlNode) >> >> and when I use the other worldfiles (carchassies, road) it actually >> passes that lines and seg faults at LightSource.cc line: >> this->lightGeom = new LightGeom( ...) >> >> Has anyone successfully installed and used gazebo on Debian? If not, what >> operating systems do you guys use? >> >> Thanks! >> --Mazda >> >> >> R> Hello, >> >> R> In function *LightGeom::PreRender*(RenderOptions >> R> *opt), " GLfloat npos[3] " should be "GLfloat >> R> npos[4]". >> R> Regards, >> R> Roozbeh >> >> >>> >>> Hello, >>> >>> I've downloaded the latest version of gazebo and installed it on a freshly >>> installed Debian (testing). Running gazebo with worldfiles "carchassis, >>> road" result in: >>> ** Gazebo 0.6.1 ** >>> * Part of the Player/Stage Project [http://playerstage.sourceforge.net]. >>> * Copyright 2000-2005 Brian Gerkey, Richard Vaughan, Andrew Howard, >>> * Nate Koenig and contributors. >>> * Released under the GNU General Public License. >>> using display [:0.0] >>> Segmentation fault >>> >>> >>> Running gazebo with worldfiles "wheelchair, terrain, example, blimp" result >>> in: >>> ** Gazebo 0.6.1 ** >>> * Part of the Player/Stage Project [http://playerstage.sourceforge.net]. >>> * Copyright 2000-2005 Brian Gerkey, Richard Vaughan, Andrew Howard, >>> * Nate Koenig and contributors. >>> * Released under the GNU General Public License. >>> using display [:0.0] >>> *** glibc detected *** malloc(): memory corruption: 0x080c9998 *** >>> Aborted >>> >>> It seems to run fine with an *empty* worldfile (running wxgazebo with empty >>> worldfile results in a simultion control window popping up and time starting >>> to increase). >>> >>> ./configure on gazebo says (among other things): >>> checking for GDK_PIXBUF... configure: WARNING: GDK_pixbuf not found; some >>> functionality will be disabled >>> Gazebo will build Python bindings >>> Gazebo will build wxgazebo (GUI) >>> Gazebo will NOT build the gzbuilder utility: >>> could not find gdal_priv.h >>> >>> >>> I couldn't find anything on the mailing list or the web, would really >>> appreciate any help. >>> >>> Thanks! >>> --Mazda >>> >>> PS. I posted this email to the gazebo developers list by mistake. This should >>> be the right mailing list for it. >>> >> >> ------------------------------------------------------------------------- >> Using Tomcat but need to do more? Need to support web services, security? >> Get stuff done quickly with pre-integrated technology to make your job easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> _______________________________________________ >> Playerstage-users mailing list >> Pla...@li... >> https://lists.sourceforge.net/lists/listinfo/playerstage-users >> > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Playerstage-users mailing list > Pla...@li... > https://lists.sourceforge.net/lists/listinfo/playerstage-users > |