-
Notifications
You must be signed in to change notification settings - Fork 5
[Bug]: DataStoreServiceClient::CopyBaseToArchive deserialize empty record #126
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
(gdb) bt
#0 0x00007f18c0bbf9fc in pthread_kill () from /mnt/ssd/eloqdoc-cluster-test/service/eloqdoc-cloud/bin/../lib/libc.so.6
#1 0x00007f18c0b6b476 in raise () from /mnt/ssd/eloqdoc-cluster-test/service/eloqdoc-cloud/bin/../lib/libc.so.6
#2 0x00007f18c0b517f3 in abort () from /mnt/ssd/eloqdoc-cluster-test/service/eloqdoc-cloud/bin/../lib/libc.so.6
#3 0x00007f18c21c4d6a in mi_try_new_handler (nothrow=false) at /mnt/ssd/eloqdoc-longevit/mimalloc/src/alloc.c:953
#4 mi_try_new_handler (nothrow=false) at /mnt/ssd/eloqdoc-longevit/mimalloc/src/alloc.c:948
#5 mi_heap_try_new (heap=0x7f189eb7b000, size=139732009189376, nothrow=<optimized out>) at /mnt/ssd/eloqdoc-longevit/mimalloc/src/alloc.c:966
#6 0x00007f18bfa3850c in __gnu_cxx::new_allocator<char>::allocate (__n=139732009189376, this=<optimized out>) at /usr/include/c++/11/ext/new_allocator.h:127
#7 std::allocator_traits<std::allocator<char> >::allocate (__n=139732009189376, __a=...) at /usr/include/c++/11/bits/alloc_traits.h:464
#8 std::_Vector_base<char, std::allocator<char> >::_M_allocate (this=<optimized out>, __n=<optimized out>) at /usr/include/c++/11/bits/stl_vector.h:346
#9 std::vector<char, std::allocator<char> >::_M_default_append (this=0x7f16a30a64e0, __n=139732009189376) at /usr/include/c++/11/bits/vector.tcc:635
#10 0x00007f18bcf6deaf in std::vector<char, std::allocator<char> >::resize (__new_size=139732009189376, this=0x7f16a30a64e0) at /usr/include/c++/11/bits/stl_vector.h:940
#11 Eloq::MongoRecord::Deserialize (this=0x7f16a30a64c0, buf=0x7f15e2983c48 "", offset=@0x7f189b2b2f58: 8) at src/mongo/db/modules/eloq/src/base/eloq_record.h:122
#12 0x00007f18bc5651e5 in EloqDS::DataStoreServiceClient::CopyBaseToArchive (this=0x32b715b0000, flush_task=...) at /mnt/ssd/eloqdoc-longevit/mongo/src/mongo/db/modules/eloq/store_handler/data_store_service_client.cpp:2388
#13 0x00007f18bcb77e7e in txservice::LocalCcShards::FlushData (this=0x32b707e4800, flush_worker_lk=...) at /mnt/ssd/eloqdoc-longevit/mongo/src/mongo/db/modules/eloq/tx_service/src/cc/local_cc_shards.cpp:5306
#14 0x00007f18bcb79263 in txservice::LocalCcShards::FlushDataWorker (this=0x32b707e4800) at /mnt/ssd/eloqdoc-longevit/mongo/src/mongo/db/modules/eloq/tx_service/src/cc/local_cc_shards.cpp:5510
#15 0x00007f18c0f4a253 in ?? () from /mnt/ssd/eloqdoc-cluster-test/service/eloqdoc-cloud/bin/../lib/libstdc++.so.6
#16 0x00007f18c0bbdac3 in ?? () from /mnt/ssd/eloqdoc-cluster-test/service/eloqdoc-cloud/bin/../lib/libc.so.6
#17 0x00007f18c0c4f8c0 in ?? () from /mnt/ssd/eloqdoc-cluster-test/service/eloqdoc-cloud/bin/../lib/libc.so.6
(gdb) p callback_data.key_str_
$15 = {_M_len = 0, _M_str = 0x7f18bc604446 ""}
(gdb) p callback_data.value_str_
$16 = {static npos = 18446744073709551615, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x7f15e2983c48 ""}, _M_string_length = 0, {_M_local_buf = "\000\200\305\344\025\177\000\000\000\000\000\000\340\037\000",
_M_allocated_capacity = 139732009189376}}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working