Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-12737

tokudb_mariadb.mdev6657 fails in buildbot with different plan, and outside with valgrind warnings

    XMLWordPrintable

Details

    • 10.1.32

    Description

      This happens on the valgrind builder in buildbot:
      http://buildbot.askmonty.org/buildbot/builders/work-amd64-valgrind/builds/10030/steps/test/logs/stdio

      tokudb_mariadb.mdev6657                  w2 [ fail ]
              Test ended at 2017-05-02 16:47:21
       
      CURRENT_TEST: tokudb_mariadb.mdev6657
      --- /mnt/data/buildot/maria-slave/work-opensuse-amd64/build/storage/tokudb/mysql-test/tokudb_mariadb/r/mdev6657.result	2017-04-30 22:23:54.359096283 +0300
      +++ /mnt/data/buildot/maria-slave/work-opensuse-amd64/build/storage/tokudb/mysql-test/tokudb_mariadb/r/mdev6657.reject	2017-05-02 16:47:21.529139117 +0300
      @@ -34,7 +34,7 @@
       where col1 <= 1410799999 
       order by col1 desc,col2 desc,col3 desc limit 1;
       id	select_type	table	type	possible_keys	key	key_len	ref	rows	Extra
      -1	SIMPLE	t3	range	pk_ersatz,key1	pk_ersatz	4	NULL	2001	Using where; Using index
      +1	SIMPLE	t3	range	pk_ersatz,key1	pk_ersatz	4	NULL	2797	Using where; Using index
       # The same query but the constant is bigger. 
       # The query should use range(PRIMARY), not full index scan:
       explain 
      @@ -43,5 +43,5 @@
       where col1 <= 1412199999 
       order by col1 desc, col2 desc, col3 desc limit 1;
       id	select_type	table	type	possible_keys	key	key_len	ref	rows	Extra
      -1	SIMPLE	t3	range	pk_ersatz,key1	pk_ersatz	4	NULL	15001	Using where; Using index
      +1	SIMPLE	t3	range	pk_ersatz,key1	pk_ersatz	4	NULL	19777	Using where; Using index
       drop table t1,t2,t3;
       
      mysqltest: Result content mismatch
      

      We had a similar problem with this test before, MDEV-6846, but it was fixed long time ago.

      When I run this test with valgrind locally, I get valgrind warnings instead:

      8773f14677f492bcde06647a111732baf226f5ba

      ==29663== Thread 22:
      ==29663== Conditional jump or move depends on uninitialised value(s)
      ==29663==    at 0xBFACE0D: lz_encoder_prepare (lz_encoder.c:222)
      ==29663==    by 0xBFAD4CA: lzma_lz_encoder_init (lz_encoder.c:516)
      ==29663==    by 0xBFA420E: lzma_raw_coder_init (filter_common.c:212)
      ==29663==    by 0xBFA16E4: block_encode_normal (block_buffer_encoder.c:192)
      ==29663==    by 0xBFA16E4: lzma_block_buffer_encode (block_buffer_encoder.c:258)
      ==29663==    by 0xBF86878: lzma_stream_buffer_encode (stream_buffer_encoder.c:93)
      ==29663==    by 0xBF86523: lzma_easy_buffer_encode (easy_buffer_encoder.c:27)
      ==29663==    by 0xBF68428: toku_compress(toku_compression_method, unsigned char*, unsigned long*, unsigned char const*, unsigned long) (compress.cc:141)
      ==29663==    by 0xBF735E6: compress_nocrc_sub_block(sub_block*, void*, unsigned int, toku_compression_method) (sub_block.cc:204)
      ==29663==    by 0xBEF617E: compress_ftnode_sub_block(sub_block*, toku_compression_method) (ft_node-serialize.cc:387)
      ==29663==    by 0xBEF6528: serialize_and_compress_partition(ftnode*, int, toku_compression_method, sub_block*, serialize_times*) (ft_node-serialize.cc:494)
      ==29663==    by 0xBEF66E2: serialize_and_compress_serially(ftnode*, int, toku_compression_method, sub_block*, serialize_times*) (ft_node-serialize.cc:542)
      ==29663==    by 0xBEF719A: toku_serialize_ftnode_to_memory(ftnode*, ftnode_disk_data**, unsigned int, toku_compression_method, bool, bool, unsigned long*, unsigned long*, char**) (ft_node-serialize.cc:686)
      ==29663==    by 0xBEF77D2: toku_serialize_ftnode_to(int, blocknum_s, ftnode*, ftnode_disk_data**, bool, ft*, bool) (ft_node-serialize.cc:807)
      ==29663==    by 0xBF54443: toku_ftnode_flush_callback(cachefile*, int, blocknum_s, void*, void**, void*, pair_attr_s, pair_attr_s*, bool, bool, bool, bool) (ft-ops.cc:694)
      ==29663==    by 0xBF2994C: cachetable_only_write_locked_data(evictor*, ctpair*, bool, pair_attr_s*, bool) (cachetable.cc:658)
      ==29663==    by 0xBF2D03D: cachetable_flush_pair_for_close(void*) (cachetable.cc:2283)
      ==29663== Conditional jump or move depends on uninitialised value(s)
      ==29663==    at 0xBFACF1D: lz_encoder_prepare (lz_encoder.c:344)
      ==29663==    by 0xBFAD4CA: lzma_lz_encoder_init (lz_encoder.c:516)
      ==29663==    by 0xBFA420E: lzma_raw_coder_init (filter_common.c:212)
      ==29663==    by 0xBFA16E4: block_encode_normal (block_buffer_encoder.c:192)
      ==29663==    by 0xBFA16E4: lzma_block_buffer_encode (block_buffer_encoder.c:258)
      ==29663==    by 0xBF86878: lzma_stream_buffer_encode (stream_buffer_encoder.c:93)
      ==29663==    by 0xBF86523: lzma_easy_buffer_encode (easy_buffer_encoder.c:27)
      ==29663==    by 0xBF68428: toku_compress(toku_compression_method, unsigned char*, unsigned long*, unsigned char const*, unsigned long) (compress.cc:141)
      ==29663==    by 0xBF735E6: compress_nocrc_sub_block(sub_block*, void*, unsigned int, toku_compression_method) (sub_block.cc:204)
      ==29663==    by 0xBEF617E: compress_ftnode_sub_block(sub_block*, toku_compression_method) (ft_node-serialize.cc:387)
      ==29663==    by 0xBEF6528: serialize_and_compress_partition(ftnode*, int, toku_compression_method, sub_block*, serialize_times*) (ft_node-serialize.cc:494)
      ==29663==    by 0xBEF66E2: serialize_and_compress_serially(ftnode*, int, toku_compression_method, sub_block*, serialize_times*) (ft_node-serialize.cc:542)
      ==29663==    by 0xBEF719A: toku_serialize_ftnode_to_memory(ftnode*, ftnode_disk_data**, unsigned int, toku_compression_method, bool, bool, unsigned long*, unsigned long*, char**) (ft_node-serialize.cc:686)
      ==29663==    by 0xBEF77D2: toku_serialize_ftnode_to(int, blocknum_s, ftnode*, ftnode_disk_data**, bool, ft*, bool) (ft_node-serialize.cc:807)
      ==29663==    by 0xBF54443: toku_ftnode_flush_callback(cachefile*, int, blocknum_s, void*, void**, void*, pair_attr_s, pair_attr_s*, bool, bool, bool, bool) (ft-ops.cc:694)
      ==29663==    by 0xBF2994C: cachetable_only_write_locked_data(evictor*, ctpair*, bool, pair_attr_s*, bool) (cachetable.cc:658)
      ==29663==    by 0xBF2D03D: cachetable_flush_pair_for_close(void*) (cachetable.cc:2283)
      

      Attachments

        Activity

          People

            varun Varun Gupta (Inactive)
            elenst Elena Stepanova
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.