From owner-freebsd-current@FreeBSD.ORG Tue Aug 13 21:40:27 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 85F84589 for ; Tue, 13 Aug 2013 21:40:27 +0000 (UTC) (envelope-from jroberson@jroberson.net) Received: from mail-ob0-f174.google.com (mail-ob0-f174.google.com [209.85.214.174]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4BDC327CE for ; Tue, 13 Aug 2013 21:40:26 +0000 (UTC) Received: by mail-ob0-f174.google.com with SMTP id wd6so11114651obb.33 for ; Tue, 13 Aug 2013 14:40:19 -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=hnnWue29lPhBeuMV6P/44itMjhDKXd2b0b+tXnbSCSU=; b=gDQuEjz1qIDv1DI6J1W3AH0FyRUMeeB2+ihfBwXDb5+oLeaNFylw9uyI0xA4wleWyl 5LKBPWShaqb6Ek/PCmF0UgkYjeHeEt8/yQ33kOKueqziClIHjpHBpjRO45qkjqyAUDub vsHBOrHVow8JGI8tk4SbexaVwW3rcr7i8+6LkeLmupo+YJ4I83Db7CDI4ulQFXhRgSqB 0qU7QFo8BE6mMJGU3d4W/xwEKvBDOo2kwEBNB9nVC3wCMOeds6a+dcY9AGOD/TXFIYE2 +e+hdeeCNOzuOhDC6Vunn7FJnXMeh/2w5ktJAGfq0z/PiNZjIamGt2Gj5bZaRrFq4WSE lfQg== X-Gm-Message-State: ALoCoQliaVZGTDgBEs3gw6E/xEbHOzaFuDbRE3jYw0WIIPunxyNgyaRMhnZHa3t4httrwskOw3KJ X-Received: by 10.60.47.76 with SMTP id b12mr2334924oen.78.1376430019836; Tue, 13 Aug 2013 14:40:19 -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 hl3sm3163517obb.0.2013.08.13.14.40.18 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 13 Aug 2013 14:40:19 -0700 (PDT) Date: Tue, 13 Aug 2013 11:42:10 -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: <20130813055939.GL1570@albert.catwhisker.org> 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 21:40:27 -0000 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. 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. >