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
865 stars 141 forks source link

bug: valgrind:possibly lost:2,097,152 bytes in 1 blocks are possibly lost in loss record 302 of 316 #63

Closed shangyanwen closed 2 years ago

shangyanwen commented 2 years ago

Describe the problem

2,097,152 bytes in 1 blocks are possibly lost in loss record 302 of 316 at 0x483C855: malloc (vg_replace_malloc.c:381) by 0xD00314: ut_malloc_low(unsigned long, unsigned long) (ut0mem.cc:104) by 0xC6473F: recv_sys_init(unsigned long) (log0recv.cc:411) by 0xCDC062: innobase_start_or_create_for_mysql() (srv0start.cc:2057) 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 valgrind-stonedb.log create_table.txt load_data.txt

shangyanwen commented 2 years ago

That's not a problem