From owner-freebsd-current@freebsd.org Wed Dec 16 13:59:59 2015 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9F68BA43787 for ; Wed, 16 Dec 2015 13:59:59 +0000 (UTC) (envelope-from oliver.pinter@hardenedbsd.org) Received: from mail-wm0-x231.google.com (mail-wm0-x231.google.com [IPv6:2a00:1450:400c:c09::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3A1CB198D for ; Wed, 16 Dec 2015 13:59:59 +0000 (UTC) (envelope-from oliver.pinter@hardenedbsd.org) Received: by mail-wm0-x231.google.com with SMTP id l126so40709942wml.1 for ; Wed, 16 Dec 2015 05:59:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hardenedbsd-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=YNV1jGp/TTVM2iSmRZQMZwhumzaIC2ZAVNcVR8qrVxw=; b=vCBsdtS3Ij6zRKc86Y6DxQDO43mbJc+0MaQK234yKYY+f9CiE8Fgjcl5oBpxMszkoF Op6x63bKCpLxkEhODKNsM+PXZ6sXnYXQGVWJHfjTujgaZtivYVg9fugMMMdFnuRiH4hA 0y81swxZT5NOt2sxlfgJedBDVercCd5qBsV969KnKreF3ENCAJRMt4FWkynJ1ivwHHqL hkPvlnaxAGu5sDmhYGNvBBV8TX93b103v8UGacVZ3ROEGz7kY9+6gqPFv4Z/8eNaaAYz Fc4/1Mqv6K3xDXYBeuDXMZy6b9g7X6Zcb64yRyCqMJmv3B4URnlo7WZvF5ZaDaATUD0q 5A2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=YNV1jGp/TTVM2iSmRZQMZwhumzaIC2ZAVNcVR8qrVxw=; b=P38iZT21e4yEnemATPyLuYQcydve2vPZLx+4ioX3tCOtK55JJ+ZgCmLsUFK7/PewoM eMxzT6Jzo96rRCKJKzGK8DtoBWFvJsAhLknXgr3O613iD53ZvFvsOZx5XwIRX5PlyW/u DetdQu2AW6K4BDEQYu5U8xPGwAXiyX54Gd5+jwBhqxxF8LHHfKsa5mDFC1tmLFNSsOah 4ViKHSrYnMZTxpaqqdTjngLu2ZKROy+JU9nqa9AwBciTGHYpBGeJSK2wP/v4B8kVcuQR 58hIlx1YHNyDVK0eRbYHBzJTHa2P3G3f6+T0plm3zX7iwB++CPiwQMY2r3XoI0IOZ7ty ftFw== X-Gm-Message-State: ALoCoQmJ9WnZirNYBhbNYcn3rrQljf3sXwkSeqYSHScmiFKYGmUoKEmF1D8X/NRGuILkjDJs5lawLUuYnMrFGwSsKoizrTijJ2X6uya6PAETyMCq8LiyBnA= MIME-Version: 1.0 X-Received: by 10.28.87.84 with SMTP id l81mr11374471wmb.22.1450264602227; Wed, 16 Dec 2015 03:16:42 -0800 (PST) Received: by 10.194.85.167 with HTTP; Wed, 16 Dec 2015 03:16:42 -0800 (PST) In-Reply-To: <20151215192016.GC73098@mutt-hardenedbsd> References: <20151215174238.2d7cc3bb@fabiankeil.de> <20151215192016.GC73098@mutt-hardenedbsd> Date: Wed, 16 Dec 2015 12:16:42 +0100 Message-ID: Subject: Re: fork_findpid() - Fatal trap 12: page fault while in kernel mode From: Oliver Pinter To: Shawn Webb Cc: Fabian Keil , FreeBSD Current Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 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: Wed, 16 Dec 2015 13:59:59 -0000 Hi! Is this with latest 11-CURRENT or 10-STABLE? Or contains the ad578c311ef commit? On Tuesday, December 15, 2015, Shawn Webb wrote: > On Tue, Dec 15, 2015 at 05:42:38PM +0100, Fabian Keil wrote: > > I've seen the following panic a couple of times in the last three > > months, usually while poudriere was running and with sh being the > > current process. > > > > This one is from a system based on r290926 running with > > kern.randompid=9001 and forking frequently (>1000 forks/second) > > due to poudriere and afl-fuzz: > > > > Fatal trap 12: page fault while in kernel mode > > cpuid = 1; apic id = 04 > > fault virtual address = 0x618b00a8 > > fault code = supervisor read data, page not present > > instruction pointer = 0x20:0xffffffff80909158 > > stack pointer = 0x28:0xfffffe011e03b940 > > frame pointer = 0x28:0xfffffe011e03b960 > > 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 = 71325 (sh) > > trap number = 12 > > panic: page fault > > cpuid = 1 > > KDB: stack backtrace: > > [...] > > Uptime: 13d20h43m20s > > [...] > > Hey Fabien, > > I'm glad you've seen this, too. We've observed this in HardenedBSD, > especially when running Poudriere and Jenkins. I think Oliver Pinter > might have a potential patch to fix this. I've CC'd him on this thread. > > Thanks, > > -- > Shawn Webb > HardenedBSD > > GPG Key ID: 0x6A84658F52456EEE > GPG Key Fingerprint: 2ABA B6BD EF6A F486 BE89 3D9E 6A84 658F 5245 6EEE >