- assigned_to: nobody --> johanrossouw
when trying the coupled line filter example on my alpha
I get a floating point exception. This is sometimes
caused by using uninitialized floating point values,
perhaps the first time through a loop. The complete
debugger output is attached:
Program received signal SIGFPE, Arithmetic exception.
0x1200fc3e8 in CLin::initSweep (this=0x120287600) at
components/CLin.cpp:98
98 if ( (ze!=ze_) || (zo!=zo_) || (e!=e_) ||
(f!=f_) )
(gdb) bt
#0 0x1200fc3e8 in CLin::initSweep (this=0x120287600)
at components/CLin.cpp:98
#1 0x120096290 in Schematic::initSweep
(this=0x12021fa20) at Schematic.cpp:646
#2 0x12005c3c8 in MainWindow::checkSchematics
(this=0x1201b0c00) at MainWindow.cpp:1026
#3 0x12005d37c in MainWindow::calculateResponse
(this=0x1201b0c00) at MainWindow.cpp:1078
#4 0x12008a280 in ToolBar::sweepCircuitSlot
(this=0x1201fe800) at ToolBar.cpp:238
#5 0x16073fa04 in QObject::activate_signal () from
/usr/X11R6/qt2/lib/libqt.so.2
#6 0x16094e890 in QButton::clicked () from
/usr/X11R6/qt2/lib/libqt.so.2
#7 0x160812e44 in QButton::mouseReleaseEvent () from
/usr/X11R6/qt2/lib/libqt.so.2
#8 0x1607da170 in QWidget::event () from
/usr/X11R6/qt2/lib/libqt.so.2
#9 0x160694274 in QApplication::notify () from
/usr/X11R6/qt2/lib/libqt.so.2
#10 0x16063c994 in QETWidget::translateMouseEvent ()
from /usr/X11R6/qt2/lib/libqt.so.2
#11 0x160638f70 in QApplication::x11ProcessEvent ()
from /usr/X11R6/qt2/lib/libqt.so.2
#12 0x160637aa4 in QApplication::processNextEvent ()
from /usr/X11R6/qt2/lib/libqt.so.2
#13 0x160697220 in QApplication::enter_loop () from
/usr/X11R6/qt2/lib/libqt.so.2
#14 0x1606379c8 in QApplication::exec () from
/usr/X11R6/qt2/lib/libqt.so.2
#15 0x120106998 in main (argc=1, argv=0x1fffff338) at
main.cpp:94
(gdb) print ze
$1 = 2.388555400447897e-314
(gdb) print ze_
Error accessing memory address 0x1245bb624: Invalid
argument.
(gdb) print zo
$2 = 2.3885553846377963e-314
(gdb) print zo_
Error accessing memory address 0x1245bb624: Invalid
argument.
(gdb) print e
$3 = 2.3885555111186017e-314
(gdb) print e_
Error accessing memory address 0x1245bb624: Invalid
argument.
(gdb) print f
$4 = 0
(gdb) print f_
Error accessing memory address 0x1245bb624: Invalid
argument.