Failed to register memory buffer #3407

Closed
opened 2026-02-16 17:39:58 -05:00 by yindo · 4 comments
Owner

Originally created by @ErwanLegrand on GitHub (Dec 8, 2025).

Originally assigned to: @kommander on GitHub.

Description

This error was triggered while editing a previous prompt.

Image

OpenCode version

1.0.134

Steps to reproduce

  1. Work with opencode
  2. Recall a completed prompt in the edition area
  3. Delete part of the old prompt (The bug was triggered after deleting maybe twenty characters in the middle of the prompt.)

Screenshot and/or share link

No response

Operating System

Debian stable

Terminal

Windows Terminal

Originally created by @ErwanLegrand on GitHub (Dec 8, 2025). Originally assigned to: @kommander on GitHub. ### Description This error was triggered while editing a previous prompt. <img width="758" height="765" alt="Image" src="https://github.com/user-attachments/assets/e910fe88-789e-47d5-83ff-a8060f64f01e" /> ### OpenCode version 1.0.134 ### Steps to reproduce 1. Work with opencode 2. Recall a completed prompt in the edition area 3. Delete part of the old prompt (The bug was triggered after deleting maybe twenty characters in the middle of the prompt.) ### Screenshot and/or share link _No response_ ### Operating System Debian stable ### Terminal Windows Terminal
yindo added the opentuibug labels 2026-02-16 17:39:58 -05:00
yindo closed this issue 2026-02-16 17:39:58 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Dec 8, 2025):

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

  • #3749: TUI crashes during prompt edit - similar crash when editing and deleting content from a prompt

Feel free to ignore if this doesn't address your specific case.

@github-actions[bot] commented on GitHub (Dec 8, 2025): This issue might be a duplicate of existing issues. Please check: - #3749: TUI crashes during prompt edit - similar crash when editing and deleting content from a prompt Feel free to ignore if this doesn't address your specific case.
Author
Owner

@kommander commented on GitHub (Dec 9, 2025):

I am looking into this

@kommander commented on GitHub (Dec 9, 2025): I am looking into this
Author
Owner

@kommander commented on GitHub (Dec 9, 2025):

@ErwanLegrand were you using delete as opposed to backspace by any chance, so doing a "forward delete"? I've identified an issue with that at least.

@kommander commented on GitHub (Dec 9, 2025): @ErwanLegrand were you using `delete` as opposed to `backspace` by any chance, so doing a "forward delete"? I've identified an issue with that at least.
Author
Owner

@kommander commented on GitHub (Dec 11, 2025):

This should be fixed in the latest version

@kommander commented on GitHub (Dec 11, 2025): This should be fixed in the latest version
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3407