[MDEV-12901] parts.partition_innodb_status_file, main.partition_innodb_plugin failed in buildbot with valgrind Created: 2017-05-24  Updated: 2023-11-29  Resolved: 2023-11-29

Status: Closed
Project: MariaDB Server
Component/s: Partitioning, Storage Engine - InnoDB, Tests
Affects Version/s: 10.1
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Elena Stepanova Assignee: Marko Mäkelä
Resolution: Cannot Reproduce Votes: 0
Labels: None


 Description   

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

parts.partition_innodb_status_file 'xtradb' w4 [ fail ]  Found warnings/errors in server log file!
        Test ended at 2017-05-14 18:35:48
line
==21850== Thread 10:
==21850== Use of uninitialised value of size 8
==21850==    at 0x6A8884B: _itoa_word (in /lib64/libc-2.18.so)
==21850==    by 0x6A8C91C: vfprintf (in /lib64/libc-2.18.so)
==21850==    by 0x6A92EB6: fprintf (in /lib64/libc-2.18.so)
==21850==    by 0xD50C42: sync_array_cell_print(_IO_FILE*, sync_cell_t*, unsigned long*) (sync0arr.cc:613)
==21850==    by 0xD51B18: sync_array_print_info_low(_IO_FILE*, sync_array_t*) (sync0arr.cc:1224)
==21850==    by 0xD51B5B: sync_array_print_info(_IO_FILE*, sync_array_t*) (sync0arr.cc:1240)
==21850==    by 0xD51D14: sync_array_print(_IO_FILE*) (sync0arr.cc:1306)
==21850==    by 0xD58C99: sync_print(_IO_FILE*) (sync0sync.cc:1701)
==21850==    by 0xD42EA6: srv_printf_innodb_monitor(_IO_FILE*, unsigned long, unsigned long*, unsigned long*) (srv0srv.cc:1485)
==21850==    by 0xD44E10: srv_monitor_thread (srv0srv.cc:2233)
==21850==    by 0x4E3C0DA: start_thread (in /lib64/libpthread-2.18.so)
==21850==    by 0x6B28E3C: clone (in /lib64/libc-2.18.so)
==21850== Conditional jump or move depends on uninitialised value(s)
==21850==    at 0x6A88855: _itoa_word (in /lib64/libc-2.18.so)
==21850==    by 0x6A8C91C: vfprintf (in /lib64/libc-2.18.so)
==21850==    by 0x6A92EB6: fprintf (in /lib64/libc-2.18.so)
==21850==    by 0xD50C42: sync_array_cell_print(_IO_FILE*, sync_cell_t*, unsigned long*) (sync0arr.cc:613)
==21850==    by 0xD51B18: sync_array_print_info_low(_IO_FILE*, sync_array_t*) (sync0arr.cc:1224)
==21850==    by 0xD51B5B: sync_array_print_info(_IO_FILE*, sync_array_t*) (sync0arr.cc:1240)
==21850==    by 0xD51D14: sync_array_print(_IO_FILE*) (sync0arr.cc:1306)
==21850==    by 0xD58C99: sync_print(_IO_FILE*) (sync0sync.cc:1701)
==21850==    by 0xD42EA6: srv_printf_innodb_monitor(_IO_FILE*, unsigned long, unsigned long*, unsigned long*) (srv0srv.cc:1485)
==21850==    by 0xD44E10: srv_monitor_thread (srv0srv.cc:2233)
==21850==    by 0x4E3C0DA: start_thread (in /lib64/libpthread-2.18.so)
==21850==    by 0x6B28E3C: clone (in /lib64/libc-2.18.so)
==21850== Conditional jump or move depends on uninitialised value(s)
==21850==    at 0x6A8C968: vfprintf (in /lib64/libc-2.18.so)
==21850==    by 0x6A92EB6: fprintf (in /lib64/libc-2.18.so)
==21850==    by 0xD50C42: sync_array_cell_print(_IO_FILE*, sync_cell_t*, unsigned long*) (sync0arr.cc:613)
==21850==    by 0xD51B18: sync_array_print_info_low(_IO_FILE*, sync_array_t*) (sync0arr.cc:1224)
==21850==    by 0xD51B5B: sync_array_print_info(_IO_FILE*, sync_array_t*) (sync0arr.cc:1240)
==21850==    by 0xD51D14: sync_array_print(_IO_FILE*) (sync0arr.cc:1306)
==21850==    by 0xD58C99: sync_print(_IO_FILE*) (sync0sync.cc:1701)
==21850==    by 0xD42EA6: srv_printf_innodb_monitor(_IO_FILE*, unsigned long, unsigned long*, unsigned long*) (srv0srv.cc:1485)
==21850==    by 0xD44E10: srv_monitor_thread (srv0srv.cc:2233)
==21850==    by 0x4E3C0DA: start_thread (in /lib64/libpthread-2.18.so)
==21850==    by 0x6B28E3C: clone (in /lib64/libc-2.18.so)
==21850== Conditional jump or move depends on uninitialised value(s)
==21850==    at 0x6A8C1C5: vfprintf (in /lib64/libc-2.18.so)
==21850==    by 0x6A92EB6: fprintf (in /lib64/libc-2.18.so)
==21850==    by 0xD50C42: sync_array_cell_print(_IO_FILE*, sync_cell_t*, unsigned long*) (sync0arr.cc:613)
==21850==    by 0xD51B18: sync_array_print_info_low(_IO_FILE*, sync_array_t*) (sync0arr.cc:1224)
==21850==    by 0xD51B5B: sync_array_print_info(_IO_FILE*, sync_array_t*) (sync0arr.cc:1240)
==21850==    by 0xD51D14: sync_array_print(_IO_FILE*) (sync0arr.cc:1306)
==21850==    by 0xD58C99: sync_print(_IO_FILE*) (sync0sync.cc:1701)
==21850==    by 0xD42EA6: srv_printf_innodb_monitor(_IO_FILE*, unsigned long, unsigned long*, unsigned long*) (srv0srv.cc:1485)
==21850==    by 0xD44E10: srv_monitor_thread (srv0srv.cc:2233)
==21850==    by 0x4E3C0DA: start_thread (in /lib64/libpthread-2.18.so)
==21850==    by 0x6B28E3C: clone (in /lib64/libc-2.18.so)
==21850== Conditional jump or move depends on uninitialised value(s)
==21850==    at 0x6A8C248: vfprintf (in /lib64/libc-2.18.so)
==21850==    by 0x6A92EB6: fprintf (in /lib64/libc-2.18.so)
==21850==    by 0xD50C42: sync_array_cell_print(_IO_FILE*, sync_cell_t*, unsigned long*) (sync0arr.cc:613)
==21850==    by 0xD51B18: sync_array_print_info_low(_IO_FILE*, sync_array_t*) (sync0arr.cc:1224)
==21850==    by 0xD51B5B: sync_array_print_info(_IO_FILE*, sync_array_t*) (sync0arr.cc:1240)
==21850==    by 0xD51D14: sync_array_print(_IO_FILE*) (sync0arr.cc:1306)
==21850==    by 0xD58C99: sync_print(_IO_FILE*) (sync0sync.cc:1701)
==21850==    by 0xD42EA6: srv_printf_innodb_monitor(_IO_FILE*, unsigned long, unsigned long*, unsigned long*) (srv0srv.cc:1485)
==21850==    by 0xD44E10: srv_monitor_thread (srv0srv.cc:2233)
==21850==    by 0x4E3C0DA: start_thread (in /lib64/libpthread-2.18.so)
==21850==    by 0x6B28E3C: clone (in /lib64/libc-2.18.so)

