Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BE crashed in ASAN mode #44551

Closed
sduzh opened this issue Apr 22, 2024 · 0 comments · Fixed by #44526
Closed

BE crashed in ASAN mode #44551

sduzh opened this issue Apr 22, 2024 · 0 comments · Fixed by #44526
Labels
type/bug Something isn't working

Comments

@sduzh
Copy link
Contributor

sduzh commented Apr 22, 2024

Steps to reproduce the behavior (Required)

  1. Build BE with ASAN
  2. Deploy a StarRocks cluster in share data mode
  3. CREATE TABLE t1 (
    k1 bigint,
    c1 string
    )
    DUPLICATE KEY(k1)
    DISTRIBUTED BY HASH(k1) BUCKETS 3 PROPERTIES ("replication_num" = "3");
  4. insert into t1 values (1, 'a'), (1, 'b'), (1, 'c');
  5. select * from t1 where c1 like '%a';

Expected behavior (Required)

Real behavior (Required)

BE crashed.

be.out

*** Check failure stack trace: ***
main ASAN (build d15607e)
query_id:01deea9a-0073-11ef-94ec-00163e237f80, fragment_instance:01deea9a-0073-11ef-94ec-00163e237f89
tracker:process consumption: 7744
tracker:query_pool consumption: -7598080
tracker:query_pool/connector_scan consumption: 80470016
tracker:load consumption: 0
tracker:metadata consumption: 21175687
tracker:tablet_metadata consumption: 813685
tracker:rowset_metadata consumption: 0
tracker:segment_metadata consumption: 4307718
tracker:column_metadata consumption: 16054284
tracker:tablet_schema consumption: 813685
tracker:segment_zonemap consumption: 2307018
tracker:short_key_index consumption: 642355
tracker:column_zonemap_index consumption: 4154172
tracker:ordinal_index consumption: 3029552
tracker:bitmap_index consumption: 400
tracker:bloom_filter_index consumption: 0
tracker:compaction consumption: 0
tracker:schema_change consumption: 0
tracker:column_pool consumption: 0
tracker:page_cache consumption: 0
tracker:jit_cache consumption: 7744
tracker:update consumption: 0
tracker:chunk_allocator consumption: -8192
tracker:clone consumption: 0
tracker:consistency consumption: 0
tracker:datacache consumption: 48524863
tracker:replication consumption: 0
*** Aborted at 1713767942 (unix time) try "date -d @1713767942" if you are using GNU date ***
PC: @     0x7fc61285e387 __GI_raise
*** SIGABRT (@0x3e8000059ba) received by PID 22970 (TID 0x7fc4cf1a7700) from PID 22970; stack trace: ***
    @         0x187bece2 google::(anonymous namespace)::FailureSignalHandler()
    @     0x7fc61352d630 (unknown)
    @     0x7fc61285e387 __GI_raise
    @     0x7fc61285fa78 __GI_abort
    @          0xb732772 starrocks::failure_function()
    @         0x187b26bd google::LogMessage::Fail()
    @         0x187b4b2f google::LogMessage::SendToLog()
    @         0x187b220e google::LogMessage::Flush()
    @         0x187b5139 google::LogMessageFatal::~LogMessageFatal()
    @         0x13c1989b starrocks::DictMappingExpr::evaluate_checked()
    @         0x11fe36bc starrocks::ExprContext::evaluate()
    @         0x11fe2f09 starrocks::ExprContext::evaluate()
    @         0x1677d5cd starrocks::ColumnExprPredicate::evaluate()
    @         0x14c5901a starrocks::ColumnPredicateRewriter::_rewrite_expr_predicate()
    @         0x14c5631a starrocks::ColumnPredicateRewriter::_rewrite_predicate()
    @         0x14c51e11 starrocks::ColumnPredicateRewriter::rewrite_predicate()
    @         0x14907a14 starrocks::SegmentIterator::_rewrite_predicates()
    @         0x148f2dee starrocks::SegmentIterator::_init()
    @         0x148ffc2d starrocks::SegmentIterator::do_get_next()
    @          0xd0bb1e0 starrocks::ChunkIterator::get_next()
    @         0x14a8745f starrocks::ProjectionIterator::do_get_next()
    @          0xd0bb1e0 starrocks::ChunkIterator::get_next()
    @         0x16503276 starrocks::TimedChunkIterator::do_get_next()
    @          0xd0bb1e0 starrocks::ChunkIterator::get_next()
    @         0x14e14601 starrocks::lake::TabletReader::do_get_next()
    @          0xd0bb1e0 starrocks::ChunkIterator::get_next()
    @         0x170d1869 starrocks::connector::LakeDataSource::get_next()
    @          0xe638b44 starrocks::pipeline::ConnectorChunkSource::_read_chunk()
    @          0xf6d6dd8 starrocks::pipeline::ChunkSource::buffer_next_batch_chunks_blocking()
    @          0xe5cd46b _ZZN9starrocks8pipeline12ScanOperator18_trigger_next_scanEPNS_12RuntimeStateEiENKUlRT_E_clINS_9workgroup12YieldContextEEEDaS5_
    @          0xe5d3d3d _ZSt13__invoke_implIvRZN9starrocks8pipeline12ScanOperator18_trigger_next_scanEPNS0_12RuntimeStateEiEUlRT_E_JRNS0_9workgroup12YieldContextEEES5_St14__invoke_otherOT0_DpOT1_
    @          0xe5d3bd0 _ZSt10__invoke_rIvRZN9starrocks8pipeline12ScanOperator18_trigger_next_scanEPNS0_12RuntimeStateEiEUlRT_E_JRNS0_9workgroup12YieldContextEEENSt9enable_ifIX16is_invocable_r_vIS5_T0_DpT1_EES5_E4typeEOSD_DpOSE_

be.WARNING:

F0422 14:39:02.641013 23254 dictmapping_expr.cpp:46] Check failed: dict_func_expr == nullptr

StarRocks version (Required)

  • main #d15607ed894a573d1eec99c881e884dda264f517
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant