Skip to content

[BUG] BE may core when FE get_stream_load_record  #5912

@stdpain

Description

@stdpain

Describe the bug

palo_be: /home/users/fenghaoan/doris/thirdparty-gcc10/installed/include/rapidjson/document.h:1645: int rapidjson::GenericValue<Encoding, Allocator>::GetInt() const [with Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>]: Assertion `data_.f.flags & kIntFlag' failed.
*** Aborted at 1622017736 (unix time) try "date -d @1622017736" if you are using GNU date ***
PC: @     0x7fa5d73adf20 __GI_raise
*** SIGABRT (@0x550060000da32) received by PID 55858 (TID 0x7fa4e7a77700) from PID 55858; stack trace: ***
    @          0x41aaa52 google::(anonymous namespace)::FailureSignalHandler()
    @     0x7fa5d76851d0 (unknown)
    @     0x7fa5d73adf20 __GI_raise
    @     0x7fa5d7399523 __GI_abort
    @     0x7fa5d739940f __assert_fail_base.cold
    @     0x7fa5d73a6952 __GI___assert_fail
    @          0x2673621 rapidjson::GenericValue<>::GetInt()
    @          0x2b891d9 doris::StreamLoadContext::parse_stream_load_record()
    @          0x2ba9dd1 doris::BackendService::get_stream_load_record()
    @          0x2d06077 doris::BackendServiceProcessor::process_get_stream_load_record()
    @          0x2cfd223 doris::BackendServiceProcessor::dispatchCall()
    @          0x25c4b4f apache::thrift::TDispatchProcessor::process()
    @          0x4198355 apache::thrift::server::TConnectedClient::run()
    @          0x4194818 apache::thrift::concurrency::PthreadThread::threadMain()
    @     0x7fa5d767af84 start_thread
    @     0x7fa5d746addf __GI___clone

To Reproduce
Steps to reproduce the behavior:

  1. use stream load a file greater than 2G
  2. wait a long monment be will core

Expected behavior
Be shouldn't core

Version
master

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions