stefoid / virtualagc

Automatically exported from code.google.com/p/virtualagc
Other
0 stars 0 forks source link

Floating point exception in yaAGC. #28

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hello, I'm zxMarce, and I have a problem I think you may help me overcome.
I installed VirtualAGC version 20100220 under GNU Ubuntu Linux 12.04.1 in my 
home folder. I made two installs on two different machines, one is a physical 
laptop (2GB RAM), the other is a VirtualBox virtual machine (768MB RAM).

Both GUIs fail with the same symptoms: No matter the modules/modes chosen, when 
the Run button is clicked, the selected support modules (DSKY, Status, 
Telemetry, etc) start up and appear for 3-5 seconds and then everything shuts 
down and I get the main Virtual AGC screen back to select other emulation 
parameters.

When resorting to the terminal, it seems yaAGC has a problem. In order to see 
if the Luminary binaries are to be blamed I tried running with both binaries 
supplied (099 and 131) and even a fake, non-existing version 999 (not even the 
directory for Luminary 999 exists in my environment).

I get the following "Floating point exception (core dumped)", on all three 
Luminary versions I tried (virtual machine tests shown, physical laptop throws 
the same exceptions):

user@vmachine:~/VirtualAGC/Resources$ ../bin/yaAGC 
--core="source/Luminary131/Luminary131.bin" --port=19797 --cfg=LM.ini
Apollo Guidance Computer simulation, ver. 20100220, built Feb 20 2010 11:03:52
Copyright (C) 2003-2009 Ronald S. Burkey, Onno Hommes.
yaAGC is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Refer to http://www.ibiblio.org/apollo/index.html for additional information.
Floating point exception (core dumped)

user@vmachine:~/VirtualAGC/Resources$ ../bin/yaAGC 
--core="source/Luminary099/Luminary099.bin" --port=19797 --cfg=LM.ini
Apollo Guidance Computer simulation, ver. 20100220, built Feb 20 2010 11:03:52
Copyright (C) 2003-2009 Ronald S. Burkey, Onno Hommes.
yaAGC is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Refer to http://www.ibiblio.org/apollo/index.html for additional information.
Floating point exception (core dumped)

user@vmachine:~/VirtualAGC/Resources$ ../bin/yaAGC 
--core="source/Luminary999/Luminary999.bin" --port=19797 --cfg=LM.ini
Apollo Guidance Computer simulation, ver. 20100220, built Feb 20 2010 11:03:52
Copyright (C) 2003-2009 Ronald S. Burkey, Onno Hommes.
yaAGC is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Refer to http://www.ibiblio.org/apollo/index.html for additional information.
Floating point exception (core dumped)

The command line for yaAGC was shamelessly "borrowed" from the 'simulate' 
script in 'VirtualAGC/Resources'.
If you need anything else besides the above supplied data, please don't 
hesitate to ask me. I think this is a great program.

TIA,
zxMarce.

Original issue reported on code.google.com by zxma...@gmail.com on 2 Oct 2012 at 11:27