I wanted to use Julia code in my Python script via PyJulia. However, every time the JIT run takes too long, so I turned to PackageCompiler.jl to make it faster by compiling the required functions into a system image. I noticed that after including the system image using
from julia.api import Julia
jl = Julia(sysimage="image.so", compiled_modules=False)
everything becomes much faster, however, running the above two lines still takes around 15 seconds. So I suspect it is because I did not precompile PyCall.jl. Then, I added PyCall.jl to the create_sysimage
function, and added using PyCall
to the precompile execution file. I was able to successfullly generate a system image, however, when I use the image in Python, I get the following error:
free(): invalid pointer
[2618459] signal (6.-6): Aborted
in expression starting at none:0
pthread_kill at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
raise at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
abort at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
unknown function (ip: 0x7fac4d489675)
unknown function (ip: 0x7fac4d4a0cfb)
unknown function (ip: 0x7fac4d4a2a43)
free at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
unknown function (ip: 0x4fc358)
_Py_DECREF at /usr/local/src/conda/python-3.9.18/Include/object.h:430 [inlined]
_Py_XDECREF at /usr/local/src/conda/python-3.9.18/Include/object.h:497 [inlined]
_PyImport_LoadDynamicModuleWithSpec at /usr/local/src/conda/python-3.9.18/Python/importdl.c:245 [inlined]
_imp_create_dynamic_impl at /usr/local/src/conda/python-3.9.18/Python/import.c:2302 [inlined]
_imp_create_dynamic at /usr/local/src/conda/python-3.9.18/Python/clinic/import.c.h:330
cfunction_vectorcall_FASTCALL at /usr/local/src/conda/python-3.9.18/Objects/methodobject.c:430
do_call_core at /usr/local/src/conda/python-3.9.18/Python/ceval.c:5097 [inlined]
_PyEval_EvalFrameDefault at /usr/local/src/conda/python-3.9.18/Python/ceval.c:3582
_PyEval_EvalFrame at /usr/local/src/conda/python-3.9.18/Include/internal/pycore_ceval.h:40 [inlined]
_PyEval_EvalCode at /usr/local/src/conda/python-3.9.18/Python/ceval.c:4329
_PyFunction_Vectorcall at /usr/local/src/conda/python-3.9.18/Objects/call.c:396
_PyObject_VectorcallTstate at /usr/local/src/conda/python-3.9.18/Include/cpython/abstract.h:118 [inlined]
PyObject_Vectorcall at /usr/local/src/conda/python-3.9.18/Include/cpython/abstract.h:127 [inlined]
call_function at /usr/local/src/conda/python-3.9.18/Python/ceval.c:5077 [inlined]
_PyEval_EvalFrameDefault at /usr/local/src/conda/python-3.9.18/Python/ceval.c:3489
_PyEval_EvalFrame at /usr/local/src/conda/python-3.9.18/Include/internal/pycore_ceval.h:40 [inlined]
function_code_fastcall at /usr/local/src/conda/python-3.9.18/Objects/call.c:330
_PyObject_VectorcallTstate at /usr/local/src/conda/python-3.9.18/Include/cpython/abstract.h:118 [inlined]
PyObject_Vectorcall at /usr/local/src/conda/python-3.9.18/Include/cpython/abstract.h:127 [inlined]
call_function at /usr/local/src/conda/python-3.9.18/Python/ceval.c:5077 [inlined]
_PyEval_EvalFrameDefault at /usr/local/src/conda/python-3.9.18/Python/ceval.c:3506
_PyEval_EvalFrame at /usr/local/src/conda/python-3.9.18/Include/internal/pycore_ceval.h:40 [inlined]
function_code_fastcall at /usr/local/src/conda/python-3.9.18/Objects/call.c:330
_PyObject_VectorcallTstate at /usr/local/src/conda/python-3.9.18/Include/cpython/abstract.h:118 [inlined]
PyObject_Vectorcall at /usr/local/src/conda/python-3.9.18/Include/cpython/abstract.h:127 [inlined]
call_function at /usr/local/src/conda/python-3.9.18/Python/ceval.c:5077 [inlined]
_PyEval_EvalFrameDefault at /usr/local/src/conda/python-3.9.18/Python/ceval.c:3520
_PyEval_EvalFrame at /usr/local/src/conda/python-3.9.18/Include/internal/pycore_ceval.h:40 [inlined]
function_code_fastcall at /usr/local/src/conda/python-3.9.18/Objects/call.c:330
_PyObject_VectorcallTstate at /usr/local/src/conda/python-3.9.18/Include/cpython/abstract.h:118 [inlined]
PyObject_Vectorcall at /usr/local/src/conda/python-3.9.18/Include/cpython/abstract.h:127 [inlined]
call_function at /usr/local/src/conda/python-3.9.18/Python/ceval.c:5077 [inlined]
_PyEval_EvalFrameDefault at /usr/local/src/conda/python-3.9.18/Python/ceval.c:3520
_PyEval_EvalFrame at /usr/local/src/conda/python-3.9.18/Include/internal/pycore_ceval.h:40 [inlined]
function_code_fastcall at /usr/local/src/conda/python-3.9.18/Objects/call.c:330
_PyObject_VectorcallTstate at /usr/local/src/conda/python-3.9.18/Include/cpython/abstract.h:118 [inlined]
PyObject_Vectorcall at /usr/local/src/conda/python-3.9.18/Include/cpython/abstract.h:127 [inlined]
call_function at /usr/local/src/conda/python-3.9.18/Python/ceval.c:5077 [inlined]
_PyEval_EvalFrameDefault at /usr/local/src/conda/python-3.9.18/Python/ceval.c:3520
_PyEval_EvalFrame at /usr/local/src/conda/python-3.9.18/Include/internal/pycore_ceval.h:40 [inlined]
function_code_fastcall at /usr/local/src/conda/python-3.9.18/Objects/call.c:330
_PyObject_VectorcallTstate at /usr/local/src/conda/python-3.9.18/Include/cpython/abstract.h:118 [inlined]
object_vacall at /usr/local/src/conda/python-3.9.18/Objects/call.c:792
_PyObject_CallMethodIdObjArgs at /usr/local/src/conda/python-3.9.18/Objects/call.c:883
import_find_and_load at /usr/local/src/conda/python-3.9.18/Python/import.c:1776 [inlined]
PyImport_ImportModuleLevelObject at /usr/local/src/conda/python-3.9.18/Python/import.c:1877
import_name at /usr/local/src/conda/python-3.9.18/Python/ceval.c:5198 [inlined]
_PyEval_EvalFrameDefault at /usr/local/src/conda/python-3.9.18/Python/ceval.c:3099
_PyEval_EvalFrame at /usr/local/src/conda/python-3.9.18/Include/internal/pycore_ceval.h:40 [inlined]
_PyEval_EvalCode at /usr/local/src/conda/python-3.9.18/Python/ceval.c:4329
_PyEval_EvalCodeWithName at /usr/local/src/conda/python-3.9.18/Python/ceval.c:4361
PyEval_EvalCodeEx at /usr/local/src/conda/python-3.9.18/Python/ceval.c:4377
PyEval_EvalCode at /usr/local/src/conda/python-3.9.18/Python/ceval.c:828
builtin_exec_impl at /usr/local/src/conda/python-3.9.18/Python/bltinmodule.c:1026 [inlined]
builtin_exec at /usr/local/src/conda/python-3.9.18/Python/clinic/bltinmodule.c.h:396
cfunction_vectorcall_FASTCALL at /usr/local/src/conda/python-3.9.18/Objects/methodobject.c:430
do_call_core at /usr/local/src/conda/python-3.9.18/Python/ceval.c:5097 [inlined]
_PyEval_EvalFrameDefault at /usr/local/src/conda/python-3.9.18/Python/ceval.c:3582
_PyEval_EvalFrame at /usr/local/src/conda/python-3.9.18/Include/internal/pycore_ceval.h:40 [inlined]
_PyEval_EvalCode at /usr/local/src/conda/python-3.9.18/Python/ceval.c:4329
_PyFunction_Vectorcall at /usr/local/src/conda/python-3.9.18/Objects/call.c:396
_PyObject_VectorcallTstate at /usr/local/src/conda/python-3.9.18/Include/cpython/abstract.h:118 [inlined]
PyObject_Vectorcall at /usr/local/src/conda/python-3.9.18/Include/cpython/abstract.h:127 [inlined]
call_function at /usr/local/src/conda/python-3.9.18/Python/ceval.c:5077 [inlined]
_PyEval_EvalFrameDefault at /usr/local/src/conda/python-3.9.18/Python/ceval.c:3489
_PyEval_EvalFrame at /usr/local/src/conda/python-3.9.18/Include/internal/pycore_ceval.h:40 [inlined]
function_code_fastcall at /usr/local/src/conda/python-3.9.18/Objects/call.c:330
_PyObject_VectorcallTstate at /usr/local/src/conda/python-3.9.18/Include/cpython/abstract.h:118 [inlined]
PyObject_Vectorcall at /usr/local/src/conda/python-3.9.18/Include/cpython/abstract.h:127 [inlined]
call_function at /usr/local/src/conda/python-3.9.18/Python/ceval.c:5077 [inlined]
_PyEval_EvalFrameDefault at /usr/local/src/conda/python-3.9.18/Python/ceval.c:3506
_PyEval_EvalFrame at /usr/local/src/conda/python-3.9.18/Include/internal/pycore_ceval.h:40 [inlined]
function_code_fastcall at /usr/local/src/conda/python-3.9.18/Objects/call.c:330
_PyObject_VectorcallTstate at /usr/local/src/conda/python-3.9.18/Include/cpython/abstract.h:118 [inlined]
PyObject_Vectorcall at /usr/local/src/conda/python-3.9.18/Include/cpython/abstract.h:127 [inlined]
call_function at /usr/local/src/conda/python-3.9.18/Python/ceval.c:5077 [inlined]
_PyEval_EvalFrameDefault at /usr/local/src/conda/python-3.9.18/Python/ceval.c:3520
_PyEval_EvalFrame at /usr/local/src/conda/python-3.9.18/Include/internal/pycore_ceval.h:40 [inlined]
function_code_fastcall at /usr/local/src/conda/python-3.9.18/Objects/call.c:330
_PyObject_VectorcallTstate at /usr/local/src/conda/python-3.9.18/Include/cpython/abstract.h:118 [inlined]
PyObject_Vectorcall at /usr/local/src/conda/python-3.9.18/Include/cpython/abstract.h:127 [inlined]
call_function at /usr/local/src/conda/python-3.9.18/Python/ceval.c:5077 [inlined]
_PyEval_EvalFrameDefault at /usr/local/src/conda/python-3.9.18/Python/ceval.c:3520
_PyEval_EvalFrame at /usr/local/src/conda/python-3.9.18/Include/internal/pycore_ceval.h:40 [inlined]
function_code_fastcall at /usr/local/src/conda/python-3.9.18/Objects/call.c:330
_PyObject_VectorcallTstate at /usr/local/src/conda/python-3.9.18/Include/cpython/abstract.h:118 [inlined]
object_vacall at /usr/local/src/conda/python-3.9.18/Objects/call.c:792
_PyObject_CallMethodIdObjArgs at /usr/local/src/conda/python-3.9.18/Objects/call.c:883
import_find_and_load at /usr/local/src/conda/python-3.9.18/Python/import.c:1776 [inlined]
PyImport_ImportModuleLevelObject at /usr/local/src/conda/python-3.9.18/Python/import.c:1877
import_name at /usr/local/src/conda/python-3.9.18/Python/ceval.c:5198 [inlined]
_PyEval_EvalFrameDefault at /usr/local/src/conda/python-3.9.18/Python/ceval.c:3099
_PyEval_EvalFrame at /usr/local/src/conda/python-3.9.18/Include/internal/pycore_ceval.h:40 [inlined]
_PyEval_EvalCode at /usr/local/src/conda/python-3.9.18/Python/ceval.c:4329
_PyEval_EvalCodeWithName at /usr/local/src/conda/python-3.9.18/Python/ceval.c:4361
PyEval_EvalCodeEx at /usr/local/src/conda/python-3.9.18/Python/ceval.c:4377
PyEval_EvalCode at /usr/local/src/conda/python-3.9.18/Python/ceval.c:828
builtin_exec_impl at /usr/local/src/conda/python-3.9.18/Python/bltinmodule.c:1026 [inlined]
builtin_exec at /usr/local/src/conda/python-3.9.18/Python/clinic/bltinmodule.c.h:396
cfunction_vectorcall_FASTCALL at /usr/local/src/conda/python-3.9.18/Objects/methodobject.c:430
do_call_core at /usr/local/src/conda/python-3.9.18/Python/ceval.c:5097 [inlined]
_PyEval_EvalFrameDefault at /usr/local/src/conda/python-3.9.18/Python/ceval.c:3582
_PyEval_EvalFrame at /usr/local/src/conda/python-3.9.18/Include/internal/pycore_ceval.h:40 [inlined]
_PyEval_EvalCode at /usr/local/src/conda/python-3.9.18/Python/ceval.c:4329
_PyFunction_Vectorcall at /usr/local/src/conda/python-3.9.18/Objects/call.c:396
_PyObject_VectorcallTstate at /usr/local/src/conda/python-3.9.18/Include/cpython/abstract.h:118 [inlined]
PyObject_Vectorcall at /usr/local/src/conda/python-3.9.18/Include/cpython/abstract.h:127 [inlined]
call_function at /usr/local/src/conda/python-3.9.18/Python/ceval.c:5077 [inlined]
_PyEval_EvalFrameDefault at /usr/local/src/conda/python-3.9.18/Python/ceval.c:3489
_PyEval_EvalFrame at /usr/local/src/conda/python-3.9.18/Include/internal/pycore_ceval.h:40 [inlined]
function_code_fastcall at /usr/local/src/conda/python-3.9.18/Objects/call.c:330
_PyObject_VectorcallTstate at /usr/local/src/conda/python-3.9.18/Include/cpython/abstract.h:118 [inlined]
PyObject_Vectorcall at /usr/local/src/conda/python-3.9.18/Include/cpython/abstract.h:127 [inlined]
call_function at /usr/local/src/conda/python-3.9.18/Python/ceval.c:5077 [inlined]
_PyEval_EvalFrameDefault at /usr/local/src/conda/python-3.9.18/Python/ceval.c:3506
_PyEval_EvalFrame at /usr/local/src/conda/python-3.9.18/Include/internal/pycore_ceval.h:40 [inlined]
function_code_fastcall at /usr/local/src/conda/python-3.9.18/Objects/call.c:330
_PyObject_VectorcallTstate at /usr/local/src/conda/python-3.9.18/Include/cpython/abstract.h:118 [inlined]
PyObject_Vectorcall at /usr/local/src/conda/python-3.9.18/Include/cpython/abstract.h:127 [inlined]
call_function at /usr/local/src/conda/python-3.9.18/Python/ceval.c:5077 [inlined]
_PyEval_EvalFrameDefault at /usr/local/src/conda/python-3.9.18/Python/ceval.c:3520
_PyEval_EvalFrame at /usr/local/src/conda/python-3.9.18/Include/internal/pycore_ceval.h:40 [inlined]
function_code_fastcall at /usr/local/src/conda/python-3.9.18/Objects/call.c:330
_PyObject_VectorcallTstate at /usr/local/src/conda/python-3.9.18/Include/cpython/abstract.h:118 [inlined]
PyObject_Vectorcall at /usr/local/src/conda/python-3.9.18/Include/cpython/abstract.h:127 [inlined]
call_function at /usr/local/src/conda/python-3.9.18/Python/ceval.c:5077 [inlined]
_PyEval_EvalFrameDefault at /usr/local/src/conda/python-3.9.18/Python/ceval.c:3520
_PyEval_EvalFrame at /usr/local/src/conda/python-3.9.18/Include/internal/pycore_ceval.h:40 [inlined]
function_code_fastcall at /usr/local/src/conda/python-3.9.18/Objects/call.c:330
_PyObject_VectorcallTstate at /usr/local/src/conda/python-3.9.18/Include/cpython/abstract.h:118 [inlined]
object_vacall at /usr/local/src/conda/python-3.9.18/Objects/call.c:792
_PyObject_CallMethodIdObjArgs at /usr/local/src/conda/python-3.9.18/Objects/call.c:883
import_find_and_load at /usr/local/src/conda/python-3.9.18/Python/import.c:1776 [inlined]
PyImport_ImportModuleLevelObject at /usr/local/src/conda/python-3.9.18/Python/import.c:1877
import_name at /usr/local/src/conda/python-3.9.18/Python/ceval.c:5198 [inlined]
_PyEval_EvalFrameDefault at /usr/local/src/conda/python-3.9.18/Python/ceval.c:3099
_PyEval_EvalFrame at /usr/local/src/conda/python-3.9.18/Include/internal/pycore_ceval.h:40 [inlined]
_PyEval_EvalCode at /usr/local/src/conda/python-3.9.18/Python/ceval.c:4329
_PyEval_EvalCodeWithName at /usr/local/src/conda/python-3.9.18/Python/ceval.c:4361
PyEval_EvalCodeEx at /usr/local/src/conda/python-3.9.18/Python/ceval.c:4377
PyEval_EvalCode at /usr/local/src/conda/python-3.9.18/Python/ceval.c:828
builtin_exec_impl at /usr/local/src/conda/python-3.9.18/Python/bltinmodule.c:1026 [inlined]
builtin_exec at /usr/local/src/conda/python-3.9.18/Python/clinic/bltinmodule.c.h:396
cfunction_vectorcall_FASTCALL at /usr/local/src/conda/python-3.9.18/Objects/methodobject.c:430
do_call_core at /usr/local/src/conda/python-3.9.18/Python/ceval.c:5097 [inlined]
_PyEval_EvalFrameDefault at /usr/local/src/conda/python-3.9.18/Python/ceval.c:3582
_PyEval_EvalFrame at /usr/local/src/conda/python-3.9.18/Include/internal/pycore_ceval.h:40 [inlined]
_PyEval_EvalCode at /usr/local/src/conda/python-3.9.18/Python/ceval.c:4329
_PyFunction_Vectorcall at /usr/local/src/conda/python-3.9.18/Objects/call.c:396
_PyObject_VectorcallTstate at /usr/local/src/conda/python-3.9.18/Include/cpython/abstract.h:118 [inlined]
PyObject_Vectorcall at /usr/local/src/conda/python-3.9.18/Include/cpython/abstract.h:127 [inlined]
call_function at /usr/local/src/conda/python-3.9.18/Python/ceval.c:5077 [inlined]
_PyEval_EvalFrameDefault at /usr/local/src/conda/python-3.9.18/Python/ceval.c:3489
_PyEval_EvalFrame at /usr/local/src/conda/python-3.9.18/Include/internal/pycore_ceval.h:40 [inlined]
function_code_fastcall at /usr/local/src/conda/python-3.9.18/Objects/call.c:330
_PyObject_VectorcallTstate at /usr/local/src/conda/python-3.9.18/Include/cpython/abstract.h:118 [inlined]
PyObject_Vectorcall at /usr/local/src/conda/python-3.9.18/Include/cpython/abstract.h:127 [inlined]
call_function at /usr/local/src/conda/python-3.9.18/Python/ceval.c:5077 [inlined]
_PyEval_EvalFrameDefault at /usr/local/src/conda/python-3.9.18/Python/ceval.c:3506
_PyEval_EvalFrame at /usr/local/src/conda/python-3.9.18/Include/internal/pycore_ceval.h:40 [inlined]
function_code_fastcall at /usr/local/src/conda/python-3.9.18/Objects/call.c:330
_PyObject_VectorcallTstate at /usr/local/src/conda/python-3.9.18/Include/cpython/abstract.h:118 [inlined]
PyObject_Vectorcall at /usr/local/src/conda/python-3.9.18/Include/cpython/abstract.h:127 [inlined]
call_function at /usr/local/src/conda/python-3.9.18/Python/ceval.c:5077 [inlined]
_PyEval_EvalFrameDefault at /usr/local/src/conda/python-3.9.18/Python/ceval.c:3520
_PyEval_EvalFrame at /usr/local/src/conda/python-3.9.18/Include/internal/pycore_ceval.h:40 [inlined]
function_code_fastcall at /usr/local/src/conda/python-3.9.18/Objects/call.c:330
_PyObject_VectorcallTstate at /usr/local/src/conda/python-3.9.18/Include/cpython/abstract.h:118 [inlined]
PyObject_Vectorcall at /usr/local/src/conda/python-3.9.18/Include/cpython/abstract.h:127 [inlined]
call_function at /usr/local/src/conda/python-3.9.18/Python/ceval.c:5077 [inlined]
_PyEval_EvalFrameDefault at /usr/local/src/conda/python-3.9.18/Python/ceval.c:3520
_PyEval_EvalFrame at /usr/local/src/conda/python-3.9.18/Include/internal/pycore_ceval.h:40 [inlined]
function_code_fastcall at /usr/local/src/conda/python-3.9.18/Objects/call.c:330
_PyObject_VectorcallTstate at /usr/local/src/conda/python-3.9.18/Include/cpython/abstract.h:118 [inlined]
object_vacall at /usr/local/src/conda/python-3.9.18/Objects/call.c:792
_PyObject_CallMethodIdObjArgs at /usr/local/src/conda/python-3.9.18/Objects/call.c:883
import_find_and_load at /usr/local/src/conda/python-3.9.18/Python/import.c:1776 [inlined]
PyImport_ImportModuleLevelObject at /usr/local/src/conda/python-3.9.18/Python/import.c:1877
import_name at /usr/local/src/conda/python-3.9.18/Python/ceval.c:5198 [inlined]
_PyEval_EvalFrameDefault at /usr/local/src/conda/python-3.9.18/Python/ceval.c:3099
_PyEval_EvalFrame at /usr/local/src/conda/python-3.9.18/Include/internal/pycore_ceval.h:40 [inlined]
_PyEval_EvalCode at /usr/local/src/conda/python-3.9.18/Python/ceval.c:4329
_PyEval_EvalCodeWithName at /usr/local/src/conda/python-3.9.18/Python/ceval.c:4361
PyEval_EvalCodeEx at /usr/local/src/conda/python-3.9.18/Python/ceval.c:4377
PyEval_EvalCode at /usr/local/src/conda/python-3.9.18/Python/ceval.c:828
builtin_exec_impl at /usr/local/src/conda/python-3.9.18/Python/bltinmodule.c:1026 [inlined]
builtin_exec at /usr/local/src/conda/python-3.9.18/Python/clinic/bltinmodule.c.h:396
cfunction_vectorcall_FASTCALL at /usr/local/src/conda/python-3.9.18/Objects/methodobject.c:430
do_call_core at /usr/local/src/conda/python-3.9.18/Python/ceval.c:5097 [inlined]
_PyEval_EvalFrameDefault at /usr/local/src/conda/python-3.9.18/Python/ceval.c:3582
_PyEval_EvalFrame at /usr/local/src/conda/python-3.9.18/Include/internal/pycore_ceval.h:40 [inlined]
_PyEval_EvalCode at /usr/local/src/conda/python-3.9.18/Python/ceval.c:4329
_PyFunction_Vectorcall at /usr/local/src/conda/python-3.9.18/Objects/call.c:396
_PyObject_VectorcallTstate at /usr/local/src/conda/python-3.9.18/Include/cpython/abstract.h:118 [inlined]
PyObject_Vectorcall at /usr/local/src/conda/python-3.9.18/Include/cpython/abstract.h:127 [inlined]
call_function at /usr/local/src/conda/python-3.9.18/Python/ceval.c:5077 [inlined]
_PyEval_EvalFrameDefault at /usr/local/src/conda/python-3.9.18/Python/ceval.c:3489
_PyEval_EvalFrame at /usr/local/src/conda/python-3.9.18/Include/internal/pycore_ceval.h:40 [inlined]
function_code_fastcall at /usr/local/src/conda/python-3.9.18/Objects/call.c:330
_PyObject_VectorcallTstate at /usr/local/src/conda/python-3.9.18/Include/cpython/abstract.h:118 [inlined]
PyObject_Vectorcall at /usr/local/src/conda/python-3.9.18/Include/cpython/abstract.h:127 [inlined]
call_function at /usr/local/src/conda/python-3.9.18/Python/ceval.c:5077 [inlined]
_PyEval_EvalFrameDefault at /usr/local/src/conda/python-3.9.18/Python/ceval.c:3506
_PyEval_EvalFrame at /usr/local/src/conda/python-3.9.18/Include/internal/pycore_ceval.h:40 [inlined]
function_code_fastcall at /usr/local/src/conda/python-3.9.18/Objects/call.c:330
_PyObject_VectorcallTstate at /usr/local/src/conda/python-3.9.18/Include/cpython/abstract.h:118 [inlined]
PyObject_Vectorcall at /usr/local/src/conda/python-3.9.18/Include/cpython/abstract.h:127 [inlined]
call_function at /usr/local/src/conda/python-3.9.18/Python/ceval.c:5077 [inlined]
_PyEval_EvalFrameDefault at /usr/local/src/conda/python-3.9.18/Python/ceval.c:3520
_PyEval_EvalFrame at /usr/local/src/conda/python-3.9.18/Include/internal/pycore_ceval.h:40 [inlined]
function_code_fastcall at /usr/local/src/conda/python-3.9.18/Objects/call.c:330
_PyObject_VectorcallTstate at /usr/local/src/conda/python-3.9.18/Include/cpython/abstract.h:118 [inlined]
PyObject_Vectorcall at /usr/local/src/conda/python-3.9.18/Include/cpython/abstract.h:127 [inlined]
call_function at /usr/local/src/conda/python-3.9.18/Python/ceval.c:5077 [inlined]
_PyEval_EvalFrameDefault at /usr/local/src/conda/python-3.9.18/Python/ceval.c:3520
_PyEval_EvalFrame at /usr/local/src/conda/python-3.9.18/Include/internal/pycore_ceval.h:40 [inlined]
function_code_fastcall at /usr/local/src/conda/python-3.9.18/Objects/call.c:330
_PyObject_VectorcallTstate at /usr/local/src/conda/python-3.9.18/Include/cpython/abstract.h:118 [inlined]
object_vacall at /usr/local/src/conda/python-3.9.18/Objects/call.c:792
_PyObject_CallMethodIdObjArgs at /usr/local/src/conda/python-3.9.18/Objects/call.c:883
import_find_and_load at /usr/local/src/conda/python-3.9.18/Python/import.c:1776 [inlined]
PyImport_ImportModuleLevelObject at /usr/local/src/conda/python-3.9.18/Python/import.c:1877
import_name at /usr/local/src/conda/python-3.9.18/Python/ceval.c:5198 [inlined]
_PyEval_EvalFrameDefault at /usr/local/src/conda/python-3.9.18/Python/ceval.c:3099
_PyEval_EvalFrame at /usr/local/src/conda/python-3.9.18/Include/internal/pycore_ceval.h:40 [inlined]
_PyEval_EvalCode at /usr/local/src/conda/python-3.9.18/Python/ceval.c:4329
_PyEval_EvalCodeWithName at /usr/local/src/conda/python-3.9.18/Python/ceval.c:4361
PyEval_EvalCodeEx at /usr/local/src/conda/python-3.9.18/Python/ceval.c:4377
PyEval_EvalCode at /usr/local/src/conda/python-3.9.18/Python/ceval.c:828
builtin_exec_impl at /usr/local/src/conda/python-3.9.18/Python/bltinmodule.c:1026 [inlined]
builtin_exec at /usr/local/src/conda/python-3.9.18/Python/clinic/bltinmodule.c.h:396
cfunction_vectorcall_FASTCALL at /usr/local/src/conda/python-3.9.18/Objects/methodobject.c:430
do_call_core at /usr/local/src/conda/python-3.9.18/Python/ceval.c:5097 [inlined]
_PyEval_EvalFrameDefault at /usr/local/src/conda/python-3.9.18/Python/ceval.c:3582
_PyEval_EvalFrame at /usr/local/src/conda/python-3.9.18/Include/internal/pycore_ceval.h:40 [inlined]
_PyEval_EvalCode at /usr/local/src/conda/python-3.9.18/Python/ceval.c:4329
_PyFunction_Vectorcall at /usr/local/src/conda/python-3.9.18/Objects/call.c:396
_PyObject_VectorcallTstate at /usr/local/src/conda/python-3.9.18/Include/cpython/abstract.h:118 [inlined]
PyObject_Vectorcall at /usr/local/src/conda/python-3.9.18/Include/cpython/abstract.h:127 [inlined]
call_function at /usr/local/src/conda/python-3.9.18/Python/ceval.c:5077 [inlined]
_PyEval_EvalFrameDefault at /usr/local/src/conda/python-3.9.18/Python/ceval.c:3489
_PyEval_EvalFrame at /usr/local/src/conda/python-3.9.18/Include/internal/pycore_ceval.h:40 [inlined]
function_code_fastcall at /usr/local/src/conda/python-3.9.18/Objects/call.c:330
_PyObject_VectorcallTstate at /usr/local/src/conda/python-3.9.18/Include/cpython/abstract.h:118 [inlined]
PyObject_Vectorcall at /usr/local/src/conda/python-3.9.18/Include/cpython/abstract.h:127 [inlined]
call_function at /usr/local/src/conda/python-3.9.18/Python/ceval.c:5077 [inlined]
_PyEval_EvalFrameDefault at /usr/local/src/conda/python-3.9.18/Python/ceval.c:3506
_PyEval_EvalFrame at /usr/local/src/conda/python-3.9.18/Include/internal/pycore_ceval.h:40 [inlined]
function_code_fastcall at /usr/local/src/conda/python-3.9.18/Objects/call.c:330
_PyObject_VectorcallTstate at /usr/local/src/conda/python-3.9.18/Include/cpython/abstract.h:118 [inlined]
PyObject_Vectorcall at /usr/local/src/conda/python-3.9.18/Include/cpython/abstract.h:127 [inlined]
call_function at /usr/local/src/conda/python-3.9.18/Python/ceval.c:5077 [inlined]
_PyEval_EvalFrameDefault at /usr/local/src/conda/python-3.9.18/Python/ceval.c:3520
_PyEval_EvalFrame at /usr/local/src/conda/python-3.9.18/Include/internal/pycore_ceval.h:40 [inlined]
function_code_fastcall at /usr/local/src/conda/python-3.9.18/Objects/call.c:330
_PyObject_VectorcallTstate at /usr/local/src/conda/python-3.9.18/Include/cpython/abstract.h:118 [inlined]
PyObject_Vectorcall at /usr/local/src/conda/python-3.9.18/Include/cpython/abstract.h:127 [inlined]
call_function at /usr/local/src/conda/python-3.9.18/Python/ceval.c:5077 [inlined]
_PyEval_EvalFrameDefault at /usr/local/src/conda/python-3.9.18/Python/ceval.c:3520
_PyEval_EvalFrame at /usr/local/src/conda/python-3.9.18/Include/internal/pycore_ceval.h:40 [inlined]
function_code_fastcall at /usr/local/src/conda/python-3.9.18/Objects/call.c:330
_PyObject_VectorcallTstate at /usr/local/src/conda/python-3.9.18/Include/cpython/abstract.h:118 [inlined]
object_vacall at /usr/local/src/conda/python-3.9.18/Objects/call.c:792
_PyObject_CallMethodIdObjArgs at /usr/local/src/conda/python-3.9.18/Objects/call.c:883
import_find_and_load at /usr/local/src/conda/python-3.9.18/Python/import.c:1776 [inlined]
PyImport_ImportModuleLevelObject at /usr/local/src/conda/python-3.9.18/Python/import.c:1877
builtin___import__ at /usr/local/src/conda/python-3.9.18/Python/bltinmodule.c:271
cfunction_call at /usr/local/src/conda/python-3.9.18/Objects/methodobject.c:543
_PyObject_MakeTpCall at /usr/local/src/conda/python-3.9.18/Objects/call.c:191
_PyObject_VectorcallTstate at /usr/local/src/conda/python-3.9.18/Include/cpython/abstract.h:116 [inlined]
_PyObject_VectorcallTstate at /usr/local/src/conda/python-3.9.18/Include/cpython/abstract.h:103 [inlined]
_PyObject_CallFunctionVa at /usr/local/src/conda/python-3.9.18/Objects/call.c:543 [inlined]
PyObject_CallFunction at /usr/local/src/conda/python-3.9.18/Objects/call.c:565
PyImport_Import at /usr/local/src/conda/python-3.9.18/Python/import.c:2078
PyImport_ImportModule at /usr/local/src/conda/python-3.9.18/Python/import.c:1493
_pyimport at /home/bolun/.julia/packages/PyCall/1gn3u/src/PyCall.jl:483
pyimport at /home/bolun/.julia/packages/PyCall/1gn3u/src/PyCall.jl:507
__init__ at /home/bolun/.julia/packages/PyCall/1gn3u/src/pyinit.jl:207
jfptr___init___132952 at /home/bolun/Documents/anyware-controller/anyware_controller/dc_utils/anyware_controller_pycall.so (unknown line)
_jl_invoke at /cache/build/builder-amdci4-6/julialang/julia-release-1-dot-10/src/gf.c:2894 [inlined]
ijl_apply_generic at /cache/build/builder-amdci4-6/julialang/julia-release-1-dot-10/src/gf.c:3076
jl_apply at /cache/build/builder-amdci4-6/julialang/julia-release-1-dot-10/src/julia.h:1982 [inlined]
jl_module_run_initializer at /cache/build/builder-amdci4-6/julialang/julia-release-1-dot-10/src/toplevel.c:76
_finish_julia_init at /cache/build/builder-amdci4-6/julialang/julia-release-1-dot-10/src/init.c:901
julia_init at /cache/build/builder-amdci4-6/julialang/julia-release-1-dot-10/src/init.c:844
ijl_init_with_image at /cache/build/builder-amdci4-6/julialang/julia-release-1-dot-10/src/jlapi.c:70 [inlined]
ijl_init_with_image at /cache/build/builder-amdci4-6/julialang/julia-release-1-dot-10/src/jlapi.c:59
ffi_call_unix64 at /home/bolun/miniconda3/envs/crx_env/lib/python3.9/lib-dynload/../../libffi.so.8 (unknown line)
ffi_call_int at /home/bolun/miniconda3/envs/crx_env/lib/python3.9/lib-dynload/../../libffi.so.8 (unknown line)
ffi_call at /home/bolun/miniconda3/envs/crx_env/lib/python3.9/lib-dynload/../../libffi.so.8 (unknown line)
_call_function_pointer at /usr/local/src/conda/python-3.9.18/Modules/_ctypes/callproc.c:920 [inlined]
_ctypes_callproc at /usr/local/src/conda/python-3.9.18/Modules/_ctypes/callproc.c:1263
PyCFuncPtr_call at /usr/local/src/conda/python-3.9.18/Modules/_ctypes/_ctypes.c:4201
_PyObject_MakeTpCall at python3 (unknown line)
_PyEval_EvalFrameDefault at python3 (unknown line)
unknown function (ip: 0x4e6b29)
unknown function (ip: 0x50508c)
_PyEval_EvalFrameDefault at python3 (unknown line)
unknown function (ip: 0x4e6b29)
_PyFunction_Vectorcall at python3 (unknown line)
_PyObject_FastCallDictTstate at python3 (unknown line)
unknown function (ip: 0x5027be)
_PyObject_MakeTpCall at python3 (unknown line)
_PyEval_EvalFrameDefault at python3 (unknown line)
unknown function (ip: 0x4e6b29)
_PyEval_EvalCodeWithName at python3 (unknown line)
PyEval_EvalCodeEx at python3 (unknown line)
PyEval_EvalCode at python3 (unknown line)
unknown function (ip: 0x5c1dc6)
unknown function (ip: 0x5bddcf)
unknown function (ip: 0x4d09df)
PyRun_InteractiveLoopFlags at python3 (unknown line)
unknown function (ip: 0x455a99)
unknown function (ip: 0x4529ff)
Py_BytesMain at python3 (unknown line)
unknown function (ip: 0x7fac4d429d8f)
__libc_start_main at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
unknown function (ip: 0x5885cd)
Allocations: 6637 (Pool: 6611; Big: 26); GC: 0
[1] 2618459 IOT instruction (core dumped) python3
Does anyone know what might be the issue? Thanks in advance!