[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] `primitiveScreenScaleFactor` broken on headless Linux/X11 VMs (Issue #625)

Christoph Thiede notifications at github.com
Mon Apr 25 10:51:40 UTC 2022


For a few days, `primitiveScreenScaleFactor` fails on headless Linux/X11 VMs. Reprocase:

1. Download and extract the latest AiO bundle from today
2. ```bash
   $ cat << EOF > test.st
   TranscriptStream redirectToStdOut: true.
   Transcript showln: DisplayScreen actualScreenScaleFactor asString.
   EOF
   $ ./squeak.sh --headless "$(realpath test.st)"
   ```
3. stack overflow:
   ```
   DisplayScreen>>#actualScreenScaleFactor
   
   stack page bytes 8192 available headroom 5576 minimum unused headroom 6016
   
           (Segmentation fault)
   Aborted (core dumped)
   ```

8 days again, this still worked. See also: https://github.com/LinqLover/create-image/actions/workflows/test.yml

@marceltaeumel Does this require a fix similar to 2a0e7851d0e057b06e77e64a58e155d9c7935e6a?

PS: I noted a still existing typo here: https://sourcegraph.com/search?q=context:global+ioSceenScaleFactor+repo:%5Egithub%5C.com/OpenSmalltalk/opensmalltalk-vm%24+&patternType=literal


-- 
Reply to this email directly or view it on GitHub:
https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/625
You are receiving this because you are subscribed to this thread.

Message ID: <OpenSmalltalk/opensmalltalk-vm/issues/625 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20220425/9398e5e8/attachment.html>


More information about the Vm-dev mailing list