Valgrind: bytes lost in operator new[] | Table_node::Table_node
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS |
Fix Released
|
High
|
Sergei Glushchenko | ||
5.1 |
Invalid
|
Undecided
|
Unassigned | ||
5.5 |
Fix Released
|
High
|
Sergei Glushchenko | ||
5.6 |
Fix Released
|
High
|
Sergei Glushchenko |
Bug Description
==11149== 56 bytes in 1 blocks are still reachable in loss record 211 of 474
==11149== at 0x4A07152: operator new[](unsigned long) (vg_replace_
==11149== by 0x71AA37: Table_node:
==11149== by 0x71AB6E: Const_ordered_
==11149== by 0x72B186: Join_node:
==11149== by 0x72B32E: Join_node:
==11149== by 0x72B3BC: Join_node:
==11149== by 0x71ACC7: is_order_
==11149== by 0x8E6B37: JOIN::optimize() (sql_optimizer.
==11149== by 0x79F59B: mysql_execute_
==11149== by 0x79FDC3: mysql_select(THD*, TABLE_LIST*, unsigned int, List<Item>&, Item*, SQL_I_List<
==11149== by 0x79FF77: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:111)
==11149== by 0x77B282: mysql_execute_
==11149== by 0x77BC87: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6477)
==11149== by 0x77C81E: dispatch_
==11149== by 0x77D4F4: do_command(THD*) (sql_parse.cc:1049)
==11149== by 0x746ECE: do_handle_
==11149==
==11149== 840 bytes in 15 blocks are definitely lost in loss record 378 of 474
==11149== at 0x4A07152: operator new[](unsigned long) (vg_replace_
==11149== by 0x71AA37: Table_node:
==11149== by 0x71AB6E: Const_ordered_
==11149== by 0x72B186: Join_node:
==11149== by 0x72B32E: Join_node:
==11149== by 0x72B3BC: Join_node:
==11149== by 0x71ACC7: is_order_
==11149== by 0x8E6B37: JOIN::optimize() (sql_optimizer.
==11149== by 0x79F59B: mysql_execute_
==11149== by 0x79FDC3: mysql_select(THD*, TABLE_LIST*, unsigned int, List<Item>&, Item*, SQL_I_List<
==11149== by 0x79FF77: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:111)
==11149== by 0x77B282: mysql_execute_
==11149== by 0x77BC87: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6477)
==11149== by 0x77C81E: dispatch_
==11149== by 0x77D4F4: do_command(THD*) (sql_parse.cc:1049)
==11149== by 0x746ECE: do_handle_
==11149==
==11149== 896 bytes in 16 blocks are definitely lost in loss record 382 of 474
==11149== at 0x4A07152: operator new[](unsigned long) (vg_replace_
==11149== by 0x71AA37: Table_node:
==11149== by 0x71AB90: Const_ordered_
==11149== by 0x72B186: Join_node:
==11149== by 0x72B32E: Join_node:
==11149== by 0x72B3BC: Join_node:
==11149== by 0x71ACC7: is_order_
==11149== by 0x8E6B37: JOIN::optimize() (sql_optimizer.
==11149== by 0x79F59B: mysql_execute_
==11149== by 0x79FDC3: mysql_select(THD*, TABLE_LIST*, unsigned int, List<Item>&, Item*, SQL_I_List<
==11149== by 0x79FF77: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:111)
==11149== by 0x77B282: mysql_execute_
==11149== by 0x77BC87: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6477)
==11149== by 0x77C81E: dispatch_
==11149== by 0x77D4F4: do_command(THD*) (sql_parse.cc:1049)
==11149== by 0x746ECE: do_handle_
Related branches
- Laurynas Biveinis (community): Approve
-
Diff: 33 lines (+2/-7)1 file modifiedPercona-Server/sql/sql_base.cc (+2/-7)
- Laurynas Biveinis (community): Approve
-
Diff: 33 lines (+2/-7)1 file modifiedPercona-Server/sql/sql_base.cc (+2/-7)
tags: | added: upstream |
Issues only seen after server shutdown, so any query or other param could have caused it