1. Fatal run-time error: c_proc/c_func: bad routine number (-1)

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 ...

new topic     » topic index » view message » categorize

2. Re: Fatal run-time error: c_proc/c_func: bad routine number (-1)

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

new topic     » goto parent     » topic index » view message » categorize

3. Re: Fatal run-time error: c_proc/c_func: bad routine number (-1)

Thanks Greg. To answer your questions:

ghaberek said...

Can you run the interpreter without any commands?

No.

said...

Can you run eui -test file.ex correctly?

No.

said...

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 ...

new topic     » goto parent     » topic index » view message » categorize

4. Re: Fatal run-time error: c_proc/c_func: bad routine number (-1)

CraigWelch said...

I'm still trying to find anything that might have changed on the computer ...

Which I just did.

System Integrity Protection

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.

new topic     » goto parent     » topic index » view message » categorize

5. Re: Fatal run-time error: c_proc/c_func: bad routine number (-1)

CraigWelch said...

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

new topic     » goto parent     » topic index » view message » categorize

6. Re: Fatal run-time error: c_proc/c_func: bad routine number (-1)

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

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu