From: mandeep b. <man...@gm...> - 2010-08-04 10:24:28
|
Hi, I could not understand why this happened, i did not find a post regarding this happening to anyone. I compiled Player 3.0.2 on openSuse 11.2 64 bit. When I ran player just for test, it displayed this _______________________________ $player Registering driver Player v.3.0.2 USAGE: player [options] [<configfile>] Where [options] can be: -h : print this message. -d <level> : debug message level (0 = none, 1 = default, 9 = all). -p <port> : port where Player will listen. Default: 6665 -q : quiet mode: minimizes the console output on startup. -l <logfile> : log player output to the specified file <configfile> : load the the indicated config file The following 117 drivers were compiled into Player: Segmentation fault ____________________________________ While listing the drivers player gave segmentation fault.. I just did a quick core dump i got (gdb) bt #0 0x00007f5d2f996db8 in DriverTable::SortDrivers() () from /home/mandeep/Robotics/player-3.0.2/build/libplayercore/libplayercore.so.3.0 #1 0x0000000000402486 in PrintUsage() () Also on debugging a little the problem occurs when in DriverTable::SortDrivers() list for sorting is formed @ for(DriverEntry* entry = head; entry; entry = entry->next) sortedlist[i++] = entry->name; i.e head pointer might be wrong Thanks, Mandeep |