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

SIGSEGV: Illegal storage access. (Attempt to read from nil?) on Ubuntu 14.10 #68

Closed
SSPkrolik opened this issue Dec 2, 2014 · 6 comments

Comments

@SSPkrolik
Copy link
Contributor

This error appears while trying to run any of the available commands, while all "Options" work just fine.

krolik@krolik-linux:~/Projects/test$ nimble install name
SIGSEGV: Illegal storage access. (Attempt to read from nil?)
krolik@krolik-linux:~/Projects/test$ nimble install nake
SIGSEGV: Illegal storage access. (Attempt to read from nil?)
krolik@krolik-linux:~/Projects/test$ 
@SSPkrolik SSPkrolik changed the title SIGSEGV: Illegal storage access. (Attempt to read from nil?) on Ubuntu 14.04 SIGSEGV: Illegal storage access. (Attempt to read from nil?) on Ubuntu 14.10 Dec 2, 2014
@SSPkrolik
Copy link
Contributor Author

Here's also a stacktrace taken from gdb:

#0  0x000000000040e19c in skip_253090 ()
#1  0x000000000040e9e4 in gettok_253466 ()
#2  0x0000000000410f8f in parsefile_259217 ()
#3  0x000000000043e948 in parsecmdline_295320 ()
#4  0x000000000043ec29 in nimbleInit ()
#5  0x000000000043eba1 in NimMain ()
#6  0x0000000000401b0d in main ()

@SSPkrolik
Copy link
Contributor Author

Seems like error is the same like in ticket #65, but the fix does not apply in my case.

@dom96
Copy link
Collaborator

dom96 commented Dec 3, 2014

Can you compile nimble manually (without -d:release) and give me a non-gdb stack trace?

As you say, it does seem like the issue in #65. Have you tried removing ~/.nimble/nimbledata.json?

@jyapayne
Copy link

jyapayne commented Dec 8, 2014

I seem to have the same issue as @SSPkrolik and the fix for #65 also does not work for me. I tried deleting everything and starting from scratch, but nothing seems to work.

However, if I delete the ~/.nimble/nimbledata.json file, I can successfully call nimble update without the error. Any other command results in the SIGSEGV error above.

OS: Ubuntu 14.04

Is there a command I can run that will give you some helpful output?

@jyapayne
Copy link

jyapayne commented Dec 8, 2014

This issue isn't related to nimble itself, but to nimrod's implementation of the json module in the current stable release. It was apparently fixed in the devel branch, so installing nimrod using the devel branch should hopefully fix this issue.

@dom96
Copy link
Collaborator

dom96 commented Dec 25, 2014

I will close on the basis of what @jyapayne said.

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

3 participants