Ant-Media-Server
Ant-Media-Server copied to clipboard
Server Crash Randomly
Short description
The server some time randomly crashes , we are publishing WebRTC stream to AMS
Environment
- Operating system and version:
- Java version:
- Ant Media Server version: 2.7.0 x86_64CPU op-mode(s): 32-bit
Steps to reproduce
We are publishing WebRTC and the server unexpectedly crashes some times. crash logs are attached in the issue 2023-11-22 03:34:33 is when the crash happens
Logs
You can download FULL logs here (includes syslog referencing sigint kill/ ABRT , includes ant-media-server.log s as well as antmedia-error-timestampped.log and hs_err_pid* log)
Ask your questions on Ant Media Github Discussions
The problem is about the following place. I think @lastpeony you encounter the same scenario with one of the user
Stack: [0x00007fd1b51d4000,0x00007fd1b52d5000], sp=0x00007fd1b52d2720, free space=1017k
Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [libjingle_peerconnection_so.so+0x6f3a80] webrtc::H264BitstreamParser::ParseNonParameterSetNalu(unsigned char const*, unsigned long, unsigned char)+0x4c0
C [libjingle_peerconnection_so.so+0x6f3c13] webrtc::H264BitstreamParser::ParseBitstream(rtc::ArrayView<unsigned char const, -4711l>)+0x63
C [libjingle_peerconnection_so.so+0x35ab88] webrtc::jni::VideoEncoderWrapper::ParseQp(rtc::ArrayView<unsigned char const, -4711l>)+0x78
C [libjingle_peerconnection_so.so+0x3591bc] webrtc::jni::VideoEncoderWrapper::OnEncodedFrame(JNIEnv_*, webrtc::JavaRef<_jobject*> const&)+0xec
"# Problematic frame:
# C [libjingle_peerconnection_so.so+0x6f3a80] webrtc::H264BitstreamParser::ParseNonParameterSetNalu(unsigned char const*, unsigned long, unsigned char)+0x4c0
..
..
Current thread (0x00007f95200d1000): JavaThread "ForkJoinPool.commonPool-worker-117" daemon [_thread_in_native, id=150201, stack(0x00007f8bd8bde000,0x00007f8bd8cde000)]
"
Let me close this. @USAMAWIZARD please reopen if it doesn't fix your issue.