My mistake. It had a bug that survived our old version of malloc but m=not our new one and I hadn't compiled it since. One line change. In emalloc(), change malloc(n) to mallocz(n, 1).