This sounds like a states table issue, if an element doesn't have an entry, it dies right away. The comment before the state doesn't necessarily mean it is for that element, there needs to be the correct amount of entries. I didn't look at the file, but i'm 99.9% sure that is the issue here.
EDIT: checked your powder.h and can confirm you are missing an entry for one of your new elements 'GBOB' in the states table.