[parisc-linux] Re: Trap handler

Randolph Chung Randolph Chung <randolph@tausq.org>
Sun, 8 Dec 2002 21:12:14 -0800


In reference to a message from John David Anglin, dated Dec 08:
> > > I just happened to notice that the system almost totally stalled running
> > > the test.  The load average jumps from 1 to about 9.  You just have to
> > > compile and run to see the effect.  Line 127 writes to unmapped memory
> > > and causes multiple entries in /var/log/debug.
> > 
> > Dave, can you send the test program and details to the list? i didn't
> > see the beginning of this thread and am not sure which program you are
> > refering to.
> 
> Here it is.

well, something is just very broken, even this simple code triggers the
bug:

int main(int argc, char **argv)
{
        int *p = 0;
        return *p;
}

the kernel goes nuts trying to page fault continuously.

:-(
randolph
-- 
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/