https://internal.askmonty.org/buildbot/builders/work-amd64-valgrind/builds/10103/steps/test/logs/stdio

main.partition_innodb_plugin 'xtradb'    w2 [ fail ]  Found warnings/errors in server log file!
        Test ended at 2017-06-18 16:29:52
line
==22082== Thread 23:
==22082== Use of uninitialised value of size 8
==22082==    at 0x6A8884B: _itoa_word (in /lib64/libc-2.18.so)
==22082==    by 0x6A8C91C: vfprintf (in /lib64/libc-2.18.so)
==22082==    by 0x6A92EB6: fprintf (in /lib64/libc-2.18.so)
==22082==    by 0xD520FA: sync_array_cell_print(_IO_FILE*, sync_cell_t*, unsigned long*) (sync0arr.cc:613)
==22082==    by 0xD52FD0: sync_array_print_info_low(_IO_FILE*, sync_array_t*) (sync0arr.cc:1224)
==22082==    by 0xD53013: sync_array_print_info(_IO_FILE*, sync_array_t*) (sync0arr.cc:1240)
==22082==    by 0xD531CC: sync_array_print(_IO_FILE*) (sync0arr.cc:1306)
==22082==    by 0xD5A151: sync_print(_IO_FILE*) (sync0sync.cc:1702)
==22082==    by 0xD44229: srv_printf_innodb_monitor(_IO_FILE*, unsigned long, unsigned long*, unsigned long*) (srv0srv.cc:1471)
==22082==    by 0xBE5078: innodb_show_status(handlerton*, THD*, bool (*)(THD*, char const*, unsigned int, char const*, unsigned int, char const*, unsigned int)) (ha_innodb.cc:15870)
==22082==    by 0xBE5A74: innobase_show_status(handlerton*, THD*, bool (*)(THD*, char const*, unsigned int, char const*, unsigned int, char const*, unsigned int), ha_stat_type) (ha_innodb.cc:16099)
==22082==    by 0x87704D: ha_show_status(THD*, handlerton*, ha_stat_type) (handler.cc:5575)
==22082== Conditional jump or move depends on uninitialised value(s)
==22082==    at 0x6A88855: _itoa_word (in /lib64/libc-2.18.so)
==22082==    by 0x6A8C91C: vfprintf (in /lib64/libc-2.18.so)
==22082==    by 0x6A92EB6: fprintf (in /lib64/libc-2.18.so)
==22082==    by 0xD520FA: sync_array_cell_print(_IO_FILE*, sync_cell_t*, unsigned long*) (sync0arr.cc:613)
==22082==    by 0xD52FD0: sync_array_print_info_low(_IO_FILE*, sync_array_t*) (sync0arr.cc:1224)
==22082==    by 0xD53013: sync_array_print_info(_IO_FILE*, sync_array_t*) (sync0arr.cc:1240)
==22082==    by 0xD531CC: sync_array_print(_IO_FILE*) (sync0arr.cc:1306)
==22082==    by 0xD5A151: sync_print(_IO_FILE*) (sync0sync.cc:1702)
==22082==    by 0xD44229: srv_printf_innodb_monitor(_IO_FILE*, unsigned long, unsigned long*, unsigned long*) (srv0srv.cc:1471)
==22082==    by 0xBE5078: innodb_show_status(handlerton*, THD*, bool (*)(THD*, char const*, unsigned int, char const*, unsigned int, char const*, unsigned int)) (ha_innodb.cc:15870)
==22082==    by 0xBE5A74: innobase_show_status(handlerton*, THD*, bool (*)(THD*, char const*, unsigned int, char const*, unsigned int, char const*, unsigned int), ha_stat_type) (ha_innodb.cc:16099)
==22082==    by 0x87704D: ha_show_status(THD*, handlerton*, ha_stat_type) (handler.cc:5575)
==22082== Conditional jump or move depends on uninitialised value(s)
==22082==    at 0x6A8C968: vfprintf (in /lib64/libc-2.18.so)
==22082==    by 0x6A92EB6: fprintf (in /lib64/libc-2.18.so)
==22082==    by 0xD520FA: sync_array_cell_print(_IO_FILE*, sync_cell_t*, unsigned long*) (sync0arr.cc:613)
==22082==    by 0xD52FD0: sync_array_print_info_low(_IO_FILE*, sync_array_t*) (sync0arr.cc:1224)
==22082==    by 0xD53013: sync_array_print_info(_IO_FILE*, sync_array_t*) (sync0arr.cc:1240)
==22082==    by 0xD531CC: sync_array_print(_IO_FILE*) (sync0arr.cc:1306)
==22082==    by 0xD5A151: sync_print(_IO_FILE*) (sync0sync.cc:1702)
==22082==    by 0xD44229: srv_printf_innodb_monitor(_IO_FILE*, unsigned long, unsigned long*, unsigned long*) (srv0srv.cc:1471)
==22082==    by 0xBE5078: innodb_show_status(handlerton*, THD*, bool (*)(THD*, char const*, unsigned int, char const*, unsigned int, char const*, unsigned int)) (ha_innodb.cc:15870)
==22082==    by 0xBE5A74: innobase_show_status(handlerton*, THD*, bool (*)(THD*, char const*, unsigned int, char const*, unsigned int, char const*, unsigned int), ha_stat_type) (ha_innodb.cc:16099)
==22082==    by 0x87704D: ha_show_status(THD*, handlerton*, ha_stat_type) (handler.cc:5575)
==22082==    by 0x61E71B: mysql_execute_command(THD*) (sql_parse.cc:3213)
==22082== Conditional jump or move depends on uninitialised value(s)
==22082==    at 0x6A8C1C5: vfprintf (in /lib64/libc-2.18.so)
==22082==    by 0x6A92EB6: fprintf (in /lib64/libc-2.18.so)
==22082==    by 0xD520FA: sync_array_cell_print(_IO_FILE*, sync_cell_t*, unsigned long*) (sync0arr.cc:613)
==22082==    by 0xD52FD0: sync_array_print_info_low(_IO_FILE*, sync_array_t*) (sync0arr.cc:1224)
==22082==    by 0xD53013: sync_array_print_info(_IO_FILE*, sync_array_t*) (sync0arr.cc:1240)
==22082==    by 0xD531CC: sync_array_print(_IO_FILE*) (sync0arr.cc:1306)
==22082==    by 0xD5A151: sync_print(_IO_FILE*) (sync0sync.cc:1702)
==22082==    by 0xD44229: srv_printf_innodb_monitor(_IO_FILE*, unsigned long, unsigned long*, unsigned long*) (srv0srv.cc:1471)
==22082==    by 0xBE5078: innodb_show_status(handlerton*, THD*, bool (*)(THD*, char const*, unsigned int, char const*, unsigned int, char const*, unsigned int)) (ha_innodb.cc:15870)
==22082==    by 0xBE5A74: innobase_show_status(handlerton*, THD*, bool (*)(THD*, char const*, unsigned int, char const*, unsigned int, char const*, unsigned int), ha_stat_type) (ha_innodb.cc:16099)
==22082==    by 0x87704D: ha_show_status(THD*, handlerton*, ha_stat_type) (handler.cc:5575)
==22082==    by 0x61E71B: mysql_execute_command(THD*) (sql_parse.cc:3213)
==22082== Conditional jump or move depends on uninitialised value(s)
==22082==    at 0x6A8C248: vfprintf (in /lib64/libc-2.18.so)
==22082==    by 0x6A92EB6: fprintf (in /lib64/libc-2.18.so)
==22082==    by 0xD520FA: sync_array_cell_print(_IO_FILE*, sync_cell_t*, unsigned long*) (sync0arr.cc:613)
==22082==    by 0xD52FD0: sync_array_print_info_low(_IO_FILE*, sync_array_t*) (sync0arr.cc:1224)
==22082==    by 0xD53013: sync_array_print_info(_IO_FILE*, sync_array_t*) (sync0arr.cc:1240)
==22082==    by 0xD531CC: sync_array_print(_IO_FILE*) (sync0arr.cc:1306)
==22082==    by 0xD5A151: sync_print(_IO_FILE*) (sync0sync.cc:1702)
==22082==    by 0xD44229: srv_printf_innodb_monitor(_IO_FILE*, unsigned long, unsigned long*, unsigned long*) (srv0srv.cc:1471)
==22082==    by 0xBE5078: innodb_show_status(handlerton*, THD*, bool (*)(THD*, char const*, unsigned int, char const*, unsigned int, char const*, unsigned int)) (ha_innodb.cc:15870)
==22082==    by 0xBE5A74: innobase_show_status(handlerton*, THD*, bool (*)(THD*, char const*, unsigned int, char const*, unsigned int, char const*, unsigned int), ha_stat_type) (ha_innodb.cc:16099)
==22082==    by 0x87704D: ha_show_status(THD*, handlerton*, ha_stat_type) (handler.cc:5575)
==22082==    by 0x61E71B: mysql_execute_command(THD*) (sql_parse.cc:3213)



 Comments   
