Project

General

Profile

Actions

Bug #3629

closed

NFSv4 client: assertion failed: vp->v_filocks == NULL, file: ../../common/fs/vnode.c, line: 2429

Added by Denis Kozadaev over 8 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
nfs - NFS server and client
Start date:
2013-03-15
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

There is a kernel panic due to NFS i/o processing.
vmdump is available (probably, with debug info, unfortunately I don't remember it exactly)
some info from mdb:

witch# mdb -k unix.9 vmcore.9
Loading modules: [ unix genunix specfs dtrace mac cpu.generic cpu_ms.AuthenticAMD.15 uppc pcplusmp scsi_vhci zfs ip hook neti sockfs arp usba sd stmf stmf_sbd s1394 fctl lofs sata random nfs idm cpc fcip crypto sppp ufs logindmux ptm ipc ]
> ::status
debugging crash dump vmcore.9 (64-bit) from witch
operating system: 5.11 oi_dev (i86pc)
image uuid: 53214ce9-0ff3-48eb-a21e-edc36b25b361
panic message: assertion failed: vp->v_filocks == NULL, file: ../../common/fs/vnode.c, line: 2420
dump content: kernel pages only
> ::stack
vpanic()
assfail+0x89(fffffffffbfa3b78, fffffffffbfa3de0, 974)
vn_free+0x111(ffffff039d062300)
destroy_rnode4+0x66(ffffff01c3e00038)
rp4_addfree+0x16e(ffffff01c3e00038, ffffff01c8c58c68)
nfs4_inactive_otw+0x4f9(ffffff039d062300, ffffff01c8c58c68)
nfs4_inactive_thread+0xb5(ffffffa6649d6000)
thread_start+8()
> ::panicinfo
             cpu                0
          thread ffffff0005d13c40
         message assertion failed: vp->v_filocks == NULL, file: ../../common/fs/vnode.c, line: 2420
             rdi fffffffffbf87248
             rsi ffffff0005d138e0
             rdx fffffffffbfa3de0
             rcx ffffff0005d13920
              r8 ffffff01ce9407a9
              r9                0
             rax ffffff0005d13830
             rbx fffffffffbfa3de0
             rbp ffffff0005d13910
             r10 ffffff04d1d310a8
             r10 ffffff04d1d310a8
             r11                7
             r12 fffffffffbfa3b78
             r13              974
             r14 ffffffa6649d6148
             r15 ffffffa4d4c555b8
          fsbase                0
          gsbase fffffffffbc3e420
              ds               4b
              es               4b
              fs                0
              gs              1c3
          trapno                0
             err                0
             rip fffffffffb86b760
              cs               30
          rflags              246
             rsp ffffff0005d13828
              ss               38
          gdt_hi                0
          gdt_lo         e00001ef
          idt_hi                0
          idt_lo         d0000fff
             ldt                0
            task               70
             cr0         8005003b
             cr2          8046cbc
             cr3          5400000
             cr4              6f8

The file is usr/src/uts/common/fs/vnode.c:

void
vn_free(vnode_t *vp)
{
        ASSERT(vp->v_shrlocks == NULL);
        ASSERT(vp->v_filocks == NULL);
...


Related issues

Related to illumos gate - Bug #7721: Poor nfs4_frlock() performance for blocking locksIn ProgressMarcel Telka2017-01-03

Actions
Actions

Also available in: Atom PDF