From nobody@FreeBSD.org  Tue Nov  2 09:50:39 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id E7D1D16A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  2 Nov 2004 09:50:38 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id BC08543D1D
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  2 Nov 2004 09:50:38 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.11/8.12.11) with ESMTP id iA29ochC057845
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 2 Nov 2004 09:50:38 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.11/8.12.11/Submit) id iA29ockF057840;
	Tue, 2 Nov 2004 09:50:38 GMT
	(envelope-from nobody)
Message-Id: <200411020950.iA29ockF057840@www.freebsd.org>
Date: Tue, 2 Nov 2004 09:50:38 GMT
From: Stefan Stefanov <wolf@sofiacity.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: fatal trap 12
X-Send-Pr-Version: www-2.3

>Number:         73409
>Category:       kern
>Synopsis:       fatal trap 12 with mpd [4.10, 5.2.1]
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    glebius
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 02 10:00:45 GMT 2004
>Closed-Date:    Thu Aug 11 11:30:02 GMT 2005
>Last-Modified:  Thu Aug 11 11:30:02 GMT 2005
>Originator:     Stefan Stefanov
>Release:        4.10-RELEASE,  5.2.1
>Organization:
lan
>Environment:
uname -a
FreeBSD studgrad 4.10-RELEASE FreeBSD 4.10-RELEASE #0: Sat Oct 30 21:59:41 EEST 2004     root@:/usr/src/sys/compile/STOYAN  i386
      
>Description:
gdb -k /kernel /usr/crash/vmcore.0
GNU gdb 4.18 (FreeBSD)
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-unknown-freebsd"...(no debugging symbols found)...
IdlePTD at physical address 0x003f1000
initial pcb at physical address 0x00340e20
panicstr: page fault
panic messages:
Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x9
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc01a903a
stack pointer           = 0x10:0xc0300898
frame pointer           = 0x10:0xc03008f4
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         = Idle
interrupt mask          =
trap number             = 12
panic: page fault

syncing disks...
Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x30
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc02479e8
stack pointer           = 0x10:0xc03006bc
frame pointer           = 0x10:0xc03006c4
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         = Idle
interrupt mask          = bio
trap number             = 12
panic: page fault
Uptime: 10h9m8s
dumping to dev #ad/0x20001, offset 492656
dump ata0: resetting devices .. done
255 254 253 252 251 250 249 248 247 246 245 244 243 242 241 240 239 238 237 236 235 234 233 232 231 230 229 228 227 226 225 224 223 222 221 220 219 218 217 216 215 214 213 212 211 210 209 208 207 206 205 204 203 202 201 200 199 198 197 196 195 194 193 192 191 190 189 188 187 186 185 184 183 182 181 180 179 178 177 176 175 174 173 172 171 170 169 168 167 166 165 164 163 162 161 160 159 158 157 156 155 154 153 152 151 150 149 148 147 146 145 144 143 142 141 140 139 138 137 136 135 134 133 132 131 130 129 128 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 18>any
---
#0  0xc016637e in dumpsys ()

>How-To-Repeat:
I have mpd whith 76 users.
Same problem which 4.10- RELEASE and 5.2.1 version on 2 difrent machine.

Sorry for my poor english!!!	
>Fix:
I don`t know.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->glebius 
Responsible-Changed-By: glebius 
Responsible-Changed-When: Sun Dec 5 18:35:34 GMT 2004 
Responsible-Changed-Why:  
I have idea about this. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=73409 
State-Changed-From-To: open->feedback 
State-Changed-By: glebius 
State-Changed-When: Sun Dec 5 18:36:15 GMT 2004 
State-Changed-Why:  
Stefan, 

can you try to reproduce problem on latest RELENG_4, RELENG_5 
or 5.3-RELEASE? Or can you report whether this patch fixes your 
problem: 

http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/netgraph/ng_bpf.c.diff?r1=1.17&r2=1.18 

http://www.freebsd.org/cgi/query-pr.cgi?pr=73409 

From: Gleb Smirnoff <glebius@freebsd.org>
To: Stefan Stefanov <wolf@sofiacity.com>
Cc: freebsd-gnats-submit@freebsd.org
Subject: kern/73409: fatal trap 12 with mpd [4.10, 5.2.1]
Date: Sat, 18 Dec 2004 14:02:02 +0300

   Stefan,
 
 can you try to reproduce problem on latest RELENG_4, RELENG_5
 or 5.3-RELEASE?
 
 Or can you report whether this patch fixes your problem:
 
 http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/netgraph/ng_bpf.c.diff?r1=1.17&r2=1.18
 
 -- 
 Totus tuus, Glebius.
 GLEBIUS-RIPN GLEB-RIPE
State-Changed-From-To: feedback->closed 
State-Changed-By: glebius 
State-Changed-When: Thu Aug 11 11:29:06 GMT 2005 
State-Changed-Why:  
Feedback timeout. I have strong feeling that bug was in ng_bpf and 
is fixed long time ago. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=73409 
>Unformatted:
