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

Buffer alignment failure captured by linux-directio test

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT3.2.2, 4.2.4, 4.3.4
    • Component/s: None
    • Labels:
      None

      Description

      The linux-directio test is failing in Evergreen build variants Ubuntu 18.04 and RHEL 8.0 with the following error:

      [2020/01/20 09:44:40.064] t: process 22274 running
      [2020/01/20 09:44:40.064] [1579473880:64180][22274:0x7fc9a1ffb700], t: __posix_file_read, 413: !pfh->direct_io || S2C(session)->buffer_alignment == 0 || (!((uintptr_t)buf & (uintptr_t)(S2C(session)->buffer_alignment - 1)) && len >= S2C(session)->buffer_alignment && len % S2C(session)->buffer_alignment == 0)
      [2020/01/20 09:44:40.064] [1579473880:64211][22274:0x7fc9a1ffb700], t: __wt_abort, 28: aborting WiredTiger library
      [2020/01/20 09:44:40.092] Aborted 

      The failure happens fairly frequently and is easy to reproduce on Evergreen after running a few patch builds. I was not able to reproduce the error on my dev machine over two hours of runs, however.

      It looks like this error started after the changes made in WT-5255.

       

        Attachments

          Activity

            People

            Assignee:
            tammy.bailey Tammy Bailey
            Reporter:
            tammy.bailey Tammy Bailey
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: