Re: sanity.ex
- Posted by smudger Dec 17, 2010
- 1180 views
Same problem as you, smudge. Same OS version, same Euphoria version, same result!
Interesting. I thought it was me. I installed 3.11 then 4.0.0 RC1 and was mucking about with uninstalling and resinstalling in different locations. Then, when I installed RC2, it crapped out on sanity.ex
I kind of assumed it was me and I had borked the environment somehow. I completely uninstalled everything, cleaned the registry with CCleaner and then re-downloaded and reinstalled RC2. Same result.
I installed the same version of RC2 on another machine and it worked fine, so I thought it must be this machine.
So, for me, when I try and run sanity.ex I get the following:
"c:\euphoria-4.0\include\std\error.e:50 in procedure crash()"
Now, line 50 of error.e says:
machine_proc(M_CRASH, msg)
so, it seems that there is a problem with calling machine_proc.
sanity.ex works for me interpreted, but crashes when translated. I've opened ticket:556 for that issue, which should be fixed shortly.
The expected behavior for calling crash is to get an error reported. That's the standard lib way to have a program abort with an error. More interesting is where that was called from. sanity.ex may call that if it finds an error from what it expected.
Matt
Hi Matt, I'm not sure what you're saying. I might be wrong, but I kind of expected that there would be two ways of aborting sanity.ex; firstly by calling crash() and then getting an error message saying what happened and why the program terminated (controlled abort) and an unexpected termination (uncontrolled abort). For me, this seems to be an uncontrolled abort. It does crap out at 4% though, so it may be related to your other issues. Where do I download the current fixed version?
Cheers,
Smudger