Open shooshx opened 7 years ago
no replay for almost a month... so this project is basically dead?
Dude, this is the world of open-source project. The author could be busy with other projects / making money / having xmas holiday.
@shooshx PRs are more than welcome.
@dwilliamson I've came across this issue when I copied your code as a starting point for a lockless queue for my own purpose. In my code, solving this required some significant changes to the structures involved and the way the queue works. I'm not sure I know enough about the intricacies of your code base yet to do it properly.
The internal message queueing mechanism doesn't seem to handle correctly the case where a message is allocated across the ending of the cyclic buffer. This bug has the potential to crash the process with a segmentation fault.
code to reproduces the problem:
prints: