kernel page fault (null-pointer dereference): flock(2) and NFS

From: Marcel Moolenaar <marcel_at_xcllnt.net>
Date: Thu, 2 Dec 2004 00:00:03 -0800
itanium% vi geom_gpt.c

fatal kernel trap (cpu 0):

     trap vector = 0x14 (Page Not Present)
     cr.iip      = 0xe000000004546560
     cr.ipsr     = 0x1010080a6018 
(ac,mfl,ic,i,dt,dfh,rt,cpl=0,it,ri=0,bn)
     cr.isr      = 0x400000000 (code=0,vector=0,r,ei=0)
     cr.ifa      = 0x0
     curthread   = 0xe000000062dae780
         pid = 520, comm = vi

[thread pid 520 tid 100063 ]
Stopped at      ufsfifo_write+0x50:     [M0]    ld8 r14=[r8],0x8
db> tr
Tracing pid 520 tid 100063 td 0xe000000062dae780
ufsfifo_write(0xa0000000334c70a8, 0xa0000000334c7048, 
0xe000000062dae780, 0xe0000000043cee90) at ufsfifo_write+0x50
vn_rdwr(0x1, 0xe000000063483000, 0xe0000000634831b0, 0x1b0, 0x0, 0x1, 
0x1001, 0xe0000000002a3d00) at vn_rdwr+0x670
nfs_dolock(0x0, 0xe000000063483000, 0xe000000004736f40) at 
nfs_dolock+0x810
nfs_advlock(0xa0000000334c73c0, 0xe00000000428e630, 0x40c, 0x891) at 
nfs_advlock+0xb0
flock(0xe000000062dae780, 0xa0000000334c74f0, 0xa0000000334c73f0, 
0xe000000060805a00) at flock+0x380
syscall(0xa0000000334c7400, 0x6, 0xe000000062dae780, 
0xe0000000046ebd70, 0x83, 0xe0000000631b5900, 0xe0000000631b5b18, 
0xa0000000334c74e8) at syscall+0x790
epc_syscall_return() at epc_syscall_return
db>

-- 
  Marcel Moolenaar         USPA: A-39004          marcel_at_xcllnt.net
Received on Thu Dec 02 2004 - 07:00:04 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:23 UTC