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

Illegal storage access when adding to a ref seq #11065

b3liever opened this issue Apr 20, 2019 · 3 comments


None yet
2 participants
Copy link

commented Apr 20, 2019

This crash happens with --newruntime


   Warm = seq[string]

var w: Warm
w = @["red", "yellow", "orange"]

echo w

Current Output

Traceback (most recent call last)
alias.nim(10)            alias
system.nim(2006)         add
alloc.nim(953)           realloc
SIGSEGV: Illegal storage access. (Attempt to read from nil?)

Additional Information

  • Tried to use a main proc, same result.
$ nim -v
git hash: 44ec66bd484e7cf952c20493a30cf1b29d49e3ca

@Araq Araq added the New runtime label Apr 20, 2019


This comment has been minimized.

Copy link

commented Apr 20, 2019

Yeah, I know, we need to copy seq literals properly. :-)


This comment has been minimized.

Copy link
Contributor Author

commented Apr 21, 2019

Oh sorry, I thought it was genuinely a bug, not a missing implementation.

@Araq Araq closed this in 4f93669 Apr 22, 2019


This comment has been minimized.

Copy link

commented Apr 22, 2019

It was indeed something else, thanks for reporting!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.