Skip to content

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

Closed
@cmaglie

Description

@cmaglie

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.

Metadata

Metadata

Assignees

Labels

Component: PreprocessorThe Arduino sketch preprocessor converts .ino files into C++ code before compilation

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions