Subject: Re: cc1plus lockup? And kernel panic
To: None <current-users@NetBSD.org>
From: Bernd Ernesti <netbsd@lists.veego.de>
List: current-users
Date: 08/20/2007 19:34:18
On Mon, Aug 20, 2007 at 04:36:09PM +0200, Bernd Ernesti wrote:
> On Mon, Aug 20, 2007 at 04:26:45PM +0200, Tobias Nygren wrote:
> > On Mon, 20 Aug 2007 12:54:57 +0200
> > Bernd Ernesti <netbsd@lists.veego.de> wrote:
> [..]
> 
> > Does this happen if using -O2 instead of -O1? It could be a g++
> > optimizer bug. (I guess O1 doesn't receive much real-world testing.)
> 
> I build openoffice2 last week and had no problems. This is the first time
> that it hangs like this. I thought it maybe be kernel related.

And I got a panic while pressing ctrl-c:

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) ---
0xbbb8cbfe:

Bernd