Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-6166

KEY/VALUE short cells have to handle copy cells

    XMLWordPrintable

    Details

    • Story Points:
      5
    • Sprint:
      Storage - Tora 2020-05-18

      Description

      The format test program fails and drops core while executing the wt utility to do a rebalance operation. (So, this is not a critical test failure.)

      The two failure signatures I saw were:

      WiredTiger Error: WT_ROW_SLOT(page, rip) < page->entries
       
      (gdb) where
      #0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
      #1  0x00007fac78f15801 in __GI_abort () at abort.c:79
      #2  0x00007fac79683aa4 in __wt_fs_remove (session=0x0, name=0x0, durable=false)
          at ./src/include/os_fs.i:142
      #3  0x00007fac79561d92 in __wt_cell_unpack_safe (session=0x7fac79007fb4 <__getwd_chk+36>, 
          dsk=0x7ffccf4424c0, cell=0x555b89df0350, unpack=0x555b8e8d4400, end=0x555b8e8d49c1)
          at ./src/include/cell.i:896
      #4  0x00007fac79562b38 in __wt_ovfl_discard (session=0x7fac79562f2e <__wt_scr_free+173>, 
          page=0x7ffccf441b90, cell=0x555b89df0350) at src/btree/bt_ovfl.c:157
      #5  0x00007fac79565761 in __wt_row_leaf_key_info (page=0x555b89ded400, copy=0xfffffffffffffff5, 
          ikeyp=0xffffffffffffffff, cellp=0x0, datap=0x0, sizep=0x0) at ./src/include/btree.i:869
      #6  0x00007fac795648ae in __cell_data_ref (session=0xffffffffffffffff, page=0x0, page_type=0, 
          unpack=0x0, store=0x0) at ./src/include/cell.i:1068
      #7  0x00007ffccf441de0 in ?? ()
      #8  0x0000002200000000 in ?? ()
      #9  0x0000555b8e8d4400 in ?? ()
      #10 0x0000555b8d6fa210 in ?? ()
      #11 0x0000555b89df0350 in ?? ()
      #12 0x00007ffccf441da0 in ?? ()
      #13 0x00007fac7956cde4 in __wt_cell_unpack_safe (session=0x555b8e8d4400, dsk=0x2200000000, 
          cell=0x7ffccf441de0, unpack=0x7ffccf441e00, end=0x7fac795648ae <__cell_data_ref+2>)
          at ./src/include/cell.i:804
      #14 0x0000000000000600 in ?? ()
      #15 0x0000555b8e8d4400 in ?? ()
      #16 0x0000000000000600 in ?? ()
      #17 0x0000000000000001 in ?? ()
      #18 0x00007ffccf441f60 in ?? ()
      #19 0x0000000000000000 in ?? ()
      

      and

      [1589122917:455523][32469:0x7fac79bb8340], wt, file:wt.wt, WT_CURSOR.next: __wt_cell_unpack_safe, 825: unpack_value == NULL
      [1589122917:455565][32469:0x7fac79bb8340], wt, file:wt.wt, WT_CURSOR.next: __wt_abort, 28: aborting WiredTiger library
       
      #0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
      #1  0x00007fd2a9619801 in __GI_abort () at abort.c:79
      #2  0x00007fd2a9d87aa4 in __wt_fs_remove (session=0x0, name=0x0, durable=false)
          at ./src/include/os_fs.i:142
      #3  0x00007fd2a9c67be4 in __wt_cell_unpack_safe (session=0x0, dsk=0x0, cell=0x0, unpack=0x0, 
          end=0x0) at ./src/include/cell.i:809
      #4  0x00007fd2a9c69844 in __wt_row_leaf_key_info (page=0x55ee00d9b400, copy=0xfffffffffffffff5, 
          ikeyp=0xffffffffffffffff, cellp=0x0, datap=0x0, sizep=0x0) at ./src/include/btree.i:892
      #5  0x00007fd2a9c688ae in __cell_data_ref (session=0xffffffffffffffff, page=0x0, page_type=0, 
          unpack=0x0, store=0x0) at ./src/include/cell.i:1068
      #6  0x00007ffc2003f220 in ?? ()
      #7  0x0000002200000000 in ?? ()
      #8  0x000055ee05f68c00 in ?? ()
      #9  0x000055ee022920b0 in ?? ()
      #10 0x000055ee00d9df68 in ?? ()
      #11 0x00007ffc2003f1e0 in ?? ()
      #12 0x00007fd2a9c70de4 in __wt_cell_unpack_safe (session=0x55ee05f68c00, dsk=0x2200000000, 
          cell=0x7ffc2003f220, unpack=0x7ffc2003f240, end=0x7fd2a9c688ae <__cell_data_ref+2>)
          at ./src/include/cell.i:804
      #13 0x0000000000000200 in ?? ()
      #14 0x000055ee05f68c00 in ?? ()
      #15 0x0000000000000200 in ?? ()
      #16 0x0000000000000001 in ?? ()
      #17 0x00007ffc2003f3a0 in ?? ()
      #18 0x000000000000894d in ?? ()
      #19 0x0000000000000000 in ?? ()
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              keith.bostic Keith Bostic
              Reporter:
              keith.bostic Keith Bostic
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: