From owner-freebsd-current@FreeBSD.ORG Fri Jun 27 03:14:35 2003 Return-Path: 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 68DA637B401 for ; Fri, 27 Jun 2003 03:14:35 -0700 (PDT) Received: from white.imgsrc.co.jp (ns.imgsrc.co.jp [210.226.20.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id A9A6844008 for ; Fri, 27 Jun 2003 03:14:34 -0700 (PDT) (envelope-from kuriyama@imgsrc.co.jp) Received: from localhost (localhost [127.0.0.1]) by white.imgsrc.co.jp (Postfix) with ESMTP id D3E274290 for ; Fri, 27 Jun 2003 19:14:33 +0900 (JST) Received: from black.imgsrc.co.jp (black.imgsrc.co.jp [2001:218:422:2::130]) by white.imgsrc.co.jp (Postfix) with ESMTP id 280C941B3 for ; Fri, 27 Jun 2003 19:14:33 +0900 (JST) Received: from black.imgsrc.co.jp (black.imgsrc.co.jp [2001:218:422:2::130]) by black.imgsrc.co.jp (Postfix) with ESMTP id 71DAB1E460E for ; Fri, 27 Jun 2003 19:14:32 +0900 (JST) Date: Fri, 27 Jun 2003 19:14:32 +0900 Message-ID: <7mllvn3jzr.wl@black.imgsrc.co.jp> From: Jun Kuriyama To: Current In-Reply-To: <7msmpv3lq0.wl@black.imgsrc.co.jp> References: <7msmpv3lq0.wl@black.imgsrc.co.jp> User-Agent: Wanderlust/2.10.0 (Venus) SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.4 Emacs/21.2 (i386--freebsd) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by AMaViS snapshot-20020531 Subject: Re: Panic linux ldconfig with MUTEX_PROFILING X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Fri, 27 Jun 2003 10:14:35 -0000 At Fri, 27 Jun 2003 09:37:40 +0000 (UTC), kuriyama wrote: > (kgdb) l *linux_brk+0x1a > 0xc19d24ca is in linux_brk (/.a/black/host/disk/arena/home/kuriyama/ncvs/src/sys/compat/linux/linux_misc.c:217). > 212 > 213 #ifdef DEBUG > 214 if (ldebug(brk)) > 215 printf(ARGS(brk, "%p"), (void *)args->dsend); > 216 #endif > 217 old = (vm_offset_t)vm->vm_daddr + ctob(vm->vm_dsize); > 218 new = (vm_offset_t)args->dsend; > 219 tmp.nsize = (char *) new; > 220 if (((caddr_t)new > vm->vm_daddr) && !obreak(td, &tmp)) > 221 td->td_retval[0] = (long)new; I've checked via printf debugging. It seems "vm" is NULL at line 217. So NULL is from td->td_proc->p_vmspace. 205 linux_brk(struct thread *td, struct linux_brk_args *args) 206 { 207 struct vmspace *vm = td->td_proc->p_vmspace; -- Jun Kuriyama // IMG SRC, Inc.