Giter Site home page Giter Site logo

Comments (7)

fniephaus avatar fniephaus commented on June 13, 2024

Hi @fifthmonk, thanks for raising this. What's the console output when you run this? Can you run code headlessly (e.g., trufflesqueak --code "1 + 2 * 3")?

from trufflesqueak.

fifthmonk avatar fifthmonk commented on June 13, 2024

Please find the 2 console outputs below for your reference:

trufflesqueak --code "1 + 2 * 3"
[trufflesqueak] Running TruffleSqueak-22.1.0.image on GraalVM CE (latency mode)...
[trufflesqueak] Image loaded in 1242ms.
[trufflesqueak] Evaluating '1 + 2 * 3'...
[trufflesqueak] Result: 9

trufflesqueak --code "Smalltalk allClasses size"
[trufflesqueak] Running TruffleSqueak-22.1.0.image on GraalVM CE (latency mode)...
[trufflesqueak] Image loaded in 1337ms.
[trufflesqueak] Evaluating 'Smalltalk allClasses size'...
[trufflesqueak] Result: 3445

from trufflesqueak.

fniephaus avatar fniephaus commented on June 13, 2024

What does the output look like when you run without arguments / in headful mode? Also, could you try with GraalVM 22.0.0? Does TruffleSqueak 22.0.0 show a GUI?

from trufflesqueak.

fifthmonk avatar fifthmonk commented on June 13, 2024

The GUI shows up if running with GraalVM 22.0.0.2. If running with GraalVM 22.1, nothing display on the console after showing the message [trufflesqueak] Image loaded in XXXXms.

from trufflesqueak.

fniephaus avatar fniephaus commented on June 13, 2024

That's good to know! So it looks like there's a regression in 22.1.

Is there a SqueakDebug.log in the graalvm-ce-java11-22.1.0/languages/smalltalk/resources directory of your 22.1 installation? You can find the directory with dirname "$(trufflesqueak --print-image-path)". If there's a SqueakDebug.log, could you please share it here?

from trufflesqueak.

fifthmonk avatar fifthmonk commented on June 13, 2024

Unlike 22.0.0.2, there is no SqueakDebug.log file can be found under the directory /Library/Java/JavaVirtualMachines/graalvm-ce-java17-22.1.0/Contents/Home/languages/smalltalk/resources

from trufflesqueak.

fniephaus avatar fniephaus commented on June 13, 2024

Thanks for following up. I managed to reproduce this on macOS and traced it down to the language library launcher. Apparently, it does not allow AWT to function properly. I'm looking into a fix for the 22.2 release.

from trufflesqueak.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.