On Wed, Aug 04, 2010 at 03:54:18PM +0530, mandeep bhatia wrote:
>> 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
>> 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
>This error was corrected in current svn trunk.
>In version 3.0 this occur only if you call cmake with the flag
>-DCMAKE_BUILD_TYPE=Release (or set the build type to release with ccmake or
>cmake-gui obviously), otherwise all work well.
Thanks a lot Renato :)
Get latest updates about Open Source Projects, Conferences and News.