Date: Tue, 26 Jul 2005 19:36:22 +0200 (CEST) From: Harald Schmalzbauer <harry@schmalzbauer.de> To: FreeBSD-gnats-submit@FreeBSD.org Subject: kern/84135: ggatec destroy panics BETA-1 Message-ID: <200507261736.j6QHaM9i000777@test3.flintsbach.schmalzbauer.de> Resent-Message-ID: <200507261740.j6QHeJqK041912@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 84135
>Category: kern
>Synopsis: ggatec destroy panics BETA-1
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Jul 26 17:40:19 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Harald Schmalzbauer
>Release: FreeBSD 6.0-BETA1 i386
>Organization:
>Environment:
System: FreeBSD test3.flintsbach.schmalzbauer.de 6.0-BETA1 FreeBSD 6.0-BETA1 #0: Tue Jul 26 17:19:31 CEST 2005 root@test3.flintsbach.schmalzbauer.de:/usr/obj/CUV-LV/usr/src/sys/CUV-LV i386
>Description:
Even if the ggate provider is not used, destroying it panics the system with debug options,
without WITNESS and INVARIANTS no panic occur
>How-To-Repeat:
ggatec create 10.10.10.2 /dev/ad2p1
ggate0
test3:/#37: ggatec destroy -u 0
GEOM_GATE: Device ggate0 destroyed.
Fatal trap 12: page fault while in kernel mode
fault virtual address = 0xdeadc0de
fault code = supervisor read, page not present
instruction pointer = 0x20:0xc05d39d6
stack pointer = 0x28:0xd5d79ad8
frame pointer = 0x28:0xd5d79ad8
code segment = base 0x0, limit 0xfffff, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags = interrupt enabled, resume, IOPL = 0
current process = 403 (ggatec)
[thread pid 403 tid 100079 ]
Stopped at strlen+0x6: cmpb $0,0(%edx)
db> trace
Tracing pid 403 tid 100079 td 0xc1d23900
strlen(deadc0de,d5d79bc0,c1d2210c,c1d22000,19) at strlen+0x6
kvprintf(c0738f70,c0580440,d5d79bc0,a,d5d79c00) at kvprintf+0xba8
vsnprintf(c079e400,100,c0738f70,d5d79bfc,c1d23900) at vsnprintf+0x3d
panic(c0738f70,deadc0de,c0731b02,21d,c1d23900) at panic+0x10a
_mtx_lock_flags(c1f20038,0,c0731b02,21d,0) at _mtx_lock_flags+0x114
g_gate_ioctl(c19afa00,c0286d03,c1d1cdc0,3,c1d23900) at g_gate_ioctl+0x190
devfs_ioctl_f(c1d4b948,c0286d03,c1d1cdc0,c1954d00,c1d23900) at devfs_ioctl_f+0x74
ioctl(c1d23900,d5d79d04,c,16,3) at ioctl+0x118
syscall(3b,3b,3b,0,0) at syscall+0x135
Xint0x80_syscall() at Xint0x80_syscall+0x1f
--- syscall (54, FreeBSD ELF32, ioctl), eip = 0x 0xbfbde51c, ebp = 0xbfbde538 ---
db>
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507261736.j6QHaM9i000777>
