Been looking into it. I was unable to reproduce this at all locally so perhaps it's better or perhaps I just don't have the right combo of hashrate and circumstances. I've done some generic changes to make it more robust. There may well be a second issue with btcg related to the frequent restarts it's had lately but I have no firm leads on that.
Thanks for checking. Maybe it helps checking the issue with a p2pool:
stratum+tcp://elizium.name:9332
start - looking for devices - coredump
I noticed --nfy-bits - thanks :-)