How to know that it's a bug
You're facing an issue? A weird behaviour? Or something is not working properly?
Then you might be in the presence of a bug!
The first thing to do, is it to make sure that it can be reproduce and that you will be able to explain how it happens!