even if it's an OS or kill bug, most processes do reliably get killed with -9 so it's something that this program is doing is where to look/how to reproduce.
"shouldn't" hides the flaw in your thinking, it is happening, that's the bug, so shouldn't is out the window