Jitsi-videobridge *** Error in `java': double free or corruption (!prev): 0x00007f9c4801ef60 ***

Hi team.

I used loadbalancing jitsi-videobridge. But sometime a jitsi-videobridge stop reason *** Error in `java’: double free or corruption (!prev): 0x00007f9c4801ef60 ***. You can help me fix it.


We have seen this and in the past had spent some time trying to catch it, without much success. We didn’t have a scenario to reproduce it reliably.
Lately we started seeing it again and one option we are considering is switching meet.jit.si to use websockets.
The problem is with one of the native dependencies usrsctp, the code is here:

Do you have a reliable way to reproduce the issue?

One more update is that we are doing some update/re-write of the bridge and there this code is updated and extracted as a separate library: https://github.com/jitsi/sctp4j/ and there a more recent version of usrsctp is used.