Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Apr 2007 17:26:15 +0200
From:      Andre Oppermann <andre@freebsd.org>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        current@FreeBSD.org, net@FreeBSD.org
Subject:   Re: Page fault in syncache_drop
Message-ID:  <4624E717.1040208@freebsd.org>
In-Reply-To: <20070416193727.GA66684@xor.obsecurity.org>
References:  <20070416193727.GA66684@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Kris Kennaway wrote:
> 8-core amd64, up-to-date CVS sources
> 
> Fatal trap 12: page fault while in kernel mode
> cpuid = 0; apic id = 00
> fault virtual address   = 0x0
> fault code              = supervisor read data, page not present
> instruction pointer     = 0x8:0xffffffff803134b4
> stack pointer           = 0x10:0xffffffffabe09890
> frame pointer           = 0x10:0xffffffffabe098a0
> code segment            = base 0x0, limit 0xfffff, type 0x1b
>                         = DPL 0, pres 1, long 1, def32 0, gran 1
> processor eflags        = interrupt enabled, resume, IOPL = 0
> current process         = 37 (irq31: bge0)
> [thread pid 37 tid 100043 ]
> Stopped at      syncache_drop+0x4:      cmpq    $0,(%rdi)
> db> wh
> Tracing pid 37 tid 100043 td 0xffffff00b9409580
> syncache_drop() at syncache_drop+0x4
> syncache_add() at syncache_add+0x263
> tcp_input() at tcp_input+0x7e0
> ip_input() at ip_input+0x69d
> netisr_dispatch() at netisr_dispatch+0x51
> ether_demux() at ether_demux+0x19f
> ether_input() at ether_input+0x3a8
> bge_rxeof() at bge_rxeof+0x3ad
> bge_intr() at bge_intr+0x11b
> ithread_execute_handlers() at ithread_execute_handlers+0x15d
> ithread_loop() at ithread_loop+0x69
> fork_exit() at fork_exit+0x93
> fork_trampoline() at fork_trampoline+0xe
> --- trap 0, rip = 0, rsp = 0xffffffffabe09d30, rbp = 0 ---

Fixed in rev. 1.110 of sys/netinet/tcp_syncache.c.

-- 
Andre




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