Skip to content

Crash after execute "fatal error: unexpected signal during runtime execution" (macOS 11.6) #1481

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
judaew opened this issue Sep 30, 2021 · 6 comments
Labels
architecture: arm64 Specific to 64 bit ARM host architecture conclusion: resolved Issue was resolved os: macos Specific to macOS operating system topic: infrastructure Related to project infrastructure type: imperfection Perceived defect in any part of project

Comments

@judaew
Copy link

judaew commented Sep 30, 2021

Bug Report

Current behavior

arduino-cli (tag 0.19.1) built with go 1.17.1. Crashes immediately after executing a binary file:

Crash after execution binary (builded with go 1.17.1):

$ arduino-cli
fatal error: unexpected signal during runtime execution
[signal SIGSEGV: segmentation violation code=0x1 addr=0xb01dfacedebac1e pc=0x7fff204ecc9e]
...

arduino-cli-0.19.1-fatal error.txt

Environment

  • CLI version (output of arduino-cli version): 0.19.1
  • OS and platform: macOS 11.6 x86_64
@cmaglie
Copy link
Member

cmaglie commented Sep 30, 2021

Thanks for the detailed bug report!

I think we fixed this bug with #1427 but didn't get through in time for the 0.19.1. May you confitm that the nightly build fix the problem? -> https://arduino.github.io/arduino-cli/0.19/installation/#nightly-builds

@rsora
Copy link
Contributor

rsora commented Sep 30, 2021

@judaew Can you tell us how you installed the CLI?

Are you using brew by any chance?

@judaew
Copy link
Author

judaew commented Sep 30, 2021

Thanks for the detailed bug report!

I think we fixed this bug with #1427 but didn't get through in time for the 0.19.1. May you confitm that the nightly build fix the problem? -> https://arduino.github.io/arduino-cli/0.19/installation/#nightly-builds

@cmaglie This version works fine.

@judaew Can you tell us how you installed the CLI?
Are you using brew by any chance?

@rsora I am the maintainer of the arduino-cli port in MacPorts. I wanted to update the port to version 0.19.1 but got this issue.

@rsora
Copy link
Contributor

rsora commented Sep 30, 2021

Thanks, @judaew for your efforts in porting the CLI on MacPorts! 👍

We plan to bump the go version for the build to Go 1.17+ for the next release (meaning 0.20.0), so you need to be patient and wait for the release to happen in the next weeks 😸

Happy coding!

@judaew
Copy link
Author

judaew commented Sep 30, 2021

Thanks so much!

@judaew
Copy link
Author

judaew commented Oct 1, 2021

@rsora Hi, can you review #1487?

@per1234 per1234 added architecture: arm64 Specific to 64 bit ARM host architecture conclusion: resolved Issue was resolved os: macos Specific to macOS operating system type: imperfection Perceived defect in any part of project labels Oct 1, 2021
@per1234 per1234 closed this as completed Oct 1, 2021
@per1234 per1234 added the topic: infrastructure Related to project infrastructure label Oct 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
architecture: arm64 Specific to 64 bit ARM host architecture conclusion: resolved Issue was resolved os: macos Specific to macOS operating system topic: infrastructure Related to project infrastructure type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

4 participants