视频通话本地录制JAVA录制,退出录制后tomcat进程被动杀死,看下小伙伴是否有遇到过

系统版本:centos7.2 x64
SDK版本:Agora_Recording_SDK_for_Linux_v3.0.6_20210531-1622447901_972.tar
tomcat:9.0
JDK:1.8
错误提示:
onFirstRemoteVideoDecoded User:3716966001, width:640, height:480, elapsed:323
pre receiving audio status is false, now receiving audio status is true
pre receiving video status is false, now receiving video status is true
RecordingSDK onUserOffline uid:3716966001,offline reason:0
literal watermark : 0, timestamp watermark : 1, image watermark : 0
Thread-244 2021-09-22 21:22:16,766 INFO (CommonLog.java:24)- 其他用户离开当前频道回调
java call leaveChannel
Thread-244 2021-09-22 21:22:16,768 INFO (CommonLog.java:24)- 找到合成文件名为:0_20210922132213076.mp4

A fatal error has been detected by the Java Runtime Environment:

SIGSEGV (0xb) at pc=0x00007f34b8525900, pid=2022, tid=0x00007f34b833c700

JRE version: Java™ SE Runtime Environment (8.0_191-b12) (build 1.8.0_191-b12)

Java VM: Java HotSpot™ 64-Bit Server VM (25.191-b12 mixed mode linux-amd64 compressed oops)

Problematic frame:

C [librecording.so+0xe7900] agora::base::event_loop::remove_watcher(int, void*, void ()(int, void), void ()(int, void), void ()(int, void, int))+0x20

Failed to write core dump. Core dumps have been disabled. To enable core dumping, try “ulimit -c unlimited” before starting Java again

An error report file with more information is saved as:

/data/tomcat/agora-server-recording-11111/bin/hs_err_pid2022.log

If you would like to submit a bug report, please visit:

http://bugreport.java.com/bugreport/crash.jsp

我以前遇到过,当时是内存不足,你看看你这个是不是一样

1 个赞

你好,请问你指的是JVM设置的内存不足还是系统内存,我是还在做测试,只录了个1分多钟的视频,JVM最大给的4G,系统是有32G内存,服务器上并未运行其它的服务。

我当时是运行内存

好的,谢谢