From: Richard V. <va...@sf...> - 2011-05-14 17:45:43
|
Hard to tell without some more data. Try running player in gdb with the same config. When it crashes run a backtrace (command "bt" in gdb) and post the resulting trace here and we can see where the crash is caused. - rtv On Sat, May 14, 2011 at 8:52 AM, shaun87 <sha...@gm...> wrote: > > http://old.nabble.com/file/p31618529/cfg1.cfg cfg1.cfg > http://old.nabble.com/file/p31618529/cfg1.world cfg1.world > http://old.nabble.com/file/p31618529/map.inc map.inc > http://old.nabble.com/file/p31618529/pioneer.inc pioneer.inc > http://old.nabble.com/file/p31618529/sick.inc sick.inc > > Hello Everyone and a special hello to Dr. Vaughan :-) , > > I am attempting to run playerstage on a custom configuration and world file > which results in a segmentation fault. There was only one post with similar > problems that I am having ( > http://old.nabble.com/Segmentation-fault-on-loading-model-to31598877.html#a31598877 > Segmentation-fault-on-loading-model ) but it does not have a solution (yet). > I am currently running player v3.0.2 and stage plugin v3.2.2 on Ubuntu 10.04 > 64-bit. I obtained both the packages from Toby Collet's launchpad site. > However, the worlds file directory was not installed directly to > /usr/share/stage/worlds/ (I don't know why) so I had to copy the worlds file > directly from stage-3.-2.2 source directory. I have added all the files > that I think is necessary to determine the problem I am having, please let > me know if you need additional information. > > When I run player with the attached cfg1.cfg file, I get the following > output: > > > Registering driver > Player v.3.0.2 > > * Part of the Player/Stage/Gazebo Project > [http://playerstage.sourceforge.net]. > * Copyright (C) 2000 - 2009 Brian Gerkey, Richard Vaughan, Andrew Howard, > * Nate Koenig, and contributors. Released under the GNU General Public > License. > * Player comes with ABSOLUTELY NO WARRANTY. This is free software, and you > * are welcome to redistribute it under certain conditions; see COPYING > * for details. > > invoking player_driver_init()... > Stage driver plugin init > > ** Stage plugin v3.2.2 ** > * Part of the Player Project [http://playerstage.sourceforge.net] > * Copyright 2000-2009 Richard Vaughan, Brian Gerkey and contributors. > * Released under the GNU General Public License v2. > > success > Stage plugin: 6665.simulation.0 is a Stage world > [Loading ./cfg1.world][Include /usr/share/stage/worlds/pioneer.inc][Include > /usr/share/stage/worlds/map.inc][Include > /usr/share/stage/worlds/sick.inc][1] 3039 segmentation fault > robot-player cfg1.cfg > > I ran player using gdb to determine the cause of the segfault: > > [Loading ./cfg1.world][Include /usr/share/stage/worlds/pioneer.inc][Include > /usr/share/stage/worlds/map.inc][Include /usr/share/stage/worlds/sick.inc] > Program received signal SIGSEGV, Segmentation fault. > 0x00007ffff02e68d4 in *__GI_____strtod_l_internal (nptr=<value optimized > out>, endptr=<value optimized out>, group=<value optimized out>, > loc=0x7ffff0626580) at strtod_l.c:530 > 530 strtod_l.c: No such file or directory. > in strtod_l.c > > The world files were originally written for stage2, but using the wonderful > guide provided by Jennifer Owen ( > http://www-users.cs.york.ac.uk/jowen/player/playerstage-manual-update.html > playerstage-manual-update ) I was able to update the required files, > although I might have messed up something that could've caused the > segmentation fault. > > I looked for strtod_l.c on my system and without surprise couldn't find it. > At this point I am not sure how to proceed. Any help is very much > appreciated. > > Thanks! > > -- > View this message in context: http://old.nabble.com/Segmentation-fault-while-running-playerstage-%28details-included%29-tp31618529p31618529.html > Sent from the playerstage-users mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Achieve unprecedented app performance and reliability > What every C/C++ and Fortran developer should know. > Learn how Intel has extended the reach of its next-generation tools > to help boost performance applications - inlcuding clusters. > http://p.sf.net/sfu/intel-dev2devmay > _______________________________________________ > Playerstage-users mailing list > Pla...@li... > https://lists.sourceforge.net/lists/listinfo/playerstage-users > |