-
-
Notifications
You must be signed in to change notification settings - Fork 398
SIGSEGV when compiling for custom boards #177
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
Comments
Please provide instructions for how you installed the Does the issue only occur when you're compiling Marlin, or does it also occur if you are compiling a minimal sketch like examples/01.Basics/BareMinimum? |
Hello, void setup() {
}
void loop() {
}
I also tried with custom boards installed with the boad manager. To try that I added the sanguino package index from here into I hope it will help. |
I can confirm the same behavior, using multiple custom boards/cores, both with Marlin and the basic example. I tracked down the source of the segfault but still trying to fully understand (and hopefully get a PR up, but fighting dep with forks and such). To further complicate things -- a workaround is to install any The issue starts here:
The context passed is
where the call to
which triggers the segfault (as |
Some more tracking down makes it seem the Sanguino requires the
... but then we try to get the installed packages:
which bubbles all the way out to |
I can confirm that I'm getting the same problem trying to work with Adafruit boards on a clean install. As @zmarcantel suggested, running |
I wasn't able to track the exact commits but this is fixed now:
|
Hello, is the fix for this issue included in 0.6.0 ? Because I tried the same thing I decribed above and got this :
And as mentioned earlier, installing
|
Thanks @Renaud11232 we must have a regression because the same command from my previous comment now crashes, reopening |
Same issue here. Bug ReportCurrent behaviorCommands (after running install.sh from 2019-11-19): arduino-cli core update-index --additional-urls https://tician.github.io/arbotix/package_trossen_arbotix_index.json
cd /tmp && arduino-cli sketch new MyFirstSketch
arduino-cli -v compile --fqbn arbotix:avr:arbotixAd MyFirstSketch Result:
Expected behaviorThis should compile. Environment
Additional context |
…ler - they don't need to be connected to perform the initial steps (#177)
I noticed a problem when I try compiling a sketch for a custom board.
Here is the output with the
--debug
flag:The problem does not appear when
arduino:avr
is installed.The text was updated successfully, but these errors were encountered: