启动时发生意外的JVM崩溃-框架readdir_r + 0x36出现问题-启用了Apparmor

时间:2019-03-20 06:56:02

标签: java jvm apparmor jfr

启用了保护器时

每当我通过JVM参数打开JFR之后启动JVM时,JVM都会因以下错误而崩溃。

df23 = pd.DataFrame({'name':['MY NAME1', 'MY NAME2', 'MY NAME3','MY NAME4'],
                    'description': [['d1 d2 d3'], ['d4 d5 d6'], ['d7 d8 d9'],['a9 d0 t5']],
                   'specialties': ['green,red,blue', 'green,purple,pink', 'yellow,white,black,red,green', 'bub.tub,rub'],
                    })
df_work['name'] = [x for x in df_work['name'].map(lambda x: x.lower())]

我的JFR设置如下:

# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.181-b25 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [libc.so.6+0xc8556]  readdir_r+0x36
#

...
...

Stack: [0x00007fa86c86f000,0x00007fa86c970000],  sp=0x00007fa86c96eb20,  free space=1022k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [libc.so.6+0xc8556]  readdir_r+0x36
V  [libjvm.so+0x6a73d5]  Jfr::initialize_stage_one()+0xc5
V  [libjvm.so+0x6a8bcf]  JfrActivator::start_stage_one(Thread*)+0xf
V  [libjvm.so+0x6a8e8d]  JfrActivator::on_vm_init(Thread*)+0xcd
V  [libjvm.so+0xa7f8ca]  Threads::create_vm(JavaVMInitArgs*, bool*)+0xc0a
V  [libjvm.so+0x6d8d74]  JNI_CreateJavaVM+0x74
C  [libjli.so+0x797e]  JavaMain+0x9e
C  [libpthread.so.0+0x76ba]  start_thread+0xca

禁用Apparmor时 JVM启动没有任何错误。

我的要求是,我必须为我的应用启用Apparmor。我应该如何摆脱这个错误?

谢谢。

0 个答案:

没有答案