Open Rinzwind opened 6 months ago
Pharo version: Pharo 12 build 1474 with VM v10.1.1
I tried older versions as well. Pharo 8 build 1124 with VM version 202002121007 does not cause the logging of entries saying “Invalid actual_host_time received from display”. Pharo 9 build 1580 with VM v9.0.22 does cause such entries to be logged.
Just FYI, the biggest change there between Pharo 8 and Pharo 9 is the usage of SDL through FFI as a windowing system.
A problem I’ve been having with Pharo for quite some time now is that the macOS WindowServer sometimes crashes when using it. The display first freezes and remains frozen for a while, except for the mouse pointer which can still be moved around. Then the display briefly turns black after which the macOS login screen appears. After logging in again, a crash report for WindowServer can be found in the Console app, saying it was a “watchdog-triggered termination event”. I have so far not found a way to consistently reproduce such a crash. But I have noticed that the following Terminal command shows that every window update in Pharo causes an entry “Invalid actual_host_time received from display” to be logged, which is likely related and doesn’t seem to happen when running other applications:
It would help to know whether others get such entries as well. I’m using a MacBook Pro (13-inch, 2020, Four Thunderbolt 3 ports) with macOS v13.6.6. The display is the built-in one.
For an actual crash, there are log entries like in the following, indicating the watchdog was informed of the display(s) being stuck: