Skip to content

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

@cmaglie

Description

@cmaglie

This is Issue 859 moved from a Google Code project.
Added by 2012-03-15T17:11:38.000Z by lars.j.nielsen@gmail.com.
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

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy