Skip to content

[Bug] Failed to start BE with JDK 17. #33570

@adonis0147

Description

@adonis0147

Search before asking

  • I had searched in the issues and found no similar issues.

Version

Version: master

What's Wrong?

*** Query id: 0-0 ***
*** is nereids: 0 ***
*** tablet id: 0 ***
*** Aborted at 1712888611 (unix time) try "date -d @1712888611" if you are using GNU date ***
*** Current BE git commitID: fabd046 ***
*** SIGSEGV address not mapped to object (@0x180000) received by PID 48465 (TID 48492 OR 0x7f89cd3ff700) from PID 1572864; stack trace: ***
DEBUG   2024-04-12 02:23:31,145 196     org.apache.hadoop.security.Groups       [main]   Creating new Groups object
DEBUG   2024-04-12 02:23:31,146 197     org.apache.hadoop.util.NativeCodeLoader [main]  Trying to load the custom-built native-hadoop library...
OpenJDK 64-Bit Server VM warning: You have loaded library /doris/output/be/lib/hadoop_hdfs/native/libhadoop.so.1.0.0 which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
 0# doris::signal::(anonymous namespace)::FailureSignalHandler(int, siginfo_t*, void*) at /doris/be/src/common/signal_handler.h:421
 1# PosixSignals::chained_handler(int, siginfo*, void*) [clone .part.0] in /usr/lib/jvm/jdk-17.0.2/lib/server/libjvm.so
 2# JVM_handle_linux_signal in /usr/lib/jvm/jdk-17.0.2/lib/server/libjvm.so
 3# 0x00007F8A43516400 in /lib64/libc.so.6
 4# je_free_default at /doris/thirdparty/src/jemalloc-5.3.0/doris_build/../src/jemalloc.c:3014
 5# __pthread_create_2_1 in /lib64/libpthread.so.0
 6# os::create_thread(Thread*, os::ThreadType, unsigned long) in /usr/lib/jvm/jdk-17.0.2/lib/server/libjvm.so
 7# CompilerThread::CompilerThread(CompileQueue*, CompilerCounters*) in /usr/lib/jvm/jdk-17.0.2/lib/server/libjvm.so
 8# CompileBroker::make_thread(CompileBroker::ThreadType, _jobject*, CompileQueue*, AbstractCompiler*, JavaThread*) [clone .constprop.0] in /usr/lib/jvm/jdk-17.0.2/lib/server/libjvm.so
 9# CompileBroker::possibly_add_compiler_threads(JavaThread*) in /usr/lib/jvm/jdk-17.0.2/lib/server/libjvm.so
10# CompileBroker::compiler_thread_loop() in /usr/lib/jvm/jdk-17.0.2/lib/server/libjvm.so
11# JavaThread::thread_main_inner() in /usr/lib/jvm/jdk-17.0.2/lib/server/libjvm.so
12# Thread::call_run() in /usr/lib/jvm/jdk-17.0.2/lib/server/libjvm.so
13# thread_native_entry(Thread*) in /usr/lib/jvm/jdk-17.0.2/lib/server/libjvm.so
14# start_thread in /lib64/libpthread.so.0
15# clone in /lib64/libc.so.6

What You Expected?

Start BE with JDK 17 successfully.

How to Reproduce?

Use Docker development environment to build the project and start BE in the container.

docker pull apache/doris:build-env-ldb-toolchain-latest

Anything Else?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions