While viewing/manipulating PNG files, I have experienced problems ranging from corrupted images to core dumps. A simple way to get a core dump is: echo 'P1 1 1 0' | pnmtopng > /dev/null (this works OK on Intel/Linux).
fixed in 6.0.