memory and segv'd under some circumstances (e.g. when running sys/arch/walnut/compile/mkimg.sh rev. 1.2 script)