[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss-gnuradio] Fix/Workaround teardown problem in cppdb feature bran
From: |
Stefan Brüns |
Subject: |
[Discuss-gnuradio] Fix/Workaround teardown problem in cppdb feature branch |
Date: |
Wed, 08 Oct 2008 16:40:59 +0200 |
User-agent: |
KMail/1.9.9 |
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
--
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
db_destruct.diff
Description: Text Data
- [Discuss-gnuradio] Fix/Workaround teardown problem in cppdb feature branch,
Stefan Brüns <=