INFO: possible circular locking dependency detected

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



=======================================================
[ INFO: possible circular locking dependency detected ]
2.6.20 #2
-------------------------------------------------------
soffice.bin/29030 is trying to acquire lock:
 (sk_lock-AF_INET){--..}, at: [<78259420>] tcp_sendmsg+0x16/0xafa

but task is already holding lock:
 (&inode->i_alloc_sem){--..}, at: [<7816eed9>] notify_change+0x210/0x28f

which lock already depends on the new lock.


the existing dependency chain (in reverse order) is:

-> #3 (&inode->i_alloc_sem){--..}:
       [<78134753>] __lock_acquire+0xc86/0xd64
       [<78134888>] lock_acquire+0x57/0x70
       [<7812fc1e>] down_write+0x3a/0x54
       [<7816eed9>] notify_change+0x210/0x28f
       [<7815ae0b>] do_truncate+0x53/0x6c
       [<781639f0>] may_open+0x163/0x1d4
       [<78165898>] open_namei+0x75/0x5e0
       [<7815aacb>] do_filp_open+0x26/0x43
       [<7815ab29>] do_sys_open+0x41/0xca
       [<7815abea>] sys_open+0x1c/0x1e
       [<78102f40>] syscall_call+0x7/0xb
       [<ffffffff>] 0xffffffff

-> #2 (&sysfs_inode_imutex_key){--..}:
       [<78134753>] __lock_acquire+0xc86/0xd64
       [<78134888>] lock_acquire+0x57/0x70
       [<78283df7>] __mutex_lock_slowpath+0x73/0x2d6
       [<78284076>] mutex_lock+0x1c/0x1f
       [<7819201e>] create_dir+0x1d/0x1ba
       [<78192944>] sysfs_create_dir+0x2d/0x61
       [<781bed07>] kobject_add+0x8e/0x199
       [<78209788>] class_device_add+0x9f/0x3c2
       [<78246511>] netdev_register_sysfs+0x72/0x77
       [<7823bd7d>] register_netdevice+0x22a/0x3d2
       [<7823d0f6>] register_netdev+0x40/0x4d
       [<7835f30f>] loopback_init+0xd/0x1e
       [<781004b6>] init+0x10d/0x311
       [<78103baf>] kernel_thread_helper+0x7/0x18
       [<ffffffff>] 0xffffffff

-> #1 (rtnl_mutex){--..}:
       [<78134753>] __lock_acquire+0xc86/0xd64
       [<78134888>] lock_acquire+0x57/0x70
       [<78283df7>] __mutex_lock_slowpath+0x73/0x2d6
       [<78284076>] mutex_lock+0x1c/0x1f
       [<782441ec>] rtnl_lock+0xd/0xf
       [<78276f64>] ip_mc_leave_group+0x16/0xc9
       [<78254c59>] ip_setsockopt+0x29e/0xb1c
       [<7826d8c0>] udp_setsockopt+0x2b/0x4f
       [<7823430f>] sock_common_setsockopt+0x1e/0x25
       [<78232a79>] sys_setsockopt+0x4e/0x8b
       [<78234019>] sys_socketcall+0x1f1/0x254
       [<78102f40>] syscall_call+0x7/0xb
       [<ffffffff>] 0xffffffff

