Are you by any chance running some of your nodes in gdb? I often see this error when using gdb for debugging following the roslaunch nodes in Valgrind or GDB tutorial. I filed a bug report a few years back, but it seems the error is actually in gdb not ROS.