From owner-freebsd-current Mon Jun 4 3:25:56 2001 Delivered-To: freebsd-current@freebsd.org Received: from segfault.kiev.ua (segfault.kiev.ua [193.193.193.4]) by hub.freebsd.org (Postfix) with ESMTP id DFCBA37B401 for ; Mon, 4 Jun 2001 03:25:31 -0700 (PDT) (envelope-from netch@iv.nn.kiev.ua) Received: (from uucp@localhost) by segfault.kiev.ua (8) with UUCP id NJU10622 for current@freebsd.org; Mon, 4 Jun 2001 13:25:28 +0300 (EEST) (envelope-from netch@iv.nn.kiev.ua) Received: (from netch@localhost) by iv.nn.kiev.ua (8.11.4/8.11.4) id f54A5gD00634 for current@freebsd.org; Mon, 4 Jun 2001 13:05:42 +0300 (EEST) (envelope-from netch) Date: Mon, 4 Jun 2001 13:05:42 +0300 From: Valentin Nechayev To: current@freebsd.org Subject: panic: free: multiple frees Message-ID: <20010604130541.A612@iv.nn.kiev.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-42: On Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG -current, cvsup: date=2001.06.03.00.00.00 Normally worked, but after Ctrl-Alt-Del: IdlePTD 4038656 initial pcb at 32f940 panicstr: from debugger panic messages: --- panic: free: multiple frees panic: from debugger Uptime: 25m49s (kgdb) bt #0 0xc0199a36 in dumpsys () #1 0xc0199823 in boot () #2 0xc0199c3d in panic () #3 0xc01201d5 in db_panic () #4 0xc0120175 in db_command () #5 0xc012023a in db_command_loop () #6 0xc0122403 in db_trap () #7 0xc02881aa in kdb_trap () #8 0xc0295450 in trap () #9 0xc0288418 in Debugger () #10 0xc0199c34 in panic () #11 0xc0193089 in free () #12 0xc01d0807 in cache_zap () #13 0xc01d0d50 in cache_purgevfs () #14 0xc01d9c4f in dounmount () #15 0xc01d839e in vfs_unmountall () #16 0xc019978f in boot () #17 0xc0199144 in reboot () #18 0xc0296061 in syscall () #19 0xc0288c8d in syscall_with_err_pushed () #20 0x80486ca in ?? () #21 0x80484a3 in ?? () #22 0x8048125 in ?? () (no debug symbols yet, sorry) Startup dmesg: Copyright (c) 1992-2001 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.0-CURRENT #0: Mon Jun 4 09:11:46 EEST 2001 root@iv.nn.kiev.ua:/usr/obj/usr/HEAD/src/sys/nn12 Setting fdc 0 at to isa (string) Setting fdc 0 port to 1008 (int) Setting fdc 0 irq to 6 (int) Setting fdc 0 drq to 2 (int) Setting fd 0 at to fdc0 (string) Setting fd 0 drive to 0 (int) Setting fd 1 at to fdc0 (string) Setting fd 1 drive to 1 (int) Setting ata 0 at to isa (string) Setting ata 0 port to 496 (int) Setting ata 0 irq to 14 (int) Setting ata 1 at to isa (string) Setting ata 1 port to 368 (int) Setting ata 1 irq to 15 (int) Setting adv 0 at to isa (string) Setting bt 0 at to isa (string) Setting aha 0 at to isa (string) Setting aic 0 at to isa (string) Setting atkbdc 0 at to isa (string) Setting atkbdc 0 port to 96 (int) Setting atkbd 0 at to atkbdc (string) Setting atkbd 0 irq to 1 (int) Setting atkbd 0 flags to 1 (int) Setting psm 0 at to atkbdc (string) Setting psm 0 irq to 12 (int) Setting vga 0 at to isa (string) Setting sc 0 at to isa (string) Setting sc 0 flags to 256 (int) Setting vt 0 at to isa (string) Setting npx 0 at to nexus (string) Setting npx 0 port to 240 (int) Setting npx 0 irq to 13 (int) Setting apm 0 at to nexus (string) Setting apm 0 disabled to 1 (int) Setting apm 0 flags to 32 (int) Setting pmtimer 0 at to isa (string) Setting pcic 0 at to isa (string) Setting pcic 0 port to 992 (int) Setting pcic 0 maddr to 851968 (int) Setting pcic 1 at to isa (string) Setting pcic 1 irq to 11 (int) Setting pcic 1 port to 994 (int) Setting pcic 1 maddr to 868352 (int) Setting pcic 1 disabled to 1 (int) Setting sio 0 at to isa (string) Setting sio 0 port to 1016 (int) Setting sio 0 flags to 16 (int) Setting sio 0 irq to 4 (int) Setting sio 1 at to isa (string) Setting sio 1 port to 760 (int) Setting sio 1 irq to 3 (int) Setting sio 2 at to isa (string) Setting sio 2 disabled to 1 (int) Setting sio 2 port to 1000 (int) Setting sio 2 irq to 5 (int) Setting sio 3 at to isa (string) Setting sio 3 disabled to 1 (int) Setting sio 3 port to 744 (int) Setting sio 3 irq to 9 (int) Setting ppc 0 at to isa (string) Setting ppc 0 irq to 7 (int) Setting ed 0 at to isa (string) Setting ed 0 port to 640 (int) Setting ed 0 irq to 10 (int) Setting ed 0 maddr to 884736 (int) Setting cs 0 at to isa (string) Setting cs 0 port to 768 (int) Setting sn 0 at to isa (string) Setting sn 0 port to 768 (int) Setting sn 0 irq to 10 (int) Setting ie 0 at to isa (string) Setting ie 0 port to 768 (int) Setting ie 0 irq to 10 (int) Setting ie 0 maddr to 851968 (int) Setting fe 0 at to isa (string) Setting fe 0 port to 768 (int) Setting le 0 at to isa (string) Setting le 0 port to 768 (int) Setting le 0 irq to 5 (int) Setting le 0 maddr to 851968 (int) Setting lnc 0 at to isa (string) Setting lnc 0 port to 640 (int) Setting lnc 0 irq to 10 (int) Setting lnc 0 drq to 0 (int) Setting adv 0 at to isa (string) Setting aha 0 at to isa (string) Setting aic 0 at to isa (string) Setting apm 0 at to nexus (string) Setting apm 0 disabled to 1 (int) Setting apm 0 flags to 32 (int) Setting ata 0 at to isa (string) Setting ata 0 irq to 14 (int) Setting ata 0 port to 496 (int) Setting ata 1 at to isa (string) Setting ata 1 irq to 15 (int) Setting ata 1 port to 368 (int) Setting atkbd 0 at to atkbdc (string) Setting atkbd 0 flags to 1 (int) Setting atkbd 0 irq to 1 (int) Setting atkbdc 0 at to isa (string) Setting atkbdc 0 port to 96 (int) Setting bt 0 at to isa (string) Setting cs 0 at to isa (string) Setting cs 0 port to 768 (int) Setting ed 0 at to isa (string) Setting ed 0 irq to 10 (int) Setting ed 0 maddr to 884736 (int) Setting ed 0 port to 640 (int) Setting fd 0 at to fdc0 (string) Setting fd 0 drive to 0 (int) Setting fd 1 at to fdc0 (string) Setting fd 1 drive to 1 (int) Setting fdc 0 at to isa (string) Setting fdc 0 drq to 2 (int) Setting fdc 0 irq to 6 (int) Setting fdc 0 port to 1008 (int) Setting fe 0 at to isa (string) Setting fe 0 port to 768 (int) Setting ie 0 at to isa (string) Setting ie 0 irq to 10 (int) Setting ie 0 maddr to 851968 (int) Setting ie 0 port to 768 (int) Setting le 0 at to isa (string) Setting le 0 irq to 5 (int) Setting le 0 maddr to 851968 (int) Setting le 0 port to 768 (int) Setting lnc 0 at to isa (string) Setting lnc 0 drq to 0 (int) Setting lnc 0 irq to 10 (int) Setting lnc 0 port to 640 (int) Setting npx 0 at to nexus (string) Setting npx 0 irq to 13 (int) Setting npx 0 port to 240 (int) Setting pcic 0 at to isa (string) Setting pcic 0 maddr to 851968 (int) Setting pcic 0 port to 992 (int) Setting pcic 1 at to isa (string) Setting pcic 1 disabled to 1 (int) Setting pcic 1 irq to 11 (int) Setting pcic 1 maddr to 868352 (int) Setting pcic 1 port to 994 (int) Setting pcm 0 at to isa (string) Setting pcm 0 drq to 1 (int) Setting pcm 0 flags to 0 (int) Setting pcm 0 irq to 10 (int) Setting pmtimer 0 at to isa (string) Setting ppc 0 at to isa (string) Setting ppc 0 irq to 7 (int) Setting psm 0 at to atkbdc (string) Setting psm 0 irq to 12 (int) Setting sc 0 at to isa (string) Setting sc 0 flags to 256 (int) Setting sio 0 at to isa (string) Setting sio 0 flags to 16 (int) Setting sio 0 irq to 4 (int) Setting sio 0 port to 1016 (int) Setting sio 1 at to isa (string) Setting sio 1 irq to 3 (int) Setting sio 1 port to 760 (int) Setting sio 2 at to isa (string) Setting sio 2 disabled to 1 (int) Setting sio 2 irq to 5 (int) Setting sio 2 port to 1000 (int) Setting sio 3 at to isa (string) Setting sio 3 disabled to 1 (int) Setting sio 3 irq to 9 (int) Setting sio 3 port to 744 (int) Setting sn 0 at to isa (string) Setting sn 0 irq to 10 (int) Setting sn 0 port to 768 (int) Setting vga 0 at to isa (string) Setting vt 0 at to isa (string) Calibrating clock(s) ... TSC clock: 298979258 Hz, i8254 clock: 1193244 Hz CLK_USE_I8254_CALIBRATION not specified - using default frequency Timecounter "i8254" frequency 1193182 Hz CLK_USE_TSC_CALIBRATION not specified - using old calibration method Timecounter "TSC" frequency 298964608 Hz CPU: AMD-K6(tm) 3D processor (298.96-MHz 586-class CPU) Origin = "AuthenticAMD" Id = 0x58c Stepping = 12 Features=0x8021bf AMD Features=0x80000800 Data TLB: 128 entries, 2-way associative Instruction TLB: 64 entries, 1-way associative L1 data cache: 32 kbytes, 32 bytes/line, 2 lines/tag, 2-way associative L1 instruction cache: 32 kbytes, 32 bytes/line, 2 lines/tag, 2-way associative Write Allocate Disable real memory = 134217728 (131072K bytes) Physical memory chunk(s): 0x00001000 - 0x0009ffff, 651264 bytes (159 pages) 0x003e1000 - 0x07febfff, 130068480 bytes (31755 pages) avail memory = 126554112 (123588K bytes) bios32: Found BIOS32 Service Directory header at 0xc00facc0 bios32: Entry = 0xfb140 (c00fb140) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0xf0000+0xb170 pnpbios: Found PnP BIOS data at 0xc00fbce0 pnpbios: Entry = f0000:bd08 Rev = 1.0 Other BIOS signatures found: Preloaded elf kernel "kernel" at 0xc03bb000. null: random: mem: K6-family MTRR support enabled (2 registers) VESA: information block 56 45 53 41 00 02 d0 0c 00 c0 00 00 00 00 16 0d 00 c0 40 00 01 01 ef 0c 00 c0 00 0d 00 c0 0e 0d 00 c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 VESA: 45 mode(s) found VESA: v2.0, 4096k memory, flags:0x0, mode table:0xc00c0d16 (c0000d16) VESA: S3 Incorporated. ViRGE /DX /GX VESA: S3 Incorporated. ViRGE /DX /GX Rev B Using $PIR table, 5 entries at 0xc00fdaa0 npx0: on motherboard npx0: INT 16 interface pcib0: at pcibus 0 on motherboard pci0: physical bus=0 found-> vendor=0x8086, dev=0x7100, revid=0x01 bus=0, slot=0, func=0 class=06-00-00, hdrtype=0x00, mfdev=0 found-> vendor=0x8086, dev=0x7110, revid=0x01 bus=0, slot=7, func=0 class=06-01-00, hdrtype=0x00, mfdev=1 map[20]: type 4, range 32, base 0000f000, size 4, enabled found-> vendor=0x8086, dev=0x7111, revid=0x01 bus=0, slot=7, func=1 class=01-01-80, hdrtype=0x00, mfdev=0 map[20]: type 4, range 32, base 00006400, size 5, enabled found-> vendor=0x8086, dev=0x7112, revid=0x01 bus=0, slot=7, func=2 class=0c-03-00, hdrtype=0x00, mfdev=0 intpin=d, irq=11 map[90]: type 4, range 32, base 00005000, size 4, enabled found-> vendor=0x8086, dev=0x7113, revid=0x01 bus=0, slot=7, func=3 class=06-80-00, hdrtype=0x00, mfdev=0 map[10]: type 1, range 32, base e0000000, size 26, enabled found-> vendor=0x5333, dev=0x8a01, revid=0x01 bus=0, slot=19, func=0 class=03-00-00, hdrtype=0x00, mfdev=0 intpin=a, irq=10 pci0: on pcib0 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xf000-0xf00f at device 7.1 on pci0 ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0xf000 ata0: mask=03 ostat0=50 ostat2=00 ata0-master: ATAPI probe 00 00 ata0-slave: ATAPI probe 00 00 ata0: mask=03 stat0=50 stat1=00 ata0-master: ATA probe 01 a5 ata0: devices=01 ata0: at 0x1f0 irq 14 on atapci0 ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0xf008 ata1: mask=03 ostat0=b5 ostat2=50 ata1-master: ATAPI probe ff ff ata1-slave: ATAPI probe 14 eb ata1: mask=03 stat0=54 stat1=00 ata1-master: ATA probe eb ff ata1: devices=08 ata1: at 0x170 irq 15 on atapci0 pci0: at 7.2 (no driver attached) Timecounter "PIIX" frequency 3579545 Hz pci0: at 7.3 (no driver attached) pci0: at 19.0 (no driver attached) ata-: ata0 already exists, using ata2 instead ata-: ata1 already exists, using ata3 instead Trying Read_Port at 203 Trying Read_Port at 243 Trying Read_Port at 283 Trying Read_Port at 2c3 Trying Read_Port at 303 Trying Read_Port at 343 Trying Read_Port at 383 Trying Read_Port at 3c3 pnpbios: 14 devices, largest 69 bytes PNP0000: adding irq mask 0x4 PNP0000: adding io range 0x20-0x21, size=0x2, align=0 PNP0000: adding io range 0xa0-0xa1, size=0x2, align=0 PNP0000: end config pnpbios: handle 0 device ID PNP0000 (0000d041) PNP0200: adding dma mask 0x10 PNP0200: adding io range 0-0xf, size=0x10, align=0 PNP0200: adding io range 0x81-0x83, size=0x3, align=0 PNP0200: adding io range 0x87-0x87, size=0x1, align=0 PNP0200: adding io range 0x89-0x8b, size=0x3, align=0 PNP0200: adding io range 0x8f-0x91, size=0x3, align=0 PNP0200: adding io range 0xc0-0xdf, size=0x20, align=0 PNP0200: end config pnpbios: handle 1 device ID PNP0200 (0002d041) PNP0100: adding irq mask 0x1 PNP0100: adding io range 0x40-0x43, size=0x4, align=0 PNP0100: end config pnpbios: handle 2 device ID PNP0100 (0001d041) PNP0b00: adding irq mask 0x100 PNP0b00: adding io range 0x70-0x71, size=0x2, align=0 PNP0b00: end config pnpbios: handle 3 device ID PNP0b00 (000bd041) PNP0303: adding irq mask 0x2 PNP0303: adding io range 0x60-0x60, size=0x1, align=0 PNP0303: adding io range 0x64-0x64, size=0x1, align=0 PNP0303: end config pnpbios: handle 4 device ID PNP0303 (0303d041) PNP0800: adding io range 0x61-0x61, size=0x1, align=0 PNP0800: end config pnpbios: handle 5 device ID PNP0800 (0008d041) PNP0c04: adding irq mask 0x2000 PNP0c04: adding io range 0xf0-0xff, size=0x10, align=0 PNP0c04: end config pnpbios: handle 6 device ID PNP0c04 (040cd041) PNP0c01: adding fixed memory32 range 0-0x9ffff, size=0xa0000 PNP0c01: adding fixed memory32 range 0xfffe0000-0xffffffff, size=0x20000 PNP0c01: adding fixed memory32 range 0x100000-0x7ffffff, size=0x7f00000 PNP0c01: end config pnpbios: handle 7 device ID PNP0c01 (010cd041) PNP0c02: adding fixed memory32 range 0xf0000-0xf3fff, size=0x4000 PNP0c02: adding fixed memory32 range 0xf4000-0xf7fff, size=0x4000 PNP0c02: adding fixed memory32 range 0xf8000-0xfbfff, size=0x4000 PNP0c02: adding fixed memory32 range 0xfc000-0xfffff, size=0x4000 PNP0c02: end config pnpbios: handle 8 device ID PNP0c02 (020cd041) PNP0a03: adding io range 0x4d0-0x4d1, size=0x2, align=0 PNP0a03: adding io range 0xcf8-0xcff, size=0x8, align=0 PNP0a03: adding io range 0x480-0x48f, size=0x10, align=0 PNP0a03: adding io range 0x4000-0x403f, size=0x40, align=0 PNP0a03: adding io range 0x5000-0x501f, size=0x20, align=0 PNP0a03: end config pnpbios: handle 9 device ID PNP0a03 (030ad041) PNP0501: adding irq mask 0x10 PNP0501: adding io range 0x3f8-0x3ff, size=0x8, align=0 PNP0501: end config pnpbios: handle 10 device ID PNP0501 (0105d041) PNP0700: adding dma mask 0x4 PNP0700: adding io range 0x3f2-0x3f5, size=0x4, align=0 PNP0700: adding irq mask 0x40 PNP0700: end config pnpbios: handle 11 device ID PNP0700 (0007d041) PNP0400: adding irq mask 0x80 PNP0400: adding io range 0x378-0x37f, size=0x8, align=0 PNP0400: end config pnpbios: handle 12 device ID PNP0400 (0004d041) PNP0501: adding irq mask 0x8 PNP0501: adding io range 0x2f8-0x2ff, size=0x8, align=0 PNP0501: end config pnpbios: handle 13 device ID PNP0501 (0105d041) sc-: sc0 already exists, using sc1 instead vga-: vga0 already exists, using vga1 instead isa_probe_children: disabling PnP devices isa_probe_children: probing non-PnP devices orm0: