[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: |
Martin Braun |
Subject: |
Re: [Discuss-gnuradio] trellis_encoder_bb segfaults when inside hier_block |
Date: |
Mon, 2 Aug 2010 18:00:10 +0200 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
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.
MB
--
Karlsruhe Institute of Technology (KIT)
Communications Engineering Lab (CEL)
Dipl.-Ing. Martin Braun
Research Associate
Kaiserstraße 12
Building 05.01
76131 Karlsruhe
Phone: +49 721 608-3790
Fax: +49 721 608-6071
www.cel.kit.edu
KIT -- University of the State of Baden-Württemberg and
National Laboratory of the Helmholtz Association
pgpbeNoGxGN_h.pgp
Description: PGP signature