Regression in 1.8.10: Segfault in arduino-builder with -dump-prefs if no sketch is specified #341
Labels
conclusion: resolved
Issue was resolved
topic: code
Related to content of the project itself
type: imperfection
Perceived defect in any part of project
[tl;dr: In 1.8.10, something changed in arduino-builder such that -dump-prefs no longer works without a sketch and -build-path specified. On top of that, there's a segfault when trying to abspath....something if a -build-path is provided, but no sketch is provided.]
Hi folks,
We've been seeing some weird behavior with 1.8.10. It manifested at first as
As I dug in, I discovered that the deeper issue was that arduino-builder was segfaulting when I ran
arduino-builder -dump-prefs
with a -build-path without a sketch:With #337 and no sketch as an argument, I'm getting segfaults as the builder tries to abspath an empty string
The text was updated successfully, but these errors were encountered: