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

FPE on unknown address error in wt2695_checksum

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • StorEng - Defined Pipeline

      csuite test wt2695_checksum will occasionally fail with a error. When run with sanitizer they point at the [ following line|https://github.com/wiredtiger/wiredtiger/blob/3eb8e185b8f87be4aee5c27ebd21436190c0e1fb/test/csuite/wt2695_checksum/main.c#L313] which is calling wt_random.
      In the line

       

      chunk_len = (__wt_random(&rnd) % len) + 1; /* Avoid 0 sized chunks. */

      len is a random value in the range DATASIZE == 128 * 1024, so it's possible the error is tied to the size of len and which is only rarely large/small enough to cause the error, hence the need for stressing to hit the issue.

       

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            andrew.morton@mongodb.com Andrew Morton
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: