1. Fatal run-time error: c_proc/c_func: bad routine number (-1)
- Posted by CraigWelch Jun 25, 2021
- 1160 views
As I'm travelling, I'm no longer using my testbed linux box. I downloaded a subset of my working files to my MacBook, and I'm ready to go ! Good hotel wifi (400Mbs) and a fresh pot of coffee by my side.
Oops. I can't run Euphoria. I get:
Fatal run-time error: c_proc/c_func: bad routine number (-1)
for any Euphoria program I try to run. Even the demo files.
I last used Euphoria on this laptop about three months ago, without any problems. I don't even know where to begin with this. There is no ex.err, and the error happens before trace() can kick in.
The last system upgrade was in 2019. I can't find anything else in the file system that looks remotely suspicious.
Appreciate any thoughts, thanks ...
2. Re: Fatal run-time error: c_proc/c_func: bad routine number (-1)
- Posted by ghaberek (admin) Jun 25, 2021
- 1141 views
Hmm... something in the standard library must be trying to reach out to a system library that's missing.
Can you run the interpreter without any commands? Can you run eui -test file.ex correctly? Can you run a simple puts(1, "Hello, world!\n") app?
-Greg
3. Re: Fatal run-time error: c_proc/c_func: bad routine number (-1)
- Posted by CraigWelch Jun 26, 2021
- 1075 views
Thanks Greg. To answer your questions:
Can you run the interpreter without any commands?
No.
Can you run eui -test file.ex correctly?
No.
Can you run a simple puts(1, "Hello, world!\n") app?
No.
I'm still trying to find anything that might have changed on the computer ...
4. Re: Fatal run-time error: c_proc/c_func: bad routine number (-1)
- Posted by CraigWelch Jun 26, 2021
- 1101 views
I'm still trying to find anything that might have changed on the computer ...
Which I just did.
Apple introduced this to mess with developers "increase system security" a few years back. At the time I simply turned it off. Living on the edge (yes, I run as root all the time).
Somehow it's been turned back on again. I've turned it off again. Sigh.
Sorry to waste your time Greg, and anyone else who might have spent a few thought cycles on the issue.
5. Re: Fatal run-time error: c_proc/c_func: bad routine number (-1)
- Posted by ghaberek (admin) Jun 28, 2021
- 1045 views
Sorry to waste your time Greg, and anyone else who might have spent a few thought cycles on the issue.
It's all good! Not a waste of time; these things are worth knowing.
-Greg
6. Re: Fatal run-time error: c_proc/c_func: bad routine number (-1)
- Posted by katsmeow Jun 28, 2021
- 1038 views
An oem messing with your settings?! Oh my gosh!
Added to the list... isp turning wifi back on again so they can claim more hotspots, and then sending you letters when the neighbors use it for something objectionable. Change your password?, sure, but "we can change it back to anything else".
Yesterday, i find out ADT security can (and does) also toggle settings and read logs, despite them telling me over the years they cannot. They remotely shut down a fire zone.
Watch out for the "you bought the equipment, so we aren't responsible for replacing the batteries", but "if you remove the dead battery in the smoke detector it triggers a tampering alarm and we call the police". How, with a dead battery, does it signal anything?
Best of luck fighting Apple, Craig.
Kat