[Fwd: cvs commit: src/sys/kern sys_pipe.c]

Alan L. Cox alc at imimic.com
Wed Jul 30 21:15:19 PDT 2003

I believe that the attached commit addresses the "panic: sleeping thread
owns a mutex" problem reported by Kris and another related problem
reported a few days earlier.  The earlier problem report included the
following stack trace:

Sleeping on "objtrm" with the following non-sleepablelocks held:
exclusive sleep mutex system map r = 0 (0xfffff80067e92098) locked @
lock order reversal
 1st 0xfffff80067e92098 system map (system map) @
 2nd 0xc0354d70 Giant (Giant) @ /usr/src/sys/kern/kern_synch.c:312
Stack backtrace:
_mtx_lock_flags() at _mtx_lock_flags+0xa0
msleep() at msleep+0x6a8
vm_object_pip_wait() at vm_object_pip_wait+0x48
vm_object_terminate() at vm_object_terminate+0x30
vm_object_deallocate() at vm_object_deallocate+0x374
vm_map_entry_delete() at vm_map_entry_delete+0x3c
vm_map_delete() at vm_map_delete+0x32c
vm_map_remove() at vm_map_remove+0x44
kmem_free() at kmem_free+0x20
pipe_free_kmem() at pipe_free_kmem+0x98
pipeclose() at pipeclose+0x124
pipe_close() at pipe_close+0x20
fdrop_locked() at fdrop_locked+0x134
fdrop() at fdrop+0x20
closef() at closef+0x1f8
close() at close+0x168
syscall() at syscall+0x2ac
-- syscall (6, FreeBSD ELF64, close) %o7=0x10706c --
-------------- next part --------------
An embedded message was scrubbed...
From: Alan Cox <alc at FreeBSD.org>
Subject: cvs commit: src/sys/kern sys_pipe.c
Date: Wed, 30 Jul 2003 11:55:04 -0700 (PDT)
Size: 2561
Url: http://lists.freebsd.org/pipermail/freebsd-current/attachments/20030730/9948fc66/attachment-0001.eml

More information about the freebsd-current mailing list