{
  "schema_version": 1,
  "bucket_id": "ABRT/af594c43fa2adb0d",
  "reason": "ABRT",
  "signature": "af594c43fa2adb0d",
  "reproducible": true,
  "timed_out": false,
  "reproduced_by": "fuzz",
  "verify_profile": "asan_ubsan",
  "occurrences": {
    "count": 2,
    "by_fuzzer": {
      "afl-small": 2
    },
    "by_worker": {
      "small-explore-2": 1,
      "small-msan": 1
    },
    "by_queue": {
      "crashes": 2
    },
    "first_seen": "2026-11-24T20:31:15Z",
    "first_elapsed_ms": 110433,
    "last_seen": "2026-11-24T20:37:31Z",
    "sample_crashes": [
      {
        "sha256": "c9164eeed5d5d688644b5a0d1efcd3f4a8a360bd01836f3f3db67256e8b5ffeb",
        "fuzzer": "afl-small",
        "worker": "small-msan",
        "path": "/prism-fuzzer/tmp/fuzz-ijon-funnel/afl-small/small-msan/crashes/id:000029,sig:06,src:000065,time:110433,execs:1126586,op:havoc,rep:7",
        "mtime": "2026-11-24T20:31:15Z"
      },
      {
        "sha256": "cb47811bdceba8dd28d2c32517db1f3e720e96242b8f0e2c56469436498bf671",
        "fuzzer": "afl-small",
        "worker": "small-explore-2",
        "path": "/prism-fuzzer/tmp/fuzz-ijon-funnel/afl-small/small-explore-2/crashes/id:000186,sig:06,src:022436,time:486523,execs:10056169,op:havoc,rep:7",
        "mtime": "2026-11-24T20:37:31Z"
      }
    ]
  },
  "archive": {
    "file": "inputs.tar.gz",
    "count": 2,
    "total_bytes": 520,
    "archive_bytes": 532
  },
  "input": {
    "raw_size_bytes": 260,
    "raw_sha256": "c9164eeed5d5d688644b5a0d1efcd3f4a8a360bd01836f3f3db67256e8b5ffeb",
    "min_size_bytes": 18,
    "min_sha256": "7689a9e9a11807b3620717f4eb66db89a1e578bf34f073d91aa13c17178fdb88",
    "payload_size_bytes": 14,
    "payload_sha256": "ca1f9e3358541df74f67f940ab969cef12cdc6b3658861ac52eb6414a8e35a26",
    "source_preview": "<<A\\n#{in@ in{ ",
    "header_bytes": [
      0,
      0,
      3,
      1
    ],
    "header_hex": "00000301",
    "valid_header": true,
    "has_shebang_prefix": false,
    "minimized_matches_signature": true,
    "loupe_url": "https://stevenjohnstone.github.io/prism-loupe/?code=PDxBCiN7aW5AIGlueyA%3D&ruby_ver=4.1"
  },
  "options": {
    "ruby_version": "4.1",
    "start_line": 1,
    "start_line_expr": null,
    "encoding": null,
    "encoding_locked": false,
    "freeze": false,
    "partial_script": false,
    "attach_comments": false,
    "main_script": false,
    "stream_mode": false,
    "frozen_string_literal": null,
    "command_line_flags": [],
    "filepath": null,
    "shebang_callback": false,
    "stack_budget": "SIZE_MAX",
    "scopes_count": 0,
    "forwarding_scope": null,
    "forwarding_flags": []
  },
  "symptom": {
    "headline": "INVARIANT[node_location]: site=parse_pattern_primitive type=PM_HASH_PATTERN_NODE kind=length_underflow [detail: op=length_set_token start=12 end=4 length=4294967288]",
    "summary": "AddressSanitizer: ABRT (/lib/aarch64-linux-gnu/libc.so.6+0x874d8) (BuildId: 54ae5337044aaabab70d65e0c3444f7e4735e059)",
    "preamble_lines": [
      "INVARIANT[node_location]: site=parse_pattern_primitive type=PM_HASH_PATTERN_NODE kind=length_underflow [detail: op=length_set_token start=12 end=4 length=4294967288]",
      "AddressSanitizer:DEADLYSIGNAL",
      "=================================================================",
      "==77527==ERROR: AddressSanitizer: ABRT on unknown address 0x03e800012ed7 (pc 0xffffa85974d8 bp 0xffffe7c019b0 sp 0xffffe7c019a0 T0)"
    ],
    "invariant": {
      "namespace": "node_location",
      "fields": {
        "site": "parse_pattern_primitive",
        "type": "PM_HASH_PATTERN_NODE",
        "kind": "length_underflow"
      },
      "detail": {
        "op": "length_set_token",
        "start": 12,
        "end": 4,
        "length": 4294967288
      }
    },
    "ubsan": null,
    "sanitizer": {
      "tool": "AddressSanitizer",
      "kind": "ABRT"
    },
    "assertion": null
  },
  "frames": [
    {
      "depth": 0,
      "module": "/lib/aarch64-linux-gnu/libc.so.6+0x874d8",
      "scope": "external"
    },
    {
      "depth": 1,
      "func": "raise",
      "module": "/lib/aarch64-linux-gnu/libc.so.6+0x3cb38",
      "scope": "external"
    },
    {
      "depth": 2,
      "func": "abort",
      "module": "/lib/aarch64-linux-gnu/libc.so.6+0x27dfc",
      "scope": "external"
    },
    {
      "depth": 3,
      "func": "pm_fuzz_span_fail",
      "file": "templates/src/node.c.erb",
      "line": 23,
      "col": 5,
      "scope": "prism"
    },
    {
      "depth": 4,
      "func": "pm_fuzz_node_length_set",
      "file": "src/prism.c",
      "line": 161,
      "col": 9,
      "scope": "prism"
    },
    {
      "depth": 5,
      "func": "parse_pattern_primitive",
      "file": "src/prism.c",
      "line": 18038,
      "col": 17,
      "scope": "prism"
    },
    {
      "depth": 6,
      "func": "parse_pattern_primitives",
      "file": "src/prism.c",
      "line": 18236,
      "col": 28,
      "scope": "prism"
    },
    {
      "depth": 7,
      "func": "parse_pattern",
      "file": "src/prism.c",
      "line": 18379,
      "col": 20,
      "scope": "prism"
    },
    {
      "depth": 8,
      "func": "parse_expression_infix",
      "file": "src/prism.c",
      "line": 22803,
      "col": 34,
      "scope": "prism"
    },
    {
      "depth": 9,
      "func": "parse_expression_infixes",
      "file": "src/prism.c",
      "line": 22967,
      "col": 16,
      "scope": "prism"
    },
    {
      "depth": 10,
      "func": "parse_expression",
      "file": "src/prism.c",
      "line": 22949,
      "col": 12,
      "scope": "prism"
    },
    {
      "depth": 11,
      "func": "parse_statement",
      "file": "src/prism.c",
      "line": 14142,
      "col": 28,
      "scope": "prism"
    },
    {
      "depth": 12,
      "func": "parse_statements",
      "file": "src/prism.c",
      "line": 14167,
      "col": 27,
      "scope": "prism"
    },
    {
      "depth": 13,
      "func": "parse_string_part",
      "file": "src/prism.c",
      "line": 16699,
      "col": 30,
      "scope": "prism"
    },
    {
      "depth": 14,
      "func": "parse_heredoc",
      "file": "src/prism.c",
      "line": 19910,
      "col": 24,
      "scope": "prism"
    },
    {
      "depth": 15,
      "func": "parse_expression_prefix",
      "file": "src/prism.c",
      "line": 21484,
      "col": 31,
      "scope": "prism"
    },
    {
      "depth": 16,
      "func": "parse_expression",
      "file": "src/prism.c",
      "line": 22913,
      "col": 27,
      "scope": "prism"
    },
    {
      "depth": 17,
      "func": "parse_statement",
      "file": "src/prism.c",
      "line": 14142,
      "col": 28,
      "scope": "prism"
    },
    {
      "depth": 18,
      "func": "parse_statements",
      "file": "src/prism.c",
      "line": 14167,
      "col": 27,
      "scope": "prism"
    },
    {
      "depth": 19,
      "func": "parse_program",
      "file": "src/prism.c",
      "line": 23180,
      "col": 40,
      "scope": "prism"
    },
    {
      "depth": 20,
      "func": "pm_parse",
      "file": "src/prism.c",
      "line": 23802,
      "col": 23,
      "scope": "prism"
    },
    {
      "depth": 21,
      "func": "harness_parse",
      "file": "harnesses/prism/parse.c",
      "line": 1298,
      "col": 16,
      "scope": "harness"
    },
    {
      "depth": 22,
      "func": "harness",
      "file": "harnesses/prism/parse.c",
      "line": 1547,
      "col": 5,
      "scope": "harness"
    },
    {
      "depth": 23,
      "func": "LLVMFuzzerTestOneInput",
      "file": "harnesses/prism/fuzz.c",
      "line": 197,
      "col": 5,
      "scope": "harness"
    },
    {
      "depth": 24,
      "func": "ExecuteFilesOnyByOne",
      "file": "/AFLplusplus/utils/aflpp_driver/aflpp_driver.c",
      "line": 300,
      "col": 7,
      "scope": "external"
    },
    {
      "depth": 25,
      "func": "LLVMFuzzerRunDriver",
      "file": "/AFLplusplus/utils/aflpp_driver/aflpp_driver.c",
      "scope": "external"
    },
    {
      "depth": 26,
      "func": "main",
      "file": "/AFLplusplus/utils/aflpp_driver/aflpp_driver.c",
      "line": 360,
      "col": 10,
      "scope": "external"
    },
    {
      "depth": 27,
      "module": "/lib/aarch64-linux-gnu/libc.so.6+0x284c0",
      "scope": "external"
    },
    {
      "depth": 28,
      "func": "__libc_start_main",
      "module": "/lib/aarch64-linux-gnu/libc.so.6+0x28594",
      "scope": "external"
    },
    {
      "depth": 29,
      "func": "_start",
      "module": "/prism-fuzzer/tmp/fuzz-ijon-funnel/bin/fuzz+0x1232ec",
      "scope": "external"
    }
  ],
  "coverage": {
    "available": true,
    "binary": "tmp/fuzz-ijon-funnel/bin/fuzz",
    "build_id": "1b43b740061b1e6f604d4067cf6284c54513212fea426a919206fc900ab21c10",
    "edge_count": 232,
    "edges": {
      "6": 2,
      "11": 6,
      "13": 6,
      "17": 6,
      "18": 6,
      "265": 1,
      "266": 1,
      "413": 2,
      "429": 1,
      "451": 1,
      "475": 1,
      "477": 3,
      "480": 4,
      "489": 3,
      "492": 3,
      "498": 3,
      "499": 3,
      "511": 3,
      "1737": 1,
      "1755": 1,
      "1756": 4,
      "1757": 4,
      "1761": 4,
      "1766": 1,
      "1767": 2,
      "1768": 1,
      "1770": 2,
      "1771": 4,
      "1772": 2,
      "1773": 2,
      "1791": 1,
      "1824": 1,
      "1825": 1,
      "1828": 1,
      "1831": 2,
      "1837": 1,
      "1838": 1,
      "1843": 1,
      "2562": 3,
      "2564": 3,
      "2568": 2,
      "2569": 1,
      "2591": 1,
      "2828": 1,
      "2846": 3,
      "2848": 2,
      "2850": 2,
      "2856": 1,
      "2857": 6,
      "2859": 1,
      "2860": 1,
      "2862": 1,
      "2863": 1,
      "2865": 1,
      "2870": 1,
      "2883": 1,
      "2885": 1,
      "2888": 1,
      "2894": 1,
      "2897": 1,
      "2912": 1,
      "2931": 1,
      "2935": 1,
      "2939": 1,
      "3023": 1,
      "3093": 1,
      "3095": 1,
      "3117": 1,
      "3119": 1,
      "3160": 1,
      "3171": 1,
      "3173": 1,
      "3181": 1,
      "3185": 4,
      "3186": 3,
      "3187": 4,
      "3188": 2,
      "3189": 1,
      "3190": 1,
      "3191": 4,
      "3193": 1,
      "3194": 1,
      "3195": 2,
      "3207": 1,
      "3425": 1,
      "3431": 1,
      "3432": 1,
      "3444": 1,
      "3446": 1,
      "3450": 1,
      "3546": 2,
      "3549": 2,
      "3554": 2,
      "3562": 4,
      "3563": 2,
      "3564": 2,
      "3565": 2,
      "3571": 2,
      "3575": 2,
      "3576": 2,
      "3586": 2,
      "3596": 2,
      "3605": 2,
      "3606": 2,
      "3609": 2,
      "3620": 2,
      "3635": 1,
      "3651": 4,
      "3677": 1,
      "3679": 1,
      "3701": 1,
      "3745": 1,
      "3746": 1,
      "3748": 1,
      "3750": 1,
      "3829": 1,
      "3833": 1,
      "3836": 1,
      "3839": 1,
      "3843": 1,
      "3851": 1,
      "3858": 1,
      "3859": 1,
      "4260": 1,
      "4265": 1,
      "4271": 1,
      "4274": 1,
      "4281": 2,
      "4285": 2,
      "4298": 2,
      "4483": 1,
      "4484": 1,
      "4485": 1,
      "4489": 1,
      "4492": 1,
      "4496": 1,
      "4516": 1,
      "4521": 1,
      "4586": 1,
      "4588": 1,
      "4599": 1,
      "4601": 1,
      "4614": 1,
      "4618": 1,
      "4620": 1,
      "4624": 1,
      "4750": 1,
      "4752": 1,
      "4754": 1,
      "4757": 1,
      "4761": 1,
      "4767": 1,
      "4768": 1,
      "4778": 1,
      "4839": 5,
      "4841": 2,
      "4845": 1,
      "4846": 1,
      "4850": 3,
      "4860": 1,
      "4872": 1,
      "4873": 1,
      "4955": 2,
      "4975": 1,
      "4978": 1,
      "5035": 1,
      "5193": 1,
      "5199": 1,
      "5214": 1,
      "5218": 2,
      "5219": 1,
      "5220": 1,
      "5414": 1,
      "5627": 1,
      "5640": 1,
      "5641": 1,
      "5858": 3,
      "5862": 2,
      "6149": 1,
      "6647": 1,
      "6648": 1,
      "8191": 2,
      "8226": 1,
      "8228": 1,
      "8230": 1,
      "8328": 1,
      "10067": 1,
      "10128": 1,
      "10133": 1,
      "10147": 1,
      "10148": 1,
      "10180": 1,
      "10185": 1,
      "10254": 1,
      "10259": 1,
      "10333": 1,
      "10374": 1,
      "10385": 1,
      "10515": 1,
      "10517": 1,
      "10518": 1,
      "10532": 1,
      "10856": 1,
      "10860": 1,
      "10862": 1,
      "10867": 2,
      "10869": 2,
      "12402": 1,
      "12465": 2,
      "12473": 2,
      "12480": 3,
      "12483": 2,
      "12487": 2,
      "12853": 1,
      "12899": 1,
      "12901": 1,
      "12970": 1,
      "14535": 1,
      "14544": 3,
      "14545": 1,
      "14546": 1,
      "14554": 1,
      "14615": 2,
      "14709": 1,
      "14723": 1,
      "14791": 1,
      "14804": 1,
      "14806": 1,
      "14809": 1,
      "14811": 1,
      "15324": 1,
      "15325": 1
    }
  },
  "target": {
    "id": "fuzz.ijon.msan",
    "shape": "prism_parse",
    "binary": "tmp/fuzz-ijon-funnel/build/fuzz.ijon.msan",
    "sources": {
      "source": "prism_a"
    }
  },
  "versions": {
    "prism": {
      "version": "2.1.0",
      "git_commit": "d4b9e07ed33af7383708158179adafa4f6dbc9de",
      "git_short": "d4b9e07ed",
      "git_dirty": true,
      "source": "embedded",
      "target_ruby_version": "4.1"
    },
    "container": {
      "image_id": "sha256:73d0e4fa1d6a556eaf70223ecc075b93ad1592bf097a3dc89a6393779ffe41f8",
      "os": "Ubuntu 24.04.4 LTS",
      "arch": "aarch64",
      "clang": "Ubuntu clang version 20.1.2 (0ubuntu1~24.04.3)",
      "llvm_version": "20",
      "aflplusplus": "afl-fuzz++5.03c",
      "afl_patch_sha256": "875f1c14288354a333fb5551db68358fda086287bd6e904f6b84ed49ad9631b5",
      "qemu_arm": "qemu-arm version 8.2.2 (Debian 1:8.2.2+ds-0ubuntu1.18)",
      "qemu_ppc": "qemu-ppc version 8.2.2 (Debian 1:8.2.2+ds-0ubuntu1.18)",
      "ruby": "ruby 4.1.0dev (2026-11-24T20:24:03Z HEAD 89f7ea9a17) +PRISM [aarch64-linux]",
      "lrama_fuzz": "0.1.0"
    },
    "fuzz": {
      "binary": "/prism-fuzzer/tmp/fuzz-ijon-funnel/bin/fuzz.ijon.msan",
      "build_id": "5af7cc97e9ea1ee489b8ae3f1add4047e149461aaa60dca0503177b8fcaee6d1",
      "prism": {
        "version": "2.1.0",
        "git_commit": "d4b9e07ed33af7383708158179adafa4f6dbc9de",
        "git_short": "d4b9e07ed",
        "git_dirty": true,
        "source": "embedded",
        "target_ruby_version": "4.1"
      }
    },
    "triage": {
      "binary": "/prism-fuzzer/tmp/fuzz-ijon-funnel/bin/fuzz",
      "build_id": "1b43b740061b1e6f604d4067cf6284c54513212fea426a919206fc900ab21c10",
      "prism": {
        "version": "2.1.0",
        "git_commit": "d4b9e07ed33af7383708158179adafa4f6dbc9de",
        "git_short": "d4b9e07ed",
        "git_dirty": true,
        "source": "embedded"
      },
      "workspace_git": {
        "git_commit": "d4b9e07ed33af7383708158179adafa4f6dbc9de",
        "git_short": "d4b9e07ed",
        "git_dirty": false
      }
    }
  },
  "digest": {
    "parsed_size": 14,
    "encoding": "UTF-8",
    "stream_mode": false,
    "continuable": false,
    "errors": 9,
    "warnings": 1,
    "top_errors": [
      "unexpected_token_ignore",
      "instance_variable_bare",
      "heredoc_term",
      "pattern_hash_key",
      "pattern_hash_key_label"
    ],
    "anomaly_count": 3,
    "anomalies": [
      {
        "category": "node_location",
        "kind": "length_underflow",
        "node": "PM_MATCH_PREDICATE_NODE"
      },
      {
        "category": "node_location",
        "kind": "length_underflow",
        "node": "PM_HASH_PATTERN_NODE"
      },
      {
        "category": "sub_location",
        "kind": "closing_before_opening",
        "node": "PM_HASH_PATTERN_NODE",
        "field": "closing_loc"
      }
    ]
  }
}
