Mail Archives: djgpp/1998/06/16/22:25:19
Shue-Cheng CHEN wrote:
>
> Hi! Everyone,
>
> I'm using RHIDE to do my C++ programming and debugging. It
> always works well. But recently I often get the following
> message when running the same program
>
> "Program has received signal: SIGFPE, Arithmetic exception"
>
> and the program terminates. I can't run the same program in DOS
> (without RHIDE) too. It crashes.
>
> I don't know why it happens, because the program is always
> the same one. It worked so well before.
Most likely a bug in your code. SIGFPE is raised when math errors
occur-- sqrt(negative) and division by zero are the most usual causes.
The traceback should help you find where the problem lies.
If you can't find anything, try to reduce the program to the smallest
that reproduces the problem, and post it.
--
Nate Eldredge
nate AT cartsys DOT com
- Raw text -