Re: Question on SIGFPE

From: Magnus Naeslund(t)
Date: Thu Oct 30 2003 - 05:24:13 EST


Sreeram Kumar Ravinoothala wrote:

> Hi,
> We get this problem when we run it on disk on chip where linux
> 2.4.5 is used.
>
> Thanks and Regards
> Sreeram

Since I don't know what your app is doing, it's kind of hard to know whats causing the problem. I still would guess on a divide by zero, maybe because of some timing issue.

Use sigaction(2) to trap the signal, and then look at the siginfo_t->si_addr to find out where it happens.

Or better yet, just run the program through gdb, it will catch the thing...

Magnus

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/