Forum: GNU Radio Topblock lock and unlock bug?

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.
Kieran B. (Guest)
on 2009-02-16 06:56
(Received via mailing list)
Hello all,

Seem to be experiencing an unusual bug with lock() and unlock(). The
example
code can be found at http://pastebin.com/m1dd34f80

The problem seen is first time around the loop it works perfectly, the
usrp
source is created connect then destroyed. The second time around the
loop
however the follow exception occurs if the lock() and unlock() calls are
uncommented: http://pastebin.com/d7c33a9da

The cause appears to be the usrp not being properly released between
calls
in the top block even though it is being del'd (is del even suppose to
delete it properly?). I was wondering if anyone has any suggestions
about
this particular bug :)

Thanks,
Kieran
This topic is locked and can not be replied to.