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

Opening cursor on nonexistent index leads to failure

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • WT2.6.1
    • WT2.7.0
    • None
    • None

    Description

      Open a cursor on nonexistent index (the base table must exist). This fails as expected. Then drop the table.

      $ ./bug_drop_index
      [1437748149:86701][9591:0x7fff75dcb300], WT_SESSION.drop: ../src/schema/schema_list.c, 228: table->refcnt <= 1
      [1437748149:86733][9591:0x7fff75dcb300], WT_SESSION.drop: aborting WiredTiger library
      Abort trap: 6

      The debugger shows table->refcnt to be 2.

      See attached test case.

      Attachments

        Issue Links

          Activity

            People

              donald.anderson@mongodb.com Donald Anderson
              donald.anderson@mongodb.com Donald Anderson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: