Skip to content

[Bug]: crashed at CcShard::UpdateLruList (tx_service/src/cc/cc_shard.cpp:830) on test eloqdoc index_update #340

@lzxddz

Description

@lzxddz
(gdb) bt
#0  0x0000735861537398 in txservice::CcShard::UpdateLruList (this=0x322f41a8c00, page=page@entry=0x735241963a30,
    is_emplace=is_emplace@entry=true)
    at /home/xiexy/eloqdoc/src/mongo/db/modules/eloq/data_substrate/tx_service/src/cc/cc_shard.cpp:830
#1  0x00007358644b8c45 in txservice::TemplateCcMap<Eloq::MongoKey, Eloq::MongoRecord, true, true>::FindEmplace (
    this=this@entry=0x3239c9e7c00, key=..., emplace=@0x73585d242f90: true, force_emplace=force_emplace@entry=false,
    read_only_req=read_only_req@entry=false)
    at src/mongo/db/modules/eloq/data_substrate/tx_service/include/cc/template_cc_map.h:10269
#2  0x00007358644bb2d3 in txservice::TemplateCcMap<Eloq::MongoKey, Eloq::MongoRecord, true, true>::FindEmplace (
    read_only_req=false, force_emplace=false, key=..., this=0x3239c9e7c00)
    at src/mongo/db/modules/eloq/data_substrate/tx_service/include/cc/template_cc_map.h:9509
#3  txservice::TemplateCcMap<Eloq::MongoKey, Eloq::MongoRecord, true, true>::Execute (this=0x3239c9e7c00, req=...)
    at src/mongo/db/modules/eloq/data_substrate/tx_service/include/cc/template_cc_map.h:331
#4  0x0000735861541619 in txservice::CcShard::ProcessRequests (this=0x322f41a8c00)
    at /home/xiexy/eloqdoc/src/mongo/db/modules/eloq/data_substrate/tx_service/src/cc/cc_shard.cpp:555
#5  0x00007358643f133f in txservice::LocalCcShards::ProcessRequests (thd_id=<optimized out>, this=<optimized out>)
    at src/mongo/db/modules/eloq/data_substrate/tx_service/include/cc/local_cc_shards.h:249
#6  txservice::TxProcessor::RunOneRound (this=0x322f4b4e000, active_cnt=@0x73585d243198: 0, req_cnt=@0x73585d2431a0: 0,
    yield=<optimized out>, shard_status=..., is_ext_proc=<optimized out>)
    at src/mongo/db/modules/eloq/data_substrate/tx_service/include/tx_service.h:407
#7  0x0000735861f2e1ec in txservice::TxServiceModule::Process (this=<optimized out>, thd_id=<optimized out>)
    at /home/xiexy/eloqdoc/src/mongo/db/modules/eloq/data_substrate/tx_service/include/tx_service.h:1095
#8  0x000073586882c22d in bthread::TaskGroup::ProcessModulesTask (this=this@entry=0x32300010000)
    at /home/xiexy/brpc/src/bthread/task_group.cpp:1292
#9  0x000073586882d2e5 in bthread::TaskGroup::wait_task (this=this@entry=0x32300010000, tid=tid@entry=0x73585d243330)
    at /home/xiexy/brpc/src/bthread/task_group.cpp:156
#10 0x000073586883039b in bthread::TaskGroup::run_main_task (this=this@entry=0x32300010000)
    at /home/xiexy/brpc/src/bthread/task_group.cpp:233
#11 0x0000735868829b4e in bthread::TaskControl::worker_thread (arg=0x322f4038000)
    at /home/xiexy/brpc/src/bthread/task_control.cpp:84
#12 0x0000735867e9caa4 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:447
#13 0x0000735867f29c6c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
(gdb) p page
$1 = (txservice::LruPage *) 0x735241963a30
(gdb) p *page
$2 = {lru_prev_ = 0x735241964ec0, lru_next_ = 0x0, parent_map_ = 0x0, last_access_ts_ = 0, last_dirty_commit_ts_ = 0,
  smallest_ttl_ = 0}
(gdb)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions