Date: Fri, 27 Jun 2003 19:14:32 +0900 From: Jun Kuriyama <kuriyama@imgsrc.co.jp> To: Current <freebsd-current@FreeBSD.org> Subject: Re: Panic linux ldconfig with MUTEX_PROFILING Message-ID: <7mllvn3jzr.wl@black.imgsrc.co.jp> In-Reply-To: <7msmpv3lq0.wl@black.imgsrc.co.jp> References: <7msmpv3lq0.wl@black.imgsrc.co.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <kuriyama@imgsrc.co.jp> // IMG SRC, Inc.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7mllvn3jzr.wl>