I'm having trouble executing a C++ program on a particular machine. Here is the entire strace output:
26936 execve("/data1/xfm/bin/xfm", ["/data1/xfm/bin/xfm", "-d", "-s", "/data1/smail/", "-p", "/data1/xfm", "-m", "Mailing.176"], [/* 21 vars */]) = 0
26936 uname({sys="Linux", node="smail2.<removed>.com", ...}) = 0
26936 brk(0) = 0x98f7000
26936 --- SIGFPE (Floating point exception) @ 0 (0) ---
26936 +++ killed by SIGFPE +++
I'v installed and run this executable on several other machines with no problem (and with thousands of lines of strace output). Any idea what could be causing my problem? Thanks.
It's hard to give an answer having only this information. You should try to run your program in gdb or insert sigfpe signal handler to determine the exact position of error and its reason.