We are about to switch to a new forum software. Until then we have removed the registration on this forum.
1, Setup: Ubuntu 16.04 32bit Processor: AMD Athlon(tm) Processor LE-1640 RAM: 2GB Graphics: Gallium 0.4 on NV96
Damn i hadn't noticed that this is such a weak PC.
2, Code yelding the issue.
It works correctly a few times after Bootup. (2-3)
Then it gives back this error to console every time.
"Nativewindow X11 IOError: Display 0x98591f0 (:0): Resource temporarily unavailable"
And the script won't execute.
It also throws
"Could not run the sketch (Target VM failed to initialize).
For more information, read revisions.txt and Help → Troubleshooting."
And some internal classes where the Nativewindow method is used.
4, When it started happening. Just before i started getting the issue, there was a software update of ubuntu and I suspect it may have broken something with OpenGL rendering used in P3D, P2D.
EDIT: 5, I checked a game written in different Java compiler, also using OpenGL. And it worked, so it's processing only issue, And I compiled the above code to see if it still throws and it does..