Bug #28798 rpl_ndb_ddl valgrind failure
Description:
VALGRIND: 'Invalid write of size 8'
COUNT: 2
FUNCTION: ha_ndbcluster::records_update() FILES: master.err
TESTS: rpl_ndb_ddl
STACK: at 0x72F9E1: ha_ndbcluster::records_update() (ha_ndbcluster.cc:493)
by 0x72FDDE: ha_ndbcluster::info(unsigned) (ha_ndbcluster.cc:3897)
by 0x68F0BC: make_join_statistics(JOIN*, st_table_list*, Item*, st_dynamic_array*) (sql_select.cc:2384)
by 0x69512C: JOIN::optimize() (sql_select.cc:909)
by 0x69E384: mysql_select(THD*, Item***, st_table_list*, unsigned, List<Item>&, Item*, unsigned, st_order*, st_order*, Item*, st_order*, unsigned long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2250)
by 0x69EF12: handle_select(THD*, st_lex*, select_result*, unsigned long) (sql_select.cc:258)
by 0x627C73: execute_sqlcom_select(THD*, st_table_list*) (sql_parse.cc:4444)
by 0x62DCCC: mysql_execute_command(THD*) (sql_parse.cc:1843)
by 0x6AA184: Prepared_statement::execute(String*, bool) (sql_prepare.cc:3064)
by 0x6ABC46: mysql_stmt_execute(THD*, char*, unsigned) (sql_prepare.cc:2326)
by 0x6342E6: dispatch_command(enum_server_command, THD*, char*, unsigned) (sql_parse.cc:863)
by 0x6349DC: do_command(THD*) (sql_parse.cc:667)
by 0x625145: handle_one_connection (sql_connect.cc:1091)
by 0x4C2E192: start_thread (in /lib64/libpthread-2.4.so)
by 0x52AA45C: clone (in /lib64/libc-2.4.so)
Address 0x5445E40 is 40 bytes inside a block of size 48 free'd
at 0x4A2046E: free (vg_replace_malloc.c:233)
by 0x9CA1FA: my_no_flags_free (my_malloc.c:59)
by 0x9CAD21: free_root (my_alloc.c:349)
by 0x713BEF: ha_rollback_trans(THD*, bool) (sql_class.h:1106)
by 0x62B52B: end_trans(THD*, enum_mysql_completiontype) (sql_parse.cc:570)
by 0x62ED1B: mysql_execute_command(THD*) (sql_parse.cc:3528)
by 0x633186: mysql_parse(THD*, char const*, unsigned, char const**) (sql_parse.cc:5355)
by 0x63364C: dispatch_command(enum_server_command, THD*, char*, unsigned) (sql_parse.cc:906)
by 0x6349DC: do_command(THD*) (sql_parse.cc:667)
by 0x625145: handle_one_connection (sql_connect.cc:1091)
by 0x4C2E192: start_thread (in /lib64/libpthread-2.4.so)
by 0x52AA45C: clone (in /lib64/libc-2.4.so)
VA
How to repeat:
Enable test rpl_ndb_ddl.test
Push: Wed May 30 21:42:21 2007 aelkin
Tree: mysql-5.1-rpl-new
Suggested fix:
fix
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.051 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.
Description: VALGRIND: 'Invalid write of size 8' COUNT: 2 FUNCTION: ha_ndbcluster::records_update() FILES: master.err TESTS: rpl_ndb_ddl STACK: at 0x72F9E1: ha_ndbcluster::records_update() (ha_ndbcluster.cc:493) by 0x72FDDE: ha_ndbcluster::info(unsigned) (ha_ndbcluster.cc:3897) by 0x68F0BC: make_join_statistics(JOIN*, st_table_list*, Item*, st_dynamic_array*) (sql_select.cc:2384) by 0x69512C: JOIN::optimize() (sql_select.cc:909) by 0x69E384: mysql_select(THD*, Item***, st_table_list*, unsigned, List<Item>&, Item*, unsigned, st_order*, st_order*, Item*, st_order*, unsigned long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2250) by 0x69EF12: handle_select(THD*, st_lex*, select_result*, unsigned long) (sql_select.cc:258) by 0x627C73: execute_sqlcom_select(THD*, st_table_list*) (sql_parse.cc:4444) by 0x62DCCC: mysql_execute_command(THD*) (sql_parse.cc:1843) by 0x6AA184: Prepared_statement::execute(String*, bool) (sql_prepare.cc:3064) by 0x6ABC46: mysql_stmt_execute(THD*, char*, unsigned) (sql_prepare.cc:2326) by 0x6342E6: dispatch_command(enum_server_command, THD*, char*, unsigned) (sql_parse.cc:863) by 0x6349DC: do_command(THD*) (sql_parse.cc:667) by 0x625145: handle_one_connection (sql_connect.cc:1091) by 0x4C2E192: start_thread (in /lib64/libpthread-2.4.so) by 0x52AA45C: clone (in /lib64/libc-2.4.so) Address 0x5445E40 is 40 bytes inside a block of size 48 free'd at 0x4A2046E: free (vg_replace_malloc.c:233) by 0x9CA1FA: my_no_flags_free (my_malloc.c:59) by 0x9CAD21: free_root (my_alloc.c:349) by 0x713BEF: ha_rollback_trans(THD*, bool) (sql_class.h:1106) by 0x62B52B: end_trans(THD*, enum_mysql_completiontype) (sql_parse.cc:570) by 0x62ED1B: mysql_execute_command(THD*) (sql_parse.cc:3528) by 0x633186: mysql_parse(THD*, char const*, unsigned, char const**) (sql_parse.cc:5355) by 0x63364C: dispatch_command(enum_server_command, THD*, char*, unsigned) (sql_parse.cc:906) by 0x6349DC: do_command(THD*) (sql_parse.cc:667) by 0x625145: handle_one_connection (sql_connect.cc:1091) by 0x4C2E192: start_thread (in /lib64/libpthread-2.4.so) by 0x52AA45C: clone (in /lib64/libc-2.4.so) VA How to repeat: Enable test rpl_ndb_ddl.test Push: Wed May 30 21:42:21 2007 aelkin Tree: mysql-5.1-rpl-new Suggested fix: fix