OpenSpin Segmentation Fault???
davidsaunders
Posts: 1,559
Everything was going great, then I did a new compile with a mixed C and PASM project, with no changes to the SPIN files, open spin suddenly started throwing a segmentation fault every time it is run with a file, regardless of the spin file.
IS this a common error with an easy workaround?
IS this a common error with an easy workaround?
Comments
The fault accures on x86 Linux, with a openspin that had previously worked with no trouble. The SPIN files will compile with Propeller Tool with no trouble, or with OpenSpin on ARM Linux no trouble, just not with with that one copy of OpenSpin, even after I replaced the openspin with a new copy of the binary extracted from the .deb package, and put into the /opt/parallax/bin directory after deleting /opt/parallax/bin/openspin. I have nearly given up on the x86 all together, and am limitting my use of ARM Linux to a bare minimal, at this time only booting to run openspin and load the Prop.
Everything I said above, and yes it prints out normally up to "compilint." and then after a short pause it throws a seg fault.
Also it will seg fault even with a SPIN file that only contains a single empty PUB.
I did not attempt to run it in GDB, and I am currently running RISC OS on the Raspberry Pi, so I can not test that at the moment.
The only worthwhile system for me on the x86 is MS/DR/PC/Open/Rx/FreeDOS so it is not so important anymore, I will no-longer fight an Operating System in order to develop for the Propeller, hence my changing directions for a bit to attempt to get OpenSpin running on RISC OS, and then to either port or write a propeller loader for RISC OS.