1. sanity.ex
- Posted by smudger Dec 15, 2010
- 1458 views
Is it just me, or does sanity.ex crash at procedure crash() in error.e?
WinXP SP3 - Euphoria 4.0.0-RC2
Smudger
2. Re: sanity.ex
- Posted by jeremy (admin) Dec 15, 2010
- 1363 views
Is it just me, or does sanity.ex crash at procedure crash() in error.e?
I have no problems running sanity.ex interpreted. It does seem to crash right now when translated, 4%
Jeremy
3. Re: sanity.ex
- Posted by ne1uno Dec 15, 2010
- 1435 views
Is it just me, or does sanity.ex crash at procedure crash() in error.e?
I have no problems running sanity.ex interpreted. It does seem to crash right now when translated, 4%
Jeremy
r4705 sanity working interpreted or translated win9x. I do notice the "passed" message gets covered up running from console.
4. Re: sanity.ex
- Posted by dr_can Dec 17, 2010
- 1400 views
Same problem as you, smudge. Same OS version, same Euphoria version, same result!
5. Re: sanity.ex
- Posted by smudger Dec 17, 2010
- 1231 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.
Smudger
6. Re: sanity.ex
- Posted by mattlewis (admin) Dec 17, 2010
- 1229 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
7. Re: sanity.ex
- Posted by mattlewis (admin) Dec 17, 2010
- 1211 views
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.
I found another issue (ticket:557), but sanity.ex now translates for me as of svn:4723.
Matt
8. Re: sanity.ex
- Posted by jeremy (admin) Dec 17, 2010
- 1249 views
I found another issue (ticket:557), but sanity.ex now translates for me as of svn:4723.
Just tried on Windows. Prior to your fixes, mine ran interpreted but crashed translated. Now it runs interpreted and translated. Thanks!
Jeremy
9. Re: sanity.ex
- Posted by smudger Dec 17, 2010
- 1181 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
10. Re: sanity.ex
- Posted by mattlewis (admin) Dec 18, 2010
- 1116 views
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?
The easiest way is probably to grab the sourced from svn and build / install that way. One issue required a code change in euphoria, and the other a change to the euphoria.h header that's used by the translator to link the translated code with the euphoria back end.
Matt