strace causes panic: sleeping thread

Dag-Erling Smørgrav des at
Tue May 1 11:34:57 UTC 2007

Kostik Belousov <kostikbel at> writes:
> The procfs PIOCWAIT/PIOCWAIT32 ioctls drop the p_mtx for
> sleep. Could it be that p being freed/reused meantime ?

So it should be held while the lock is dropped.  It is still a procfs
issue (and one that was present, although benign, before I removed
Giant from pseudofs).  Please try this updated patch.

Dag-Erling Smørgrav - des at

-------------- next part --------------
A non-text attachment was scrubbed...
Name: procfs.diff
Type: text/x-patch
Size: 1257 bytes
Desc: not available
Url :

More information about the freebsd-current mailing list