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

Bug In VM?: SIGSEGV: Illegal storage access. (Attempt to read from nil?) #24

Closed
loloicci opened this issue Apr 11, 2019 · 4 comments
Closed

Comments

@loloicci
Copy link
Owner

Sometimes SIGSEGV: Illegal storage access. (Attempt to read from nil?) is issued in compile-time.
Maybe it is bug in VM (and not in nimly).
https://dev.azure.com/oxisccl/nimly/_build/results?buildId=29

@loloicci loloicci added the bug label Apr 11, 2019
@loloicci loloicci changed the title Research: SIGSEGV: Illegal storage access. (Attempt to read from nil?) Bug In VM?: SIGSEGV: Illegal storage access. (Attempt to read from nil?) Apr 11, 2019
@loloicci
Copy link
Owner Author

See also:
1128e18
(After this commit, test fails)

@loloicci
Copy link
Owner Author

loloicci commented Apr 22, 2019

maybe sets.incl has some bugs with VM.

nimly: 3ca678e22da3fc0607be3a4a875f77859e5f8524
Nim: fabc2a7086bb83afc2abfd6d5841f25c8387609f

Sometimes following error is issued when nimy is used.

test_nimly.nim(51, 5)
test_nimly.nim(51, 5)    :tmp
../src/nimly/lalr.nim(162, 18) makeTableLALR
../src/nimly/lalr.nim(110, 16) toLALRKernel
../../Nim/lib/pure/collections/sets.nim(143, 24) incl
test_nimly.nim(33, 6) template/generic instantiation of `nimy` from here
../../Nim/lib/pure/collections/sets.nim(143, 24) Error: attempt to access a nil address

@loloicci
Copy link
Owner Author

Maybe fixed in Nim v1.0.0.

@loloicci
Copy link
Owner Author

see also #30

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant