what's the bug in proc.c???

apparently something wrong with the stack