Skip to content

StackOverflowError with Jep 4.2 #1428

Description

@jonathanindig

Jep released a new version - 4.2 - which seems to break things:

2023-12-20 16:31:23.039980500         |   java.lang.StackOverflowError
2023-12-20 16:31:23.040355500         |         at jep.Jep.init(Native Method)
2023-12-20 16:31:23.040579500         |         at jep.Jep.<init>(Jep.java:155)
2023-12-20 16:31:23.040745500         |         at jep.SharedInterpreter.<init>(SharedInterpreter.java:56)
2023-12-20 16:31:23.040891500         |         at polynote.kernel.interpreter.python.PythonInterpreter$.$anonfun$mkJep$3(PythonInterpreter.scala:1003)
2023-12-20 16:31:23.041029500         |         at zio.internal.FiberContext.evaluateNow(FiberContext.scala:490)
2023-12-20 16:31:23.041207500         |         at zio.internal.FiberContext.$anonfun$evaluateLater$1(FiberContext.scala:776)
2023-12-20 16:31:23.041338500         |         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
2023-12-20 16:31:23.041459500         |         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
2023-12-20 16:31:23.041578500         |         at java.lang.Thread.run(Thread.java:750)

We need to:

  1. Pin Jep to 4.1.1 (and should always be pinning Jep).
  2. Figure out why 4.2 breaks things.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpython

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions