Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
We set a maximum depth in the splay-tree to limit stack consumption. We will back this value down a bit to fix the problem you reported. Look for a fix in the next point release. If you can't wait, grab the source and change MaxSplayTreeDepth to 1024 in magick/splay-tree.c.