On 04/16/2014 10:27 PM, kkarranc wrote: > Hi All, > I have a gnuradio block which I am testing through a C++ QA function. I > call the handler function directly in C++ QA test function, and everything > runs.
Any chance you can share the code? > Does anybody have any ideas as to how I can proceed to figure out what is > going on? I am pretty convinced that the block itself is not segfaulting > because the destructor gets called and that gets cleaned up. Another reason > why I think the block is OK is because when I run it in a grc flowgraph, it > works fine ... its just in test mode that this happens. Another reason why > I think this is something with boost::shared_ptr is, in my unittest function > in C++, if i call sptr.reset(), it segfaults right there (I've verified the > only way I know how, which is with print statements before and after). Try and remove the .xml-file output from the test and run again. Maybe it's a problem of persistence? M _______________________________________________ Discuss-gnuradio mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
