Open nzqo opened 3 weeks ago
Oof, you're right, on destruction of streamers, we don't free up the PCIe DMA resources. I can confirm this is a bug, but I can also say that we won't have time to look at this in the near future (we don't get a lot of PCIe users).
Issue Description
It seems that streamers are not properly released on destruction of
tx_streamer::sptr
.Setup Details
I encountered this problem on:
Expected Behavior
I am keeping a single variable in code for a tx streamer. Basically:
The docs specify that to open another stream, I need to make sure to destroy the old one. Although that is what I am doing, and I am not keeping any other references to this streamer aside from what is shown, this crashes after a few tries.
Actual Behaviour
After a few runs of this function, I always encounter the error:
Steps to reproduce the problem
Repeatedly reset and reacquire a
tx_stream
and you should encounter this issue.