Reading corrupt image breaks ability to continue #8747

Closed
opened 2026-02-16 18:10:44 -05:00 by yindo · 2 comments
Owner

Originally created by @colinmollenhour on GitHub (Feb 6, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

One of the images being read is a file with 0 bytes due to a bug in the code that rendered it, but this halts the agent's progress and it seems in cannot move forward..

Plugins

Irrelevant

OpenCode version

1.1.53

Steps to reproduce

Create two image files, one that has 0 bytes, instruct the agent to compare them.

Screenshot and/or share link

Image

Operating System

Ubuntu via WSL2

Terminal

No response

Originally created by @colinmollenhour on GitHub (Feb 6, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description One of the images being read is a file with 0 bytes due to a bug in the code that rendered it, but this halts the agent's progress and it seems in cannot move forward.. ### Plugins Irrelevant ### OpenCode version 1.1.53 ### Steps to reproduce Create two image files, one that has 0 bytes, instruct the agent to compare them. ### Screenshot and/or share link <img width="1287" height="1264" alt="Image" src="https://github.com/user-attachments/assets/16117cab-7cf6-41c5-bc98-e08a85256730" /> ### Operating System Ubuntu via WSL2 ### Terminal _No response_
yindo added the windowsbug labels 2026-02-16 18:10:44 -05:00
yindo closed this issue 2026-02-16 18:10:44 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Feb 6, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #9512: Trying to read an invalid image file bricks the session

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Feb 6, 2026): This issue might be a duplicate of existing issues. Please check: - #9512: Trying to read an invalid image file bricks the session Feel free to ignore if none of these address your specific case.
Author
Owner

@colinmollenhour commented on GitHub (Feb 6, 2026):

Closing as duplicate of "Trying to read an invalid image file bricks the session #9512"

@colinmollenhour commented on GitHub (Feb 6, 2026): Closing as duplicate of "Trying to read an invalid image file bricks the session #9512"
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#8747