On Tue, Sep 01, 2009 at 03:51:41PM -0700, Milo Wong wrote: > Hi All, > > I was writing a new block and the "make" process of source files(.cc .h .i, > etc) was successful. However, when I "make check" to test the block, there's > an error message "Segmentation fault" coming out. I searched the previous > discussions but there were not too much useful information. I know that only > this error message is too vague for you. But I am still wondering if anyone > could tell where might have the possible mistakes. I guess the problems may > lie on the qa_test.py scripts which I post below. The lpi.itersum_ff blocks > has 4 parallel input and one output. Any suggestions will be appreciated.
The bug is most likely in your new C++ code. Run gdb to see where it's segfaulting. http://www.gnu.org/software/gnuradio/doc/howto-write-a-block.html#debugging When it segfaults, use the "bt" command to generate a stack backtrace. gdb docs here: http://www.gnu.org/software/gdb/documentation Eric _______________________________________________ Discuss-gnuradio mailing list [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