Comment by Marko Mäkelä [ 2023-11-29 ]

Last observed failure on Valgrind (I guess we rather soon after this disabled this very slow builder for several years):

10.1 58c56dd7f8e787c48b6f09a4d03cddd7

parts.partition_innodb_status_file 'xtradb' w1 [ fail ]  Found warnings/errors in server log file!
        Test ended at 2017-06-11 22:38:52
line
==31187== Thread 10:
==31187== Use of uninitialised value of size 8
==31187==    at 0x6A8884B: _itoa_word (in /lib64/libc-2.18.so)
==31187==    by 0x6A8C91C: vfprintf (in /lib64/libc-2.18.so)
==31187==    by 0x6A92EB6: fprintf (in /lib64/libc-2.18.so)
==31187==    by 0xD523A6: sync_array_cell_print(_IO_FILE*, sync_cell_t*, unsigned long*) (sync0arr.cc:613)
==31187==    by 0xD5327C: sync_array_print_info_low(_IO_FILE*, sync_array_t*) (sync0arr.cc:1224)
==31187==    by 0xD532BF: sync_array_print_info(_IO_FILE*, sync_array_t*) (sync0arr.cc:1240)
==31187==    by 0xD53478: sync_array_print(_IO_FILE*) (sync0arr.cc:1306)
==31187==    by 0xD5A3FD: sync_print(_IO_FILE*) (sync0sync.cc:1702)
==31187==    by 0xD4431D: srv_printf_innodb_monitor(_IO_FILE*, unsigned long, unsigned long*, unsigned long*) (srv0srv.cc:1471)

I found 1 failure on the "new Valgrind" and 1 failure on MSAN, but both were on a non-main branch and in something else.

In MDEV-21452 (10.6), the sync_array was removed.

Generated at Thu Feb 08 08:01:22 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.