Skip to content

Bug: Extension freezes with [ RangeError: Invalid array length ]when opening file which i upload #6242

@OXERIS

Description

@OXERIS

App Version

v3.24.0

API Provider

Human Relay Provider

Model Used

gemini-2.5-pro

Roo Code Task Links (Optional)

🔁 Steps to Reproduce

OS:macOS 15.5 (24F74)
extension version:v3.24.0

Exact actions:
let roo code to read the file i upload

The Roo Code extension becomes unresponsive when it attempts to process a specific Markdown file. This action consistently triggers a RangeError and causes the extension to stop all subsequent operations.

202507261541-实现问卷前端逻辑.md

💥 Outcome Summary

The expectation was to send a request to the API with the retrieved content, but the result was that the request was not sent, and the plugin could not continue with subsequent operations, such as sending a new request or initiating a conversation.

📄 Relevant Logs or Errors (Optional)

Error Log
 、、、     
2025-07-26 17:51:55.800 [error] RangeError: Invalid array length
    at omt.next (/Users/obelisksephylon/.vscode/extensions/node_modules/.pnpm/[email protected]/node_modules/isbinaryfile/lib/index.js:36:16)
    at readProtoMessage (/Users/obelisksephylon/.vscode/extensions/node_modules/.pnpm/[email protected]/node_modules/isbinaryfile/lib/index.js:68:20)
    at isBinaryProto (/Users/obelisksephylon/.vscode/extensions/node_modules/.pnpm/[email protected]/node_modules/isbinaryfile/lib/index.js:82:14)
    at isBinaryCheck (/Users/obelisksephylon/.vscode/extensions/node_modules/.pnpm/[email protected]/node_modules/isbinaryfile/lib/index.js:228:32)
    at /Users/obelisksephylon/.vscode/extensions/node_modules/.pnpm/[email protected]/node_modules/isbinaryfile/lib/index.js:108:29
    at FSReqCallback.wrapper [as oncomplete] (node:fs:673:5)
、、、

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue - Needs ScopingValid, but needs effort estimate or design input before work can start.bugSomething isn't working

    Type

    No type

    Projects

    Status

    Issue [Needs Scoping]

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions