Forum: GNU Radio Fix/Workaround teardown problem in cppdb feature branch

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
A725014f091bcd9e8ff16e9f2a0d7e20?d=identicon&s=25 Stefan Brüns (Guest)
on 2008-10-08 16:42
(Received via mailing list)
Attachment: db_destruct.diff (685 Bytes)
Hi,

I have noticed some problem in the cppdb branch (at least) in
combination with
the inband code.

when the usrp instances are destructed, the vector holding the
daughterboard
instances is destructed as well, but there seems to be some problem
doing the
destruction in the right order. Symptoms are: a) deadlock in the inband
examples, b) gdb stopping in siglongjmp, c) valgrind reporting accesses
to
already freed memory.

The attached small patch fixes this problem.

Stefan
745d8202ef5a58c1058d0e5395a78f9c?d=identicon&s=25 Eric Blossom (Guest)
on 2008-10-08 18:14
(Received via mailing list)
On Wed, Oct 08, 2008 at 04:40:59PM +0200, Stefan Brüns wrote:
>
> The attached small patch fixes this problem.
> Stefan

Thanks.  FYI, I reworking a lot of this in a dev branch right now.

Eric


>
> --
> Stefan Brüns  /  Bergstraße 21  /  52062 Aachen
> mailto:lurch at gmx.li  http://www.kawo1.rwth-aachen.de/~lurchi/
>    phone: +49 241 53809034     mobile: +49 151 50412019
This topic is locked and can not be replied to.