Bug 176401 - [netgraph] page fault in netgraph
Summary: [netgraph] page fault in netgraph
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 9.1-STABLE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-24 22:00 UTC by Cedric Tabary
Modified: 2018-01-03 05:16 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cedric Tabary 2013-02-24 22:00:00 UTC
Fatal trap 12: page fault while in kernel mode
cpuid = 4; apic id = 04
fault virtual address   = 0x28
fault code     = supervisor read data, page not present
instruction pointer  = 0x20:0xffffffff81641908
stack pointer          = 0x28:0xffffff8121a580d0
frame pointer          = 0x28:0xffffff8121a58110
code segment      = base rx0, limit 0xfffff, type 0x1b
         = DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags  = interrupt enabled, resume, IOPL = 0
current process      = 897 (ng_queue4)
trap number    = 12
panic: page fault
cpuid = 4
KDB: stack backtrace:
#0 0xffffffff808e4866 at kdb_backtrace+0x66
#1 0xffffffff808ae7ee at panic+0x1ce
#2 0xffffffff80bc6390 at trap_fatal+0x290
#3 0xffffffff80bc66c8 at trap_pfault+0x1e8
#4 0xffffffff80bc6cce at trap+0x3be
#5 0xffffffff80bb046f at calltrap+0x8
#6 0xffffffff81659254 at ng_tcpmss_rcvdata+0x1e4
#7 0xffffffff81642ca0 at ng_apply_item+0x220
#8 0xffffffff81641efe at ng_snd_item+0x2ce
#9 0xffffffff81654847 at ng_ppp_rcvdata_decompress+0x97
#10 0xffffffff81642ca0 at ng_apply_item+0x220
#11 0xffffffff81641efe at ng_snd_item+0x2ce
#12 0xffffffff81642ca0 at ng_apply_item+0x220
#13 0xffffffff81641efe at ng_snd_item+0x2ce
#14 0xffffffff81655418 at ng_ppp_rcvdata+0x1b8
#15 0xffffffff81642ca0 at ng_apply_item+0x220
#16 0xffffffff81641efe at ng_snd_item+0x2ce
#17 0xffffffff81642ca0 at ng_apply_item+0x220

sysctl.conf contains :

kern.maxusers=512
net.inet.ip.forwarding=1
net.inet6.ip6.forwarding=1
net.inet.ip.redirect=0
net.inet.icmp.drop_redirect=1
net.inet6.ip6.redirect=0
net.inet.flowtable.enable=0
kern.maxfiles=65536
kern.maxfilesperproc=32768

kern.ipc.maxsockbuf=16777216
kern.ipc.nmbclusters=262144
kern.ipc.somaxconn=32768   
kern.ipc.maxsockets=204800

net.graph.maxdgram=2096000
net.graph.recvspace=2096000
net.graph.maxalloc=65536
net.graph.maxdata=65536

kern.random.sys.harvest.ethernet=0
kern.random.sys.harvest.point_to_point=0
kern.random.sys.harvest.interrupt=0
net.route.netisr_maxqlen=2048

How-To-Repeat: This is a vpn server (pptp) using mpd with about 130 simultaneous connections.

Crash occurs on 10 servers randomly once or twice a month on each one.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2013-02-24 23:28:37 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-net

Over to maintainer(s).
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:00:39 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped