2011/2/11 Ken Tossell : > On Fri, Feb 11, 2011 at 4:07 AM, Steven Bellens > wrote: >> I was using #ifdef NDEBUG statements to print out debug information, >> but already commented those out and the result is the same. > > Maybe there's a hidden assert()ion with side effects. Have you tried > building in release mode but without -DNDEBUG? The "RelWithAsserts" > build type should do that. I just solved the problem: the ending sequence was defined as: "const char ESC_CHARS[] = {'\r','\n'};" changing it to: "const std::string ESC_CHARS = "\r\n";" _or_ "const char ESC_CHARS[] = "\r\n";" solves the problem. I have no idea why that is :) Steven > _______________________________________________ > ros-users mailing list > ros-users@code.ros.org > https://code.ros.org/mailman/listinfo/ros-users >