unispeech / unimrcp

Open source cross-platform implementation of MRCP protocol
http://www.unimrcp.org
Apache License 2.0
374 stars 165 forks source link

unimrcp crash when timer reschedule #310

Closed MaxYinXB closed 1 year ago

MaxYinXB commented 2 years ago

unimrcp version: 1.2.0 FreeSWITCH version: 1.8.5

Using unimrcp for mrcp interaction within FreeSWITCH, but it crashed on timer reschedule, here is the bt 图片

line of 228 is:

图片

it looks like the memory address was corrupted.

by the way, we did not modify any code of unimrcp except apt_timers_reschedule which we showed.

any useful advice will be appreciated!

achaloyan commented 2 years ago

Please note that the latest version of UniMRCP is 1.7.0. I do not recall what was in 1.2.0.

Also, it is not very clear which component actually crashed in this scenario. Is it the client stack running within FS or UniMRCP server. If the latter, then the memory corruption might be caused by the use of a 3-rd party plugin which is loaded into the common address space.