So, I think I found what caused the bug, and fixed it. I will still need to do some code cleanup to make sure such things can happen again, but with the fix, it shouldn't happen again I think.
If there was another reason the bug happened than the one I found, then the save-guards I'm going to add should prevent it anyway.
Didn't search for the thing with the meat yet. It is possible to die with meat while fighting with the wolf, because of the eat cooldown, so maybe that is what happened to you.