Subject: Re: cc1plus lockup? And kernel panic
To: Bernhard Moellemann <zza@serpens.de>
From: Andrew Doran <ad@netbsd.org>
List: current-users
Date: 08/23/2007 10:55:33
On Wed, Aug 22, 2007 at 08:23:23AM +0200, Bernhard Moellemann wrote:
> On Mon, Aug 20, 2007 at 07:34:18PM +0200, Bernd Ernesti wrote:
> > 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:
> > >
> > > [spinning gcc process, sucking 100% cpu cycles]
> 
> I had the same issue yesterday while building pkgsrc/sysutils/xosview.
> It got struck in the configure script, when "checking for suffix of
> object files".

I've noticed gcc doing this when it runs out of space in TMPDIR (usually
/var/tmp), although it will loop trying to open a file getting ENOSPC.

> > 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
> > [...]

Was the machine under memory pressure at the time? Was it paging?

Andrew