embedding octave - floating point exception

John W. Eaton jwe at octave.org
Mon Mar 9 16:43:16 CDT 2009


On  9-Mar-2009, Marco Driusso wrote:

| Running my program under gdb, after some functions that end correctly, I get
| 
| Program received signal SIGFPE, Arithmetic exception.
| [Switching to Thread 0xb5d176c0 (LWP 15573)]
| octave_ieee_init () at lo-ieee.cc:86
| 86            if (tmp_inf == tmp)
| Current language:  auto; currently c++

and earlier you wrote:

| > | But octave run correctly on my system, I've not such error when I run it
| > | normally from a shell.

For your progmam that embeds Octave, are you using the same libraries
(liboctinterp, liboctave, libcruft) that are used by the copy of
Octave that runs correctly?  If so, then I don't understand how this
can work correctly for Octave but not for your program.

jwe


More information about the Help-octave mailing list