[Info-vax] hung program location

Hein RMS van den Heuvel heinvandenheuvel at gmail.com
Mon Feb 18 10:05:23 EST 2013


On Monday, February 18, 2013 9:15:28 AM UTC-5, Tom Adams wrote:
> I can see the PC and SP where a program is hung using SHOW PROC/CONT.

Define 'hung'.

I suspect it means making no useful progress for the outside world.

But is it doing something? 
COM - state with CPU usage increasing? 
LEF - state with DIR/BUF IO count changing?
HIB - state, waiting for an other process or a lock/message to wake it up?

It is likely to be in LEF mode waiting for an IO or LOCK.
Also with SDA, check with SHOW PROC/LOCK to see if it is waiting for one.
And use SHOW PROC/CHAN looking for 'busy' to see where an IO might be active.

The PC location itself is typically only useful for hard loops.
More like you'll need a SHOW STACK.

Good luck!
Hein




More information about the Info-vax mailing list