I am running external source code using DCE. There are some cout statements in the main of this external code that cause SIGSEGV. Running under gdb shows that the segmentation fault occurs at:
in std::ostream::sentry::sentry(std::ostream&) () from elf-cache/0/libstdc++.so.6
My understanding of this error (which could of course be wrong) is that this error is due to the cout not being constructed/initialized when the call is made. The code works correctly when run outside of DCE (i.e., no seg fault except when run in NS3 using DCE).
Why would cout not yet be constructed/init'd? Is there something in my NS3 code that I need to do in my code when running DCE in order to support cout?
Thanks!