Segmentation Fault with GCC and Gcov on Instrumented C++ Program - DevHeads IoT Integration Server