MIP SDK Java Wrapper示例程序随机崩溃并生成核心转储
MIP SDK Java Wrapper 1.12.101随机崩溃问题排查求助
环境与问题概述
- 基于MIPSDK-File-Java-Basic示例程序,使用MIP SDK Java Wrapper 1.12.101版本解密AIP保护的Office文件
- 运行环境:Ubuntu 20.04虚拟机、RHEL 8镜像
- 现象:部分文件可成功解密,但程序随机崩溃并生成核心转储,无固定触发频率——有时启动后立即崩溃,有时解密上百个文件后才崩溃
Ubuntu 20.04崩溃日志
# # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00007fefe2b6fd46, pid=2721553, tid=2721672 # # JRE version: OpenJDK Runtime Environment (15.0.2+7) (build 15.0.2+7-27) # Java VM: OpenJDK 64-Bit Server VM (15.0.2+7-27, mixed mode, sharing, tiered, compressed oops, g1 gc, linux-amd64) # Problematic frame: # C [libpthread.so.0+0xdd46] pthread_rwlock_wrlock+0x16 # # Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E" (or dumping to /home/user/RMS_WORK/MIP/mip-sdk-nl-latest/mip-nl-sdk-test/core.2721553) # # If you would like to submit a bug report, please visit: # https://bugreport.java.com/bugreport/crash.jsp #
RHEL 8崩溃日志
# # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00007f1cd5b74c00, pid=59, tid=33672 # # JRE version: OpenJDK Runtime Environment (Red_Hat-17.0.6.0.10-3.el8_7) (17.0.6+10) (build 17.0.6+10-LTS) # Java VM: OpenJDK 64-Bit Server VM (Red_Hat-17.0.6.0.10-3.el8_7) (17.0.6+10-LTS, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64) # Problematic frame: # C [libmip_file_sdk.so+0x7f1c00] CPDF_Object::GetType() const+0xc # # Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E" (or dumping to /home/jboss/core.59) # # If you would like to submit a bug report, please visit: # https://bugzilla.redhat.com/enter_bug.cgi?product=Red%20Hat%20Enterprise%20Linux%208&component=java-17-openjdk #
疑问与求助
- 不确定上述错误指向,需要排查建议
libmip_file_sdk.so来自微软官网下载的mip_sdk_file_rhel8_1.12.101.tar.gz,崩溃是否由MIP SDK本身导致?
内容的提问来源于stack exchange,提问作者Minato Ng
相关产品推荐
相关产品推荐

