Bug #60034 | valgrind errors then assertion in make_sortkey when grouping by make_set | ||
---|---|---|---|
Submitted: | 9 Feb 2011 6:06 | Modified: | 24 Dec 2012 9:44 |
Reporter: | Shane Bester (Platinum Quality Contributor) | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server: Optimizer | Severity: | S1 (Critical) |
Version: | 4.1.25,5.0.92,5.1.56,5.5.10,5.6.2 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | assertion, make_set, valgrind |
[9 Feb 2011 6:06]
Shane Bester
[9 Feb 2011 6:09]
MySQL Verification Team
some details....from 5.6.2
Attachment: bug60034_valgrind_outputs.txt (text/plain), 19.68 KiB.
[9 Feb 2011 7:30]
Valeriy Kravchuk
Verified on 32-but Ubuntu 10.04: ==1786== Thread 18: ==1786== Conditional jump or move depends on uninitialised value(s) ==1786== at 0x8823A8B: my_strnncollsp_utf8 (ctype-utf8.c:5585) ==1786== by 0x877D126: hp_key_cmp (hp_hash.c:656) ==1786== by 0x877C0D5: hp_search (hp_hash.c:118) ==1786== by 0x877F48B: heap_rkey (hp_rkey.c:61) ==1786== by 0x8779DF5: ha_heap::index_read_map(unsigned char*, unsigned char const*, unsigned long, ha_rkey_function) (ha_heap.cc:295) ==1786== by 0x819EEA8: handler::ha_index_read_map(unsigned char*, unsigned char const*, unsigned long, ha_rkey_function) (handler.cc:2251) ==1786== by 0x8355ED2: end_update(JOIN*, st_join_table*, bool) (sql_select.cc:18827) ==1786== by 0x83534C2: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:17775) ==1786== by 0x8352B94: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:17469) ==1786== by 0x8351FF6: do_select(JOIN*, List<Item>*, TABLE*, Procedure*) (sql_select.cc:16997) ==1786== by 0x83314EA: JOIN::exec() (sql_select.cc:2917) ==1786== by 0x83336C8: 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_lex_unit*, st_select_lex*) (sql_select.cc:3584) ==1786== ==1786== ==1786== 1 errors in context 2 of 393: ==1786== Conditional jump or move depends on uninitialised value(s) ==1786== at 0x877D0AC: hp_key_cmp (hp_hash.c:651) ==1786== by 0x877C0D5: hp_search (hp_hash.c:118) ==1786== by 0x877F48B: heap_rkey (hp_rkey.c:61) ==1786== by 0x8779DF5: ha_heap::index_read_map(unsigned char*, unsigned char const*, unsigned long, ha_rkey_function) (ha_heap.cc:295) ==1786== by 0x819EEA8: handler::ha_index_read_map(unsigned char*, unsigned char const*, unsigned long, ha_rkey_function) (handler.cc:2251) ==1786== by 0x8355ED2: end_update(JOIN*, st_join_table*, bool) (sql_select.cc:18827) ==1786== by 0x83534C2: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:17775) ==1786== by 0x8352B94: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:17469) ==1786== by 0x8351FF6: do_select(JOIN*, List<Item>*, TABLE*, Procedure*) (sql_select.cc:16997) ==1786== by 0x83314EA: JOIN::exec() (sql_select.cc:2917) ==1786== by 0x83336C8: 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_lex_unit*, st_select_lex*) (sql_select.cc:3584) ==1786== by 0x832AA97: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:323) ...
[24 Dec 2012 9:44]
Erlend Dahl
Fixed as a duplicate of an internally filed bug.
[3 Jan 2013 18:15]
MySQL Verification Team
This was fixed only in 5.6 tree (5.6.5)