Sunday, July 16, 2006

Pause/Resume causes TM to go crazy

According to my debug trace, my program would go crazy after the 327026th ruby cycle. The program would execute instruction that is outside my program. I have no idea what that is and I am sure it is NOT a core dump. The normal PC range is 0x11574 to 0x11650, and after the program is gone crazy, it executes around 0xffffffffff3b3900, 0xff3cc604, 0xff3b3900 are some typical PC values.
It may be a good time to start looking around for alternative methods to implement pause/resume.
Dann's implementation sounds pretty solid so far but I still have to try to get the code and fit it to our simulation first. But it seems I am out of options.

No comments: