Crash on Macos when starting #113

Closed
opened 2026-02-16 17:25:15 -05:00 by yindo · 3 comments
Owner

Originally created by @Jawkx on GitHub (Jun 17, 2025).

Originally assigned to: @thdxr on GitHub.

Version 0.1.74

Using it in tmux

Logs

2025-06-18T02:07:11 +25ms service=default version=0.1.74 args=--print-logs opencode
2025-06-18T02:07:11 +1ms service=app cwd=/Users/jaw/Projects/personal/promptforge creating
2025-06-18T02:07:11 +1ms service=app git=/Users/jaw/Projects/personal/promptforge git
2025-06-18T02:07:11 +5ms service=app name=provider registering service
2025-06-18T02:07:11 +0ms service=app name=config registering service
2025-06-18T02:07:11 +0ms service=config loaded
2025-06-18T02:07:11 +1ms service=models.dev refreshing
2025-06-18T02:07:11 +1ms service=provider init
2025-06-18T02:07:11 +5ms service=provider providerID=deepseek found
2025-06-18T02:07:11 +0ms service=provider providerID=groq found
2025-06-18T02:07:11 +0ms service=provider providerID=@openrouter/ai-sdk-provider found
2025-06-18T02:07:11 +0ms service=app name=share registering service
2025-06-18T02:07:11 +0ms service=bus type=storage.write subscribing
2025-06-18T02:07:11 +0ms service=app name=bus registering service
2025-06-18T02:07:11 +80ms service=server method=GET path=/event request
2025-06-18T02:07:11 +0ms service=server event connected
2025-06-18T02:07:11 +2ms service=bus type=* subscribing
2025-06-18T02:07:11 +2ms service=server duration=4 response
2025-06-18T02:07:11 +2ms service=server method=POST path=/file_search request
2025-06-18T02:07:11 +6ms service=server method=POST path=/path_get request
        2025-06-18T02:07:11 +0ms service=server duration=0 response
 2025-06-18T02:07:11 +2ms service=server method=POST path=/provider_list request
              2025-06-18T02:07:11 +0ms message=TypeError: undefined is not an object (evaluating 'Y.models') UnknownError
                                                       2025-06-18T02:07:11 +0ms service=server duration=0 response
                                                Caught panic:

runtime error: invalid memory address or nil pointer dereference

Restoring terminal...

2025-06-18T02:07:11 +4ms service=bus type=* unsubscribing
2025-06-18T02:07:11 +0ms service=server event disconnected
2025-06-18T02:07:11 +10ms service=server duration=22 response

Originally created by @Jawkx on GitHub (Jun 17, 2025). Originally assigned to: @thdxr on GitHub. Version `0.1.74` Using it in tmux # Logs ``` 2025-06-18T02:07:11 +25ms service=default version=0.1.74 args=--print-logs opencode 2025-06-18T02:07:11 +1ms service=app cwd=/Users/jaw/Projects/personal/promptforge creating 2025-06-18T02:07:11 +1ms service=app git=/Users/jaw/Projects/personal/promptforge git 2025-06-18T02:07:11 +5ms service=app name=provider registering service 2025-06-18T02:07:11 +0ms service=app name=config registering service 2025-06-18T02:07:11 +0ms service=config loaded 2025-06-18T02:07:11 +1ms service=models.dev refreshing 2025-06-18T02:07:11 +1ms service=provider init 2025-06-18T02:07:11 +5ms service=provider providerID=deepseek found 2025-06-18T02:07:11 +0ms service=provider providerID=groq found 2025-06-18T02:07:11 +0ms service=provider providerID=@openrouter/ai-sdk-provider found 2025-06-18T02:07:11 +0ms service=app name=share registering service 2025-06-18T02:07:11 +0ms service=bus type=storage.write subscribing 2025-06-18T02:07:11 +0ms service=app name=bus registering service 2025-06-18T02:07:11 +80ms service=server method=GET path=/event request 2025-06-18T02:07:11 +0ms service=server event connected 2025-06-18T02:07:11 +2ms service=bus type=* subscribing 2025-06-18T02:07:11 +2ms service=server duration=4 response 2025-06-18T02:07:11 +2ms service=server method=POST path=/file_search request 2025-06-18T02:07:11 +6ms service=server method=POST path=/path_get request 2025-06-18T02:07:11 +0ms service=server duration=0 response 2025-06-18T02:07:11 +2ms service=server method=POST path=/provider_list request 2025-06-18T02:07:11 +0ms message=TypeError: undefined is not an object (evaluating 'Y.models') UnknownError 2025-06-18T02:07:11 +0ms service=server duration=0 response Caught panic: runtime error: invalid memory address or nil pointer dereference Restoring terminal... 2025-06-18T02:07:11 +4ms service=bus type=* unsubscribing 2025-06-18T02:07:11 +0ms service=server event disconnected 2025-06-18T02:07:11 +10ms service=server duration=22 response ```
yindo closed this issue 2026-02-16 17:25:15 -05:00
Author
Owner

@Hanmo123 commented on GitHub (Jun 18, 2025):

same "invalid memory address or nil pointer dereference", but not conform if the reason is same

Image

@Hanmo123 commented on GitHub (Jun 18, 2025): same "invalid memory address or nil pointer dereference", but not conform if the reason is same ![Image](https://github.com/user-attachments/assets/4da7e5fa-2f46-42a6-a3ea-433d9675f5fc)
Author
Owner

@timotah commented on GitHub (Jun 18, 2025):

I had this issue this morning, was able to fix by doing opencode auth logout out of all my providers and then doing opencode auth login in once again.

seemed to have happen when i was messing with my opencode.json and the .config/opencode/providers dir

@timotah commented on GitHub (Jun 18, 2025): I had this issue this morning, was able to fix by doing `opencode auth logout` out of all my providers and then doing `opencode auth login` in once again. seemed to have happen when i was messing with my opencode.json and the .config/opencode/providers dir
Author
Owner

@thdxr commented on GitHub (Jun 18, 2025):

fixed in v0.1.83

@thdxr commented on GitHub (Jun 18, 2025): fixed in v0.1.83
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#113