Misc valgrind warnings when running a Random Query Generator test
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MariaDB |
Opinion
|
Critical
|
Antony T Curtis | ||
OQGRAPH |
Opinion
|
Critical
|
Antony T Curtis |
Bug Description
When running a RQG test under valgrind against Maria 5.2, the following valgrind warnings were reported:
==6713== Conditional jump or move depends on uninitialised value(s)
==6713== at 0x4E3427E: open_query:
==6713== by 0x4E2C47D: ha_oqgraph:
==6713== by 0x83AA698: handler:
==6713== by 0x832D9B5: mysql_update(THD*, TABLE_LIST*, List<Item>&, List<Item>&, Item*, unsigned int, st_order*, unsigned long long, enum_duplicates, bool) (sql_update.cc:652)
==6713== by 0x8282B3C: mysql_execute_
==6713== by 0x828BB46: mysql_parse(THD*, char const*, unsigned int, char const**) (sql_parse.cc:6055)
==6713== by 0x827DCA6: dispatch_
==6713== by 0x827D102: do_command(THD*) (sql_parse.cc:898)
==6713== by 0x827A1EB: handle_
==6713== by 0xBEA918: start_thread (in /lib/libpthread
==6713== by 0xB2CCBD: clone (in /lib/libc-2.12.so)
==6713==
==6713== Conditional jump or move depends on uninitialised value(s)
==6713== at 0x4E34732: open_query:
==6713== by 0x4E2BE63: ha_oqgraph:
==6713== by 0x83AA526: handler:
==6713== by 0x8318C31: write_record(THD*, st_table*, st_copy_info*) (sql_insert.
==6713== by 0x831CE56: select_
==6713== by 0x8305EC2: end_send(JOIN*, st_join_table*, bool) (sql_select.
==6713== by 0x83040C7: evaluate_
==6713== by 0x8303D4A: sub_select(JOIN*, st_join_table*, bool) (sql_select.
==6713== by 0x83038AA: do_select(JOIN*, List<Item>*, st_table*, Procedure*) (sql_select.
==6713== by 0x82ECB8F: JOIN::exec() (sql_select.
==6713== by 0x82ED2AC: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_
==6713== by 0x82E5B40: handle_select(THD*, st_lex*, select_result*, unsigned long) (sql_select.cc:280)
==6713== by 0x82833D6: mysql_execute_
==6713== by 0x828BB46: mysql_parse(THD*, char const*, unsigned int, char const**) (sql_parse.cc:6055)
==6713== by 0x827DCA6: dispatch_
==6713== by 0x827D102: do_command(THD*) (sql_parse.cc:898)
==6713==
==6713== Conditional jump or move depends on uninitialised value(s)
==6713== at 0x4E2BEC3: ha_oqgraph:
==6713== by 0x83AA526: handler:
==6713== by 0x8318C31: write_record(THD*, st_table*, st_copy_info*) (sql_insert.
==6713== by 0x831CE56: select_
==6713== by 0x8305EC2: end_send(JOIN*, st_join_table*, bool) (sql_select.
==6713== by 0x83040C7: evaluate_
==6713== by 0x8303D4A: sub_select(JOIN*, st_join_table*, bool) (sql_select.
==6713== by 0x83038AA: do_select(JOIN*, List<Item>*, st_table*, Procedure*) (sql_select.
==6713== by 0x82ECB8F: JOIN::exec() (sql_select.
==6713== by 0x82ED2AC: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_
==6713== by 0x82E5B40: handle_select(THD*, st_lex*, select_result*, unsigned long) (sql_select.cc:280)
==6713== by 0x82833D6: mysql_execute_
==6713== by 0x828BB46: mysql_parse(THD*, char const*, unsigned int, char const**) (sql_parse.cc:6055)
==6713== by 0x827DCA6: dispatch_
==6713== by 0x827D102: do_command(THD*) (sql_parse.cc:898)
==6713== by 0x827A1EB: handle_
bzr version-info:
revision-id: <email address hidden>
date: 2010-08-26 16:20:27 +0300
build-date: 2010-09-11 14:52:18 +0300
revno: 2849
branch-nick: maria-5.2
The test case will be uploaded shortly
Changed in oqgraph: | |
importance: | Undecided → Critical |
status: | New → Opinion |
assignee: | nobody → Antony T Curtis (atcurtis) |
Changed in maria: | |
status: | New → Opinion |
importance: | Undecided → Critical |
assignee: | nobody → Antony T Curtis (atcurtis) |
milestone: | none → 5.2 |
Valgrind also reports various memory leaks.