Problem found - might be useful
I ended up trying to debug the dump() function to find out what was going wrong. And it turned out to be a wiki page called 'TextFormattingRules' which was causing the TikiWiki parse_data() function to crash, or spin, or something.
This page was originally from a PHPWiki installation and had found its way into TikiWiki from a PHPWiki dump when I was changing wiki to TikiWiki. It's one of those useless pages you never use but is included among many others as part of a default PHPWiki installation.
I suspect many people imported, like me, from PHPWiki. Thought you might like to know about this problem if you're having trouble with the html dump - it's that goddamn TextFormattingRules page that's the trouble. That, or the parse_data() function needs a bit of a check-out.