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

test/format assert failure as reconciliation creating an internal page with no entries

    • Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:

      call stack:

      #0  0x00007fde594d5a7c in pthread_kill () from /lib/x86_64-linux-gnu/libc.so.6
      #1  0x00007fde59481476 in raise () from /lib/x86_64-linux-gnu/libc.so.6
      #2  0x00007fde594677f3 in abort () from /lib/x86_64-linux-gnu/libc.so.6
      #3  0x00007fde59870d42 in __wt_abort (session=0x56243014f4c0) at /home/hari/work/code/wiredtiger/src/os_common/os_abort.c:30
      #4  0x00007fde598b41f8 in __rec_split_write (session=0x56243014f4c0, r=0x7fde485d83d0, chunk=0x7fde485d8438, compressed_image=0x0, last_block=true)
          at /home/hari/work/code/wiredtiger/src/reconcile/rec_write.c:2157
      #5  0x00007fde598b2ff0 in __wt_rec_split_finish (session=0x56243014f4c0, r=0x7fde485d83d0) at /home/hari/work/code/wiredtiger/src/reconcile/rec_write.c:1706
      #6  0x00007fde598a0676 in __wt_rec_row_leaf (session=0x56243014f4c0, r=0x7fde485d83d0, pageref=0x7fde04ff3a10, salvage=0x0) at /home/hari/work/code/wiredtiger/src/reconcile/rec_row.c:996
      #7  0x00007fde598af675 in __reconcile (session=0x56243014f4c0, ref=0x7fde04ff3a10, salvage=0x0, flags=96, page_lockedp=0x7fde577d6aa0) at /home/hari/work/code/wiredtiger/src/reconcile/rec_write.c:258
      #8  0x00007fde598aec04 in __wt_reconcile (session=0x56243014f4c0, ref=0x7fde04ff3a10, salvage=0x0, flags=96) at /home/hari/work/code/wiredtiger/src/reconcile/rec_write.c:98
      #9  0x00007fde598242d4 in __evict_reconcile (session=0x56243014f4c0, ref=0x7fde04ff3a10, evict_flags=0) at /home/hari/work/code/wiredtiger/src/evict/evict_page.c:810
      #10 0x00007fde59821e4c in __wt_evict (session=0x56243014f4c0, ref=0x7fde04ff3a10, previous_state=3 '\003', flags=0) at /home/hari/work/code/wiredtiger/src/evict/evict_page.c:182
      #11 0x00007fde5981dce7 in __evict_page (session=0x56243014f4c0, is_server=true) at /home/hari/work/code/wiredtiger/src/evict/evict_lru.c:2334
      #12 0x00007fde598197ea in __evict_lru_pages (session=0x56243014f4c0, is_server=true) at /home/hari/work/code/wiredtiger/src/evict/evict_lru.c:1150
      #13 0x00007fde59818768 in __evict_pass (session=0x56243014f4c0) at /home/hari/work/code/wiredtiger/src/evict/evict_lru.c:752
      #14 0x00007fde59817ab8 in __evict_server (session=0x56243014f4c0, did_work=0x7fde577d6df2) at /home/hari/work/code/wiredtiger/src/evict/evict_lru.c:396
      #15 0x00007fde598176ce in __wt_evict_thread_run (session=0x56243014f4c0, thread=0x56243007e4e0) at /home/hari/work/code/wiredtiger/src/evict/evict_lru.c:297
      #16 0x00007fde5990aa43 in __thread_run (arg=0x56243007e4e0) at /home/hari/work/code/wiredtiger/src/support/thread_group.c:31
      #17 0x00007fde594d3b43 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
      #18 0x00007fde59565a00 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
      (gdb) f 4
      #4  0x00007fde598b41f8 in __rec_split_write (session=0x56243014f4c0, r=0x7fde485d83d0, chunk=0x7fde485d8438, compressed_image=0x0, last_block=true)
          at /home/hari/work/code/wiredtiger/src/reconcile/rec_write.c:2157
      2157	        WT_ASSERT_ALWAYS(session, chunk->entries > 0, "Trying to write an empty chunk");
      (gdb) l
      2152	
      2153	        /* If we need to restore the page to memory, copy the disk image. */
      2154	        if (multi->supd_restore)
      2155	            goto copy_image;
      2156	
      2157	        WT_ASSERT_ALWAYS(session, chunk->entries > 0, "Trying to write an empty chunk");
      2158	    }
      2159	
      2160	    /*
      2161	     * If we wrote this block before, re-use it. Prefer a checksum of the compressed image. It's an
      (gdb) p chunk->entries 
      $1 = 0
      

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            haribabu.kommi@mongodb.com Haribabu Kommi
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: