Subject: Re: port-mac68k/36848: c++ programs get stalled after a fork
To: None <,,>
From: Bernd Ernesti <>
List: netbsd-bugs
Date: 08/27/2007 04:55:02
The following reply was made to PR port-mac68k/36848; it has been noted by GNATS.

From: Bernd Ernesti <>
Subject: Re: port-mac68k/36848: c++ programs get stalled after a fork
Date: Mon, 27 Aug 2007 06:51:07 +0200

 On Sun, Aug 26, 2007 at 10:35:01PM +0000, Martin Husemann wrote:
 >  On Sun, Aug 26, 2007 at 10:25:00PM +0000, wrote:
 >  > 	I was trying to run a C++ program on a Performa 630 (FPU-less,
 >  > 	running a softfloat release build of NetBSD) when it stalled
 >  > 	consuming 100% of CPU time.
 >  The same happens on a machine with FPU.
 This sounds like the same bug, which I got on i386 and mentioned it
 last week on current-users. Breaking it with ctrl-c caused a panic.
 Maybe the pr category should be changed to kern if you see this on
 other archs too.
 uvm_fault(0xc07f9820, 0xffeec000, 2) -> 0xe
 kernel: supervisor trap page fault, code=0
 Stopped in pid 3380.1 (cc1plus) at      netbsd:pmap_page_remove+0x10e:  xchgl   %edi,0(%eax)
 db> bt
 pmap_page_remove(c1a06240,d4ae97d8,ffffffff,c03704a7,dda1c034) at netbsd:pmap_page_remove+0x10e
 uvm_anfree(d4a7d814,d57df848,3a5a3c,bb0c2000,bb0c2000) at netbsd:uvm_anfree+0x9f
 amap_wipeout(dda1c034,0,fe,0,0) at netbsd:amap_wipeout+0xa1
 uvm_unmap_detach(d57df8f8,0,bfc00000,cf3a5a9c,0) at netbsd:uvm_unmap_detach+0x50
 uvmspace_free(dcf9ec88,0,cf3a5b18,c30a8fdc,c081a320) at netbsd:uvmspace_free+0xbe
 exit1(d5923e00,2,c,0,7c2a5148) at netbsd:exit1+0x1f6
 sigexit(d5923e00,2,2,0,cf3a5bc8) at netbsd:sigexit+0x193
 postsig(2,6769666e,d790d074,103,d5923e00) at netbsd:postsig+0xdf
 lwp_userret(d5923e00,cf3a5c40,1,0,1) at netbsd:lwp_userret+0xfa
 trap() at netbsd:trap+0x3a4
 --- trap (number 3) ---