Description
Console stops responding, apparently when it tries to alternate between System.err.println() and System.out.println(), it seems printing a long string can make the error happen more often.
Expected Behavior
Console should print stuff as it used to, it seems this bug started happening on Processing 3.3.5. Before that version, everything would print just fine without any errors.
Current Behavior
Console stops responding, pressing the Stop button, will make Processing print out a lot of exceptions, after that, the IDE becomes unusable, all buttons stop working, editor window stops accepting input, but you can still highlight stuff. After that, you're forced to open Task Manager and kill the process.

It seems also that the console sometimes will print in whatever order it wants, causing a jumbled mess of lines conflicting with each other and being printed in the same line, and sometimes printing empty lines.


Steps to Reproduce
This code should make it freeze consistently.
int previousSecond = 0;
long counter = 0;
void setup()
{
size(1280, 720, FX2D);
noSmooth();
frameRate(1000);
background(#000000);
}
void draw()
{
background(#000000);
currentSecond = second();
if (previousSecond != currentSecond)
{
System.err.println("TEST " + counter);
System.out.println("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz ");
counter++;
}
previousSecond = currentSecond;
}
Your Environment
- Processing version: 3.5.2
- Operating System and OS version: Windows 8.1 Pro 64-bit, Version 6.3 (Build 9600)
- Other information:
Possible Causes / Solutions
Description
Console stops responding, apparently when it tries to alternate between
System.err.println()andSystem.out.println(), it seems printing a long string can make the error happen more often.Expected Behavior
Console should print stuff as it used to, it seems this bug started happening on Processing 3.3.5. Before that version, everything would print just fine without any errors.
Current Behavior
Console stops responding, pressing the Stop button, will make Processing print out a lot of exceptions, after that, the IDE becomes unusable, all buttons stop working, editor window stops accepting input, but you can still highlight stuff. After that, you're forced to open Task Manager and kill the process.
It seems also that the console sometimes will print in whatever order it wants, causing a jumbled mess of lines conflicting with each other and being printed in the same line, and sometimes printing empty lines.
Steps to Reproduce
This code should make it freeze consistently.
Your Environment
Possible Causes / Solutions