i got the following error when i try to use the AOT compiled function that returns jitclass
is there any method i could fix this
Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)
#!/usr/bin/env python3
from numba.pycc import CC
import numpy as np
from numba import njit
from numba.experimental.jitclass.decorators import jitclass
from numba import typeofcc = CC(‘test_sofile’)
@jitclass()
class OptionsTest():def __init__(self, ): pass def start(self): pass
@cc.export(‘test’, f’(i4,i4)')
def test_ori(a, b):
print(‘inside test function’)
return OptionsTest()if name == ‘main’:
# cc.compile() # print('DONE COMPILE') import test_sofile result = test_sofile.test(1, 2) print(result)