[vbox-dev] Recursive locking problem with VB 3.2.0

Larry Finger Larry.Finger at lwfinger.net
Wed Jun 2 08:58:53 PDT 2010


I have been seeing a "possible recursive locking" problem for recent
kernels. The dmesg log for 3.2.0 r61806 on kernel 2.6.35-rc1 is shown below:

[  911.569445] =============================================
[  911.569450] [ INFO: possible recursive locking detected ]
[  911.569454] 2.6.35-rc1-wl #341
[  911.569456] ---------------------------------------------
[  911.569460] VirtualBox/10512 is trying to acquire lock:
[  911.569463]  (&(&pThis->Spinlock)->rlock){+.+...}, at:
[<ffffffffa053f39d>] RTSpinlockAcquire+0xd/0x10 [vboxdrv]
[  911.569497]
[  911.569498] but task is already holding lock:
[  911.569500]  (&(&pThis->Spinlock)->rlock){+.+...}, at:
[<ffffffffa053f39d>] RTSpinlockAcquire+0xd/0x10 [vboxdrv]
[  911.569515]
[  911.569516] other info that might help us debug this:
[  911.569520] 1 lock held by VirtualBox/10512:
[  911.569522]  #0:  (&(&pThis->Spinlock)->rlock){+.+...}, at:
[<ffffffffa053f39d>] RTSpinlockAcquire+0xd/0x10 [vboxdrv]
[  911.569538]
[  911.569538] stack backtrace:
[  911.569542] Pid: 10512, comm: VirtualBox Not tainted 2.6.35-rc1-wl #341
[  911.569545] Call Trace:
[  911.569555]  [<ffffffff81079516>] __lock_acquire+0x1506/0x1c60
[  911.569560]  [<ffffffff8107a263>] lock_acquire+0x93/0x130
[  911.569573]  [<ffffffffa053f39d>] ? RTSpinlockAcquire+0xd/0x10 [vboxdrv]
[  911.569579]  [<ffffffff8131ed6c>] _raw_spin_lock+0x2c/0x40
[  911.569591]  [<ffffffffa053f39d>] ? RTSpinlockAcquire+0xd/0x10 [vboxdrv]
[  911.569603]  [<ffffffffa053f39d>] RTSpinlockAcquire+0xd/0x10 [vboxdrv]
[  911.569614]  [<ffffffffa0534520>] SUPR0ObjAddRefEx+0xb0/0x240 [vboxdrv]
[  911.569625]  [<ffffffffa05346d4>]
supdrvSessionObjHandleRetain+0x14/0x20 [vboxdrv]
[  911.569637]  [<ffffffffa0545c78>]
RTHandleTableLookupWithCtx+0x108/0x140 [vboxdrv]
[  911.569649]  [<ffffffffa053a0a4>] SUPSemEventWaitNoResume+0x84/0xc0
[vboxdrv]
[  911.569660]  [<ffffffffa0537b2f>] supdrvIOCtl+0xccf/0x2530 [vboxdrv]
[  911.569665]  [<ffffffff810e1707>] ? might_fault+0x57/0xb0
[  911.569675]  [<ffffffffa053342e>] VBoxDrvLinuxIOCtl+0x12e/0x1f0 [vboxdrv]
[  911.569680]  [<ffffffff81116d6c>] vfs_ioctl+0x3c/0xd0
[  911.569684]  [<ffffffff811173af>] do_vfs_ioctl+0x7f/0x570
[  911.569689]  [<ffffffff81108973>] ? fget_light+0xe3/0x100
[  911.569692]  [<ffffffff811088f1>] ? fget_light+0x61/0x100
[  911.569697]  [<ffffffff811178ea>] sys_ioctl+0x4a/0x80
[  911.569703]  [<ffffffff81002ceb>] system_call_fastpath+0x16/0x1b





More information about the vbox-dev mailing list