Euphoria
Ticket #919:
Assigning using $ hard crashes
-
Reported by
dcuny
Feb 02, 2015
sequence this = { {0,0,0,0,0,0,0,0,0,0} }
this[1][1] = 1 -- works
this[$][1] = 1 -- hard crashes Euphoria (no ex.err generated)
Version
4.1.0 development (5783:d41527402a7a, 2014-01-16 02:53:44)
Operating System
Platform: WinNT, Build: Windows7, Service Pack 1:2
Details
1. Comment by ne1uno
Feb 02, 2015
sequence this = { {0,0,0,0,0,0,0,0,0,0} }
this[1][1] = 1 -- works
? this[1][1]
this[$][1] = 1 -- hard crashes?
? this[1][1]
?this
1
1
{
{1,0,0,0,0,0,0,0,0,0}
}
4.1.0 development (6278:511ab308da2e, 2015-01-18
Operating System
----------------------------
Platform: WinNT, Build: WinXP, Service Pack 2:2
no crash eui or euc
must be related to an old bug already fixed?
2. Comment by dcuny
Feb 02, 2015
Just downloaded: euphoria-4.1.0-Win-x86.zip
Copied files from bin directories to c:\euphoria\bin
Ran program again. Hard crash.
Works on my machine != already fixed.
What additional information do you need?
3. Comment by dcuny
Feb 02, 2015
Perhaps my instructions were unclear. Try the following:
with trace
trace(1)
sequence this = { {0,0,0,0,0,0,0,0,0,0} }
this[1][1] = 1 -- works
this[$][1] = 1 -- hard crashes Euphoria (no ex.err generated)
integer a = 12
Step through code. Final assignment instruction is never reached - Euphoria simply stops running at this point.
No error message is printed.
No error file is created.
Euphoria crashes while executing the instruction:
this[$][1] = 1 -- hard crashes Euphoria (no ex.err generated)
4. Comment by jimcbrown
Feb 02, 2015
That is a beta build from Feb 2014 ... ne1uno is probably building and running the latest source. So, it seems that it's broken in the beta version from nearly a year ago, but runs fine on HEAD.
5. Comment by dcuny
Feb 02, 2015
I should also note it's running on a 64 bit version of the OS.
I'm not running the 32 bit version because of other errors.
Thanks!
6. Comment by dcuny
Feb 02, 2015
Where can I grab it the latest version?
7. Comment by jimcbrown
Feb 02, 2015
Don't think we have a eubin for that. Perhaps ne1uno or mattlewis can provide one of their own builds for you.
8. Comment by dcuny
Feb 02, 2015
Thanks. I'll move this discussion to the forum rather than continue it in the bug report.
9. Comment by ne1uno
Feb 02, 2015
can someone confirm this does or doesn't crash newer w/64bit version?
10. Comment by mattlewis
Feb 02, 2015
Confirmed with:
$ eui -v
Euphoria Interpreter v4.1.0 development
64-bit Linux, Using System Memory
Revision Date: 2015-02-02 14:18:53, Id: 6300:57179171dbed
11. Comment by dcuny
Feb 02, 2015
Please clarify if confirmed means the fix or bug was confirmed.
Thanks!
12. Comment by cargoan
Feb 02, 2015
No crash.
[$]: cat crash.ex; eui crash.ex; eui -v
sequence this = { {0,0,0,0,0,0,0,0,0,0} }
this[1][1] = 1 -- works
? this[1][1]
this[$][1] = 1 -- hard crashes?
? this[1][1]
? this
1
1
{
{1,0,0,0,0,0,0,0,0,0}
}
Euphoria Interpreter v4.1.0 development
64-bit Linux, Using System Memory
Revision Date: 2015-01-18 16:51:09, Id: 6273:511ab308da2e
13. Comment by DerekParnell
Feb 03, 2015
I cannot reproduce the issue in my environment (Windows 7, 32-bit).
C:\temp>type test.ex
sequence this = { {0,0,0,0,0,0,0,0,0,0} }
this[1][1] = 1 -- works
this[$][1] = 1 -- hard crashes Euphoria (no ex.err generated)
? this
C:\temp>eui -v
Euphoria Interpreter v4.1.0 development
32-bit Windows, Using System Memory
Revision Date: 2013-07-12 00:24:02, Id: 6134:991791b126ad
C:\temp>eui test
{
{1,0,0,0,0,0,0,0,0,0}
}
C:\temp>
14. Comment by mattlewis
Feb 03, 2015
Sorry, should have been more specific. When I said "confirmed," I meant that it was fixed. I changed the drop down to reflect that.