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

Buffer alignment failure captured by linux-directio test

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT10.0.0, 4.2.4, 4.3.4
    • Affects Version/s: None
    • Component/s: None
    • None
    • 1
    • Storage Engines 2020-01-27

      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.

       

            Assignee:
            tammy.bailey@mongodb.com Tammy Bailey (Inactive)
            Reporter:
            tammy.bailey@mongodb.com Tammy Bailey (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: