Euphoria Ticket #930: poke8 sometimes fails to put the correct data into memory

unit test pokes : poke8(addr, {77, -1, 5, -1.1}) and then reading it in returns the fourth member as if it were 0 (and not -1.1).

Details

Type: Bug Report Severity: Normal Category: Interpreter
Assigned To: SDPringle Status: Fixed Reported Release: 4.1
Fixed in SVN #: View VCS: none Milestone: 4.1.0

1. Comment by SDPringle Sep 26, 2015

See: hg:euphoria/rev/3a29876cba39

changeset: 6373:3a29876cba39 tag: tip user: Shawn David Pringle B.Sc. <shawn.pringle@gmail.com> date: Sat Sep 26 01:19:58 2015 -0300 files: source/be_execute.c description:

  • maybe fixes ticket 930

2. Comment by SDPringle Sep 26, 2015

See: hg:euphoria/rev/2f79e40d0f20

changeset: 6374:2f79e40d0f20 user: Shawn David Pringle B.Sc. <shawn.pringle@gmail.com> date: Sat Sep 26 17:26:11 2015 -0300 files: source/be_execute.c tests/t_machine.e description:

  • handle unsigned 64-bit poked numbers that have their sign bit set: ticket 930. Added tests

3. Comment by SDPringle Sep 29, 2015

This is a sign post bound problem in poke8. I am moving the test case to a counter test.

4. Comment by SDPringle Sep 29, 2015

See: hg:euphoria/rev/7af379092e99

changeset: 6377:7af379092e99 user: Shawn David Pringle B.Sc. <shawn.pringle@gmail.com> date: Tue Sep 29 14:20:46 2015 -0300 files: tests/t_c_badpoke8.d/control.err tests/t_c_badpoke8.e tests/t_machine.e description:

  • ticket 930 : added counter test demonstrating failure of the bounds checking in poke8

5. Comment by SDPringle Sep 29, 2015

See: hg:euphoria/rev/0832bbcddbaa

changeset: 6378:0832bbcddbaa user: Shawn David Pringle B.Sc. <shawn.pringle@gmail.com> date: Tue Sep 29 14:30:55 2015 -0300 files: include/std/machine.e description:

  • ticket 930 : added helpful documentation comments

6. Comment by SDPringle Sep 29, 2015

See: hg:euphoria/rev/8368c5e54e41

changeset: 6379:8368c5e54e41 user: Shawn David Pringle B.Sc. <shawn.pringle@gmail.com> date: Tue Sep 29 16:18:27 2015 -0300 files: tests/t_c_badpoke8.d/control.err description:

  • ticket 930 : fix control file

7. Comment by SDPringle Sep 29, 2015

See: hg:euphoria/rev/1110bd29c7d4

changeset: 6380:1110bd29c7d4 tag: tip user: Shawn David Pringle B.Sc. <shawn.pringle@gmail.com> date: Tue Sep 29 16:26:24 2015 -0300 files: source/be_execute.c source/execute.h description:

  • ticket 930 : improve bounds checking for poke8

8. Comment by SDPringle Oct 07, 2015

See: hg:euphoria/rev/a398d96fa738

changeset: 6381:a398d96fa738 user: Shawn David Pringle B.Sc. <shawn.pringle@gmail.com> date: Tue Sep 29 23:43:24 2015 -0300 files: tests/t_machine.e description: ticket 930: added signed test

Search



Quick Links

User menu

Not signed in.

Misc Menu