-> #0 (sk_lock-AF_INET){--..}:
       [<781345d5>] __lock_acquire+0xb08/0xd64
       [<78134888>] lock_acquire+0x57/0x70
       [<78234a90>] lock_sock_nested+0xd1/0xde
       [<78259420>] tcp_sendmsg+0x16/0xafa
       [<78273ae7>] inet_sendmsg+0x2e/0x4c
       [<78232fb3>] sock_sendmsg+0xcc/0xf0
       [<782340a4>] kernel_sendmsg+0x28/0x37
       [<b8a6e3dd>] smb_send_request+0x9c/0xd2 [smbfs]
       [<b8a70646>] smb_request_send_req+0x33/0x6b [smbfs]
       [<b8a7139b>] smb_add_request+0x40f/0x4f4 [smbfs]
       [<b8a6c6dd>] smb_proc_trunc64+0x8d/0xbb [smbfs]
       [<b8a6ee01>] smb_notify_change+0x1cc/0x220 [smbfs]
       [<7816ed94>] notify_change+0xcb/0x28f
       [<7815ae0b>] do_truncate+0x53/0x6c
       [<7815b229>] do_sys_ftruncate+0xe1/0x155
       [<7815b2b8>] sys_ftruncate64+0x1b/0x1d
       [<78102f40>] syscall_call+0x7/0xb
       [<ffffffff>] 0xffffffff

other info that might help us debug this:

2 locks held by soffice.bin/29030:
 #0:  (&inode->i_mutex){--..}, at: [<78284076>] mutex_lock+0x1c/0x1f
 #1:  (&inode->i_alloc_sem){--..}, at: [<7816eed9>]
notify_change+0x210/0x28f

stack backtrace:
 [<78103f35>] show_trace_log_lvl+0x1a/0x30
 [<78104636>] show_trace+0x12/0x14
 [<781046da>] dump_stack+0x16/0x18
 [<78132a09>] print_circular_bug_tail+0x68/0x71
 [<781345d5>] __lock_acquire+0xb08/0xd64
 [<78134888>] lock_acquire+0x57/0x70
 [<78234a90>] lock_sock_nested+0xd1/0xde
 [<78259420>] tcp_sendmsg+0x16/0xafa
 [<78273ae7>] inet_sendmsg+0x2e/0x4c
 [<78232fb3>] sock_sendmsg+0xcc/0xf0
 [<782340a4>] kernel_sendmsg+0x28/0x37
 [<b8a6e3dd>] smb_send_request+0x9c/0xd2 [smbfs]
 [<b8a70646>] smb_request_send_req+0x33/0x6b [smbfs]
 [<b8a7139b>] smb_add_request+0x40f/0x4f4 [smbfs]
 [<b8a6c6dd>] smb_proc_trunc64+0x8d/0xbb [smbfs]
 [<b8a6ee01>] smb_notify_change+0x1cc/0x220 [smbfs]
 [<7816ed94>] notify_change+0xcb/0x28f
 [<7815ae0b>] do_truncate+0x53/0x6c
 [<7815b229>] do_sys_ftruncate+0xe1/0x155
 [<7815b2b8>] sys_ftruncate64+0x1b/0x1d
 [<78102f40>] syscall_call+0x7/0xb
 =======================


The system is a Dell 8400 with Debian Sid.
Kernel 2.6.20 from kernel.org.

pmlopez@eq105:~$ lspci
00:00.0 Host bridge: Intel Corporation 82925X/XE Memory Controller Hub
(rev 04)
00:01.0 PCI bridge: Intel Corporation 82925X/XE PCI Express Root Port
(rev 04)
00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
Family) PCI Express Port 2 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
Family) USB UHCI #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
Family) USB UHCI #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
Family) USB UHCI #3 (rev 03)
00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
Family) USB UHCI #4 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
Family) USB2 EHCI Controller (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev d3)
00:1e.2 Multimedia audio controller: Intel Corporation
82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 03)
00:1f.0 ISA bridge: Intel Corporation 82801FB/FR (ICH6/ICH6R) LPC
Interface Bridge (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
Family) IDE Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation 82801FR/FRW (ICH6R/ICH6RW)
SATA Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family)
SMBus Controller (rev 03)
01:00.0 VGA compatible controller: ATI Technologies Inc RV370 5B60
[Radeon X300 (PCIE)]
01:00.1 Display controller: ATI Technologies Inc RV370 [Radeon X300SE]
02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5751
Gigabit Ethernet PCI Express (rev 01)


If you need more info, please, ask for :-)

Attachment: config
Description: Binary data


[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux