From owner-freebsd-current Sat Apr 15 8:59:16 2000 Delivered-To: freebsd-current@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 9A34937B66D; Sat, 15 Apr 2000 08:59:12 -0700 (PDT) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id e3FGQdb21734; Sat, 15 Apr 2000 09:26:39 -0700 (PDT) Date: Sat, 15 Apr 2000 09:26:39 -0700 From: Alfred Perlstein To: Brian Fundakowski Feldman Cc: Michael Reifenberger , "dillon @ freebsd . org FreeBSD-Current" , alc@FreeBSD.ORG Subject: Re: panic: vm_object_shadow: source object has OBJ_ONEMAPPING set. Message-ID: <20000415092639.Q4381@fw.wintelcom.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from green@FreeBSD.ORG on Sat, Apr 15, 2000 at 09:38:34AM -0400 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Brian Fundakowski Feldman [000415 07:07] wrote: > On Thu, 13 Apr 2000, Michael Reifenberger wrote: > > > Hi, > > when using a linux java app (SAP PlatinGUI 46Cb2) I get the above panic. > > FreeBSD -current. Kernel+mods in sync. > > Linux from ports. Linux-Java-JDK 1.2.2 from blackdown as of yesterday. > > Backtrace see crash.txt. Kernelconfig see nihil. > > Any thoughts anyone? > > Yes, I've gotten these too. I really believe the assumptions the code > there makes are wrong, and I've got a patch to correct them to what I > think they are supposed to be. You've got the standard disclaimer on > the patch, though I assure you it has shown no ill effects to me, and I > noticed this bug through WINE. > > I've asked Poul-Henning Kamp, who seems to also think that the code makes > wrong assumptions. I've asked Matt Dillon and gotten no reply (a month > now, at least). I've asked Alan Cox, and he'd help if we could get him > a test case so he can watch it happen himself and debug it himself. > > Do you think you can find a specific set of steps for Alan to reproduce > it? Yes, find all places where source->ref_count is incremented and check for OBJ_ONEMAPPING as well as where OBJ_ONEMAPPING is set. Then add some printfs to find the snippet that's incrementing it to complain when the OBJ_ONEMAPPING bit is set, and complain if setting OBJ_ONEMAPPING when the refcount is too high. Blotting out a KASSERT isn't the right thing to do. -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] "I have the heart of a child; I keep it in a jar on my desk." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message