Open omerbitikcioglu opened 1 year ago
I tried with the Asterisk dialplan below.
[general]
autofallthrough = no
[from-internal]
exten =>100,1,Answer()
same => n(record),MRCPRecog(p=ums2&&t=5000&b=1&ct=0.7&spl=tr-TR)
same => n,GotoIf($["${RECOG_COMPLETION_CAUSE}" = "000"]?print:record) ; 000-> Success, 001-> No Match, 002-> No Input
same => n(print),Verbose(0, RESULT : ${CALLERID(num)}: ${RECOG_INSTANCE()})
same => n,Set(FILE(/tmp/asr_result_video.txt,,,al,u)=${CALLERID(num)}: ${RECOG_INSTANCE()})
same => n,Goto(record)
Both segmentation fault and memory leak errors occurred again.
WARNING (VoskAPI:~HashList():util/hash-list-inl.h:117) Possible memory leak: 5118 != 5120: you might have forgotten to call Delete on some Elems
ASSERTION_FAILED (VoskAPI:CuSubMatrix():cudamatrix/cu-matrix-inl.h:41) Assertion failed: (row_offset >= 0 && col_offset >= 0 && num_rows >= 0 && num_cols >= 0 && row_offset + num_rows <= mat.num_rows_ && col_offset + num_cols <= mat.num_cols_)
This is helpful, thank you!
Gdb debugging results:
![image](https://user-images.githubusercontent.com/31158429/189824454-a8012369-41c1-4516-9a81-d8823ddb79d9.png)
Memory leak:![image](https://user-images.githubusercontent.com/31158429/192951666-48161c46-c839-492b-ad36-347c997e0b5c.png)
I encountered a new error in a session: