I'm pretty sure, it's your error, not a bug.
It never ever happens to me in years of using C::B.
To be able to help you, you should post some more information, like the versikon of C::B, your OS, probably your compiler and exact steps to reproduce your issue.