Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 10.0.1
-
Component/s: None
-
Labels:None
Description
Conditional jump or move depends on uninitialised value(s) at 0x4C2AB9D: bcmp (mc_replace_strmem.c:679) by 0x7C8E5E: Field_bit::cmp_max(unsigned char const*, unsigned char const*, unsigned int) (field.cc:8374) by 0x899FD2: key_rec_cmp (key.cc:593) by 0xC9B55D: _downheap (queues.c:305) by 0xC9B6F8: queue_fix (queues.c:354) by 0xC5E8B2: ha_partition::handle_ordered_index_scan(unsigned char*, bool) (ha_partition.cc:5359) by 0xC5D66E: ha_partition::common_first_last(unsigned char*) (ha_partition.cc:4791) by 0xC5D56E: ha_partition::index_first(unsigned char*) (ha_partition.cc:4739) by 0x5AAD57: handler::ha_index_first(unsigned char*) (sql_class.h:4220) by 0x6A1CA6: collect_statistics_for_index(THD*, TABLE*, unsigned int) (sql_statistics.cc:1961) by 0x6A2106: collect_statistics_for_table(THD*, TABLE*) (sql_statistics.cc:2120) by 0x72F7E3: mysql_admin_table(THD*, TABLE_LIST*, st_ha_check_opt*, char const*, thr_lock_type, bool, bool, unsigned int, int (*)(THD*, TABLE_LIST*, st_ha_check_opt*), int (handler::*)(THD*, st_ha_check_opt*), int (*)(THD*, TABLE_LIST*)) (sql_admin.cc:716) by 0x730D84: Analyze_table_statement::execute(THD*) (sql_admin.cc:1079) by 0x619CAC: mysql_execute_command(THD*) (sql_parse.cc:4453) by 0x61CE4E: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5730) by 0x610660: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1055)
branch: maria/maria-5.5-mwl248 revision-id: igor@askmonty.org-20121103033805-k8ljjjflkoerlef4 date: 2012-11-02 20:38:05 -0700 revno: 3569
Tried with
BUILD/compile-amd64-valgrind-max
BUILD/compile-pentium-valgrind-max-no-ndb
BUILD/compile-pentium-valgrind-max
reproducible on each.
Could not reproduce on BUILD/compile-pentium-debug-max-no-ndb
Test case
run as perl ./mtr --valgrind-mysqld <testname>
--source include/have_partition.inc SET use_stat_tables=PREFERABLY; CREATE TABLE t1 ( pk INT PRIMARY KEY, f BIT, KEY(f) ) ENGINE=MyISAM PARTITION BY KEY(pk) PARTITIONS 2; INSERT INTO t1 VALUES (1,1),(2,0),(3,0),(4,1); ANALYZE TABLE t1;
Gliffy Diagrams
Attachments
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions
The fix for the bug was pushed into maria-5.5-mwl248 (rev 3570).