From owner-freebsd-current@FreeBSD.ORG Tue Aug 13 22:43:11 2013 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 94E06FE5 for ; Tue, 13 Aug 2013 22:43:11 +0000 (UTC) (envelope-from jroberson@jroberson.net) Received: from mail-oa0-f44.google.com (mail-oa0-f44.google.com [209.85.219.44]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 597B32B97 for ; Tue, 13 Aug 2013 22:43:10 +0000 (UTC) Received: by mail-oa0-f44.google.com with SMTP id l20so12185496oag.17 for ; Tue, 13 Aug 2013 15:43:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:date:from:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version:content-type; bh=znuo5JQWNy/lfDqiiDdwkRXx8cBODNTo1gdoZt6b5KM=; b=cmDr6g6LIf8pgPeczOG1e067xKGNAuxdS9VVBs//mUcs7E4bCRnyej+d8Zi0kqGgr0 ReF27VTJNYy6C6FC+ONgmfe1tckFLonLWQ57cHeSFW9+LvJIvmKu6mOu3GoYzFh/Q/S+ XKR/aUKtORkIRBwV0rw9iJqcIIsic/RBTRXbjx55a4ZgQ3ZN4EMWU6Lg0e2Ivpzo/Vus qcqCZfV6m2GhCXT4J2Jk1fWTJm8ewoDkmZoeJOVUplSTW5k6NWlLHcRgTgYdy9UvS8pD bgB2sUQ4tXNzzsvH8+djgwnWxvFhjrnvDTj5pCT9f/B+LWUo91Vn1Ofq3wCaRA2EZiWH BbGA== X-Gm-Message-State: ALoCoQnSrs62eIK+ZTzZf4i3IEM07rxNYkvkolNIvgR6yTDMK35H4QTcbY2NOBPpTDc7VghA77N1 X-Received: by 10.60.63.68 with SMTP id e4mr6558695oes.23.1376433783917; Tue, 13 Aug 2013 15:43:03 -0700 (PDT) Received: from rrcs-66-91-135-210.west.biz.rr.com (rrcs-66-91-135-210.west.biz.rr.com. [66.91.135.210]) by mx.google.com with ESMTPSA id hl3sm3534048obb.0.2013.08.13.15.43.02 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 13 Aug 2013 15:43:03 -0700 (PDT) Date: Tue, 13 Aug 2013 12:44:54 -1000 (HST) From: Jeff Roberson X-X-Sender: jroberson@desktop To: David Wolfskill Subject: Re: Early drop to debugger with DEBUG_MEMGUARD In-Reply-To: Message-ID: References: <20130812151314.GE1570@albert.catwhisker.org> <20130812160154.GF1570@albert.catwhisker.org> <20130812214435.GH1570@albert.catwhisker.org> <20130813052944.GX4972@kib.kiev.ua> <20130813055939.GL1570@albert.catwhisker.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Konstantin Belousov , current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Tue, 13 Aug 2013 22:43:11 -0000 On Tue, 13 Aug 2013, Jeff Roberson wrote: > On Mon, 12 Aug 2013, David Wolfskill wrote: > >> On Tue, Aug 13, 2013 at 08:29:44AM +0300, Konstantin Belousov wrote: >>> ... >>> The r254025 indeed introduced the problem, and Davide pointed out you a >>> workaround for the assertion triggering. >> >> Right; I tried one of those -- I hope I got it right... >> >>> Proper fix for the memguard requires a policy of M_NEXTFIT or like, to >>> avoid a reuse of the previous allocated range as long as possible. > > That's why I passed a start address as a lower bound to vmem_xalloc. I would > like to eventually implement nextfit. > >> >> Ah. >> >>> But, you have some further issue even after the assertion was silenced, >>> isn't it ? > > I will fix this today and do some stress tests with memguard on. Sorry for > the difficulty. Please try 254308. It is working for me. Thanks, Jeff > > Thanks, > Jeff > >> >> Yes; please see >> for a copy >> of the message that shows the resulting panic. (Or see previous >> messages i this thread, if that's easier.) It looks (from my naive >> perspective) as if mti_zone hadn't been initialized (properly? at >> all?). >> >> In any case, I remain willing to test, subject to Internet connectivity >> flakiness where I am now and other demands on my time. >> >> Peace, >> david >> -- >> David H. Wolfskill david@catwhisker.org >> Taliban: Evil men with guns afraid of truth from a 14-year old girl. >> >> See http://www.catwhisker.org/~david/publickey.gpg for my public key. >> >