Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
10.5, 10.6
-
None
Description
--source include/have_innodb.inc
|
|
call mtr.add_suppression("Found .* prepared XA transactions"); |
|
--connect (con1,localhost,root,,)
|
CREATE TABLE t1 (pk INT PRIMARY KEY, f TEXT, FULLTEXT(f)) ENGINE=InnoDB; |
XA BEGIN 'x'; |
INSERT INTO t1 VALUES (1,NULL); |
XA END 'x'; |
XA PREPARE 'x'; |
|
--connection default
|
--source include/restart_mysqld.inc
|
|
# Cleanup
|
XA COMMIT 'x'; |
DROP TABLE t1; |
10.5 ffc5d064 |
==1608796==ERROR: LeakSanitizer: detected memory leaks
|
|
Indirect leak of 1176 byte(s) in 1 object(s) allocated from:
|
#0 0x7f565f1ddbc8 in malloc (/lib/x86_64-linux-gnu/libasan.so.5+0x10dbc8)
|
#1 0x558bd40b4e34 in ut_allocator<unsigned char, true>::allocate(unsigned long, unsigned char const*, unsigned int, bool, bool) /data/src/10.5/storage/innobase/include/ut0new.h:377
|
#2 0x558bd428b7cd in mem_heap_create_block_func(mem_block_info_t*, unsigned long, char const*, unsigned int, unsigned long) /data/src/10.5/storage/innobase/mem/mem0mem.cc:277
|
#3 0x558bd482286a in mem_heap_create_func /data/src/10.5/storage/innobase/include/mem0mem.ic:375
|
#4 0x558bd48340cf in fts_trx_create(trx_t*) /data/src/10.5/storage/innobase/fts/fts0fts.cc:2218
|
#5 0x558bd4834f56 in fts_trx_add_op(trx_t*, dict_table_t*, unsigned long, fts_row_state, ib_vector_t*) /data/src/10.5/storage/innobase/fts/fts0fts.cc:2405
|
#6 0x558bd43fe15d in row_insert_for_mysql(unsigned char const*, row_prebuilt_t*, ins_mode_t) /data/src/10.5/storage/innobase/row/row0mysql.cc:1513
|
#7 0x558bd405b435 in ha_innobase::write_row(unsigned char const*) /data/src/10.5/storage/innobase/handler/ha_innodb.cc:7559
|
#8 0x558bd3554168 in handler::ha_write_row(unsigned char const*) /data/src/10.5/sql/handler.cc:7151
|
#9 0x558bd2c5f565 in write_record(THD*, TABLE*, st_copy_info*, select_result*) /data/src/10.5/sql/sql_insert.cc:2106
|
#10 0x558bd2c57022 in mysql_insert(THD*, TABLE_LIST*, List<Item>&, List<List<Item> >&, List<Item>&, List<Item>&, enum_duplicates, bool, select_result*) /data/src/10.5/sql/sql_insert.cc:1099
|
#11 0x558bd2d1f95d in mysql_execute_command(THD*) /data/src/10.5/sql/sql_parse.cc:4596
|
#12 0x558bd2d37e6b in mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) /data/src/10.5/sql/sql_parse.cc:8062
|
#13 0x558bd2d0e158 in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) /data/src/10.5/sql/sql_parse.cc:1889
|
#14 0x558bd2d0aa81 in do_command(THD*) /data/src/10.5/sql/sql_parse.cc:1370
|
#15 0x558bd314d35b in do_handle_one_connection(CONNECT*, bool) /data/src/10.5/sql/sql_connect.cc:1410
|
#16 0x558bd314ccbf in handle_one_connection /data/src/10.5/sql/sql_connect.cc:1312
|
#17 0x558bd3e5b200 in pfs_spawn_thread /data/src/10.5/storage/perfschema/pfs.cc:2201
|
#18 0x7f565ecef608 in start_thread /build/glibc-ZN95T4/glibc-2.31/nptl/pthread_create.c:477
|
|
Indirect leak of 87 byte(s) in 1 object(s) allocated from:
|
#0 0x7f565f1ddbc8 in malloc (/lib/x86_64-linux-gnu/libasan.so.5+0x10dbc8)
|
#1 0x558bd40b4e34 in ut_allocator<unsigned char, true>::allocate(unsigned long, unsigned char const*, unsigned int, bool, bool) /data/src/10.5/storage/innobase/include/ut0new.h:377
|
#2 0x558bd45c8688 in rbt_add_node(ib_rbt_t*, ib_rbt_bound_t*, void const*) /data/src/10.5/storage/innobase/ut/ut0rbt.cc:847
|
#3 0x558bd4834e5c in fts_trx_table_add_op /data/src/10.5/storage/innobase/fts/fts0fts.cc:2385
|
#4 0x558bd483507c in fts_trx_add_op(trx_t*, dict_table_t*, unsigned long, fts_row_state, ib_vector_t*) /data/src/10.5/storage/innobase/fts/fts0fts.cc:2411
|
#5 0x558bd43fe15d in row_insert_for_mysql(unsigned char const*, row_prebuilt_t*, ins_mode_t) /data/src/10.5/storage/innobase/row/row0mysql.cc:1513
|
#6 0x558bd405b435 in ha_innobase::write_row(unsigned char const*) /data/src/10.5/storage/innobase/handler/ha_innodb.cc:7559
|
#7 0x558bd3554168 in handler::ha_write_row(unsigned char const*) /data/src/10.5/sql/handler.cc:7151
|
#8 0x558bd2c5f565 in write_record(THD*, TABLE*, st_copy_info*, select_result*) /data/src/10.5/sql/sql_insert.cc:2106
|
#9 0x558bd2c57022 in mysql_insert(THD*, TABLE_LIST*, List<Item>&, List<List<Item> >&, List<Item>&, List<Item>&, enum_duplicates, bool, select_result*) /data/src/10.5/sql/sql_insert.cc:1099
|
#10 0x558bd2d1f95d in mysql_execute_command(THD*) /data/src/10.5/sql/sql_parse.cc:4596
|
#11 0x558bd2d37e6b in mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) /data/src/10.5/sql/sql_parse.cc:8062
|
#12 0x558bd2d0e158 in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) /data/src/10.5/sql/sql_parse.cc:1889
|
#13 0x558bd2d0aa81 in do_command(THD*) /data/src/10.5/sql/sql_parse.cc:1370
|
#14 0x558bd314d35b in do_handle_one_connection(CONNECT*, bool) /data/src/10.5/sql/sql_connect.cc:1410
|
#15 0x558bd314ccbf in handle_one_connection /data/src/10.5/sql/sql_connect.cc:1312
|
#16 0x558bd3e5b200 in pfs_spawn_thread /data/src/10.5/storage/perfschema/pfs.cc:2201
|
#17 0x7f565ecef608 in start_thread /build/glibc-ZN95T4/glibc-2.31/nptl/pthread_create.c:477
|
|
Indirect leak of 80 byte(s) in 1 object(s) allocated from:
|
#0 0x7f565f1dddc6 in calloc (/lib/x86_64-linux-gnu/libasan.so.5+0x10ddc6)
|
#1 0x558bd40b4df8 in ut_allocator<unsigned char, true>::allocate(unsigned long, unsigned char const*, unsigned int, bool, bool) /data/src/10.5/storage/innobase/include/ut0new.h:375
|
#2 0x558bd45c7c8d in rbt_create(unsigned long, int (*)(void const*, void const*)) /data/src/10.5/storage/innobase/ut/ut0rbt.cc:783
|
#3 0x558bd4834071 in fts_savepoint_create /data/src/10.5/storage/innobase/fts/fts0fts.cc:2201
|
#4 0x558bd4834277 in fts_trx_create(trx_t*) /data/src/10.5/storage/innobase/fts/fts0fts.cc:2236
|
#5 0x558bd4834f56 in fts_trx_add_op(trx_t*, dict_table_t*, unsigned long, fts_row_state, ib_vector_t*) /data/src/10.5/storage/innobase/fts/fts0fts.cc:2405
|
#6 0x558bd43fe15d in row_insert_for_mysql(unsigned char const*, row_prebuilt_t*, ins_mode_t) /data/src/10.5/storage/innobase/row/row0mysql.cc:1513
|
#7 0x558bd405b435 in ha_innobase::write_row(unsigned char const*) /data/src/10.5/storage/innobase/handler/ha_innodb.cc:7559
|
#8 0x558bd3554168 in handler::ha_write_row(unsigned char const*) /data/src/10.5/sql/handler.cc:7151
|
#9 0x558bd2c5f565 in write_record(THD*, TABLE*, st_copy_info*, select_result*) /data/src/10.5/sql/sql_insert.cc:2106
|
#10 0x558bd2c57022 in mysql_insert(THD*, TABLE_LIST*, List<Item>&, List<List<Item> >&, List<Item>&, List<Item>&, enum_duplicates, bool, select_result*) /data/src/10.5/sql/sql_insert.cc:1099
|
#11 0x558bd2d1f95d in mysql_execute_command(THD*) /data/src/10.5/sql/sql_parse.cc:4596
|
#12 0x558bd2d37e6b in mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) /data/src/10.5/sql/sql_parse.cc:8062
|
#13 0x558bd2d0e158 in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) /data/src/10.5/sql/sql_parse.cc:1889
|
#14 0x558bd2d0aa81 in do_command(THD*) /data/src/10.5/sql/sql_parse.cc:1370
|
#15 0x558bd314d35b in do_handle_one_connection(CONNECT*, bool) /data/src/10.5/sql/sql_connect.cc:1410
|
#16 0x558bd314ccbf in handle_one_connection /data/src/10.5/sql/sql_connect.cc:1312
|
#17 0x558bd3e5b200 in pfs_spawn_thread /data/src/10.5/storage/perfschema/pfs.cc:2201
|
#18 0x7f565ecef608 in start_thread /build/glibc-ZN95T4/glibc-2.31/nptl/pthread_create.c:477
|
|
Indirect leak of 80 byte(s) in 1 object(s) allocated from:
|
#0 0x7f565f1dddc6 in calloc (/lib/x86_64-linux-gnu/libasan.so.5+0x10ddc6)
|
#1 0x558bd40b4df8 in ut_allocator<unsigned char, true>::allocate(unsigned long, unsigned char const*, unsigned int, bool, bool) /data/src/10.5/storage/innobase/include/ut0new.h:375
|
#2 0x558bd45c7c8d in rbt_create(unsigned long, int (*)(void const*, void const*)) /data/src/10.5/storage/innobase/ut/ut0rbt.cc:783
|
#3 0x558bd4834071 in fts_savepoint_create /data/src/10.5/storage/innobase/fts/fts0fts.cc:2201
|
#4 0x558bd4845dc7 in fts_savepoint_laststmt_refresh(trx_t*) /data/src/10.5/storage/innobase/fts/fts0fts.cc:5479
|
#5 0x558bd459fc28 in trx_mark_sql_stat_end(trx_t*) /data/src/10.5/storage/innobase/trx/trx0trx.cc:1748
|
#6 0x558bd4047b87 in innobase_commit /data/src/10.5/storage/innobase/handler/ha_innodb.cc:4266
|
#7 0x558bd3524b60 in commit_one_phase_2 /data/src/10.5/sql/handler.cc:1941
|
#8 0x558bd352486b in ha_commit_one_phase(THD*, bool) /data/src/10.5/sql/handler.cc:1920
|
#9 0x558bd3522bbb in ha_commit_trans(THD*, bool) /data/src/10.5/sql/handler.cc:1714
|
#10 0x558bd31908c4 in trans_commit_stmt(THD*) /data/src/10.5/sql/transaction.cc:472
|
#11 0x558bd2d2ac6f in mysql_execute_command(THD*) /data/src/10.5/sql/sql_parse.cc:6083
|
#12 0x558bd2d37e6b in mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) /data/src/10.5/sql/sql_parse.cc:8062
|
#13 0x558bd2d0e158 in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) /data/src/10.5/sql/sql_parse.cc:1889
|
#14 0x558bd2d0aa81 in do_command(THD*) /data/src/10.5/sql/sql_parse.cc:1370
|
#15 0x558bd314d35b in do_handle_one_connection(CONNECT*, bool) /data/src/10.5/sql/sql_connect.cc:1410
|
#16 0x558bd314ccbf in handle_one_connection /data/src/10.5/sql/sql_connect.cc:1312
|
#17 0x558bd3e5b200 in pfs_spawn_thread /data/src/10.5/storage/perfschema/pfs.cc:2201
|
#18 0x7f565ecef608 in start_thread /build/glibc-ZN95T4/glibc-2.31/nptl/pthread_create.c:477
|
|
Indirect leak of 80 byte(s) in 1 object(s) allocated from:
|
#0 0x7f565f1dddc6 in calloc (/lib/x86_64-linux-gnu/libasan.so.5+0x10ddc6)
|
#1 0x558bd40b4df8 in ut_allocator<unsigned char, true>::allocate(unsigned long, unsigned char const*, unsigned int, bool, bool) /data/src/10.5/storage/innobase/include/ut0new.h:375
|
#2 0x558bd45c7c8d in rbt_create(unsigned long, int (*)(void const*, void const*)) /data/src/10.5/storage/innobase/ut/ut0rbt.cc:783
|
#3 0x558bd4834439 in fts_trx_table_create /data/src/10.5/storage/innobase/fts/fts0fts.cc:2270
|
#4 0x558bd48348b7 in fts_trx_init /data/src/10.5/storage/innobase/fts/fts0fts.cc:2333
|
#5 0x558bd4834ff3 in fts_trx_add_op(trx_t*, dict_table_t*, unsigned long, fts_row_state, ib_vector_t*) /data/src/10.5/storage/innobase/fts/fts0fts.cc:2408
|
#6 0x558bd43fe15d in row_insert_for_mysql(unsigned char const*, row_prebuilt_t*, ins_mode_t) /data/src/10.5/storage/innobase/row/row0mysql.cc:1513
|
#7 0x558bd405b435 in ha_innobase::write_row(unsigned char const*) /data/src/10.5/storage/innobase/handler/ha_innodb.cc:7559
|
#8 0x558bd3554168 in handler::ha_write_row(unsigned char const*) /data/src/10.5/sql/handler.cc:7151
|
#9 0x558bd2c5f565 in write_record(THD*, TABLE*, st_copy_info*, select_result*) /data/src/10.5/sql/sql_insert.cc:2106
|
#10 0x558bd2c57022 in mysql_insert(THD*, TABLE_LIST*, List<Item>&, List<List<Item> >&, List<Item>&, List<Item>&, enum_duplicates, bool, select_result*) /data/src/10.5/sql/sql_insert.cc:1099
|
#11 0x558bd2d1f95d in mysql_execute_command(THD*) /data/src/10.5/sql/sql_parse.cc:4596
|
#12 0x558bd2d37e6b in mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) /data/src/10.5/sql/sql_parse.cc:8062
|
#13 0x558bd2d0e158 in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) /data/src/10.5/sql/sql_parse.cc:1889
|
#14 0x558bd2d0aa81 in do_command(THD*) /data/src/10.5/sql/sql_parse.cc:1370
|
#15 0x558bd314d35b in do_handle_one_connection(CONNECT*, bool) /data/src/10.5/sql/sql_connect.cc:1410
|
#16 0x558bd314ccbf in handle_one_connection /data/src/10.5/sql/sql_connect.cc:1312
|
#17 0x558bd3e5b200 in pfs_spawn_thread /data/src/10.5/storage/perfschema/pfs.cc:2201
|
#18 0x7f565ecef608 in start_thread /build/glibc-ZN95T4/glibc-2.31/nptl/pthread_create.c:477
|
|
Indirect leak of 71 byte(s) in 1 object(s) allocated from:
|
#0 0x7f565f1ddbc8 in malloc (/lib/x86_64-linux-gnu/libasan.so.5+0x10dbc8)
|
#1 0x558bd40b4e34 in ut_allocator<unsigned char, true>::allocate(unsigned long, unsigned char const*, unsigned int, bool, bool) /data/src/10.5/storage/innobase/include/ut0new.h:377
|
#2 0x558bd45c8688 in rbt_add_node(ib_rbt_t*, ib_rbt_bound_t*, void const*) /data/src/10.5/storage/innobase/ut/ut0rbt.cc:847
|
#3 0x558bd48348f6 in fts_trx_init /data/src/10.5/storage/innobase/fts/fts0fts.cc:2334
|
#4 0x558bd4834ff3 in fts_trx_add_op(trx_t*, dict_table_t*, unsigned long, fts_row_state, ib_vector_t*) /data/src/10.5/storage/innobase/fts/fts0fts.cc:2408
|
#5 0x558bd43fe15d in row_insert_for_mysql(unsigned char const*, row_prebuilt_t*, ins_mode_t) /data/src/10.5/storage/innobase/row/row0mysql.cc:1513
|
#6 0x558bd405b435 in ha_innobase::write_row(unsigned char const*) /data/src/10.5/storage/innobase/handler/ha_innodb.cc:7559
|
#7 0x558bd3554168 in handler::ha_write_row(unsigned char const*) /data/src/10.5/sql/handler.cc:7151
|
#8 0x558bd2c5f565 in write_record(THD*, TABLE*, st_copy_info*, select_result*) /data/src/10.5/sql/sql_insert.cc:2106
|
#9 0x558bd2c57022 in mysql_insert(THD*, TABLE_LIST*, List<Item>&, List<List<Item> >&, List<Item>&, List<Item>&, enum_duplicates, bool, select_result*) /data/src/10.5/sql/sql_insert.cc:1099
|
#10 0x558bd2d1f95d in mysql_execute_command(THD*) /data/src/10.5/sql/sql_parse.cc:4596
|
#11 0x558bd2d37e6b in mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) /data/src/10.5/sql/sql_parse.cc:8062
|
#12 0x558bd2d0e158 in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) /data/src/10.5/sql/sql_parse.cc:1889
|
#13 0x558bd2d0aa81 in do_command(THD*) /data/src/10.5/sql/sql_parse.cc:1370
|
#14 0x558bd314d35b in do_handle_one_connection(CONNECT*, bool) /data/src/10.5/sql/sql_connect.cc:1410
|
#15 0x558bd314ccbf in handle_one_connection /data/src/10.5/sql/sql_connect.cc:1312
|
#16 0x558bd3e5b200 in pfs_spawn_thread /data/src/10.5/storage/perfschema/pfs.cc:2201
|
#17 0x7f565ecef608 in start_thread /build/glibc-ZN95T4/glibc-2.31/nptl/pthread_create.c:477
|
|
Indirect leak of 64 byte(s) in 1 object(s) allocated from:
|
#0 0x7f565f1dddc6 in calloc (/lib/x86_64-linux-gnu/libasan.so.5+0x10ddc6)
|
#1 0x558bd40b4df8 in ut_allocator<unsigned char, true>::allocate(unsigned long, unsigned char const*, unsigned int, bool, bool) /data/src/10.5/storage/innobase/include/ut0new.h:375
|
#2 0x558bd45c7f13 in rbt_create(unsigned long, int (*)(void const*, void const*)) /data/src/10.5/storage/innobase/ut/ut0rbt.cc:795
|
#3 0x558bd4834071 in fts_savepoint_create /data/src/10.5/storage/innobase/fts/fts0fts.cc:2201
|
#4 0x558bd4845dc7 in fts_savepoint_laststmt_refresh(trx_t*) /data/src/10.5/storage/innobase/fts/fts0fts.cc:5479
|
#5 0x558bd459fc28 in trx_mark_sql_stat_end(trx_t*) /data/src/10.5/storage/innobase/trx/trx0trx.cc:1748
|
#6 0x558bd4047b87 in innobase_commit /data/src/10.5/storage/innobase/handler/ha_innodb.cc:4266
|
#7 0x558bd3524b60 in commit_one_phase_2 /data/src/10.5/sql/handler.cc:1941
|
#8 0x558bd352486b in ha_commit_one_phase(THD*, bool) /data/src/10.5/sql/handler.cc:1920
|
#9 0x558bd3522bbb in ha_commit_trans(THD*, bool) /data/src/10.5/sql/handler.cc:1714
|
#10 0x558bd31908c4 in trans_commit_stmt(THD*) /data/src/10.5/sql/transaction.cc:472
|
#11 0x558bd2d2ac6f in mysql_execute_command(THD*) /data/src/10.5/sql/sql_parse.cc:6083
|
#12 0x558bd2d37e6b in mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) /data/src/10.5/sql/sql_parse.cc:8062
|
#13 0x558bd2d0e158 in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) /data/src/10.5/sql/sql_parse.cc:1889
|
#14 0x558bd2d0aa81 in do_command(THD*) /data/src/10.5/sql/sql_parse.cc:1370
|
#15 0x558bd314d35b in do_handle_one_connection(CONNECT*, bool) /data/src/10.5/sql/sql_connect.cc:1410
|
#16 0x558bd314ccbf in handle_one_connection /data/src/10.5/sql/sql_connect.cc:1312
|
#17 0x558bd3e5b200 in pfs_spawn_thread /data/src/10.5/storage/perfschema/pfs.cc:2201
|
#18 0x7f565ecef608 in start_thread /build/glibc-ZN95T4/glibc-2.31/nptl/pthread_create.c:477
|
|
Indirect leak of 64 byte(s) in 1 object(s) allocated from:
|
#0 0x7f565f1dddc6 in calloc (/lib/x86_64-linux-gnu/libasan.so.5+0x10ddc6)
|
#1 0x558bd40b4df8 in ut_allocator<unsigned char, true>::allocate(unsigned long, unsigned char const*, unsigned int, bool, bool) /data/src/10.5/storage/innobase/include/ut0new.h:375
|
#2 0x558bd45c7d58 in rbt_create(unsigned long, int (*)(void const*, void const*)) /data/src/10.5/storage/innobase/ut/ut0rbt.cc:788
|
#3 0x558bd4834439 in fts_trx_table_create /data/src/10.5/storage/innobase/fts/fts0fts.cc:2270
|
#4 0x558bd48348b7 in fts_trx_init /data/src/10.5/storage/innobase/fts/fts0fts.cc:2333
|
#5 0x558bd4834ff3 in fts_trx_add_op(trx_t*, dict_table_t*, unsigned long, fts_row_state, ib_vector_t*) /data/src/10.5/storage/innobase/fts/fts0fts.cc:2408
|
#6 0x558bd43fe15d in row_insert_for_mysql(unsigned char const*, row_prebuilt_t*, ins_mode_t) /data/src/10.5/storage/innobase/row/row0mysql.cc:1513
|
#7 0x558bd405b435 in ha_innobase::write_row(unsigned char const*) /data/src/10.5/storage/innobase/handler/ha_innodb.cc:7559
|
#8 0x558bd3554168 in handler::ha_write_row(unsigned char const*) /data/src/10.5/sql/handler.cc:7151
|
#9 0x558bd2c5f565 in write_record(THD*, TABLE*, st_copy_info*, select_result*) /data/src/10.5/sql/sql_insert.cc:2106
|
#10 0x558bd2c57022 in mysql_insert(THD*, TABLE_LIST*, List<Item>&, List<List<Item> >&, List<Item>&, List<Item>&, enum_duplicates, bool, select_result*) /data/src/10.5/sql/sql_insert.cc:1099
|
#11 0x558bd2d1f95d in mysql_execute_command(THD*) /data/src/10.5/sql/sql_parse.cc:4596
|
#12 0x558bd2d37e6b in mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) /data/src/10.5/sql/sql_parse.cc:8062
|
#13 0x558bd2d0e158 in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) /data/src/10.5/sql/sql_parse.cc:1889
|
#14 0x558bd2d0aa81 in do_command(THD*) /data/src/10.5/sql/sql_parse.cc:1370
|
#15 0x558bd314d35b in do_handle_one_connection(CONNECT*, bool) /data/src/10.5/sql/sql_connect.cc:1410
|
#16 0x558bd314ccbf in handle_one_connection /data/src/10.5/sql/sql_connect.cc:1312
|
#17 0x558bd3e5b200 in pfs_spawn_thread /data/src/10.5/storage/perfschema/pfs.cc:2201
|
#18 0x7f565ecef608 in start_thread /build/glibc-ZN95T4/glibc-2.31/nptl/pthread_create.c:477
|
|
Indirect leak of 64 byte(s) in 1 object(s) allocated from:
|
#0 0x7f565f1dddc6 in calloc (/lib/x86_64-linux-gnu/libasan.so.5+0x10ddc6)
|
#1 0x558bd40b4df8 in ut_allocator<unsigned char, true>::allocate(unsigned long, unsigned char const*, unsigned int, bool, bool) /data/src/10.5/storage/innobase/include/ut0new.h:375
|
#2 0x558bd45c7d58 in rbt_create(unsigned long, int (*)(void const*, void const*)) /data/src/10.5/storage/innobase/ut/ut0rbt.cc:788
|
#3 0x558bd4834071 in fts_savepoint_create /data/src/10.5/storage/innobase/fts/fts0fts.cc:2201
|
#4 0x558bd4845dc7 in fts_savepoint_laststmt_refresh(trx_t*) /data/src/10.5/storage/innobase/fts/fts0fts.cc:5479
|
#5 0x558bd459fc28 in trx_mark_sql_stat_end(trx_t*) /data/src/10.5/storage/innobase/trx/trx0trx.cc:1748
|
#6 0x558bd4047b87 in innobase_commit /data/src/10.5/storage/innobase/handler/ha_innodb.cc:4266
|
#7 0x558bd3524b60 in commit_one_phase_2 /data/src/10.5/sql/handler.cc:1941
|
#8 0x558bd352486b in ha_commit_one_phase(THD*, bool) /data/src/10.5/sql/handler.cc:1920
|
#9 0x558bd3522bbb in ha_commit_trans(THD*, bool) /data/src/10.5/sql/handler.cc:1714
|
#10 0x558bd31908c4 in trans_commit_stmt(THD*) /data/src/10.5/sql/transaction.cc:472
|
#11 0x558bd2d2ac6f in mysql_execute_command(THD*) /data/src/10.5/sql/sql_parse.cc:6083
|
#12 0x558bd2d37e6b in mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) /data/src/10.5/sql/sql_parse.cc:8062
|
#13 0x558bd2d0e158 in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) /data/src/10.5/sql/sql_parse.cc:1889
|
#14 0x558bd2d0aa81 in do_command(THD*) /data/src/10.5/sql/sql_parse.cc:1370
|
#15 0x558bd314d35b in do_handle_one_connection(CONNECT*, bool) /data/src/10.5/sql/sql_connect.cc:1410
|
#16 0x558bd314ccbf in handle_one_connection /data/src/10.5/sql/sql_connect.cc:1312
|
#17 0x558bd3e5b200 in pfs_spawn_thread /data/src/10.5/storage/perfschema/pfs.cc:2201
|
#18 0x7f565ecef608 in start_thread /build/glibc-ZN95T4/glibc-2.31/nptl/pthread_create.c:477
|
|
Indirect leak of 64 byte(s) in 1 object(s) allocated from:
|
#0 0x7f565f1dddc6 in calloc (/lib/x86_64-linux-gnu/libasan.so.5+0x10ddc6)
|
#1 0x558bd40b4df8 in ut_allocator<unsigned char, true>::allocate(unsigned long, unsigned char const*, unsigned int, bool, bool) /data/src/10.5/storage/innobase/include/ut0new.h:375
|
#2 0x558bd45c7f13 in rbt_create(unsigned long, int (*)(void const*, void const*)) /data/src/10.5/storage/innobase/ut/ut0rbt.cc:795
|
#3 0x558bd4834439 in fts_trx_table_create /data/src/10.5/storage/innobase/fts/fts0fts.cc:2270
|
#4 0x558bd48348b7 in fts_trx_init /data/src/10.5/storage/innobase/fts/fts0fts.cc:2333
|
#5 0x558bd4834ff3 in fts_trx_add_op(trx_t*, dict_table_t*, unsigned long, fts_row_state, ib_vector_t*) /data/src/10.5/storage/innobase/fts/fts0fts.cc:2408
|
#6 0x558bd43fe15d in row_insert_for_mysql(unsigned char const*, row_prebuilt_t*, ins_mode_t) /data/src/10.5/storage/innobase/row/row0mysql.cc:1513
|
#7 0x558bd405b435 in ha_innobase::write_row(unsigned char const*) /data/src/10.5/storage/innobase/handler/ha_innodb.cc:7559
|
#8 0x558bd3554168 in handler::ha_write_row(unsigned char const*) /data/src/10.5/sql/handler.cc:7151
|
#9 0x558bd2c5f565 in write_record(THD*, TABLE*, st_copy_info*, select_result*) /data/src/10.5/sql/sql_insert.cc:2106
|
#10 0x558bd2c57022 in mysql_insert(THD*, TABLE_LIST*, List<Item>&, List<List<Item> >&, List<Item>&, List<Item>&, enum_duplicates, bool, select_result*) /data/src/10.5/sql/sql_insert.cc:1099
|
#11 0x558bd2d1f95d in mysql_execute_command(THD*) /data/src/10.5/sql/sql_parse.cc:4596
|
#12 0x558bd2d37e6b in mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) /data/src/10.5/sql/sql_parse.cc:8062
|
#13 0x558bd2d0e158 in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) /data/src/10.5/sql/sql_parse.cc:1889
|
#14 0x558bd2d0aa81 in do_command(THD*) /data/src/10.5/sql/sql_parse.cc:1370
|
#15 0x558bd314d35b in do_handle_one_connection(CONNECT*, bool) /data/src/10.5/sql/sql_connect.cc:1410
|
#16 0x558bd314ccbf in handle_one_connection /data/src/10.5/sql/sql_connect.cc:1312
|
#17 0x558bd3e5b200 in pfs_spawn_thread /data/src/10.5/storage/perfschema/pfs.cc:2201
|
#18 0x7f565ecef608 in start_thread /build/glibc-ZN95T4/glibc-2.31/nptl/pthread_create.c:477
|
|
Indirect leak of 64 byte(s) in 1 object(s) allocated from:
|
#0 0x7f565f1dddc6 in calloc (/lib/x86_64-linux-gnu/libasan.so.5+0x10ddc6)
|
#1 0x558bd40b4df8 in ut_allocator<unsigned char, true>::allocate(unsigned long, unsigned char const*, unsigned int, bool, bool) /data/src/10.5/storage/innobase/include/ut0new.h:375
|
#2 0x558bd45c7f13 in rbt_create(unsigned long, int (*)(void const*, void const*)) /data/src/10.5/storage/innobase/ut/ut0rbt.cc:795
|
#3 0x558bd4834071 in fts_savepoint_create /data/src/10.5/storage/innobase/fts/fts0fts.cc:2201
|
#4 0x558bd4834277 in fts_trx_create(trx_t*) /data/src/10.5/storage/innobase/fts/fts0fts.cc:2236
|
#5 0x558bd4834f56 in fts_trx_add_op(trx_t*, dict_table_t*, unsigned long, fts_row_state, ib_vector_t*) /data/src/10.5/storage/innobase/fts/fts0fts.cc:2405
|
#6 0x558bd43fe15d in row_insert_for_mysql(unsigned char const*, row_prebuilt_t*, ins_mode_t) /data/src/10.5/storage/innobase/row/row0mysql.cc:1513
|
#7 0x558bd405b435 in ha_innobase::write_row(unsigned char const*) /data/src/10.5/storage/innobase/handler/ha_innodb.cc:7559
|
#8 0x558bd3554168 in handler::ha_write_row(unsigned char const*) /data/src/10.5/sql/handler.cc:7151
|
#9 0x558bd2c5f565 in write_record(THD*, TABLE*, st_copy_info*, select_result*) /data/src/10.5/sql/sql_insert.cc:2106
|
#10 0x558bd2c57022 in mysql_insert(THD*, TABLE_LIST*, List<Item>&, List<List<Item> >&, List<Item>&, List<Item>&, enum_duplicates, bool, select_result*) /data/src/10.5/sql/sql_insert.cc:1099
|
#11 0x558bd2d1f95d in mysql_execute_command(THD*) /data/src/10.5/sql/sql_parse.cc:4596
|
#12 0x558bd2d37e6b in mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) /data/src/10.5/sql/sql_parse.cc:8062
|
#13 0x558bd2d0e158 in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) /data/src/10.5/sql/sql_parse.cc:1889
|
#14 0x558bd2d0aa81 in do_command(THD*) /data/src/10.5/sql/sql_parse.cc:1370
|
#15 0x558bd314d35b in do_handle_one_connection(CONNECT*, bool) /data/src/10.5/sql/sql_connect.cc:1410
|
#16 0x558bd314ccbf in handle_one_connection /data/src/10.5/sql/sql_connect.cc:1312
|
#17 0x558bd3e5b200 in pfs_spawn_thread /data/src/10.5/storage/perfschema/pfs.cc:2201
|
#18 0x7f565ecef608 in start_thread /build/glibc-ZN95T4/glibc-2.31/nptl/pthread_create.c:477
|
|
Indirect leak of 64 byte(s) in 1 object(s) allocated from:
|
#0 0x7f565f1dddc6 in calloc (/lib/x86_64-linux-gnu/libasan.so.5+0x10ddc6)
|
#1 0x558bd40b4df8 in ut_allocator<unsigned char, true>::allocate(unsigned long, unsigned char const*, unsigned int, bool, bool) /data/src/10.5/storage/innobase/include/ut0new.h:375
|
#2 0x558bd45c7d58 in rbt_create(unsigned long, int (*)(void const*, void const*)) /data/src/10.5/storage/innobase/ut/ut0rbt.cc:788
|
#3 0x558bd4834071 in fts_savepoint_create /data/src/10.5/storage/innobase/fts/fts0fts.cc:2201
|
#4 0x558bd4834277 in fts_trx_create(trx_t*) /data/src/10.5/storage/innobase/fts/fts0fts.cc:2236
|
#5 0x558bd4834f56 in fts_trx_add_op(trx_t*, dict_table_t*, unsigned long, fts_row_state, ib_vector_t*) /data/src/10.5/storage/innobase/fts/fts0fts.cc:2405
|
#6 0x558bd43fe15d in row_insert_for_mysql(unsigned char const*, row_prebuilt_t*, ins_mode_t) /data/src/10.5/storage/innobase/row/row0mysql.cc:1513
|
#7 0x558bd405b435 in ha_innobase::write_row(unsigned char const*) /data/src/10.5/storage/innobase/handler/ha_innodb.cc:7559
|
#8 0x558bd3554168 in handler::ha_write_row(unsigned char const*) /data/src/10.5/sql/handler.cc:7151
|
#9 0x558bd2c5f565 in write_record(THD*, TABLE*, st_copy_info*, select_result*) /data/src/10.5/sql/sql_insert.cc:2106
|
#10 0x558bd2c57022 in mysql_insert(THD*, TABLE_LIST*, List<Item>&, List<List<Item> >&, List<Item>&, List<Item>&, enum_duplicates, bool, select_result*) /data/src/10.5/sql/sql_insert.cc:1099
|
#11 0x558bd2d1f95d in mysql_execute_command(THD*) /data/src/10.5/sql/sql_parse.cc:4596
|
#12 0x558bd2d37e6b in mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) /data/src/10.5/sql/sql_parse.cc:8062
|
#13 0x558bd2d0e158 in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) /data/src/10.5/sql/sql_parse.cc:1889
|
#14 0x558bd2d0aa81 in do_command(THD*) /data/src/10.5/sql/sql_parse.cc:1370
|
#15 0x558bd314d35b in do_handle_one_connection(CONNECT*, bool) /data/src/10.5/sql/sql_connect.cc:1410
|
#16 0x558bd314ccbf in handle_one_connection /data/src/10.5/sql/sql_connect.cc:1312
|
#17 0x558bd3e5b200 in pfs_spawn_thread /data/src/10.5/storage/perfschema/pfs.cc:2201
|
#18 0x7f565ecef608 in start_thread /build/glibc-ZN95T4/glibc-2.31/nptl/pthread_create.c:477
|
|
SUMMARY: AddressSanitizer: 1958 byte(s) leaked in 12 allocation(s).
|
210209 17:07:38 [ERROR] mysqld got signal 6 ;
|
This could be because you hit a bug. It is also possible that this binary
|
or one of the libraries it was linked against is corrupt, improperly built,
|
or misconfigured. This error can also be caused by malfunctioning hardware.
|
|
To report this bug, see https://mariadb.com/kb/en/reporting-bugs
|
|
We will try our best to scrape up some info that will hopefully help
|
diagnose the problem, but since we have already crashed,
|
something is definitely wrong and this may fail.
|
|
Server version: 10.5.9-MariaDB-debug-log
|
read_buffer_size=131072
|
max_used_connections=2
|
thread_count=0
|
Thread pointer: 0x0
|
Attempting backtrace. You can use the following information to find out
|
where mysqld died. If you see no messages after this, something went
|
terribly wrong...
|
stack_bottom = 0x0 thread_stack 0x5fc00
|
??:0(__interceptor_tcgetattr)[0x7f565f13cd30]
|
mysys/stacktrace.c:212(my_print_stacktrace)[0x558bd4ad72c9]
|
sql/signal_handler.cc:211(handle_fatal_signal)[0x558bd351514c]
|
sigaction.c:0(__restore_rt)[0x7f565ecfb3c0]
|
??:0(gsignal)[0x7f565e7e918b]
|
??:0(abort)[0x7f565e7c8859]
|
??:0(__sanitizer_set_report_fd)[0x7f565f1fb6a2]
|
??:0(__sanitizer_get_module_and_offset_for_pc)[0x7f565f20624c]
|
??:0(__lsan_do_recoverable_leak_check)[0x7f565f20bb9c]
|
??:0(__lsan_enable)[0x7f565f20b3dd]
|
??:0(__cxa_finalize)[0x7f565e7ed15e]
|
/lib/x86_64-linux-gnu/libasan.so.5(+0x22be7)[0x7f565f0f2be7]
|
The manual page at https://mariadb.com/kb/en/how-to-produce-a-full-stack-trace-for-mysqld/ contains
|
information that should help you find out what is causing the crash.
|
Writing a core file...
|
Working directory at /dev/shm/var_auto_PfA2/mysqld.1/data
|
Resource Limits:
|
Fatal signal 11 while backtracing
|
Reproducible on 10.5, 10.6.
Not reproducible on 10.4 (but then, the XA transaction there gets lost after restart).