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

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Stefan Brüns (Guest)
on 2008-10-08 18:42
(Received via mailing list)
Attachment: db_destruct.diff (0 Bytes)

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
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
already freed memory.

The attached small patch fixes this problem.

Eric B. (Guest)
on 2008-10-08 20: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.


> --
> Stefan Brüns  /  Bergstraße 21  /  52062 Aachen
> mailto:lurch at
>    phone: +49 241 53809034     mobile: +49 151 50412019
This topic is locked and can not be replied to.