[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Segmentation fault issue with gr_hier_block2_deta

From: Marcus Müller
Subject: Re: [Discuss-gnuradio] Segmentation fault issue with gr_hier_block2_detail::connect
Date: Tue, 01 Oct 2013 21:21:27 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130923 Thunderbird/17.0.9

Could you provide us with a backtrace (in GDB: "bt") and if possible with the 
code that you use to produce this error.
Usually, connect does not cause segfaults, a problem arises if you a) connect a 
block that does not exist yet (eg. in its constructor) b) connect a block in 
multiple flowgraphs.


On 10/01/2013 08:18 PM, Naceur wrote:
Hello GNU-Radio list,

I wonder why is my C++ code is thorwing a segmentation fault (core dumped),
gdb outputs:

Program received signal SIGSEGV, Segmentation fault.
0xb7b1b718 in
gr_hier_block2_detail::connect(boost::shared_ptr<gr_basic_block>, int,
boost::shared_ptr<gr_basic_block>, int) ()
    from /usr/local/lib/libgnuradio-core-3.6.5.so.0.0.0

I confirm that the same line of code which is throwing that error is
executed multiple (randomly) times before it came to that error.

I can't figure out what is causing that and how to fix it ?
All explanation are welcome.


View this message in context: 
Sent from the GnuRadio mailing list archive at Nabble.com.

Discuss-gnuradio mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]