Pete's Log: it's not my fault!
Entry #646, (Coding, Hacking, & CS stuff)(posted when I was 22 years old.)
woohoo! the ush in ush in bcheck isn't my fault. Turns out bcheck severely limits the amount of memory, and thus processes forked from processes run from bcheck get almost no memory at all. So I got rid of the seg fault by actually checking the return value of malloc everywhere. I shouldn't be so arrogant to assume that ush is small enough to run anywhere. Because turns out it's not.
Lessons learned: Never forget Pearl 3, and never assume it's your fault. Assume everything else is wrong before blaming your own code. Heh heh.