Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 May 2002 22:37:54 +0200
From:      Poul-Henning Kamp <phk@freebsd.org>
To:        current@freebsd.org
Subject:   duplicate free from "cache_drain" on -current
Message-ID:  <26980.1022359074@critter.freebsd.dk>

next in thread | raw e-mail | index | archive | help

This is with a version of the md-driver which I will commit in a few
moments and Kirks UFS2 patch.

The system is in single user and now swap has been configured so it
run out of VM.

Poul-Henning

syv# mdconfig -a -t malloc -s 128g
md3: Malloc disk
md3
syv# newfs -O 2 /dev/md3
IOCTL(0x41146465) "md3" 'd'/101 O(276) = ENOIOCTL
Extent size set to 16384
/dev/md3: 131072.0MB (268435456 sectors) block size 16384, fragment size 2048
        using 714 cylinder groups of 183.77MB, 11761 blks, 23552 inodes.
super-block backups (for fsck -b #) at:
 160, 376512, 752864, 1129216, 1505568, 1881920, 2258272, 2634624, 3010976,
 3387328, 3763680, 4140032, 4516384, 4892736, 5269088, 5645440, 6021792,
 6398144, 6774496, 7150848, 7527200, 7903552, 8279904, 8656256, 9032608,
 9408960, 9785312, 10161664, 10538016, 10914368, 11290720, 11667072, 12043424,
 12419776, 12796128, 13172480, 13548832, 13925184, 14301536, 14677888,
 15054240, 15430592, 15806944, 16183296, 16559648, 16936000, 17312352,
 17688704, 18065056, 18441408, 18817760, 19194112, 19570464, 19946816,
 20323168, 20699520, 21075872, 21452224, 21828576, 22204928, 22581280,
 22957632, 23333984, 23710336, 24086688, 24463040, 24839392, 25215744,
 25592096, 25968448, 26344800, 26721152, 27097504, 27473856, 27850208,
 28226560, 28602912, 28979264, 29355616, 29731968,Slab at 0xcc28ffe0, freei 6 = 7.
panic: Duplicate free of item 0xcc28fc00 from zone 0xc082a280(UMA Buckets)

Debugger("panic")
Stopped at      Debugger+0x45:  xchgl   %ebx,in_Debugger.0
db> trace
Debugger(c02fb17c) at Debugger+0x45
panic(c030e2c0,cc28fc00,c082a280,c030de98,c030e2a0) at panic+0x71
uma_dbg_free(c082a280,cc28ffe0,cc28fc00) at uma_dbg_free+0xc5
uma_zfree_internal(c082a280,cc28fc00,0,0,cc285280,cc28fc00,cc2852a4,0,c030dc51,21f) at uma_zfree_internal+0x13d
cache_drain(cc285280) at cache_drain+0xca
zone_drain(cc285280) at zone_drain+0x5a
zone_foreach(c029eb48,d3937d08,c029c82a,c0353820,1) at zone_foreach+0x2e
uma_reclaim(c0353820,1,c030da02,286,287) at uma_reclaim+0x12
vm_pageout_scan(3,d3917414,d3937d34,c01dacfa,0) at vm_pageout_scan+0x30
vm_pageout(0,d3937d48,d3917414,c029d2a8,0) at vm_pageout+0x22a
fork_exit(c029d2a8,0,d3937d48) at fork_exit+0x8a
fork_trampoline() at fork_trampoline+0x37
db> 

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?26980.1022359074>