NetBSD-Bugs archive

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

Re: kern/55287: memory corruption around lfs_unmark_dirop



The following reply was made to PR kern/55287; it has been noted by GNATS.

From: clare%csel.org@localhost
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: kern/55287: memory corruption around lfs_unmark_dirop
Date: Sat, 23 May 2020 21:39:09 +0900

 i forgotten enabling DIAGNOSTIC.
 after diagnostic option enabled, the kernel panics on lfs_vnops.c:530
 
 
 2020-05-23T20:48:11.205395+09:00 drunker.csel.org savecore - - - reboot after panic: [ 264.5263227] panic: kernel diagnostic assertion "VOP_ISLOCKED(ap->a_vp) == LK_EXCLUSIVE" failed: file "../../../../ufs/lfs/lfs_vnops.c", line 530
 2020-05-23T20:54:59.954169+09:00 drunker.csel.org savecore - - - reboot after panic: [ 223.1100985] panic: kernel diagnostic assertion "VOP_ISLOCKED(ap->a_vp) == LK_EXCLUSIVE" failed: file "../../../../ufs/lfs/lfs_vnops.c", line 530
 2020-05-23T21:02:00.280991+09:00 drunker.csel.org savecore - - - reboot after panic: [ 233.5912117] panic: kernel diagnostic assertion "VOP_ISLOCKED(ap->a_vp) == LK_EXCLUSIVE" failed: file "../../../../ufs/lfs/lfs_vnops.c", line 530
 
 
 # newfs_lfs /dev/rdk4
 Creating a version 2 LFS32 with roll-forward ident 0x33603a29
 462221.0MB in 462221 segments of size 1048576
 super-block backups (for fsck -b #) at:
 16, 94662656, 189325312, 283987968, 378650624, 473313280, 567975936,
 662638592, 757301248, 851963904.
 # mount /lfs
 [ 709.5109605] WARNING: the log-structured file system is experimental
 [ 709.5209683] WARNING: it may cause system crashes and/or corrupt data
 # mkdir /lfs/netbsd
 # chown clare /lfs/netbsd
 # exit
 $ cd /lfs/netbsd
 [ 724.5141931] panic: kernel diagnostic assertion "VOP_ISLOCKED(ap->a_vp) == LK_EXCLUSIVE" failed: file "../../../../ufs/lfs/lfs_vnops.c", line 530
 [ 724.5365961] cpu0: Begin traceback...
 [ 724.5365961] vpanic() at netbsd:vpanic+0x1e0
 [ 724.5442220] _GLOBAL__sub_D_65535_0_cpu_configure() at netbsd:_GLOBAL__sub_D_65535_0_cpu_configure
 [ 724.5642405] lfs_inactive() at netbsd:lfs_inactive+0x2b1
 [ 724.5742535] VOP_INACTIVE() at netbsd:VOP_INACTIVE+0x135
 [ 724.5842608] vrelel() at netbsd:vrelel+0x295
 [ 724.5942685] vput() at netbsd:vput+0xc4
 [ 724.6052045] getcwd_common() at netbsd:getcwd_common+0x397
 [ 724.6146007] sys___getcwd() at netbsd:sys___getcwd+0x156
 [ 724.6246897] syscall() at netbsd:syscall+0x4c2
 [ 724.6358105] --- syscall (number 296) ---
 [ 724.6443099] netbsd:syscall+0x4c2:
 [ 724.6443099] cpu0: End traceback...
 
 
 -- 
 Shinichi Doyashiki <clare%csel.org@localhost>
 


Home | Main Index | Thread Index | Old Index