查询JFS数据FE会Crash,相关日志显示和AsyncProfiler有关

为了更快的定位您的问题,请提供以下信息,谢谢
【详述】

  1. 在Hive上执行:create table if not exists my_table(name string, age int) location ‘jfs://jfs-dev/project/test/test/my_table’;
  2. 在 StarRocks 上执行:CREATE EXTERNAL CATALOG hive_catalog
    PROPERTIES (
    “hive.metastore.type”=“hive”,
    “hive.metastore.uris”=“thrift://xxx”,
    “type”=“hive”
    )
  3. 在StarRocks上执行:select * from hive_catalog.test.my_table

执行 select * from hive_catalog.test.my_table 后,查询可以正常得到结果,但是几分钟后,FE Crash,必现。附件是 FE Crash 后的 hs_err_pid18030.log

在 fe.conf 中将以下两个配置项设置为false后,问题没有出现。
proc_profile_mem_enable=false
proc_profile_cpu_enable=false

【背景】做过哪些操作?
1)cp juicefs-hadoop-1.1.0.jar 到 fe/lib/
2) juicefs 相关配置添加到 core-site.xml,并放入到 fe/conf/
【业务影响】
【是否存算分离】否
【StarRocks版本】3.5.5
【集群规模】3fe(1 follower+2observer)+8be
【机器信息】
【联系方式】
【附件】
以下为 fe 的 hs_err_pid18030.log

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

SIGSEGV (0xb) at pc=0x00007f872802b0be, pid=18030, tid=18195

JRE version: Java™ SE Runtime Environment (17.0.12+8) (build 17.0.12+8-LTS-286)
Java VM: Java HotSpot™ 64-Bit Server VM (17.0.12+8-LTS-286, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
Problematic frame:
C [libasyncProfiler-2883791120800529731.so+0x1a0be]

Core dump will be written. Default location: Core dumps may be processed with “/usr/libexec/abrt-hook-ccpp %s %c %p %u %g %t e %P %I %h” (or dumping to /opt/starrocks/StarRocks-3.5.5-centos-amd64/core.18030)

If you would like to submit a bug report, please visit:
https://bugreport.java.com/bugreport/crash.jsp
The crash happened outside the Java Virtual Machine in native code.
See problematic frame for where to report the bug.

--------------- S U M M A R Y ------------

Command Line: -Dlog4j2.formatMsgNoLookups=true -Xmx16384m -XX:+UseG1GC -Xlog:gc*:/opt/starrocks/StarRocks-3.5.5-centos-amd64/fe/log/fe.gc.log.20250909-203317:time -XX:ErrorFile=/opt/starrocks/StarRocks-3.5.5-centos-amd64/fe/log/hs_err_pid%p.log -Djava.security.policy=/opt/starrocks/StarRocks-3.5.5-centos-amd64/fe/conf/udf_security.policy --add-exports=java.naming/com.sun.jndi.ldap=ALL-UNNAMED -Djdk.attach.allowAttachSelf=true com.starrocks.StarRocksFE

Host: Intel® Xeon® CPU E5-2620 v4 @ 2.10GHz, 32 cores, 125G, CentOS Linux release 7.9.2009 (Core)
Time: Tue Sep 9 20:45:25 2025 CST elapsed time: 727.828502 seconds (0d 0h 12m 7s)

--------------- T H R E A D ---------------

Current thread (0x00007f85c40ddda0): JavaThread “ProcProfileCollector” daemon [_thread_in_native, id=18195, stack(0x00007f856d8d9000,0x00007f856d9da000)]

Stack: [0x00007f856d8d9000,0x00007f856d9da000], sp=0x00007f856d9d7160, free space=1016k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [libasyncProfiler-2883791120800529731.so+0x1a0be]
C [libasyncProfiler-2883791120800529731.so+0x31721]
C [libasyncProfiler-2883791120800529731.so+0x3e03b]
C [libasyncProfiler-2883791120800529731.so+0x3e9c8]
C [libasyncProfiler-2883791120800529731.so+0x419fe]
C [libasyncProfiler-2883791120800529731.so+0x41f05] Java_one_profiler_AsyncProfiler_execute0+0x315
j one.profiler.AsyncProfiler.execute0(Ljava/lang/String;)Ljava/lang/String;+0
j one.profiler.AsyncProfiler.execute(Ljava/lang/String;)Ljava/lang/String;+14
j com.starrocks.memory.ProcProfileCollector.collectMemProfile()V+74
j com.starrocks.memory.ProcProfileCollector.runAfterCatalogReady()V+34
J 8648 c2 com.starrocks.common.util.FrontendDaemon.runOneCycle()V (42 bytes) @ 0x00007f876981d178 [0x00007f876981d120+0x0000000000000058]
j com.starrocks.common.util.Daemon.run()V+11
v ~StubRoutines::call_stub
V [libjvm.so+0x802cb5] JavaCalls::call_helper(JavaValue*, methodHandle const&, JavaCallArguments*, JavaThread*)+0x315
V [libjvm.so+0x8044e2] JavaCalls::call_virtual(JavaValue*, Handle, Klass*, Symbol*, Symbol*, JavaThread*)+0x1d2
V [libjvm.so+0x8ce963] thread_entry(JavaThread*, JavaThread*)+0xa3
V [libjvm.so+0xdb0cae] JavaThread::thread_main_inner()+0xce
V [libjvm.so+0xdb4636] Thread::call_run()+0xc6
V [libjvm.so+0xc038c1] thread_native_entry(Thread*)+0xe1

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j one.profiler.AsyncProfiler.execute0(Ljava/lang/String;)Ljava/lang/String;+0
j one.profiler.AsyncProfiler.execute(Ljava/lang/String;)Ljava/lang/String;+14
j com.starrocks.memory.ProcProfileCollector.collectMemProfile()V+74
j com.starrocks.memory.ProcProfileCollector.runAfterCatalogReady()V+34
J 8648 c2 com.starrocks.common.util.FrontendDaemon.runOneCycle()V (42 bytes) @ 0x00007f876981d178 [0x00007f876981d120+0x0000000000000058]
j com.starrocks.common.util.Daemon.run()V+11
v ~StubRoutines::call_stub

siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr: 0x00007f8400000002