[MDEV-8520] mroonga/storage.repair_table_no_index_file test produces valgrind warnings Created: 2015-07-22  Updated: 2022-10-21  Resolved: 2022-10-21

Status: Closed
Project: MariaDB Server
Component/s: Storage Engine - Mroonga
Affects Version/s: 10.0
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Elena Stepanova Assignee: Kouhei Sutou
Resolution: Cannot Reproduce Votes: 0
Labels: None

Issue Links:
Blocks
blocks MDEV-7069 Fix buildbot failures in main server ... Stalled

 Description   

perl ./mtr --valgrind-mysqld  mroonga/storage.repair_table_no_index_file

Stack trace from commit 83ba48b7c670f6dba465325cafd808c91f551544

==29505== 24 bytes in 1 blocks are definitely lost in loss record 3 of 17
==29505==    at 0x4C2949E: malloc (vg_replace_malloc.c:297)
==29505==    by 0xCAE646E: ha_mroonga::storage_open_columns() (ha_mroonga.cpp:4239)
==29505==    by 0xCAE5E97: ha_mroonga::storage_open(char const*, int, unsigned int) (ha_mroonga.cpp:4177)
==29505==    by 0xCAE7506: ha_mroonga::open(char const*, int, unsigned int) (ha_mroonga.cpp:4444)
==29505==    by 0x871DE9: handler::ha_open(TABLE*, char const*, int, unsigned int) (handler.cc:2504)
==29505==    by 0x75A13F: open_table_from_share(THD*, TABLE_SHARE*, char const*, unsigned int, unsigned int, unsigned int, TABLE*, bool) (table.cc:2881)
==29505==    by 0x61D31C: open_table(THD*, TABLE_LIST*, st_mem_root*, Open_table_context*) (sql_base.cc:2514)
==29505==    by 0x61FA61: open_and_process_table(THD*, LEX*, TABLE_LIST*, unsigned int*, unsigned int, Prelocking_strategy*, bool, Open_table_context*, st_mem_root*) (sql_base.cc:3988)
==29505==    by 0x620B62: open_tables(THD*, TABLE_LIST**, unsigned int*, unsigned int, Prelocking_strategy*) (sql_base.cc:4522)
==29505==    by 0x621B83: open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int, Prelocking_strategy*) (sql_base.cc:5165)
==29505==    by 0x615F48: open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int) (sql_base.h:490)
==29505==    by 0x68577D: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5219)
==29505==    by 0x67DD43: mysql_execute_command(THD*) (sql_parse.cc:2562)
==29505==    by 0x68856A: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6529)
==29505==    by 0x67AF56: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1308)
==29505==    by 0x67A23C: do_command(THD*) (sql_parse.cc:999)
==29505== 24 bytes in 1 blocks are definitely lost in loss record 4 of 17
==29505==    at 0x4C2949E: malloc (vg_replace_malloc.c:297)
==29505==    by 0xCAE6490: ha_mroonga::storage_open_columns() (ha_mroonga.cpp:4240)
==29505==    by 0xCAE5E97: ha_mroonga::storage_open(char const*, int, unsigned int) (ha_mroonga.cpp:4177)
==29505==    by 0xCAE7506: ha_mroonga::open(char const*, int, unsigned int) (ha_mroonga.cpp:4444)
==29505==    by 0x871DE9: handler::ha_open(TABLE*, char const*, int, unsigned int) (handler.cc:2504)
==29505==    by 0x75A13F: open_table_from_share(THD*, TABLE_SHARE*, char const*, unsigned int, unsigned int, unsigned int, TABLE*, bool) (table.cc:2881)
==29505==    by 0x61D31C: open_table(THD*, TABLE_LIST*, st_mem_root*, Open_table_context*) (sql_base.cc:2514)
==29505==    by 0x61FA61: open_and_process_table(THD*, LEX*, TABLE_LIST*, unsigned int*, unsigned int, Prelocking_strategy*, bool, Open_table_context*, st_mem_root*) (sql_base.cc:3988)
==29505==    by 0x620B62: open_tables(THD*, TABLE_LIST**, unsigned int*, unsigned int, Prelocking_strategy*) (sql_base.cc:4522)
==29505==    by 0x621B83: open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int, Prelocking_strategy*) (sql_base.cc:5165)
==29505==    by 0x615F48: open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int) (sql_base.h:490)
==29505==    by 0x68577D: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5219)
==29505==    by 0x67DD43: mysql_execute_command(THD*) (sql_parse.cc:2562)
==29505==    by 0x68856A: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6529)
==29505==    by 0x67AF56: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1308)
==29505==    by 0x67A23C: do_command(THD*) (sql_parse.cc:999)



 Comments   
Comment by Elena Stepanova [ 2015-07-22 ]

In buildbot: http://buildbot.askmonty.org/buildbot/builders/work-amd64-valgrind/builds/7404/steps/test/logs/stdio

Comment by Elena Stepanova [ 2022-10-21 ]

Doesn't seem to be reproducible anymore

Generated at Thu Feb 08 07:27:46 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.