Skip to content

panic: runtime error: invalid memory address or nil pointer dereference #93

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

Closed
shellus opened this issue Nov 27, 2018 · 1 comment
Closed
Labels
conclusion: duplicate Has already been submitted

Comments

@shellus
Copy link

shellus commented Nov 27, 2018

C:\Users\shellus\Documents\Arduino\MyFirstSketch>arduino-cli core update-index
 0 / ? [--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------=]   0.00%p
anic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x0 pc=0x4012cc]

goroutine 6 [running]:
sync/atomic.AddUint64(0x11e6c074, 0x1000, 0x0, 0x1000, 0x1000)
        /home/jenkins/go1.10.2-patched/src/sync/atomic/asm_386.s:112 +0xc
github.com/arduino/arduino-cli/vendor/go.bug.st/downloader.(*Downloader).AsyncRun(0x11e6c060)
        /home/jenkins/workspace/arduino-cli/src/github.com/arduino/arduino-cli/vendor/go.bug.st/downloader/downloader.go:82 +0x162
created by github.com/arduino/arduino-cli/vendor/go.bug.st/downloader.(*Downloader).RunAndPoll
        /home/jenkins/workspace/arduino-cli/src/github.com/arduino/arduino-cli/vendor/go.bug.st/downloader/downloader.go:61 +0x84

C:\Users\shellus\Documents\Arduino\MyFirstSketch>

I just do this:
1: Download https://downloads.arduino.cc/arduino-cli/arduino-cli-0.3.2-alpha.preview-windows.zip
2: arduino-cli sketch new MyFirstSketch
3: cd C:\Users\shellus\Documents\Arduino\MyFirstSketch
4: arduino-cli core update-index

I am using the latest windows10

@per1234
Copy link
Contributor

per1234 commented Nov 27, 2018

Closing as duplicate of #87

The bug has been fixed but that was done after the 0.3.2-alpha release.

We welcome bug reports and feature requests but in the future please take the time to search for existing open and closed issues and pull requests before submitting an issue:
https://github.com/arduino/arduino-cli/issues?&q=
If you do find the issue has already been reported or a fix has been submitted, you are welcome to give it a "thumbs up" by clicking on the smiley face icon at the top right to show your support. Please only comment on the issue if you have additional information to add.

@per1234 per1234 closed this as completed Nov 27, 2018
@per1234 per1234 added the conclusion: duplicate Has already been submitted label Nov 27, 2018
@per1234 per1234 changed the title anic: runtime error: invalid memory address or nil pointer dereference panic: runtime error: invalid memory address or nil pointer dereference Nov 27, 2018
per1234 pushed a commit that referenced this issue Nov 16, 2020
This allows class ArduinoCloudThing to obtain a 'epoch' timestamp which is used during synchronisation and which has been implemented so far via an 'extern' dependency to RTCZero. Since this kind of hidden dependency (basically a global object across 2 separate Arduino libraries) is very brittle the depdency is made clear by explicitly registering a function to provide the required timestamp.
per1234 added a commit that referenced this issue Aug 9, 2021
Control logging via environment variables instead of flags
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: duplicate Has already been submitted
Projects
None yet
Development

No branches or pull requests

2 participants