We're updating the issue view to help you get more done. 

ctest - drd_tiny_test_stress0 reports Conflicting load by thread 32

Description

Test fails in Percona jenkins. Also appears in drd_mid_test_stress0. Also seen on local hardware.

==9236== Thread 32:
==9236== Conflicting load by thread 32 at 0x07200d70 size 8
==9236== at 0x505F2AF: iter_txns_callback(tokutxn*, void*) (ydb.cc:2506)
==9236== by 0x512006B: txn_manager_iter(txn_manager*, int (tokutxn*, void*), void*, bool) (txn_manager.cc:916)
==9236== by 0x5120114: toku_txn_manager_iter_over_live_root_txns(txn_manager*, int (tokutxn*, void*), void*) (txn_manager.cc:954)
==9236== by 0x505F3DF: env_iterate_live_transactions(_toku_db_env*, int (toku_db_txn*, int (_toku_db*, __toku_dbt, __toku_dbt*, void*), void*, void*), void*) (ydb.cc:2530)
==9236== by 0x41176F: iterate_live_transactions_op(__toku_db_txn*, arg*, void*, void*) (test_stress0.cc:170)
==9236== by 0x4061CE: worker(void*) (threaded_stress_test_helpers.h:589)
==9236== by 0x4C2A347: ??? (in /usr/lib64/valgrind/vgpreload_drd-amd64-linux.so)
==9236== by 0x582483C: start_thread (in /lib64/libpthread-2.5.so)
==9236== by 0x68C0FCC: clone (in /lib64/libc-2.5.so)
==9236== Address 0x7200d70 is at offset 144 from 0x7200ce0. Allocation context:
==9236== at 0x4C25708: malloc (in /usr/lib64/valgrind/vgpreload_drd-amd64-linux.so)
==9236== by 0x53EA15D: os_malloc(unsigned long) (os_malloc.cc:267)
==9236== by 0x53E9392: toku_xmalloc(unsigned long) (memory.cc:387)
==9236== by 0x53E9A50: toku_xcalloc(unsigned long, unsigned long) (memory.cc:435)
==9236== by 0x507091B: toku_txn_begin(__toku_db_env*, __toku_db_txn*, __toku_db_txn**, unsigned int) (ydb_txn.cc:600)
==9236== by 0x40613A: worker(void*) (threaded_stress_test_helpers.h:587)
==9236== by 0x4C2A347: ??? (in /usr/lib64/valgrind/vgpreload_drd-amd64-linux.so)
==9236== by 0x582483C: start_thread (in /lib64/libpthread-2.5.so)
==9236== by 0x68C0FCC: clone (in /lib64/libc-2.5.so)
==9236== Other segment start (thread 29)
==9236== at 0x4C2BECC: pthread_mutex_unlock (in /usr/lib64/valgrind/vgpreload_drd-amd64-linux.so)
==9236== by 0x511D052: toku_mutex_unlock(toku_mutex*) (toku_pthread.h:239)
==9236== by 0x5120340: txn_manager_unlock(txn_manager*) (txn_manager.cc:1030)
==9236== by 0x511F753: toku_txn_manager_start_txn(tokutxn*, txn_manager*, __TXN_SNAPSHOT_TYPE, bool) (txn_manager.cc:702)
==9236== by 0x5119981: toku_txn_begin_with_xid(tokutxn*, tokutxn*, tokulogger, txnid_pair_s, __TXN_SNAPSHOT_TYPE, __toku_db_txn*, bool, bool) (txn.cc:252)
==9236== by 0x5070A31: toku_txn_begin(__toku_db_env*, __toku_db_txn*, __toku_db_txn**, unsigned int) (ydb_txn.cc:645)
==9236== by 0x40613A: worker(void*) (threaded_stress_test_helpers.h:587)
==9236== by 0x4C2A347: ??? (in /usr/lib64/valgrind/vgpreload_drd-amd64-linux.so)
==9236== by 0x582483C: start_thread (in /lib64/libpthread-2.5.so)
==9236== by 0x68C0FCC: clone (in /lib64/libc-2.5.so)
==9236== Other segment end (thread 29)
==9236== at 0x4C2BECC: pthread_mutex_unlock (in /usr/lib64/valgrind/vgpreload_drd-amd64-linux.so)
==9236== by 0x5093C59: toku_mutex_unlock(toku_mutex*) (toku_pthread.h:239)
==9236== by 0x5095142: pair_unlock(ctpair*) (cachetable.cc:189)
==9236== by 0x509830A: try_pin_pair(ctpair*, cachetable*, cachefile*, pair_lock_type, unsigned int, ctpair*, cachetable_dirty, bool (void*, void*), int (void*, void*, void*, int, pair_attr_s*), void*, bool) (cachetable.cc:1483)
==9236== by 0x509882A: toku_cachetable_get_and_pin_with_dep_pairs(cachefile*, blocknum_s, unsigned int, void*, long, CACHETABLE_WRITE_CALLBACK, int (cachefile*, ctpair*, int, blocknum_s, unsigned int, void*, void, pair_attr_s, int*, void*), bool (void*, void*), int (void*, void*, void*, int, pair_attr_s*), pair_lock_type, void*, unsigned int, ctpair*, cachetable_dirty) (cachetable.cc:1631)
==9236== by 0x50AD518: toku_pin_ftnode_with_dep_nodes(ft*, blocknum_s, unsigned int, ftnode_fetch_extra*, pair_lock_type, unsigned int, ftnode*, ftnode*, bool) (ft-cachetable-wrappers.cc:355)
==9236== by 0x50AD611: toku_pin_ftnode(ft*, blocknum_s, unsigned int, ftnode_fetch_extra*, pair_lock_type, ftnode**, bool) (ft-cachetable-wrappers.cc:371)
==9236== by 0x50C84D6: toku_ft_search(ft_handle*, ft_search*, int (unsigned int, void const*, unsigned int, void const*, void*, bool), void*, ft_cursor*, bool) (ft-ops.cc:3894)
==9236== by 0x50A6CC9: ft_cursor_search(ft_cursor*, ft_search*, int (unsigned int, void const*, unsigned int, void const*, void*, bool), void*, bool) (cursor.cc:212)
==9236== by 0x50A748C: toku_ft_cursor_next(ft_cursor*, int (unsigned int, void const*, unsigned int, void const*, void*, bool), void*) (cursor.cc:363)
==9236== by 0x50651F8: c_getf_next(_toku_dbc*, unsigned int, int (_toku_dbt const*, __toku_dbt const*, void*), void*) (ydb_cursor.cc:387)
==9236== by 0x406945: scan_op_and_maybe_check_sum(__toku_db*, _toku_db_txn*, scan_op_extra*, bool) (threaded_stress

Environment

None

Status

Assignee

Unassigned

Reporter

George Lorch

Labels

None

External issue ID

None

External issue ID

None

External issue ID

None

External issue ID

None

External issue ID

None

External issue ID

None

External issue ID

None

External issue ID

None

External issue ID

None

Freshdesk Tickets

None

Fix versions

Priority

Minor