Arduino IDE - internal compiler error: Segmentation fault
paulr4 opened this issue · 7 comments
I'm suffering from the problem raised in this forum post, resulting in a segmentation fault in the compiler. It goes away when downgrading to Arduino boards package 6.1.21 from 6.1.23.
Posts there indicate it's been fixed already, but is a release to the IDE anywhere on the horizon?
Sorry if this is the wrong place to ask, I'm not sure what else to do!
This is the proposed PR that includes all the latest goodies to fix toolchain 5.4.0 bugs arduino/Arduino#8976 .
The issue has been reported a lot of times so I'm closing as duplicate 😉
Thanks for the response, is it going to see the light of day soon or does it need further testing?
It still needs testing before becoming official, but reporting on that thread if it fixes your problems and eventually other info will speedup the merge.
I would be very happy to test it, but I'm afraid I don't know how... is there a guide anywhere that you can point me toward?
- Open this link: arduino/Arduino#8976 (comment)
- You will see a reply from ArduinoBot with a list of links to downloads of the test build of the Arduino IDE for each operating system. Click on the link for the operating system you're using.
- Wait for the download to finish.
- Extract the downloaded file
- Create a folder inside the unzipped folder named
portable. This will cause the test build of the Arduino IDE to run in portable mode so it uses the new version of Arduino AVR Boards instead of the 1.6.21 version you installed. - You will find the arduino executable inside the extracted folder. Run that to start the Arduino IDE.
Thanks, I'll give it a go!
I'm afraid the segmentation fault bug is very fickle and I couldn't recreate it even on the old build. If I run into it again I'll test the new build then.