consuming plain producer results in worker crush

I’m pushing video to mediasoup producer with gstremer. There is no problems with it if there is no consumers for the producer. But after about 80 seconds of consuming (video play perfectly whole time) mediasoup worker process dies with:

2022-12-13T09:44:20.633Z mediasoup:ERROR:Worker (stderr) (ABORT) RTC::RtpStreamSend::Insert() | failed assertion `this->buffer.size() <= MaxSeq': StorageItemBuffer contains more than 65535 entries
2022-12-13T09:44:20.835Z mediasoup:PayloadChannel Consumer PayloadChannel ended by the worker process
2022-12-13T09:44:20.836Z mediasoup:PayloadChannel Producer PayloadChannel ended by the worker process
2022-12-13T09:44:20.836Z mediasoup:Channel Consumer Channel ended by the worker process
2022-12-13T09:44:20.836Z mediasoup:Channel Producer Channel ended by the worker process
2022-12-13T09:44:20.837Z mediasoup:ERROR:Worker worker process died unexpectedly [pid:33, code:null, signal:SIGABRT]
2022-12-13T09:44:20.837Z mediasoup:Worker died() [error:Error: [pid:33, code:null, signal:SIGABRT]]

A crash is a bug. Follow steps in mediasoup :: Support and ensure you are using latest mediasoup version (you didn’t even say which version you use and there was already a bug like that fixed in the past).

First time I’ve got this bug on 3.9.9 then updated to 3.11.3 and reproduced it again.

Please follow steps I indicated above to properly report the issue in GH.

updated to 3.11.4 and submited consuming plain producer results in worker crush · Issue #975 · versatica/mediasoup · GitHub

Thanks, will take a look when possible.