Skip to content

Instantly share code, notes, and snippets.

@spetrunia
Created January 17, 2013 13:55
Show Gist options
  • Save spetrunia/4556039 to your computer and use it in GitHub Desktop.
Save spetrunia/4556039 to your computer and use it in GitHub Desktop.
==1341== Invalid read of size 1
==1341== at 0x8A8523D: my_utf8_uni (ctype-utf8.c:5282)
==1341== by 0x8A85BF5: my_strnncoll_utf8 (ctype-utf8.c:5674)
==1341== by 0x86ADE65: hashcmp (hash.c:359)
==1341== by 0x86ADC65: my_hash_first_from_hash_value (hash.c:275)
==1341== by 0x86ADBAC: my_hash_first (hash.c:248)
==1341== by 0x86ADABD: my_hash_search (hash.c:216)
==1341== by 0x86E5854: Table_ddl_manager::find(unsigned char*, unsigned int) (ldb_datadic.cc:566)
==1341== by 0x86E4BB8: Primary_key_comparator::Compare(leveldb::Slice const&, leveldb::Slice const&) const (ha_leveldb.cc:154)
==1341== by 0x86E0BAF: Primary_key_comparator::compare_keys(unsigned char const*, unsigned int, unsigned char const*, unsigned int) (ha_leveldb.cc:182)
==1341== by 0x8A5E49B: lfind (lf_hash.c:114)
==1341== by 0x8A5E9D8: lsearch (lf_hash.c:274)
==1341== by 0x8A5F203: lf_hash_search (lf_hash.c:479)
==1341== Address 0x1856d1fb is 3 bytes inside a block of size 12 free'd
==1341== at 0x4025DFA: free (vg_replace_malloc.c:323)
==1341== by 0x86C872E: my_free (my_malloc.c:130)
==1341== by 0x86E76AC: LockTable::release_lock(LF_PINS*, Row_lock*) (ldb_locks.cc:279)
==1341== by 0x86E3E1E: ha_leveldb::write_row(unsigned char*) (ha_leveldb.cc:881)
==1341== by 0x8230964: handler::ha_write_row(unsigned char*) (handler.cc:7131)
==1341== by 0x83C3570: write_record(THD*, TABLE*, COPY_INFO*, COPY_INFO*) (sql_insert.cc:1858)
==1341== by 0x83C39AE: select_insert::send_data(List<Item>&) (sql_insert.cc:3630)
==1341== by 0x83AFBAB: end_send(JOIN*, st_join_table*, bool) (sql_executor.cc:2719)
==1341== by 0x83B609F: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1591)
==1341== by 0x83B64FE: QEP_tmp_table::end_send() (sql_executor.cc:4307)
==1341== by 0x83B6D52: sub_select_op(JOIN*, st_join_table*, bool) (sql_executor.cc:1045)
==1341== by 0x83B685B: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1199)
==1341==
==1341== Invalid read of size 1
==1341== at 0x8A5B2D9: ha_key_cmp (my_compare.c:302)
==1341== by 0x86E4A86: LDBSE_KEYDEF::cmp_keys(char const*, char const*, unsigned int) (ldb_datadic.h:38)
==1341== by 0x86E4C14: Primary_key_comparator::Compare(leveldb::Slice const&, leveldb::Slice const&) const (ha_leveldb.cc:158)
==1341== by 0x86E0BAF: Primary_key_comparator::compare_keys(unsigned char const*, unsigned int, unsigned char const*, unsigned int) (ha_leveldb.cc:182)
==1341== by 0x8A5E49B: lfind (lf_hash.c:114)
==1341== by 0x8A5E9D8: lsearch (lf_hash.c:274)
==1341== by 0x8A5F203: lf_hash_search (lf_hash.c:479)
==1341== by 0x86E78EC: LockTable::get_lock(LF_PINS*, unsigned char const*, unsigned int, int) (ldb_locks.cc:125)
==1341== by 0x86E388C: ha_leveldb::rnd_next(unsigned char*) (ha_leveldb.cc:964)
==1341== by 0x822DE7A: handler::ha_rnd_next(unsigned char*) (handler.cc:2603)
==1341== by 0x853B496: find_all_keys(Sort_param*, SQL_SELECT*, Filesort_info*, st_io_cache*, st_io_cache*, Bounded_queue<unsigned char, unsigned char>*, unsigned long long*) (filesort.cc:764)
==1341== by 0x853C95D: filesort(THD*, TABLE*, Filesort*, bool, unsigned long long*, unsigned long long*) (filesort.cc:337)
==1341== Address 0x1856d203 is 11 bytes inside a block of size 12 free'd
==1341== at 0x4025DFA: free (vg_replace_malloc.c:323)
==1341== by 0x86C872E: my_free (my_malloc.c:130)
==1341== by 0x86E76AC: LockTable::release_lock(LF_PINS*, Row_lock*) (ldb_locks.cc:279)
==1341== by 0x86E3E1E: ha_leveldb::write_row(unsigned char*) (ha_leveldb.cc:881)
==1341== by 0x8230964: handler::ha_write_row(unsigned char*) (handler.cc:7131)
==1341== by 0x83C3570: write_record(THD*, TABLE*, COPY_INFO*, COPY_INFO*) (sql_insert.cc:1858)
==1341== by 0x83C39AE: select_insert::send_data(List<Item>&) (sql_insert.cc:3630)
==1341== by 0x83AFBAB: end_send(JOIN*, st_join_table*, bool) (sql_executor.cc:2719)
==1341== by 0x83B609F: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1591)
==1341== by 0x83B64FE: QEP_tmp_table::end_send() (sql_executor.cc:4307)
==1341== by 0x83B6D52: sub_select_op(JOIN*, st_join_table*, bool) (sql_executor.cc:1045)
==1341== by 0x83B685B: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1199)
==1341==
==1341== Invalid read of size 1
==1341== at 0x8A5B2E5: ha_key_cmp (my_compare.c:302)
==1341== by 0x86E4A86: LDBSE_KEYDEF::cmp_keys(char const*, char const*, unsigned int) (ldb_datadic.h:38)
==1341== by 0x86E4C14: Primary_key_comparator::Compare(leveldb::Slice const&, leveldb::Slice const&) const (ha_leveldb.cc:158)
==1341== by 0x86E0BAF: Primary_key_comparator::compare_keys(unsigned char const*, unsigned int, unsigned char const*, unsigned int) (ha_leveldb.cc:182)
==1341== by 0x8A5E49B: lfind (lf_hash.c:114)
==1341== by 0x8A5E9D8: lsearch (lf_hash.c:274)
==1341== by 0x8A5F203: lf_hash_search (lf_hash.c:479)
==1341== by 0x86E78EC: LockTable::get_lock(LF_PINS*, unsigned char const*, unsigned int, int) (ldb_locks.cc:125)
==1341== by 0x86E388C: ha_leveldb::rnd_next(unsigned char*) (ha_leveldb.cc:964)
==1341== by 0x822DE7A: handler::ha_rnd_next(unsigned char*) (handler.cc:2603)
==1341== by 0x853B496: find_all_keys(Sort_param*, SQL_SELECT*, Filesort_info*, st_io_cache*, st_io_cache*, Bounded_queue<unsigned char, unsigned char>*, unsigned long long*) (filesort.cc:764)
==1341== by 0x853C95D: filesort(THD*, TABLE*, Filesort*, bool, unsigned long long*, unsigned long long*) (filesort.cc:337)
==1341== Address 0x1856d202 is 10 bytes inside a block of size 12 free'd
==1341== at 0x4025DFA: free (vg_replace_malloc.c:323)
==1341== by 0x86C872E: my_free (my_malloc.c:130)
==1341== by 0x86E76AC: LockTable::release_lock(LF_PINS*, Row_lock*) (ldb_locks.cc:279)
==1341== by 0x86E3E1E: ha_leveldb::write_row(unsigned char*) (ha_leveldb.cc:881)
==1341== by 0x8230964: handler::ha_write_row(unsigned char*) (handler.cc:7131)
==1341== by 0x83C3570: write_record(THD*, TABLE*, COPY_INFO*, COPY_INFO*) (sql_insert.cc:1858)
==1341== by 0x83C39AE: select_insert::send_data(List<Item>&) (sql_insert.cc:3630)
==1341== by 0x83AFBAB: end_send(JOIN*, st_join_table*, bool) (sql_executor.cc:2719)
==1341== by 0x83B609F: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1591)
==1341== by 0x83B64FE: QEP_tmp_table::end_send() (sql_executor.cc:4307)
==1341== by 0x83B6D52: sub_select_op(JOIN*, st_join_table*, bool) (sql_executor.cc:1045)
==1341== by 0x83B685B: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1199)
==1341==
==1341== Invalid read of size 1
==1341== at 0x8A5B2F6: ha_key_cmp (my_compare.c:302)
==1341== by 0x86E4A86: LDBSE_KEYDEF::cmp_keys(char const*, char const*, unsigned int) (ldb_datadic.h:38)
==1341== by 0x86E4C14: Primary_key_comparator::Compare(leveldb::Slice const&, leveldb::Slice const&) const (ha_leveldb.cc:158)
==1341== by 0x86E0BAF: Primary_key_comparator::compare_keys(unsigned char const*, unsigned int, unsigned char const*, unsigned int) (ha_leveldb.cc:182)
==1341== by 0x8A5E49B: lfind (lf_hash.c:114)
==1341== by 0x8A5E9D8: lsearch (lf_hash.c:274)
==1341== by 0x8A5F203: lf_hash_search (lf_hash.c:479)
==1341== by 0x86E78EC: LockTable::get_lock(LF_PINS*, unsigned char const*, unsigned int, int) (ldb_locks.cc:125)
==1341== by 0x86E388C: ha_leveldb::rnd_next(unsigned char*) (ha_leveldb.cc:964)
==1341== by 0x822DE7A: handler::ha_rnd_next(unsigned char*) (handler.cc:2603)
==1341== by 0x853B496: find_all_keys(Sort_param*, SQL_SELECT*, Filesort_info*, st_io_cache*, st_io_cache*, Bounded_queue<unsigned char, unsigned char>*, unsigned long long*) (filesort.cc:764)
==1341== by 0x853C95D: filesort(THD*, TABLE*, Filesort*, bool, unsigned long long*, unsigned long long*) (filesort.cc:337)
==1341== Address 0x1856d201 is 9 bytes inside a block of size 12 free'd
==1341== at 0x4025DFA: free (vg_replace_malloc.c:323)
==1341== by 0x86C872E: my_free (my_malloc.c:130)
==1341== by 0x86E76AC: LockTable::release_lock(LF_PINS*, Row_lock*) (ldb_locks.cc:279)
==1341== by 0x86E3E1E: ha_leveldb::write_row(unsigned char*) (ha_leveldb.cc:881)
==1341== by 0x8230964: handler::ha_write_row(unsigned char*) (handler.cc:7131)
==1341== by 0x83C3570: write_record(THD*, TABLE*, COPY_INFO*, COPY_INFO*) (sql_insert.cc:1858)
==1341== by 0x83C39AE: select_insert::send_data(List<Item>&) (sql_insert.cc:3630)
==1341== by 0x83AFBAB: end_send(JOIN*, st_join_table*, bool) (sql_executor.cc:2719)
==1341== by 0x83B609F: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1591)
==1341== by 0x83B64FE: QEP_tmp_table::end_send() (sql_executor.cc:4307)
==1341== by 0x83B6D52: sub_select_op(JOIN*, st_join_table*, bool) (sql_executor.cc:1045)
==1341== by 0x83B685B: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1199)
==1341==
==1341== Invalid read of size 1
==1341== at 0x8A5B304: ha_key_cmp (my_compare.c:302)
==1341== by 0x86E4A86: LDBSE_KEYDEF::cmp_keys(char const*, char const*, unsigned int) (ldb_datadic.h:38)
==1341== by 0x86E4C14: Primary_key_comparator::Compare(leveldb::Slice const&, leveldb::Slice const&) const (ha_leveldb.cc:158)
==1341== by 0x86E0BAF: Primary_key_comparator::compare_keys(unsigned char const*, unsigned int, unsigned char const*, unsigned int) (ha_leveldb.cc:182)
==1341== by 0x8A5E49B: lfind (lf_hash.c:114)
==1341== by 0x8A5E9D8: lsearch (lf_hash.c:274)
==1341== by 0x8A5F203: lf_hash_search (lf_hash.c:479)
==1341== by 0x86E78EC: LockTable::get_lock(LF_PINS*, unsigned char const*, unsigned int, int) (ldb_locks.cc:125)
==1341== by 0x86E388C: ha_leveldb::rnd_next(unsigned char*) (ha_leveldb.cc:964)
==1341== by 0x822DE7A: handler::ha_rnd_next(unsigned char*) (handler.cc:2603)
==1341== by 0x853B496: find_all_keys(Sort_param*, SQL_SELECT*, Filesort_info*, st_io_cache*, st_io_cache*, Bounded_queue<unsigned char, unsigned char>*, unsigned long long*) (filesort.cc:764)
==1341== by 0x853C95D: filesort(THD*, TABLE*, Filesort*, bool, unsigned long long*, unsigned long long*) (filesort.cc:337)
==1341== Address 0x1856d200 is 8 bytes inside a block of size 12 free'd
==1341== at 0x4025DFA: free (vg_replace_malloc.c:323)
==1341== by 0x86C872E: my_free (my_malloc.c:130)
==1341== by 0x86E76AC: LockTable::release_lock(LF_PINS*, Row_lock*) (ldb_locks.cc:279)
==1341== by 0x86E3E1E: ha_leveldb::write_row(unsigned char*) (ha_leveldb.cc:881)
==1341== by 0x8230964: handler::ha_write_row(unsigned char*) (handler.cc:7131)
==1341== by 0x83C3570: write_record(THD*, TABLE*, COPY_INFO*, COPY_INFO*) (sql_insert.cc:1858)
==1341== by 0x83C39AE: select_insert::send_data(List<Item>&) (sql_insert.cc:3630)
==1341== by 0x83AFBAB: end_send(JOIN*, st_join_table*, bool) (sql_executor.cc:2719)
==1341== by 0x83B609F: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1591)
==1341== by 0x83B64FE: QEP_tmp_table::end_send() (sql_executor.cc:4307)
==1341== by 0x83B6D52: sub_select_op(JOIN*, st_join_table*, bool) (sql_executor.cc:1045)
==1341== by 0x83B685B: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1199)
==1341==
==1341== Thread 26:
==1341== Invalid read of size 1
==1341== at 0x86E0877: Primary_key_comparator::get_hashnr(char const*, unsigned int) (ha_leveldb.cc:1459)
==1341== by 0x8A5EEBF: calc_hash (lf_hash.c:302)
==1341== by 0x8A5ECB7: lf_hash_insert (lf_hash.c:395)
==1341== by 0x86E78A0: LockTable::get_lock(LF_PINS*, unsigned char const*, unsigned int, int) (ldb_locks.cc:135)
==1341== by 0x86E388C: ha_leveldb::rnd_next(unsigned char*) (ha_leveldb.cc:964)
==1341== by 0x822DE7A: handler::ha_rnd_next(unsigned char*) (handler.cc:2603)
==1341== by 0x853B496: find_all_keys(Sort_param*, SQL_SELECT*, Filesort_info*, st_io_cache*, st_io_cache*, Bounded_queue<unsigned char, unsigned char>*, unsigned long long*) (filesort.cc:764)
==1341== by 0x853C95D: filesort(THD*, TABLE*, Filesort*, bool, unsigned long long*, unsigned long long*) (filesort.cc:337)
==1341== by 0x85B58B4: mysql_delete(THD*, TABLE_LIST*, Item*, SQL_I_List<st_order>*, unsigned long long, unsigned long long) (sql_delete.cc:301)
==1341== by 0x83E6D01: mysql_execute_command(THD*) (sql_parse.cc:3469)
==1341== by 0x83EC421: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6097)
==1341== by 0x83ED21E: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1312)
==1341== Address 0x12b0cdc8 is 0 bytes inside a block of size 12 free'd
==1341== at 0x4025DFA: free (vg_replace_malloc.c:323)
==1341== by 0x86C872E: my_free (my_malloc.c:130)
==1341== by 0x86E76AC: LockTable::release_lock(LF_PINS*, Row_lock*) (ldb_locks.cc:279)
==1341== by 0x86E4DA0: Ldb_transaction::release_locks() (ha_leveldb.cc:229)
==1341== by 0x86E4E4E: Ldb_transaction::rollback() (ha_leveldb.cc:266)
==1341== by 0x86E4F55: Ldb_transaction::commit() (ha_leveldb.cc:243)
==1341== by 0x86E31FA: ha_leveldb::external_lock(THD*, int) (ha_leveldb.cc:1231)
==1341== by 0x822CF3E: handler::ha_external_lock(THD*, int) (handler.cc:7050)
==1341== by 0x8558B3F: unlock_external(THD*, TABLE**, unsigned int) (lock.cc:646)
==1341== by 0x85594D8: mysql_unlock_tables(THD*, st_mysql_lock*) (lock.cc:389)
==1341== by 0x837A7D9: close_thread_tables(THD*) (sql_base.cc:1446)
==1341== by 0x83EBDA5: mysql_execute_command(THD*) (sql_parse.cc:4903)
==1341==
==1341== Invalid read of size 1
==1341== at 0x86E0881: Primary_key_comparator::get_hashnr(char const*, unsigned int) (ha_leveldb.cc:1460)
==1341== by 0x8A5EEBF: calc_hash (lf_hash.c:302)
==1341== by 0x8A5ECB7: lf_hash_insert (lf_hash.c:395)
==1341== by 0x86E78A0: LockTable::get_lock(LF_PINS*, unsigned char const*, unsigned int, int) (ldb_locks.cc:135)
==1341== by 0x86E388C: ha_leveldb::rnd_next(unsigned char*) (ha_leveldb.cc:964)
==1341== by 0x822DE7A: handler::ha_rnd_next(unsigned char*) (handler.cc:2603)
==1341== by 0x853B496: find_all_keys(Sort_param*, SQL_SELECT*, Filesort_info*, st_io_cache*, st_io_cache*, Bounded_queue<unsigned char, unsigned char>*, unsigned long long*) (filesort.cc:764)
==1341== by 0x853C95D: filesort(THD*, TABLE*, Filesort*, bool, unsigned long long*, unsigned long long*) (filesort.cc:337)
==1341== by 0x85B58B4: mysql_delete(THD*, TABLE_LIST*, Item*, SQL_I_List<st_order>*, unsigned long long, unsigned long long) (sql_delete.cc:301)
==1341== by 0x83E6D01: mysql_execute_command(THD*) (sql_parse.cc:3469)
==1341== by 0x83EC421: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6097)
==1341== by 0x83ED21E: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1312)
==1341== Address 0x12b0cdcf is 7 bytes inside a block of size 12 free'd
==1341== at 0x4025DFA: free (vg_replace_malloc.c:323)
==1341== by 0x86C872E: my_free (my_malloc.c:130)
==1341== by 0x86E76AC: LockTable::release_lock(LF_PINS*, Row_lock*) (ldb_locks.cc:279)
==1341== by 0x86E4DA0: Ldb_transaction::release_locks() (ha_leveldb.cc:229)
==1341== by 0x86E4E4E: Ldb_transaction::rollback() (ha_leveldb.cc:266)
==1341== by 0x86E4F55: Ldb_transaction::commit() (ha_leveldb.cc:243)
==1341== by 0x86E31FA: ha_leveldb::external_lock(THD*, int) (ha_leveldb.cc:1231)
==1341== by 0x822CF3E: handler::ha_external_lock(THD*, int) (handler.cc:7050)
==1341== by 0x8558B3F: unlock_external(THD*, TABLE**, unsigned int) (lock.cc:646)
==1341== by 0x85594D8: mysql_unlock_tables(THD*, st_mysql_lock*) (lock.cc:389)
==1341== by 0x837A7D9: close_thread_tables(THD*) (sql_base.cc:1446)
==1341== by 0x83EBDA5: mysql_execute_command(THD*) (sql_parse.cc:4903)
==1341==
==1341== Invalid read of size 1
==1341== at 0x8A8578F: my_hash_sort_utf8 (ctype-utf8.c:5563)
==1341== by 0x86AD706: calc_hash (hash.c:46)
==1341== by 0x86ADB86: my_hash_first (hash.c:248)
==1341== by 0x86ADABD: my_hash_search (hash.c:216)
==1341== by 0x86E5854: Table_ddl_manager::find(unsigned char*, unsigned int) (ldb_datadic.cc:566)
==1341== by 0x86E08D6: Primary_key_comparator::get_hashnr(char const*, unsigned int) (ha_leveldb.cc:1462)
==1341== by 0x8A5EEBF: calc_hash (lf_hash.c:302)
==1341== by 0x8A5ECB7: lf_hash_insert (lf_hash.c:395)
==1341== by 0x86E78A0: LockTable::get_lock(LF_PINS*, unsigned char const*, unsigned int, int) (ldb_locks.cc:135)
==1341== by 0x86E388C: ha_leveldb::rnd_next(unsigned char*) (ha_leveldb.cc:964)
==1341== by 0x822DE7A: handler::ha_rnd_next(unsigned char*) (handler.cc:2603)
==1341== by 0x853B496: find_all_keys(Sort_param*, SQL_SELECT*, Filesort_info*, st_io_cache*, st_io_cache*, Bounded_queue<unsigned char, unsigned char>*, unsigned long long*) (filesort.cc:764)
==1341== Address 0x12b0cdce is 6 bytes inside a block of size 12 free'd
==1341== at 0x4025DFA: free (vg_replace_malloc.c:323)
==1341== by 0x86C872E: my_free (my_malloc.c:130)
==1341== by 0x86E76AC: LockTable::release_lock(LF_PINS*, Row_lock*) (ldb_locks.cc:279)
==1341== by 0x86E4DA0: Ldb_transaction::release_locks() (ha_leveldb.cc:229)
==1341== by 0x86E4E4E: Ldb_transaction::rollback() (ha_leveldb.cc:266)
==1341== by 0x86E4F55: Ldb_transaction::commit() (ha_leveldb.cc:243)
==1341== by 0x86E31FA: ha_leveldb::external_lock(THD*, int) (ha_leveldb.cc:1231)
==1341== by 0x822CF3E: handler::ha_external_lock(THD*, int) (handler.cc:7050)
==1341== by 0x8558B3F: unlock_external(THD*, TABLE**, unsigned int) (lock.cc:646)
==1341== by 0x85594D8: mysql_unlock_tables(THD*, st_mysql_lock*) (lock.cc:389)
==1341== by 0x837A7D9: close_thread_tables(THD*) (sql_base.cc:1446)
==1341== by 0x83EBDA5: mysql_execute_command(THD*) (sql_parse.cc:4903)
==1341==
==1341== Invalid read of size 1
==1341== at 0x8A8523D: my_utf8_uni (ctype-utf8.c:5282)
==1341== by 0x8A85866: my_hash_sort_utf8 (ctype-utf8.c:5566)
==1341== by 0x86AD706: calc_hash (hash.c:46)
==1341== by 0x86ADB86: my_hash_first (hash.c:248)
==1341== by 0x86ADABD: my_hash_search (hash.c:216)
==1341== by 0x86E5854: Table_ddl_manager::find(unsigned char*, unsigned int) (ldb_datadic.cc:566)
==1341== by 0x86E08D6: Primary_key_comparator::get_hashnr(char const*, unsigned int) (ha_leveldb.cc:1462)
==1341== by 0x8A5EEBF: calc_hash (lf_hash.c:302)
==1341== by 0x8A5ECB7: lf_hash_insert (lf_hash.c:395)
==1341== by 0x86E78A0: LockTable::get_lock(LF_PINS*, unsigned char const*, unsigned int, int) (ldb_locks.cc:135)
==1341== by 0x86E388C: ha_leveldb::rnd_next(unsigned char*) (ha_leveldb.cc:964)
==1341== by 0x822DE7A: handler::ha_rnd_next(unsigned char*) (handler.cc:2603)
==1341== Address 0x12b0cdc8 is 0 bytes inside a block of size 12 free'd
==1341== at 0x4025DFA: free (vg_replace_malloc.c:323)
==1341== by 0x86C872E: my_free (my_malloc.c:130)
==1341== by 0x86E76AC: LockTable::release_lock(LF_PINS*, Row_lock*) (ldb_locks.cc:279)
==1341== by 0x86E4DA0: Ldb_transaction::release_locks() (ha_leveldb.cc:229)
==1341== by 0x86E4E4E: Ldb_transaction::rollback() (ha_leveldb.cc:266)
==1341== by 0x86E4F55: Ldb_transaction::commit() (ha_leveldb.cc:243)
==1341== by 0x86E31FA: ha_leveldb::external_lock(THD*, int) (ha_leveldb.cc:1231)
==1341== by 0x822CF3E: handler::ha_external_lock(THD*, int) (handler.cc:7050)
==1341== by 0x8558B3F: unlock_external(THD*, TABLE**, unsigned int) (lock.cc:646)
==1341== by 0x85594D8: mysql_unlock_tables(THD*, st_mysql_lock*) (lock.cc:389)
==1341== by 0x837A7D9: close_thread_tables(THD*) (sql_base.cc:1446)
==1341== by 0x83EBDA5: mysql_execute_command(THD*) (sql_parse.cc:4903)
==1341==
==1341== Invalid read of size 1
==1341== at 0x8A71138: my_hash_sort_bin (ctype-bin.c:307)
==1341== by 0x86E0947: Primary_key_comparator::get_hashnr(char const*, unsigned int) (ha_leveldb.cc:1465)
==1341== by 0x8A5EEBF: calc_hash (lf_hash.c:302)
==1341== by 0x8A5ECB7: lf_hash_insert (lf_hash.c:395)
==1341== by 0x86E78A0: LockTable::get_lock(LF_PINS*, unsigned char const*, unsigned int, int) (ldb_locks.cc:135)
==1341== by 0x86E388C: ha_leveldb::rnd_next(unsigned char*) (ha_leveldb.cc:964)
==1341== by 0x822DE7A: handler::ha_rnd_next(unsigned char*) (handler.cc:2603)
==1341== by 0x853B496: find_all_keys(Sort_param*, SQL_SELECT*, Filesort_info*, st_io_cache*, st_io_cache*, Bounded_queue<unsigned char, unsigned char>*, unsigned long long*) (filesort.cc:764)
==1341== by 0x853C95D: filesort(THD*, TABLE*, Filesort*, bool, unsigned long long*, unsigned long long*) (filesort.cc:337)
==1341== by 0x85B58B4: mysql_delete(THD*, TABLE_LIST*, Item*, SQL_I_List<st_order>*, unsigned long long, unsigned long long) (sql_delete.cc:301)
==1341== by 0x83E6D01: mysql_execute_command(THD*) (sql_parse.cc:3469)
==1341== by 0x83EC421: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6097)
==1341== Address 0x12b0cdc8 is 0 bytes inside a block of size 12 free'd
==1341== at 0x4025DFA: free (vg_replace_malloc.c:323)
==1341== by 0x86C872E: my_free (my_malloc.c:130)
==1341== by 0x86E76AC: LockTable::release_lock(LF_PINS*, Row_lock*) (ldb_locks.cc:279)
==1341== by 0x86E4DA0: Ldb_transaction::release_locks() (ha_leveldb.cc:229)
==1341== by 0x86E4E4E: Ldb_transaction::rollback() (ha_leveldb.cc:266)
==1341== by 0x86E4F55: Ldb_transaction::commit() (ha_leveldb.cc:243)
==1341== by 0x86E31FA: ha_leveldb::external_lock(THD*, int) (ha_leveldb.cc:1231)
==1341== by 0x822CF3E: handler::ha_external_lock(THD*, int) (handler.cc:7050)
==1341== by 0x8558B3F: unlock_external(THD*, TABLE**, unsigned int) (lock.cc:646)
==1341== by 0x85594D8: mysql_unlock_tables(THD*, st_mysql_lock*) (lock.cc:389)
==1341== by 0x837A7D9: close_thread_tables(THD*) (sql_base.cc:1446)
==1341== by 0x83EBDA5: mysql_execute_command(THD*) (sql_parse.cc:4903)
==1341==
==1341== Invalid read of size 1
==1341== at 0x86E0B07: Primary_key_comparator::get_hashnr(char const*, unsigned int) (ha_leveldb.cc:1519)
==1341== by 0x8A5EEBF: calc_hash (lf_hash.c:302)
==1341== by 0x8A5ECB7: lf_hash_insert (lf_hash.c:395)
==1341== by 0x86E78A0: LockTable::get_lock(LF_PINS*, unsigned char const*, unsigned int, int) (ldb_locks.cc:135)
==1341== by 0x86E388C: ha_leveldb::rnd_next(unsigned char*) (ha_leveldb.cc:964)
==1341== by 0x822DE7A: handler::ha_rnd_next(unsigned char*) (handler.cc:2603)
==1341== by 0x853B496: find_all_keys(Sort_param*, SQL_SELECT*, Filesort_info*, st_io_cache*, st_io_cache*, Bounded_queue<unsigned char, unsigned char>*, unsigned long long*) (filesort.cc:764)
==1341== by 0x853C95D: filesort(THD*, TABLE*, Filesort*, bool, unsigned long long*, unsigned long long*) (filesort.cc:337)
==1341== by 0x85B58B4: mysql_delete(THD*, TABLE_LIST*, Item*, SQL_I_List<st_order>*, unsigned long long, unsigned long long) (sql_delete.cc:301)
==1341== by 0x83E6D01: mysql_execute_command(THD*) (sql_parse.cc:3469)
==1341== by 0x83EC421: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6097)
==1341== by 0x83ED21E: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1312)
==1341== Address 0x12b0cdd0 is 8 bytes inside a block of size 12 free'd
==1341== at 0x4025DFA: free (vg_replace_malloc.c:323)
==1341== by 0x86C872E: my_free (my_malloc.c:130)
==1341== by 0x86E76AC: LockTable::release_lock(LF_PINS*, Row_lock*) (ldb_locks.cc:279)
==1341== by 0x86E4DA0: Ldb_transaction::release_locks() (ha_leveldb.cc:229)
==1341== by 0x86E4E4E: Ldb_transaction::rollback() (ha_leveldb.cc:266)
==1341== by 0x86E4F55: Ldb_transaction::commit() (ha_leveldb.cc:243)
==1341== by 0x86E31FA: ha_leveldb::external_lock(THD*, int) (ha_leveldb.cc:1231)
==1341== by 0x822CF3E: handler::ha_external_lock(THD*, int) (handler.cc:7050)
==1341== by 0x8558B3F: unlock_external(THD*, TABLE**, unsigned int) (lock.cc:646)
==1341== by 0x85594D8: mysql_unlock_tables(THD*, st_mysql_lock*) (lock.cc:389)
==1341== by 0x837A7D9: close_thread_tables(THD*) (sql_base.cc:1446)
==1341== by 0x83EBDA5: mysql_execute_command(THD*) (sql_parse.cc:4903)
==1341==
==1341== Invalid read of size 1
==1341== at 0x86E4AE4: Primary_key_comparator::Compare(leveldb::Slice const&, leveldb::Slice const&) const (ha_leveldb.cc:134)
==1341== by 0x86E0BAF: Primary_key_comparator::compare_keys(unsigned char const*, unsigned int, unsigned char const*, unsigned int) (ha_leveldb.cc:182)
==1341== by 0x8A5E49B: lfind (lf_hash.c:114)
==1341== by 0x8A5E9D8: lsearch (lf_hash.c:274)
==1341== by 0x8A5F203: lf_hash_search (lf_hash.c:479)
==1341== by 0x86E78EC: LockTable::get_lock(LF_PINS*, unsigned char const*, unsigned int, int) (ldb_locks.cc:125)
==1341== by 0x86E388C: ha_leveldb::rnd_next(unsigned char*) (ha_leveldb.cc:964)
==1341== by 0x822DE7A: handler::ha_rnd_next(unsigned char*) (handler.cc:2603)
==1341== by 0x853B496: find_all_keys(Sort_param*, SQL_SELECT*, Filesort_info*, st_io_cache*, st_io_cache*, Bounded_queue<unsigned char, unsigned char>*, unsigned long long*) (filesort.cc:764)
==1341== by 0x853C95D: filesort(THD*, TABLE*, Filesort*, bool, unsigned long long*, unsigned long long*) (filesort.cc:337)
==1341== by 0x85B58B4: mysql_delete(THD*, TABLE_LIST*, Item*, SQL_I_List<st_order>*, unsigned long long, unsigned long long) (sql_delete.cc:301)
==1341== by 0x83E6D01: mysql_execute_command(THD*) (sql_parse.cc:3469)
==1341== Address 0x12b0cdc8 is 0 bytes inside a block of size 12 free'd
==1341== at 0x4025DFA: free (vg_replace_malloc.c:323)
==1341== by 0x86C872E: my_free (my_malloc.c:130)
==1341== by 0x86E76AC: LockTable::release_lock(LF_PINS*, Row_lock*) (ldb_locks.cc:279)
==1341== by 0x86E4DA0: Ldb_transaction::release_locks() (ha_leveldb.cc:229)
==1341== by 0x86E4E4E: Ldb_transaction::rollback() (ha_leveldb.cc:266)
==1341== by 0x86E4F55: Ldb_transaction::commit() (ha_leveldb.cc:243)
==1341== by 0x86E31FA: ha_leveldb::external_lock(THD*, int) (ha_leveldb.cc:1231)
==1341== by 0x822CF3E: handler::ha_external_lock(THD*, int) (handler.cc:7050)
==1341== by 0x8558B3F: unlock_external(THD*, TABLE**, unsigned int) (lock.cc:646)
==1341== by 0x85594D8: mysql_unlock_tables(THD*, st_mysql_lock*) (lock.cc:389)
==1341== by 0x837A7D9: close_thread_tables(THD*) (sql_base.cc:1446)
==1341== by 0x83EBDA5: mysql_execute_command(THD*) (sql_parse.cc:4903)
==1341==
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment