Skip to content

Jython bundled inside AppStore package hanging on forkAndExec() - Java 21.0.5 #373

Description

@yogi1967

We have a Java Mac package that includes Jython. Recently, using AppStore version, it's started hanging on forkAndExec() when we get the PI to run a script. Using CMD-/ spits out this trace.

Using a normal (non AppStore) build it's fine.

I'm wondering what help / pointers you can offer to help me resolve? JY version is 2.7

"main" #1 [12803] prio=5 os_prio=31 cpu=949.00ms elapsed=52.24s tid=0x00007fe745016400 nid=12803 runnable [0x000070000eba0000]
java.lang.Thread.State: RUNNABLE
at java.lang.ProcessImpl.forkAndExec(java.base@21.0.5/Native Method)
at java.lang.ProcessImpl.(java.base@21.0.5/Unknown Source)
at java.lang.ProcessImpl.start(java.base@21.0.5/Unknown Source)
at java.lang.ProcessBuilder.start(java.base@21.0.5/Unknown Source)
at java.lang.ProcessBuilder.start(java.base@21.0.5/Unknown Source)
at org.python.core.PrePy.getCommandResult(PrePy.java:469)
at org.python.core.PySystemState.getConsoleEncoding(PySystemState.java:1019)
at org.python.core.PySystemState.initRegistry(PySystemState.java:981)
at org.python.core.PySystemState.doInitialize(PySystemState.java:1201)
- locked <0x00000004b3112b78> (a java.lang.Class for org.python.core.PySystemState)
at org.python.core.PySystemState.initialize(PySystemState.java:1130)
- locked <0x00000004b3112b78> (a java.lang.Class for org.python.core.PySystemState)
at org.python.core.PySystemState.initialize(PySystemState.java:1085)
- locked <0x00000004b3112b78> (a java.lang.Class for org.python.core.PySystemState)
at org.python.core.PySystemState.initialize(PySystemState.java:1080)
- locked <0x00000004b3112b78> (a java.lang.Class for org.python.core.PySystemState)
at org.python.util.PythonInterpreter.initialize(PythonInterpreter.java:63)
at com.moneydance.apps.md.controller.Main.getPythonInterpreter(Main.java:976)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions