Panic when using latest version 1.1.56 #9052

Open
opened 2026-02-16 18:11:31 -05:00 by yindo · 3 comments
Owner

Originally created by @diiyw on GitHub (Feb 11, 2026).

Originally assigned to: @adamdotdevin on GitHub.

Description

> opencode web

! OPENCODE_SERVER_PASSWORD is not set; server is unsecured.

█▀▀█ █▀▀█ █▀▀█ █▀▀▄ █▀▀▀ █▀▀█ █▀▀█ █▀▀█
█ █ █ █ █▀▀▀ █ █ █ █ █ █ █ █▀▀▀
▀▀▀▀ █▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀

Web interface: http://127.0.0.1:4096/
opencode(59239,0x700009fc6000) malloc: *** error for object 0x10cc1e980: pointer being freed was not allocated
opencode(59239,0x700009fc6000) malloc: *** set a breakpoint in malloc_error_break to debug

Bun v1.3.8 (b64edcb4) macOS x64
macOS v26.2
CPU: sse42 popcnt avx avx2 avx512
Args: "opencode" "--user-agent=opencode/1.1.56" "--use-system-ca" "--" "web"
Features: Bun.stderr(3) Bun.stdin(2) Bun.stdout(2) abort_signal fetch(17) http_server jsc shell(14) spawn(12) standalone_executable napi_module_register process_dlopen
Builtins: "bun:ffi" "bun:main" "node:assert" "node:async_hooks" "node:buffer" "node:child_process" "node:console" "node:crypto" "node:dns" "node:events" "node:fs" "node:fs/promises" "node:http" "node:https" "node:module" "node:net" "node:os" "node:path" "node:process" "node:querystring" "node:readline" "node:stream" "node:string_decoder" "node:timers" "node:timers/promises" "node:tls" "node:tty" "node:url" "node:util" "undici" "node:v8" "node:http2" "node:diagnostics_channel" "node:dgram"
Elapsed: 11049ms | User: 2298ms | Sys: 2497ms
RSS: 0.33GB | Peak: 0.33GB | Commit: 100.47MB | Faults: 214 | Machine: 17.18GB

panic: Illegal instruction at address 0x7FF8100D6465
oh no: Bun has crashed. This indicates a bug in Bun, not your code.

To send a redacted crash report to Bun's team,
please file a GitHub issue using the link below:

https://bun.report/1.3.8/ma1b64edcbmgGz+339/D__________A3w//Bqmy1hQ

curl: (56) The requested URL returned error: 502

Plugins

No response

OpenCode version

1.1.56

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

MacOS 26.2

Terminal

iTerm2

Originally created by @diiyw on GitHub (Feb 11, 2026). Originally assigned to: @adamdotdevin on GitHub. ### Description ``` > opencode web ``` ! OPENCODE_SERVER_PASSWORD is not set; server is unsecured. ▄ █▀▀█ █▀▀█ █▀▀█ █▀▀▄ █▀▀▀ █▀▀█ █▀▀█ █▀▀█ █ █ █ █ █▀▀▀ █ █ █ █ █ █ █ █▀▀▀ ▀▀▀▀ █▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀ Web interface: http://127.0.0.1:4096/ opencode(59239,0x700009fc6000) malloc: *** error for object 0x10cc1e980: pointer being freed was not allocated opencode(59239,0x700009fc6000) malloc: *** set a breakpoint in malloc_error_break to debug ============================================================ Bun v1.3.8 (b64edcb4) macOS x64 macOS v26.2 CPU: sse42 popcnt avx avx2 avx512 Args: "opencode" "--user-agent=opencode/1.1.56" "--use-system-ca" "--" "web" Features: Bun.stderr(3) Bun.stdin(2) Bun.stdout(2) abort_signal fetch(17) http_server jsc shell(14) spawn(12) standalone_executable napi_module_register process_dlopen Builtins: "bun:ffi" "bun:main" "node:assert" "node:async_hooks" "node:buffer" "node:child_process" "node:console" "node:crypto" "node:dns" "node:events" "node:fs" "node:fs/promises" "node:http" "node:https" "node:module" "node:net" "node:os" "node:path" "node:process" "node:querystring" "node:readline" "node:stream" "node:string_decoder" "node:timers" "node:timers/promises" "node:tls" "node:tty" "node:url" "node:util" "undici" "node:v8" "node:http2" "node:diagnostics_channel" "node:dgram" Elapsed: 11049ms | User: 2298ms | Sys: 2497ms RSS: 0.33GB | Peak: 0.33GB | Commit: 100.47MB | Faults: 214 | Machine: 17.18GB panic: Illegal instruction at address 0x7FF8100D6465 oh no: Bun has crashed. This indicates a bug in Bun, not your code. To send a redacted crash report to Bun's team, please file a GitHub issue using the link below: https://bun.report/1.3.8/ma1b64edcbmgGz+339/D__________A3w//Bqmy1hQ curl: (56) The requested URL returned error: 502 ### Plugins _No response_ ### OpenCode version 1.1.56 ### Steps to reproduce _No response_ ### Screenshot and/or share link _No response_ ### Operating System MacOS 26.2 ### Terminal iTerm2
yindo added the bugweb labels 2026-02-16 18:11:31 -05:00
Author
Owner

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

This issue appears to be a duplicate of #13072, which reports the same malloc error on macOS with version 1.1.56.

Both issues show:

  • Same error: malloc: *** error for object ...: pointer being freed was not allocated
  • Same version: 1.1.56
  • Same OS: macOS
  • Same crash pattern with Bun

Please check #13072 to see if your issue is the same or if you have additional context that differs. You may want to add a comment there instead if this is the same bug.

@github-actions[bot] commented on GitHub (Feb 11, 2026): This issue appears to be a duplicate of #13072, which reports the same malloc error on macOS with version 1.1.56. Both issues show: - Same error: `malloc: *** error for object ...: pointer being freed was not allocated` - Same version: 1.1.56 - Same OS: macOS - Same crash pattern with Bun Please check #13072 to see if your issue is the same or if you have additional context that differs. You may want to add a comment there instead if this is the same bug.
Author
Owner

@Wenbobobo commented on GitHub (Feb 11, 2026):

same on linux

Image
@Wenbobobo commented on GitHub (Feb 11, 2026): same on linux <img width="1135" height="223" alt="Image" src="https://github.com/user-attachments/assets/94da7f34-8ce6-4cfa-bbba-5e09d6609e33" />
Author
Owner

@fi3ework commented on GitHub (Feb 11, 2026):

after doing a bisec, i found that this error was introduced in 1.1.54, while 1.1.53 is all normal.

@fi3ework commented on GitHub (Feb 11, 2026): after doing a bisec, i found that this error was introduced in 1.1.54, while 1.1.53 is all normal.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9052