From owner-freebsd-current@FreeBSD.ORG Mon Nov 6 19:56:55 2006 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B9CAA16A4A0 for ; Mon, 6 Nov 2006 19:56:55 +0000 (UTC) (envelope-from andre@freebsd.org) Received: from c00l3r.networx.ch (c00l3r.networx.ch [62.48.2.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 67AD843D82 for ; Mon, 6 Nov 2006 19:56:45 +0000 (GMT) (envelope-from andre@freebsd.org) Received: (qmail 80568 invoked from network); 6 Nov 2006 19:50:50 -0000 Received: from c00l3r.networx.ch (HELO [127.0.0.1]) ([62.48.2.2]) (envelope-sender ) by c00l3r.networx.ch (qmail-ldap-1.03) with SMTP for ; 6 Nov 2006 19:50:50 -0000 Message-ID: <454F937B.9090409@freebsd.org> Date: Mon, 06 Nov 2006 20:56:43 +0100 From: Andre Oppermann User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: Kris Kennaway References: <20061106194546.GM41049@xor.obsecurity.org> In-Reply-To: <20061106194546.GM41049@xor.obsecurity.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: current@FreeBSD.org Subject: Re: sendfile panic X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Nov 2006 19:56:55 -0000 Kris Kennaway wrote: > 8 machines panicked overnight with: > > Fatal trap 12: page fault while in kernel mode > fault virtual address = 0xf0 > fault code = supervisor read, page not present > instruction pointer = 0x20:0xc04e12f0 > stack pointer = 0x28:0xe5e1fb30 > frame pointer = 0x28:0xe5e1fb4c > 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 = 93306 (conftest) > db> wh > Tracing pid 93306 tid 100139 td 0xc373a1c0 > _mtx_lock_flags(e0,0,c06d58d2,8e7,c2fda104,...) at _mtx_lock_flags+0x40 > kern_sendfile(c373a1c0,e5e1fd04,0,c44fc640,0,...) at kern_sendfile+0xe89 > do_sendfile(c373a1c0,e5e1fd04,0,e5e1fd30,c069ff73,...) at do_sendfile+0xc4 > sendfile(c373a1c0,e5e1fd04,20,4,c,...) at sendfile+0x20 > syscall(3b,3b,3b,bfbfe42c,bfbfe424,...) at syscall+0x2e3 > Xint0x80_syscall() at Xint0x80_syscall+0x1f > --- syscall (393, FreeBSD ELF32, sendfile), eip = 0x280c9b57, esp = 0xbfbfe3ac, ebp = 0xbfbfe3d8 --- > > Looks like it's a GNU configure test failing, so something fairly > basic is broken in sendfile. I think it's the lighttpd port that is > triggering the bug. Coverity already complained about the bug and I have prepared a fix already. Need to test and commit in the next hours. -- Andre