提测后出现诡异错误,本地样例没问题

+ failed to receive response from observer: drop table Drop_table_1;. sql=drop table Drop_table_1;#0  __pthread_kill_implementation (no_tid=0, signo=6, threadid=139881188722240) at ./nptl/pthread_kill.c:44
#1  __pthread_kill_internal (signo=6, threadid=139881188722240) at ./nptl/pthread_kill.c:78
#2  __GI___pthread_kill (threadid=139881188722240, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#3  0x00007f38b12f3476 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#4  0x00007f38b12d97f3 in __GI_abort () at ./stdlib/abort.c:79
#5  0x00007f38b133a6f6 in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7f38b148cb8c "%s\n") at ../sysdeps/posix/libc_fatal.c:155
#6  0x00007f38b1351d7c in malloc_printerr (str=str@entry=0x7f38b148f710 "free(): double free detected in tcache 2") at ./malloc/malloc.c:5664
#7  0x00007f38b135412b in _int_free (av=0x7f389c000030, p=0x7f389c001cb0, have_lock=0) at ./malloc/malloc.c:4473
#8  0x00007f38b13564d3 in __GI___libc_free (mem=<optimized out>) at ./malloc/malloc.c:3391
#9  0x000055baedfbe578 in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string (this=0x7f38a0904a80, __in_chrg=<optimized out>) at /usr/include/c++/11/bits/basic_string.h:671
#10 Table::drop (this=this@entry=0x7f389c0018e0, trx=trx@entry=0x7f38940017e0, meta_file=0x7f3894001790 "./miniob/db/sys/Drop_table_1.table", name=name@entry=0x7f3894001850 "Drop_table_1") at /home/miniob/miniob_test/players/lccl/miniob/src/observer/storage/common/table.cpp:150
#11 0x000055baedfb95ac in Db::drop_table (this=0x55baeefca9a0, trx=trx@entry=0x7f38940017e0, table_name=0x7f3894001850 "Drop_table_1") at /usr/include/c++/11/bits/basic_string.h:194
#12 0x000055baedf9f512 in ExecuteStage::do_drop_table (this=<optimized out>, sql_event=<optimized out>) at /home/miniob/miniob_test/players/lccl/miniob/src/observer/sql/executor/execute_stage.cpp:490
#13 0x000055baedfa22c1 in ExecuteStage::handle_event (this=0x55baeefcb140, event=0x7f3894000db0) at /home/miniob/miniob_test/players/lccl/miniob/src/observer/sql/executor/execute_stage.cpp:113
#14 0x000055baedfa6926 in OptimizeStage::handle_event (this=0x55baeefcb510, event=0x7f3894000db0) at /home/miniob/miniob_test/players/lccl/miniob/src/observer/sql/optimizer/optimize_stage.cpp:87

似乎是重复释放统一资源?然而我本地测试没问题

很菜,但是很急()

1 个赞

本地时会出现的