Skip to content

Commit bbac5ff

Browse files
committed
fix segmentation fault with Python 3.8 on Linux
- pass _dtalitemm_engine.DTALiteAPI as the function reference to be executed in the subprocess rather than calling it immediately that results into the segmentation fault.
1 parent 6368570 commit bbac5ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

path4gmns/dtaapi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ def DTALiteMultimodal():
178178
print('\nDTALite run starts\n')
179179

180180
try:
181-
proc_dta = Process(target=_dtalitemm_engine.DTALiteAPI())
181+
proc_dta = Process(target=_dtalitemm_engine.DTALiteAPI)
182182
proc_print = Process(target=_emit_log, args=('log_DTA.txt',))
183183

184184
proc_dta.start()

0 commit comments

Comments
 (0)