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

Garbled error message for corrupted cell

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT2.7.0
    • Labels:
      None
    • # Replies:
      5
    • Last comment by Customer:
      true

      Description

      When reporting a corruption, this error message is shown:

      "[1440086332:107626][57174:0x7fff7e194300], test_encrypt04.test_encrypt04.test_encrypt(rotn11xyz.rotn17abc): , file:WiredTiger.wt, connection: item 1 on page at \x84\x81䲍΂ is a corrupted cell"

      This was captured in the debugger.

        Issue Links

          Activity

          Hide
          keith.bostic Keith Bostic added a comment -

          Don Anderson, can you give me the complete stack?

          Show
          keith.bostic Keith Bostic added a comment - Don Anderson , can you give me the complete stack?
          Hide
          donald.anderson Donald Anderson added a comment -

          Keith Bostic, here's the stack:

          (lldb) bt

          • thread #1: tid = 0x1380ef, 0x00000001039af363 libwiredtiger-2.6.2.dylib`__wt_errx(session=0x00000001010d2c00, fmt=0x00000001039caf4c) + 323 at err.c:326, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
          • frame #0: 0x00000001039af363 libwiredtiger-2.6.2.dylib`__wt_errx(session=0x00000001010d2c00, fmt=0x00000001039caf4c) + 323 at err.c:326
            frame #1: 0x00000001038db158 libwiredtiger-2.6.2.dylib`__err_cell_corrupted(session=0x00000001010d2c00, entry_num=1, addr=0x00007fff5fbfb710) + 72 at bt_vrfy_dsk.c:678
            frame #2: 0x00000001038d9bec libwiredtiger-2.6.2.dylib`__verify_dsk_row(session=0x00000001010d2c00, addr=0x00007fff5fbfb710, dsk=0x000000010030ddd0) + 524 at bt_vrfy_dsk.c:224
            frame #3: 0x00000001038d9305 libwiredtiger-2.6.2.dylib`__wt_verify_dsk_image(session=0x00000001010d2c00, addr=0x00007fff5fbfb710, dsk=0x000000010030ddd0, size=51, empty_page_ok=0) + 1637 at bt_vrfy_dsk.c:162
            frame #4: 0x00000001038da9e3 libwiredtiger-2.6.2.dylib`__wt_verify_dsk(session=0x00000001010d2c00, addr=0x00007fff5fbfb710, buf=0x00007fff5fbfb590) + 51 at bt_vrfy_dsk.c:178
            frame #5: 0x00000001038b2afa libwiredtiger-2.6.2.dylib`__wt_btree_tree_open(session=0x00000001010d2c00, addr=0x00007fff5fbfb710, addr_size=7) + 138 at bt_handle.c:407
            frame #6: 0x00000001038b161b libwiredtiger-2.6.2.dylib`__wt_btree_open(session=0x00000001010d2c00, op_cfg=0x0000000000000000) + 1115 at bt_handle.c:105
            frame #7: 0x00000001038fb9c1 libwiredtiger-2.6.2.dylib`__wt_conn_btree_open(session=0x00000001010d2c00, cfg=0x0000000000000000, flags=0) + 401 at conn_dhandle.c:331
            frame #8: 0x00000001039acb97 libwiredtiger-2.6.2.dylib`__wt_session_get_btree(session=0x00000001010d2c00, uri=0x00000001039c9881, checkpoint=0x0000000000000000, cfg=0x0000000000000000, flags=0) + 1175 at session_dhandle.c:456
            frame #9: 0x00000001039acb0c libwiredtiger-2.6.2.dylib`__wt_session_get_btree(session=0x00000001010d2c00, uri=0x00000001039c9881, checkpoint=0x0000000000000000, cfg=0x0000000000000000, flags=0) + 1036 at session_dhandle.c:447
            frame #10: 0x000000010396186c libwiredtiger-2.6.2.dylib`__wt_metadata_open(session=0x00000001010d2c00) + 76 at meta_table.c:43
            frame #11: 0x00000001038f15d6 libwiredtiger-2.6.2.dylib`wiredtiger_open(home=0x00000001002c6554, event_handler=0x0000000102fe2130, config=0x00000001004cd5a4, wt_connp=0x00007fff5fbfbbc8) + 4102 at conn_api.c:2024
            frame #12: 0x0000000102fd7da5 _wiredtiger.so`_wrap_wiredtiger_open(self=<unavailable>, args=<unavailable>) + 207 at wiredtiger_wrap.c:8297
          Show
          donald.anderson Donald Anderson added a comment - Keith Bostic , here's the stack: (lldb) bt thread #1: tid = 0x1380ef, 0x00000001039af363 libwiredtiger-2.6.2.dylib`__wt_errx(session=0x00000001010d2c00, fmt=0x00000001039caf4c) + 323 at err.c:326, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1 frame #0: 0x00000001039af363 libwiredtiger-2.6.2.dylib`__wt_errx(session=0x00000001010d2c00, fmt=0x00000001039caf4c) + 323 at err.c:326 frame #1: 0x00000001038db158 libwiredtiger-2.6.2.dylib`__err_cell_corrupted(session=0x00000001010d2c00, entry_num=1, addr=0x00007fff5fbfb710) + 72 at bt_vrfy_dsk.c:678 frame #2: 0x00000001038d9bec libwiredtiger-2.6.2.dylib`__verify_dsk_row(session=0x00000001010d2c00, addr=0x00007fff5fbfb710, dsk=0x000000010030ddd0) + 524 at bt_vrfy_dsk.c:224 frame #3: 0x00000001038d9305 libwiredtiger-2.6.2.dylib`__wt_verify_dsk_image(session=0x00000001010d2c00, addr=0x00007fff5fbfb710, dsk=0x000000010030ddd0, size=51, empty_page_ok=0) + 1637 at bt_vrfy_dsk.c:162 frame #4: 0x00000001038da9e3 libwiredtiger-2.6.2.dylib`__wt_verify_dsk(session=0x00000001010d2c00, addr=0x00007fff5fbfb710, buf=0x00007fff5fbfb590) + 51 at bt_vrfy_dsk.c:178 frame #5: 0x00000001038b2afa libwiredtiger-2.6.2.dylib`__wt_btree_tree_open(session=0x00000001010d2c00, addr=0x00007fff5fbfb710, addr_size=7) + 138 at bt_handle.c:407 frame #6: 0x00000001038b161b libwiredtiger-2.6.2.dylib`__wt_btree_open(session=0x00000001010d2c00, op_cfg=0x0000000000000000) + 1115 at bt_handle.c:105 frame #7: 0x00000001038fb9c1 libwiredtiger-2.6.2.dylib`__wt_conn_btree_open(session=0x00000001010d2c00, cfg=0x0000000000000000, flags=0) + 401 at conn_dhandle.c:331 frame #8: 0x00000001039acb97 libwiredtiger-2.6.2.dylib`__wt_session_get_btree(session=0x00000001010d2c00, uri=0x00000001039c9881, checkpoint=0x0000000000000000, cfg=0x0000000000000000, flags=0) + 1175 at session_dhandle.c:456 frame #9: 0x00000001039acb0c libwiredtiger-2.6.2.dylib`__wt_session_get_btree(session=0x00000001010d2c00, uri=0x00000001039c9881, checkpoint=0x0000000000000000, cfg=0x0000000000000000, flags=0) + 1036 at session_dhandle.c:447 frame #10: 0x000000010396186c libwiredtiger-2.6.2.dylib`__wt_metadata_open(session=0x00000001010d2c00) + 76 at meta_table.c:43 frame #11: 0x00000001038f15d6 libwiredtiger-2.6.2.dylib`wiredtiger_open(home=0x00000001002c6554, event_handler=0x0000000102fe2130, config=0x00000001004cd5a4, wt_connp=0x00007fff5fbfbbc8) + 4102 at conn_api.c:2024 frame #12: 0x0000000102fd7da5 _wiredtiger.so`_wrap_wiredtiger_open(self=<unavailable>, args=<unavailable>) + 207 at wiredtiger_wrap.c:8297
          Hide
          donald.anderson Donald Anderson added a comment -

          Keith Bostic, here's an easy way to get to that situation:

          $ lldb – /opt/local/bin/python2.7 ../test/suite/run.py encrypt04
          (lldb) b __wt_errx
          (lldb) r

          Show
          donald.anderson Donald Anderson added a comment - Keith Bostic , here's an easy way to get to that situation: $ lldb – /opt/local/bin/python2.7 ../test/suite/run.py encrypt04 (lldb) b __wt_errx (lldb) r
          Hide
          xgen-internal-githook Githook User added a comment -

          Author:

          {u'username': u'keithbostic', u'name': u'Keith Bostic', u'email': u'keith@wiredtiger.com'}

          Message: WT-2053: __wt_verify_dsk takes a string to tag error messages, not an
          actual block-manager address.
          Branch: develop
          https://github.com/wiredtiger/wiredtiger/commit/c9c261d990736d2a8b7f97ae8614b0fcd92fe2de

          Show
          xgen-internal-githook Githook User added a comment - Author: {u'username': u'keithbostic', u'name': u'Keith Bostic', u'email': u'keith@wiredtiger.com'} Message: WT-2053 : __wt_verify_dsk takes a string to tag error messages, not an actual block-manager address. Branch: develop https://github.com/wiredtiger/wiredtiger/commit/c9c261d990736d2a8b7f97ae8614b0fcd92fe2de
          Hide
          xgen-internal-githook Githook User added a comment -

          Author:

          {u'username': u'michaelcahill', u'name': u'Michael Cahill', u'email': u'michael.cahill@mongodb.com'}

          Message: Merge pull request #2137 from wiredtiger/wt-2053

          WT-2053: Fix a bug in disk verify messages.
          Branch: develop
          https://github.com/wiredtiger/wiredtiger/commit/2e1471c5185f58794015cd02f0696120e034c3f0

          Show
          xgen-internal-githook Githook User added a comment - Author: {u'username': u'michaelcahill', u'name': u'Michael Cahill', u'email': u'michael.cahill@mongodb.com'} Message: Merge pull request #2137 from wiredtiger/wt-2053 WT-2053 : Fix a bug in disk verify messages. Branch: develop https://github.com/wiredtiger/wiredtiger/commit/2e1471c5185f58794015cd02f0696120e034c3f0

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since reply:
                1 year, 35 weeks, 5 days ago
                Date of 1st Reply: