Skip to content

java.lang.StackOverflowError when preprocessing broken sketch [imported] #859

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
cmaglie opened this issue Nov 15, 2012 · 2 comments
Closed
Assignees
Labels
Component: Preprocessor The Arduino sketch preprocessor converts .ino files into C++ code before compilation
Milestone

Comments

@cmaglie
Copy link
Member

cmaglie commented Nov 15, 2012

This is Issue 859 moved from a Google Code project.
Added by 2012-03-15T17:11:38.000Z by [email protected].
Please review that bug for more context and additional comments, but update this bug.

Original labels: Type-Defect, Priority-Medium, Component-IDE

Original description

What steps will reproduce the problem?

  1. Open the attached testcase.ino sketch.
  2. Try to compile it. (Yes I know the code is gibberish)

What is the expected output? What do you see instead?
Expected:
For the original program, successful compilation(it compiles just fine if the Serial.println("test line is removed).
For the testcase, any error message originating from the compiler about broken source code.
Actual:
java.lang.StackOverflowError exception in some RegEx code, see errormsg-from-compiling-testcase.txt for the full output.

What version of the Arduino software are you using? On what operating
system? Which Arduino board are you using?
Arduino 1.0 and latest github version.
Win7 and Ubuntu linux.
Arduino Uno.

Please provide any additional information below.
The things that are commented out can not be deleted, then the process gets to the compilation stage.

@ffissore ffissore added the New label Feb 27, 2014
@ffissore ffissore added Preprocessor and removed New labels May 24, 2014
@ffissore ffissore self-assigned this Jan 28, 2015
@ffissore
Copy link
Contributor

Commented the original issue

@ffissore
Copy link
Contributor

Fixed by #3779

@ffissore ffissore added this to the Release 1.6.6 milestone Sep 11, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Preprocessor The Arduino sketch preprocessor converts .ino files into C++ code before compilation
Projects
None yet
Development

No branches or pull requests

2 participants