in reply to Re^4: shared scalar freed early
in thread shared scalar freed early

It's very hard to imagine it's something other than a buggy XS module.