oceanbase / obdeploy

A deployer and package manager for OceanBase open-source software.
https://open.oceanbase.com
GNU General Public License v3.0
89 stars 133 forks source link

[Bug]: obd test sysbench obcluster error #143

Closed FrankXMX closed 1 year ago

FrankXMX commented 1 year ago

Please check the issue list for the same bug

Environment

- OB Version&commit_id or other module version&commit_id (e.g. observer V3.1.2 8b23a93):
- Hardware parameter:OS type & Compliler & CPU etc. 
- Others
[root@77aa13b9ca07 obd]# cat /etc/os-release
NAME="CentOS Linux"
VERSION="7 (AltArch)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (AltArch)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7:server"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7

Fast Reproduce Steps(Required)

obd test sysbench obcluster

Actual Behavior

[root@77aa13b9ca07 ~]# obd test sysbench obcluster Get local repositories and plugins ok Open ssh connection ok Cluster status check ok Connect to observer ok Optimize for stage test ok sysbench 1.0.20-cdafe71 (using bundled LuaJIT 2.1.0-beta2) Dropping table 'sbtest1'... Dropping table 'sbtest2'... Dropping table 'sbtest3'... Dropping table 'sbtest4'... Dropping table 'sbtest5'... Dropping table 'sbtest6'... Dropping table 'sbtest7'... Dropping table 'sbtest8'... Dropping table 'sbtest9'... Dropping table 'sbtest10'... Dropping table 'sbtest11'... Dropping table 'sbtest12'... Dropping table 'sbtest13'... Dropping table 'sbtest14'... Dropping table 'sbtest15'... Dropping table 'sbtest16'... Dropping table 'sbtest17'... Dropping table 'sbtest18'... Dropping table 'sbtest19'... Dropping table 'sbtest20'... Dropping table 'sbtest21'... Dropping table 'sbtest22'... Dropping table 'sbtest23'... Dropping table 'sbtest24'... Dropping table 'sbtest25'... Dropping table 'sbtest26'... Dropping table 'sbtest27'... Dropping table 'sbtest28'... Dropping table 'sbtest29'... Dropping table 'sbtest30'... Error in `sysbench': double free or corruption (!prev): 0x0000000004326920 ======= Backtrace: ========= /lib64/libc.so.6(+0x7d1ec)[0xfffbdf94d1ec] sysbench[0x419658] sysbench(db_connection_close+0x34)[0x40e52c] sysbench(db_connection_free+0x20)[0x40e66c] sysbench[0x438410] sysbench[0x457994] sysbench[0x433d70] sysbench[0x436754] sysbench[0x438598] sysbench[0x4396d0] sysbench[0x41e64c] sysbench[0x436b38] sysbench(lua_close+0x98)[0x41e9f0] sysbench[0x411df0] sysbench(sb_lua_done+0x24)[0x414300] sysbench(main+0x8c4)[0x409b2c] /lib64/libc.so.6(__libc_start_main+0xf0)[0xfffbdf8f1724] sysbench[0x40a0e4] ======= Memory map: ======== 00400000-004a0000 r-xp 00000000 fd:00 5097834 /usr/sysbench/bin/sysbench 004a0000-004b0000 r--p 00090000 fd:00 5097834 /usr/sysbench/bin/sysbench 004b0000-004c0000 rw-p 000a0000 fd:00 5097834 /usr/sysbench/bin/sysbench 004c0000-006c0000 rw-p 00000000 00:00 0 02270000-02280000 r-xp 00000000 00:00 0 04320000-04380000 rw-p 00000000 00:00 0 [heap] 4653996a0000-4653996e0000 rw-p 00000000 00:00 0 fffbd8000000-fffbd8030000 rw-p 00000000 00:00 0 fffbd8030000-fffbdc000000 ---p 00000000 00:00 0 fffbdf790000-fffbdf7a0000 r-xp 00000000 fd:00 4440487 /usr/lib64/libnss_files-2.17.so fffbdf7a0000-fffbdf7b0000 r--p 00000000 fd:00 4440487 /usr/lib64/libnss_files-2.17.so fffbdf7b0000-fffbdf7c0000 rw-p 00010000 fd:00 4440487 /usr/lib64/libnss_files-2.17.so fffbdf7c0000-fffbdf8d0000 rw-p 00000000 00:00 0 fffbdf8d0000-fffbdfa40000 r-xp 00000000 fd:00 4440344 /usr/lib64/libc-2.17.so fffbdfa40000-fffbdfa50000 r--p 00160000 fd:00 4440344 /usr/lib64/libc-2.17.so fffbdfa50000-fffbdfa60000 rw-p 00170000 fd:00 4440344 /usr/lib64/libc-2.17.so fffbdfa60000-fffbdfa80000 r-xp 00000000 fd:00 4440535 /usr/lib64/libpthread-2.17.so fffbdfa80000-fffbdfa90000 r--p 00010000 fd:00 4440535 /usr/lib64/libpthread-2.17.so fffbdfa90000-fffbdfaa0000 rw-p 00020000 fd:00 4440535 /usr/lib64/libpthread-2.17.so fffbdfaa0000-fffbdfac0000 r-xp 00000000 fd:00 5223226 /tmp/_MEIZTwpb4/libgcc_s.so.1 fffbdfac0000-fffbdfad0000 r--p 00010000 fd:00 5223226 /tmp/_MEIZTwpb4/libgcc_s.so.1 fffbdfad0000-fffbdfae0000 rw-p 00020000 fd:00 5223226 /tmp/_MEIZTwpb4/libgcc_s.so.1 fffbdfae0000-fffbdfb80000 r-xp 00000000 fd:00 4440458 /usr/lib64/libm-2.17.so fffbdfb80000-fffbdfb90000 r--p 00090000 fd:00 4440458 /usr/lib64/libm-2.17.so fffbdfb90000-fffbdfba0000 rw-p 000a0000 fd:00 4440458 /usr/lib64/libm-2.17.so fffbdfba0000-fffbdfbb0000 r-xp 00000000 fd:00 4440373 /usr/lib64/libdl-2.17.so fffbdfbb0000-fffbdfbc0000 r--p 00000000 fd:00 4440373 /usr/lib64/libdl-2.17.so fffbdfbc0000-fffbdfbd0000 rw-p 00010000 fd:00 4440373 /usr/lib64/libdl-2.17.so fffbdfbd0000-fffbdfc50000 r-xp 00000000 fd:00 4964761 /u01/obclient/lib/libobclnt.so.20 fffbdfc50000-fffbdfc60000 r--p 00070000 fd:00 4964761 /u01/obclient/lib/libobclnt.so.20 fffbdfc60000-fffbdfc70000 rw-p 00080000 fd:00 4964761 /u01/obclient/lib/libobclnt.so.20 fffbdfc70000-fffbdfc90000 rw-p 00000000 00:00 0 fffbdfc90000-fffbdfca0000 r--p 00000000 00:00 0 [vvar] fffbdfca0000-fffbdfcb0000 r-xp 00000000 00:00 0 [vdso] fffbdfcb0000-fffbdfcd0000 r-xp 00000000 fd:00 4440320 /usr/lib64/ld-2.17.so fffbdfcd0000-fffbdfce0000 r--p 00010000 fd:00 4440320 /usr/lib64/ld-2.17.so fffbdfce0000-fffbdfcf0000 rw-p 00020000 fd:00 4440320 /usr/lib64/ld-2.17.so ffffc80b0000-ffffc80e0000 rw-p 00000000 00:00 0 [stack] /bin/sh: line 1: 1313 Aborted (core dumped) sysbench oltp_point_select.lua --mysql-host=127.0.0.1 --mysql-port=2881 --mysql-user=root@test --mysql-db=test --table_size=20000 --tables=30 --threads=16 --time=60 --report-interval=10 --mysql-ignore-errors=1062 cleanup Recover ok See https://www.oceanbase.com/product/ob-deployer/error-codes .

Expected Behavior

No response

other information

环境是docker

hnwyllmm commented 1 year ago

找到问题的原因了,后面会推一个新的docker,多谢多谢