Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Posible stack corruption after loading a date #46

Open
Oldes opened this issue Mar 13, 2019 · 2 comments
Open

Posible stack corruption after loading a date #46

Oldes opened this issue Mar 13, 2019 · 2 comments

Comments

@Oldes
Copy link

Oldes commented Mar 13, 2019

Check this console session:

>> recycle/off        ;<--- to make sure it is not GC related issue
>> <a>
== <a>   ;<--- correct result so far

>> load "22-Feb-2019" ;<--- this seems to make a problem
== 22-Feb-2019

>> <a>
== <>   ;<================= WHY THIS?

>> b: 1 ;<----------------- this makes it normal again
== 1

>> <a>
== <a>   ;<--- correct result again
@Oldes Oldes changed the title Possible stack corruption after loading a date Posible stack corruption after loading a date Mar 13, 2019
@Oldes
Copy link
Author

Oldes commented Mar 13, 2019

Original R3-alpha (2.100.111.3.1) is not affected. Ren-C is fine too.

@Oldes
Copy link
Author

Oldes commented Mar 13, 2019

As load is a mezzanine function in R3, the issue can be simplified to this:

>> transcode #{312D312D32303032}
== [1-Jan-2002 #{}]

>> <a>
== <>

Oldes added a commit to Oldes/Rebol3 that referenced this issue Mar 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant