[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] trellis_encoder_bb segfaults when inside hier_blo
From: |
Eric Blossom |
Subject: |
Re: [Discuss-gnuradio] trellis_encoder_bb segfaults when inside hier_block |
Date: |
Mon, 2 Aug 2010 14:07:38 -0700 |
User-agent: |
Mutt/1.5.20 (2009-08-17) |
On Mon, Aug 02, 2010 at 06:00:10PM +0200, Martin Braun wrote:
> Sorry for the double-post, we were having problems with our SMTP today.
>
> On Mon, Aug 02, 2010 at 02:54:48PM +0200, Martin Braun wrote:
> > chancoding_industrystd_encoder_bb::chancoding_industrystd_encoder_bb ()
> > : gr_hier_block2 ("industrystd_encoder_bb",
> > gr_make_io_signature (1, 1, sizeof(char)),
> > gr_make_io_signature (1, 1, sizeof(char)))
> > {
> > trellis_encoder_bb_sptr encoder =
> > trellis_encoder_bb_sptrllis_make_encoder_bb(fsm(1, 2, make_G()), 0);
>
> This was a typo due to pasting into the email window.
> make_G() returns a generator matrix, just in case someone wonders.
>
> Besides, I just figured out that the same happens when I use an FIR
> filter instead.
> Here's how I create segfaults every time:
>
> - create a hier_block in C++
> - internally connect an FIR filter (e.g. fir_filter_fff)
> - do anything with that block.
>
> Looks like this has nothing to do with gr-trellis. If this looks like a
> bug to any of the devs and not like a mistake on my end, I'll rig up a
> test case for downloading if necessary.
Not sure if it's a bug or not.
Please cook up a small test case that shows the problem.
Thanks!
Eric