Subject: Re: gcore/PT_DUMPCORE causes kernel page fault in uvm_fault()
To: Kirk Russell <kirk@ba23.org>
From: Chavdar Ivanov <ci4ic4@gmail.com>
List: current-users
Date: 03/10/2006 10:19:17
On 10/03/06, Chavdar Ivanov <ci4ic4@gmail.com> wrote:
> On 10/03/06, Kirk Russell <kirk@ba23.org> wrote:
> > Hello,
> >
> > This is with NetBSD 3.0 (GENERIC) on i386.  Did you want me to try with
> > current and/or create a problem report?
> >
> > : {3} uname -a
> ....
>
> Same on
> $  uname -a
>                                ~
> NetBSD loan8 3.99.16 NetBSD 3.99.16 (GENERIC.MPACPI) #0: Tue Mar  7
> 13:24:06 GMT 2006
> root@loan8:/e/obj1/netbsd-builds/3_99/i386/obj/sys/arch/i386/compile/GENE=
RIC.MPACPI
> i386
>
> The trace is different, though, so I copied it off screen (sync did
> not get me anywhere, so no dump):
>
> uvm_fault(0xcc404388,0,0,2) -> 0xe
> kernel: supervisor trap page fault, code 0
> stopped in pid 1006.1 (sh) at netbsd:pool+get+0x22d: movl %ecx,0(%eax)
>
> db> bt
> pool_get(c08f2ee0,2,40030,c08d0010,ffff0010) at netbsd:pool_get+0x22d
> uvmspace_alloc(0,bfc00000,cc694000,206,cc4554fc) at netbsd:uvmspace_alloc=
+0x13
> uvmspace_exec(cc33a4ac,0,bfc00000,0,0) at netbsd:uvmspace_exec+0x3a
> execve1(cc33a4ac,8062f7c,8062f9c,8062fa4,c03d4b48) at netbsd:execve1+0x67=
a
> sys_execve(cc33a4ac,cc697f64,cc697f5c,3b,c1358800) at

netbsd:sys_execve+0x1e
syscall_plain() at netbsd:syscall_plain+0x17e
--- syscall (number 59) ---
0xbbb1d19f

(sorry, missed the last few lines on the next page)

>
> ....
> (ran as normal user, BTW; nice DOS...).
>
>
> > Kirk Russell            <kirk@ba23.org>            http://www.ba23.org/
> > Bridlewood Software Testers Guild                  Ottawa Ontario Canad=
a
> >
> >
>