I am having trouble with the pfiles command. The other pxxxx commands appear to 
work fine but this one hangs. Here's the sequence of operations used to 
generate the situation.

> grep scum (to cause the program to just sit and wait for input)

> ps shows:
100416 pts/1       0:00 grep

> pflags 100416 shows:
100416: grep scum
        data model = _ILP32  flags = MSACCT|MSFORK
 /1:    flags = ASLEEP  read(0x0,0x4041f0,0x2000)

> pfiles 100416 hangs

> pflags 100416 now shows:
100416: grep scum
        data model = _ILP32  flags = RLC|MSACCT|MSFORK
        entryset = 0x00000000 0x00000000 0x00000000 0x00000000
                   0x00000000 0x00000000 0x10000000 0x00000000
 /1:    flags = STOPPED|ISTOP|ASLEEP  read(0x0,0x4041f0,0x2000)
        why = PR_REQUESTED
 /2:    flags = DETACH|AGENT|ASLEEP  read(0x0,0x4041f0,0x2000)
        sigmask = 0xffbffeff,0x0000ffff

> pflags of pfiles shows:
100427: pfiles 100416
        data model = _LP64  flags = MSACCT|MSFORK
 /1:    flags = ASLEEP  write(0x84,0x7ffffffe918,0x10)
        sigmask = 0xffbffeff,0x0000fff7

A trace shows that pfiles is waiting on the cv_waituntil_sig in pr_wait(). 
Evidently whatever should be signaling the cv being waited upon isn't. What is 
the mechanism that should be taking place here?

Neale
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to