discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] ctest -V segfault, coredump reveals nothing


From: Martin Braun
Subject: Re: [Discuss-gnuradio] ctest -V segfault, coredump reveals nothing
Date: Wed, 16 Apr 2014 23:59:17 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0

On 04/16/2014 10:27 PM, kkarranc wrote:
> Hi All,
> I have a gnuradio block which I am testing through a C++ QA function.  I
> call the handler function directly in C++ QA test function, and everything
> runs.

Any chance you can share the code?

> Does anybody have any ideas as to how I can proceed to figure out what is
> going on?  I am pretty convinced that the block itself is not segfaulting
> because the destructor gets called and that gets cleaned up.  Another reason
> why I think the block is OK is because when I run it in a grc flowgraph, it
> works fine ... its just in test mode that this happens.  Another reason why
> I think this is something with boost::shared_ptr is, in my unittest function
> in C++, if i call sptr.reset(), it segfaults right there (I've verified the
> only way I know how, which is with print statements before and after).

Try and remove the .xml-file output from the test and run again. Maybe
it's a problem of persistence?

M



reply via email to

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