stoneatom / stonedb

StoneDB is an Open-Source MySQL HTAP and MySQL-Native DataBase for OLTP, Real-Time Analytics, a counterpart of MySQLHeatWave. (https://stonedb.io)
https://stonedb.io/
GNU General Public License v2.0
862 stars 139 forks source link

bug: valgrind:possibly lost:1,329,176 bytes in 1 blocks are possibly lost in loss record 298 of 316 #65

Closed shangyanwen closed 2 years ago

shangyanwen commented 2 years ago

create_table.txt valgrind-stonedb.log Describe the problem

1,329,176 bytes in 1 blocks are possibly lost in loss record 298 of 316 at 0x483C855: malloc (vg_replace_malloc.c:381) by 0xD00314: ut_malloc_low(unsigned long, unsigned long) (ut0mem.cc:104) by 0xD90C3B: hash0_create(unsigned long) (hash0hash.cc:305) by 0xC538AF: lock_sys_create(unsigned long) (lock0lock.cc:618) by 0xCDBF8E: innobase_start_or_create_for_mysql() (srv0start.cc:1977) by 0xC27503: innobase_init(void) (ha_innodb.cc:3278) by 0x8A7787: ha_initialize_handlerton(st_plugin_int) (handler.cc:677) by 0x9FA745: plugin_initialize(st_plugin_int) (sql_plugin.cc:1137) by 0xA026CF: plugin_init(int, char, int) (sql_plugin.cc:1431) by 0x89E961: init_server_components() (mysqld.cc:4881) by 0x89FF59: mysqld_main(int, char) (mysqld.cc:5492) by 0x4B22082: (below main) (libc-start.c:308)

Expected behavior

no possibly lost

How To Reproduce

1、Create eight tables for TPCH 2、Generate 2G of test data 3、Import data into each of the eight tables(Import the way)

Environment

1、Ubuntu 20.04.4 2、valgrind-3.19.0 Additional context

See the attachment for creating tables 、 importing data、error log load_data.txt

shangyanwen commented 2 years ago

That's not a problem