Subject: Trivial program spins on divide by zero
To: None <current-users@netbsd.org>
From: Tim Goodwin <tjg@star.le.ac.uk>
List: current-users
Date: 08/12/2003 17:37:37
I've been getting quite a few processes spinning (chewing up all
available CPU) recently. These processes will die with `kill -9', but
do not respond to any other signal. The problems started for me when
I upgraged (full release) around 1.6U, and continue through 1.6W
(kernel only updated) - before that, I wasn't very up to date anyway.
The following 3 line program demonstrates the problem:
int main(void) {
int z = 1 / 0;
}
I'm a bit stuck for ideas on how to debug this further!
Tim.