Hi,
I can also replicate it on Windows. I'm now trying to figure this
out for five hours. 😤
I checked all the (relevant) changes in the Gcode[Async]Driver et
al. Nothing.
When it happens, I see no obvious OpenPnP threads being blocked
in deadlock or similar.
But the AWT thread is blocked drawing a simple FillRect of the
last button being pressed. WTH?
The only other thing was the serial reader, being blocked for
read.
But that's supposed to be okay, since we always had a separate
reader thread. Right?
But then I remembered we changed it to have no timeout more than
a year ago. 🤔
https://github.com/openpnp/openpnp/pull/1378
So I reinserted that timeout.
And sure enough, it now works again!? 😲?
Anybody got an idea why this should be acting up like that after
a year? Could this be some obscure behavioral change in Java 11
(and above) vs. Java 8 we had before?
_Mark
Ref:
https://github.com/Fazecast/jSerialComm/wiki/Blocking-and-Semiblocking-Reading-Usage-Example
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/fc438b5f-83d0-46b9-8957-36578f6d52e8n%40googlegroups.com.
See
https://github.com/openpnp/openpnp/pull/1569
In a few minutes the new test version should be deloyed.
@Jim, @Tony, please test on your side, thanks! 💯
_Mark
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/c495c79a-af1a-9b3c-b8ca-7e4204aecdf8%40makr.zone.
Yep, see
https://github.com/openpnp/openpnp/pull/1569,
And then the discussion starting from here:
https://github.com/openpnp/openpnp/pull/1569#issuecomment-1627268331
More to come.
_Mark
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/6ac04086-298a-465d-9880-ac8a0aa0e8a4n%40googlegroups.com.
There is now yet another workaround version available. See the details here:
https://github.com/openpnp/openpnp/pull/1570
Allow for some minutes to deploy.
_Mark
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/931c2dfd-fc52-ceab-90c3-0c2297ba72c5%40makr.zone.
We're still on it...
https://github.com/Fazecast/jSerialComm/issues/505#issuecomment-1627665026
Looking good, will likely be able to soon upgrade jSeralComm to a new version that resolves all the issues.
_Mark
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/00908256-b61a-d7f8-63cf-6c1f9a9df506%40makr.zone.
The new jSerialComm version is now in the test version. Allow some minutes to deploy.
Details:
https://github.com/openpnp/openpnp/pull/1571
_Mark
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/ecd59223-b762-400e-9075-a2b1e65aedcan%40googlegroups.com.