Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server Crash Randomly #5841

Closed
USAMAWIZARD opened this issue Nov 23, 2023 · 3 comments
Closed

Server Crash Randomly #5841

USAMAWIZARD opened this issue Nov 23, 2023 · 3 comments
Assignees

Comments

@USAMAWIZARD
Copy link
Contributor

USAMAWIZARD commented Nov 23, 2023

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

@mekya
Copy link
Contributor

mekya commented Nov 27, 2023

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

@USAMAWIZARD
Copy link
Contributor Author

USAMAWIZARD commented Feb 11, 2024


"# 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)]
"

@burak-58 burak-58 assigned mekya and unassigned lastpeony Feb 26, 2024
@burak-58
Copy link
Contributor

Let me close this. @USAMAWIZARD please reopen if it doesn't fix your issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

4 participants