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

segfault in test/format on PPC

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Cannot Reproduce
    • None
    • None
    • None
    • None
    • 8
    • Storage Engines 2019-05-20

    Description

      The wiredtiger-test-format-stress-ppc Jenkins job failed with a segfault. There is a tarball on the PPC machine. The job can be found at http://build.wiredtiger.com:8080/job/wiredtiger-test-format-stress-ppc/20686/console.

      The segfault happened because a WT_REF structure has a NULL page field.

      (gdb) bt
      #0  0x000000001013c790 in __wt_page_in_func (session=0x3fff7b1d2ea0, 
          ref=0x100042b0680, flags=1451, 
          func=0x1046c3c8 <__func__.15056> "__tree_walk_internal", line=527)
          at ../src/btree/bt_read.c:809
      #1  0x000000001016b5d0 in __wt_page_swap_func (session=0x3fff7b1d2ea0, 
          held=0x0, want=0x100042b0680, flags=1451, 
          func=0x1046c3c8 <__func__.15056> "__tree_walk_internal", line=527)
          at ../src/include/btree.i:1702
      #2  0x000000001016c578 in __tree_walk_internal (session=0x3fff7b1d2ea0, 
          refp=0x3fff7719e3f8, walkcntp=0x0, skip_func=0x0, func_cookie=0x0, 
          flags=395) at ../src/btree/bt_walk.c:526
      #3  0x000000001016c880 in __wt_tree_walk (session=0x3fff7b1d2ea0, 
          refp=0x3fff7719e3f8, flags=393) at ../src/btree/bt_walk.c:597
      #4  0x0000000010057840 in __verbose_dump_cache_single (session=0x3fff7b1d2ea0, 
          total_bytesp=0x3fff7719e590, total_dirty_bytesp=0x3fff7719e598)
          at ../src/evict/evict_lru.c:2561
      #5  0x0000000010057cd8 in __verbose_dump_cache_apply (session=0x3fff7b1d2ea0, 
          total_bytesp=0x3fff7719e590, total_dirty_bytesp=0x3fff7719e598)
          at ../src/evict/evict_lru.c:2666
      #6  0x0000000010058030 in __wt_verbose_dump_cache (session=0x3fff7b1d2ea0)
          at ../src/evict/evict_lru.c:2704
      #7  0x0000000010050b64 in __evict_server (session=0x3fff7b1d2ea0, 
          did_work=0x3fff7719e710) at ../src/evict/evict_lru.c:453
      #8  0x0000000010050418 in __wt_evict_thread_run (session=0x3fff7b1d2ea0, 
          thread=0x100041fdb50) at ../src/evict/evict_lru.c:290
      #9  0x00000000100e0778 in __thread_run (arg=0x100041fdb50)
          at ../src/support/thread_group.c:31
      #10 0x00003fff7b768944 in start_thread () from /lib64/power8/libpthread.so.0
      #11 0x00003fff7b5e7640 in clone () from /lib64/power8/libc.so.6
      (gdb) p page
      $1 = (WT_PAGE *) 0x0
      (gdb) p *ref
      $2 = {page = 0x0, home = 0x100042b8190, pindex_hint = 0, state = 5, 
        addr = 0x100042af91a, key = {recno = 4294967379, ikey = 0x100000053}, 
        page_del = 0x0, page_las = 0x0, hist = {{session = 0x3fff7b1d5888, 
            name = 0x104593f0 "WT_SESSION.verify", 
            file = 0x10468e28 "../src/btree/bt_read.c", line = 574, state = 5}, {
            session = 0x0, name = 0x0, file = 0x0, line = 0, state = 0}, {
            session = 0x0, name = 0x0, file = 0x0, line = 0, state = 0}}, 
        histoff = 1}
      

      Attachments

        Issue Links

          Activity

            People

              luke.pearson@mongodb.com Luke Pearson
              sue.loverso@mongodb.com Susan LoVerso
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: