RangeError: Invalid array length while decoding segment <num>
src/transcode/buffer.js#allocateFrameBuffer
Table view
| Bucket (UTC) | Events |
|---|---|
| 2026-07-25 00:00:00 | 0 |
| 2026-07-26 00:00:00 | 0 |
| 2026-07-27 00:00:00 | 0 |
| 2026-07-28 00:00:00 | 0 |
| 2026-07-29 00:00:00 | 0 |
| 2026-07-30 00:00:00 | 0 |
| 2026-07-31 00:00:00 | 0 |
| 2026-08-01 00:00:00 | 0 |
| 2026-08-02 00:00:00 | 0 |
| 2026-08-03 00:00:00 | 0 |
| 2026-08-04 00:00:00 | 0 |
| 2026-08-05 00:00:00 | 0 |
| 2026-08-06 00:00:00 | 0 |
| 2026-08-07 00:00:00 | 0 |
| 2026-08-08 00:00:00 | 0 |
| 2026-08-09 00:00:00 | 0 |
| 2026-08-10 00:00:00 | 0 |
| 2026-08-11 00:00:00 | 73 |
| 2026-08-12 00:00:00 | 304 |
| 2026-08-13 00:00:00 | 0 |
| 2026-08-14 00:00:00 | 0 |
| 2026-08-15 00:00:00 | 0 |
| 2026-08-16 00:00:00 | 0 |
| 2026-08-17 00:00:00 | 0 |
| 2026-08-18 00:00:00 | 0 |
| 2026-08-19 00:00:00 | 0 |
| 2026-08-20 00:00:00 | 0 |
| 2026-08-21 00:00:00 | 0 |
| 2026-08-22 00:00:00 | 0 |
| 2026-08-23 00:00:00 | 0 |
How this group was decided
Every step below is a pure function of the event. The same event always produces the same group.
1 · Parse the stack trace
4 frames parsed, 3 belong to the application. Only those decide the group — the same bug reaches the runtime through different framework paths depending on the request.
- in-appsrc/transcode/buffer.js.allocateFrameBuffersrc/transcode/buffer.js:61
- in-appsrc/transcode/decode.js.decodeSegmentsrc/transcode/decode.js:203
- vendornode_modules/p-limit/index.js.<anonymous>node_modules/p-limit/index.js:57
- in-apptask_queues.<anonymous>task_queues:95
2 · Build the fingerprint input
Line numbers are dropped so that editing a line above the throw site does not open a new group. Values inside the message are replaced with placeholders.
v1 platform=javascript service=media-transcoder type=RangeError frame=src/transcode/buffer.js#allocateFrameBuffer frame=src/transcode/decode.js#decodeSegment frame=task_queues#<anonymous>
3 · Hash it
SHA-256 of the text above, truncated to 128 bits. The version is part of the group key: a future algorithm opens new groups rather than rewriting these.
Fingerprint5c15c21db007801c4e8cc609b09bf890Algorithm versionv1
Latest stored event
2026-08-12 20:58:29 UTCInvalid array length while decoding segment 1317
RangeError: Invalid array length
at allocateFrameBuffer (/app/src/transcode/buffer.js:61:17)
at decodeSegment (/app/src/transcode/decode.js:203:22)
at /app/node_modules/p-limit/index.js:57:20
at async node:internal/process/task_queues:95:5Similar groups
Trigram similarity computed by Postgres against a GIN index. It catches what a fingerprint cannot — the same fault one refactor away from an existing group. No model is involved.
Nothing above the 0.3 similarity threshold.