#332 SegFault when compile with release flag

closed-fixed
Brian Gerkey
player (137)
5
2010-07-08
2010-05-12
Anonymous
No

When I execute player without arguments, there are a segFault when listing the compiled drivers. This happens only when cmake is called with -DCMAKE_BUILD_TYPE=Release, whitout this all goes well. The backtrace is:
#0 0xb74347a6 in DriverTable::SortDrivers () from /tmp/player_svn/build/libplayercore/libplayercore.so.3.1
#1 0x08049cc7 in PrintUsage ()
#2 0x0804a0dd in main ()

I have tested this on a x86_64 ArchLinux, and on a i686 Ubuntu 8.10, and on a x86_64 Ubuntu 9.04.
I call cmake with "cmake . -DBoost_USE_MULTITHREAD=ON -DCMAKE_BUILD_TYPE=Release"

Discussion

  • Rich Mattes
    Rich Mattes
    2010-07-03

    • status: open --> open-fixed
     
  • Rich Mattes
    Rich Mattes
    2010-07-03

    This bug has been fixed in SVN trunk. Please re-open this bug if you still experience any problems.

     
  • Rich Mattes
    Rich Mattes
    2010-07-03

    Fixed in CVS HEAD. Thanks very much for the report.

     
  • Rich Mattes
    Rich Mattes
    2010-07-08

    • status: open-fixed --> closed-fixed