We (furfly) had a client site doing this recently and it turned out that they weren't setting the stacksize in the ns/parameters section, so it was defaulting to some too-small value. You might want to check to make sure you've got that, and if you do then maybe increase it.