ninia / jep

Embed Python in Java
Other
1.3k stars 147 forks source link

[libpython3.8.so.1.0+0xfc9e0] PyType_IsSubtype+0x0 #543

Open mwxiaomao opened 2 months ago

mwxiaomao commented 2 months ago

Describe the problem A clear and concise description of what the problem is.

Environment (please complete the following information):

When running the same script with different SubInterpreter class objects. First success, second failure, and program crash!The program is simple, only calling a network request API.

A fatal error has been detected by the Java Runtime Environment:

SIGSEGV (0xb) at pc=0x00007fdecd6d39e0, pid=11436, tid=0x00007fdf54eef700

JRE version: Java(TM) SE Runtime Environment (8.0_251-b08) (build 1.8.0_251-b08) Java VM: Java HotSpot(TM) 64-Bit Server VM (25.251-b08 mixed mode linux-amd64 compressed oops) Problematic frame: C [libpython3.8.so.1.0+0xfc9e0] PyType_IsSubtype+0x0

ndjensen commented 1 month ago

Since the program is simple, can you provide it or an example that replicates the crash so we can try to reproduce the crash? You listed that you weren't using Python packages, is that correct? Most likely the crash is related to a CPython extension module if you are using one.