Blah, just after posting this I noticed it appears to be the same bug as described in http://www.erlang.org/pipermail/erlang-bugs/2007-June/000368.html Sorry 'bout that. :-(