I wonder why is my C++ code is thorwing a segmentation fault (core
Program received signal SIGSEGV, Segmentation fault.
boost::shared_ptr<gr_basic_block>, int) ()
I confirm that the same line of code which is throwing that error is
executed multiple (randomly) times before it came to that error.
I can’t figure out what is causing that and how to fix it ?
All explanation are welcome.
Could you provide us with a backtrace (in GDB: “bt”) and if possible
with the code that you use to produce this error.
Usually, connect does not cause segfaults, a problem arises if you a)
connect a block that does not exist yet (eg. in its constructor) b)
connect a block in multiple flowgraphs.