[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Segmentation fault when "make check"
From: |
Eric Blossom |
Subject: |
Re: [Discuss-gnuradio] Segmentation fault when "make check" |
Date: |
Tue, 1 Sep 2009 16:02:57 -0700 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
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