In case it's helpful, the demo script generates
a SEGV starting with checkin

2012-04-02 13:13:11 1d6747e53fa1fc82 BAD CURRENT

That's the implementation of TIP 396.