Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Feb 2004 00:56:25 +0100
From:      Adriaan de Groot <adridg@cs.kun.nl>
To:        freebsd-amd64@freebsd.org
Subject:   Lock order reversals
Message-ID:  <200402280056.31231.adridg@cs.kun.nl>

next in thread | raw e-mail | index | archive | help
--Boundary-00=_pk9PAH254Em1ye7
Content-Type: Text/Plain;
  charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Attached find the dump of a lock order reversal I found on my console just=
=20
now. It might have happened while I was compiling and ripping CDs at the sa=
me=20
time. Anyway .. is it useful to post these?They do suggest the _possibility=
_=20
of deadlock.

I also recently managed to panic my box with an, um, non-sleepable mutex=20
discombobulation. Forget what exactly, but it was while trying to mount a U=
SB=20
pendrive. Next time ..=20

=2D --=20
pub  1024D/FEA2A3FE 2002-06-18 Adriaan de Groot <groot@kde.org>
                     Would you like a freem?
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAP9kvdqzuAf6io/4RAndXAJ0aC5SBY2s7vSypHXFFGEBBtt5xQgCffM6u
o+0jIBHEa2tIizAwOjAd/3Q=3D
=3DS8AE
=2D----END PGP SIGNATURE-----

--Boundary-00=_pk9PAH254Em1ye7
Content-Type: text/plain;
  charset="us-ascii";
  name="rev"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="rev"

lock order reversal
 1st 0xffffff0003a929a0 vm object (vm object) @ /mnt/sys/CURRENT/src/sys/vm/swap
_pager.c:1314
 2nd 0xffffffff807dcca0 swap_pager swhash (swap_pager swhash) @ /mnt/sys/CURRENT
/src/sys/vm/swap_pager.c:1822
 3rd 0xffffff003e0e8700 vm object (vm object) @ /mnt/sys/CURRENT/src/sys/vm/uma_
core.c:886
Stack backtrace:
backtrace() at backtrace+0x17
witness_checkorder() at witness_checkorder+0x678
_mtx_lock_flags() at _mtx_lock_flags+0x80
obj_alloc() at obj_alloc+0x41
slab_zalloc() at slab_zalloc+0xa2
uma_zone_slab() at uma_zone_slab+0xd5
uma_zalloc_internal() at uma_zalloc_internal+0x3c
uma_zalloc_arg() at uma_zalloc_arg+0x3a6
swp_pager_meta_build() at swp_pager_meta_build+0x14b
swap_pager_putpages() at swap_pager_putpages+0x2f3
default_pager_putpages() at default_pager_putpages+0xa
vm_pageout_flush() at vm_pageout_flush+0x15e
vm_pageout_clean() at vm_pageout_clean+0x292
vm_pageout_scan() at vm_pageout_scan+0x65f
vm_pageout() at vm_pageout+0x377
fork_exit() at fork_exit+0xd9
fork_trampoline() at fork_trampoline+0xe
--- trap 0, rip = 0, rsp = 0xffffffffa9976d00, rbp = 0 ---

--Boundary-00=_pk9PAH254Em1ye7--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402280056.31231.adridg>