xfs-masters
[Top] [All Lists]

[xfs-masters] [Bug 727] New: kernel 2.6.18.2: possible recursive lockin

To: xfs-master@xxxxxxxxxxx
Subject: [xfs-masters] [Bug 727] New: kernel 2.6.18.2: possible recursive locking detected
From: bugzilla-daemon@xxxxxxxxxxx
Date: Sun, 19 Nov 2006 11:03:12 -0800
Reply-to: xfs-masters@xxxxxxxxxxx
Sender: xfs-masters-bounce@xxxxxxxxxxx
http://oss.sgi.com/bugzilla/show_bug.cgi?id=727

           Summary: kernel 2.6.18.2: possible recursive locking detected
           Product: Linux XFS
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XFS kernel code
        AssignedTo: xfs-master@xxxxxxxxxxx
        ReportedBy: ejwtk06@xxxxxxxxx


Seen at first only when running dpkg, the debian the package manager (so I
thought it was dpkg related) later also seen with an other program (ncftp).

Kernel is pristine 2.6.18.2 with debug lock checking switched on.

uname: Linux terkuile 2.6.18.2 #34 PREEMPT Thu Nov 16 14:20:25 CET 2006 x86_64
GNU/Linux

Maybe not xfs related. But xfs appears prominently with output below.

=============================================
[ INFO: possible recursive locking detected ]
---------------------------------------------
dpkg/2725 is trying to acquire lock:
 (&(&ip->i_lock)->mr_lock){----}, at: [<ffffffff88135760>] xfs_ilock+0x58/0x7b 
[xfs]

but task is already holding lock:
 (&(&ip->i_lock)->mr_lock){----}, at: [<ffffffff88135760>] xfs_ilock+0x58/0x7b 
[xfs]

other info that might help us debug this:
3 locks held by dpkg/2725:
 #0:  (&inode->i_mutex/1){--..}, at: [<ffffffff8023c557>] do_unlinkat+0x7e/0x175
 #1:  (&inode->i_mutex){--..}, at: [<ffffffff80262765>] mutex_lock+0x25/0x2a
 #2:  (&(&ip->i_lock)->mr_lock){----}, at: [<ffffffff88135760>]
xfs_ilock+0x58/0x7b [xfs]

stack backtrace:

Call Trace:
 [<ffffffff802936a5>] __lock_acquire+0x146/0xa49
 [<ffffffff80264110>] _spin_unlock_irq+0x2b/0x57
 [<ffffffff88135760>] :xfs:xfs_ilock+0x58/0x7b
 [<ffffffff80294023>] lock_acquire+0x7b/0xa1
 [<ffffffff88135760>] :xfs:xfs_ilock+0x58/0x7b
 [<ffffffff80290f0d>] down_write+0x36/0x42
 [<ffffffff88135760>] :xfs:xfs_ilock+0x58/0x7b
 [<ffffffff8814e42a>] :xfs:xfs_lock_dir_and_entry+0x8b/0xc6
 [<ffffffff88151614>] :xfs:xfs_remove+0x1c0/0x3c1
 [<ffffffff8815a135>] :xfs:xfs_vn_unlink+0x26/0x60
 [<ffffffff8026270f>] __mutex_lock_slowpath+0x241/0x272
 [<ffffffff80239f02>] debug_mutex_free_waiter+0x52/0x56
 [<ffffffff80262733>] __mutex_lock_slowpath+0x265/0x272
 [<ffffffff8024a040>] vfs_unlink+0xcd/0x114
 [<ffffffff8023c5a0>] do_unlinkat+0xc7/0x175
 [<ffffffff802635b9>] trace_hardirqs_on_thunk+0x35/0x37
 [<ffffffff802931fb>] trace_hardirqs_on+0x107/0x131
 [<ffffffff802635b9>] trace_hardirqs_on_thunk+0x35/0x37
 [<ffffffff802b55c4>] sys_unlink+0x11/0x13
 [<ffffffff8025d38e>] system_call+0x7e/0x83



XFS related kernel config is:
CONFIG_XFS_FS=m
CONFIG_XFS_QUOTA=y
CONFIG_XFS_SECURITY=y
CONFIG_XFS_POSIX_ACL=y
# CONFIG_XFS_RT is not set

#
# Kernel hacking
#
CONFIG_TRACE_IRQFLAGS_SUPPORT=y
# CONFIG_PRINTK_TIME is not set
CONFIG_MAGIC_SYSRQ=y
# CONFIG_UNUSED_SYMBOLS is not set
CONFIG_DEBUG_KERNEL=y
CONFIG_LOG_BUF_SHIFT=14
CONFIG_DETECT_SOFTLOCKUP=y
CONFIG_SCHEDSTATS=y
# CONFIG_DEBUG_SLAB is not set
# CONFIG_DEBUG_PREEMPT is not set
# CONFIG_DEBUG_RT_MUTEXES is not set
# CONFIG_RT_MUTEX_TESTER is not set
CONFIG_DEBUG_SPINLOCK=y
CONFIG_DEBUG_MUTEXES=y
CONFIG_DEBUG_RWSEMS=y
CONFIG_DEBUG_LOCK_ALLOC=y
CONFIG_PROVE_LOCKING=y
CONFIG_LOCKDEP=y
CONFIG_DEBUG_LOCKDEP=y
CONFIG_TRACE_IRQFLAGS=y
CONFIG_DEBUG_SPINLOCK_SLEEP=y
CONFIG_DEBUG_LOCKING_API_SELFTESTS=y
CONFIG_STACKTRACE=y
# CONFIG_DEBUG_KOBJECT is not set
# CONFIG_DEBUG_INFO is not set
# CONFIG_DEBUG_FS is not set
# CONFIG_DEBUG_VM is not set
CONFIG_FRAME_POINTER=y
# CONFIG_UNWIND_INFO is not set
# CONFIG_FORCED_INLINING is not set
# CONFIG_RCU_TORTURE_TEST is not set
# CONFIG_DEBUG_RODATA is not set
# CONFIG_IOMMU_DEBUG is not set
# CONFIG_DEBUG_STACKOVERFLOW is not set
CONFIG_DEBUG_STACK_USAGE=y

the rest on request.

-- 
Configure bugmail: http://oss.sgi.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


<Prev in Thread] Current Thread [Next in Thread>
  • [xfs-masters] [Bug 727] New: kernel 2.6.18.2: possible recursive locking detected, bugzilla-daemon <=