Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-27-2010, 02:06 AM   #1
LQ Newbie
Registered: Apr 2010
Posts: 2

Rep: Reputation: 0
Program terminated with signal SIGFPE, Arithmetic exception

my host is x86_64 and run hosted redhat server5.4 X86_64,
i complies my code with -m32 option open, my code run smoothly in
my host, but when it installed on redhat9.0 host(x86_32)
the error occurs and the output is :
"Program terminated with signal SIGFPE, Arithmetic exception"

but thought whole my code, there no divide operators,
i write the "hello world" program, the same problem also occurs
how should i do?
Old 05-21-2010, 09:57 PM   #2
LQ Newbie
Registered: Aug 2004
Location: Petaluma, CA, US
Distribution: Debian GNU/Linux squeeze/sid
Posts: 29

Rep: Reputation: 17
Have you tried running it with gdb? That ought to show you where the problem is. You may not have any div instructions in your code, but the executable is very likely linked to something that does.

And you may need to rebuild on the target host: see


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ld terminated by signal 9 [killed] rustyz82 Linux - Software 3 09-15-2015 09:14 AM
Simple Arithmetic Program (help pls) MaGicMaX Programming 10 11-16-2009 01:21 AM
pptpconfig: pppd process terminated by signal 11 (failed) centos-new Linux - General 1 09-19-2006 12:32 PM
setup_exception nested exception on signal stack sekarraj_irtt Linux - Software 0 11-09-2005 12:21 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:38 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration