lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <44BA13F3.9010608@free.fr>
Date:	Sun, 16 Jul 2006 12:24:51 +0200
From:	Laurent Riffard <laurent.riffard@...e.fr>
To:	reiserfs-list@...esys.com,
	Kernel development list <linux-kernel@...r.kernel.org>
Subject: reiser4: possible circular locking dependency

Hello,

I just got this warning:

=======================================================
[ INFO: possible circular locking dependency detected ]
-------------------------------------------------------
nautilus/3229 is trying to acquire lock:
 (&txnh->hlock){--..}, at: [<e0c8e09b>] txn_end+0x191/0x368 [reiser4]

but task is already holding lock:
 (&atom->alock){--..}, at: [<e0c8a640>] txnh_get_atom+0xf6/0x39e [reiser4]

which lock already depends on the new lock.


the existing dependency chain (in reverse order) is:

-> #1 (&atom->alock){--..}:
       [<c012d1a7>] lock_acquire+0x60/0x80
       [<c02924f8>] _spin_lock+0x19/0x28
       [<e0c8bbd7>] try_capture+0x7cf/0x1cd7 [reiser4]
       [<e0c786e1>] longterm_lock_znode+0x427/0x84f [reiser4]
       [<e0ca7fcb>] seal_validate+0x221/0x5ee [reiser4]
       [<e0cbefb1>] update_sd+0x1c5/0x6a0 [reiser4]
       [<e0cbfa37>] write_sd_by_inode_common+0x5ab/0x61a [reiser4]
       [<e0cb428b>] reiser4_update_sd+0x83/0x8c [reiser4]
       [<e0caba2f>] reiser4_dirty_inode+0xea/0x143 [reiser4]
       [<c017062d>] __mark_inode_dirty+0x2a/0x156
       [<c0169650>] touch_atime+0x89/0x91
       [<e0cbe010>] readdir_common+0x7da/0x848 [reiser4]
       [<c0162c4f>] vfs_readdir+0x4e/0x7a
       [<c0162cd9>] sys_getdents64+0x5e/0xa0
       [<c0102c2d>] sysenter_past_esp+0x56/0x8d

-> #0 (&txnh->hlock){--..}:
       [<c012d1a7>] lock_acquire+0x60/0x80
       [<c02924f8>] _spin_lock+0x19/0x28
       [<e0c8e09b>] txn_end+0x191/0x368 [reiser4]
       [<e0c7f97d>] reiser4_exit_context+0x1c2/0x571 [reiser4]
       [<e0cbe02e>] readdir_common+0x7f8/0x848 [reiser4]
       [<c0162c4f>] vfs_readdir+0x4e/0x7a
       [<c0162cd9>] sys_getdents64+0x5e/0xa0
       [<c0102c2d>] sysenter_past_esp+0x56/0x8d

other info that might help us debug this:

2 locks held by nautilus/3229:
 #0:  (&inode->i_mutex){--..}, at: [<c02913aa>] mutex_lock+0x21/0x24
 #1:  (&atom->alock){--..}, at: [<e0c8a640>] txnh_get_atom+0xf6/0x39e [reiser4]

stack backtrace:
 [<c0104db5>] show_trace+0xd/0x10
 [<c0104dd1>] dump_stack+0x19/0x1c
 [<c012bfda>] print_circular_bug_tail+0x59/0x64
 [<c012cfb6>] __lock_acquire+0x814/0x9a5
 [<c012d1a7>] lock_acquire+0x60/0x80
 [<c02924f8>] _spin_lock+0x19/0x28
 [<e0c8e09b>] txn_end+0x191/0x368 [reiser4]
 [<e0c7f97d>] reiser4_exit_context+0x1c2/0x571 [reiser4]
 [<e0cbe02e>] readdir_common+0x7f8/0x848 [reiser4]
 [<c0162c4f>] vfs_readdir+0x4e/0x7a
 [<c0162cd9>] sys_getdents64+0x5e/0xa0
 [<c0102c2d>] sysenter_past_esp+0x56/0x8d

I'm running 2.6.18-rc1-mm2 with a few patches:
- drivers-base-check-errors-fix.patch (hot-fixes)
- annotate-pktcdvd-natural-device-hierarchy.patch (from Arjan van de Ven)
- blkdev_get_partition.patch (from Peter Osterlund)

.config is attached
--
laurent

View attachment "config-2.6.18-rc1-mm2" of type "text/plain" (44024 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