[GH-ISSUE #13754] docker ps error #71075

Open
opened 2026-05-04 23:55:39 -05:00 by GiteaMirror · 5 comments
Owner

Originally created by @shuzibabay-aigc on GitHub (Jan 17, 2026).
Original GitHub issue: https://github.com/ollama/ollama/issues/13754

Originally assigned to: @pdevine on GitHub.

What is the issue?

% ollama ps
panic: runtime error: slice bounds out of range [:12] with length 0

goroutine 1 [running]:
github.com/ollama/ollama/cmd.ListRunningHandler(0x140004a8c08, {0x10672b560, 0x0, 0x105876ff9?})
/Users/runner/work/ollama/ollama/cmd/cmd.go:802 +0x568
github.com/spf13/cobra.(*Command).execute(0x140004a8c08, {0x10672b560, 0x0, 0x0})
/Users/runner/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:940 +0x648
github.com/spf13/cobra.(*Command).ExecuteC(0x14000486908)
/Users/runner/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:1068 +0x320
github.com/spf13/cobra.(*Command).Execute(...)
/Users/runner/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:992
github.com/spf13/cobra.(*Command).ExecuteContext(...)
/Users/runner/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:985
main.main()
/Users/runner/work/ollama/ollama/main.go:12 +0x54

version:Version 0.14.2 (0.14.2)

Relevant log output


OS

No response

GPU

No response

CPU

No response

Ollama version

No response

Originally created by @shuzibabay-aigc on GitHub (Jan 17, 2026). Original GitHub issue: https://github.com/ollama/ollama/issues/13754 Originally assigned to: @pdevine on GitHub. ### What is the issue? % ollama ps panic: runtime error: slice bounds out of range [:12] with length 0 goroutine 1 [running]: github.com/ollama/ollama/cmd.ListRunningHandler(0x140004a8c08, {0x10672b560, 0x0, 0x105876ff9?}) /Users/runner/work/ollama/ollama/cmd/cmd.go:802 +0x568 github.com/spf13/cobra.(*Command).execute(0x140004a8c08, {0x10672b560, 0x0, 0x0}) /Users/runner/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:940 +0x648 github.com/spf13/cobra.(*Command).ExecuteC(0x14000486908) /Users/runner/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:1068 +0x320 github.com/spf13/cobra.(*Command).Execute(...) /Users/runner/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:992 github.com/spf13/cobra.(*Command).ExecuteContext(...) /Users/runner/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:985 main.main() /Users/runner/work/ollama/ollama/main.go:12 +0x54 version:Version 0.14.2 (0.14.2) ### Relevant log output ```shell ``` ### OS _No response_ ### GPU _No response_ ### CPU _No response_ ### Ollama version _No response_
GiteaMirror added the bug label 2026-05-04 23:55:39 -05:00
Author
Owner

@ogtega commented on GitHub (Jan 17, 2026):

I'm also experiencing this on an Apple M4 Pro 48 GB (macOS Tahoe 26.2)

➜  ~ ollama ps    
panic: runtime error: slice bounds out of range [:12] with length 0

goroutine 1 [running]:
github.com/ollama/ollama/cmd.ListRunningHandler(0x140004eac08, {0x104b83560, 0x0, 0x103cceff9?})
	/Users/runner/work/ollama/ollama/cmd/cmd.go:802 +0x568
github.com/spf13/cobra.(*Command).execute(0x140004eac08, {0x104b83560, 0x0, 0x0})
	/Users/runner/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:940 +0x648
github.com/spf13/cobra.(*Command).ExecuteC(0x140004ce908)
	/Users/runner/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:1068 +0x320
github.com/spf13/cobra.(*Command).Execute(...)
	/Users/runner/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:992
github.com/spf13/cobra.(*Command).ExecuteContext(...)
	/Users/runner/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:985
main.main()
	/Users/runner/work/ollama/ollama/main.go:12 +0x54
➜  ~ ollama -v
ollama version is 0.14.2
<!-- gh-comment-id:3764260139 --> @ogtega commented on GitHub (Jan 17, 2026): I'm also experiencing this on an `Apple M4 Pro 48 GB (macOS Tahoe 26.2)` ``` ➜ ~ ollama ps panic: runtime error: slice bounds out of range [:12] with length 0 goroutine 1 [running]: github.com/ollama/ollama/cmd.ListRunningHandler(0x140004eac08, {0x104b83560, 0x0, 0x103cceff9?}) /Users/runner/work/ollama/ollama/cmd/cmd.go:802 +0x568 github.com/spf13/cobra.(*Command).execute(0x140004eac08, {0x104b83560, 0x0, 0x0}) /Users/runner/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:940 +0x648 github.com/spf13/cobra.(*Command).ExecuteC(0x140004ce908) /Users/runner/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:1068 +0x320 github.com/spf13/cobra.(*Command).Execute(...) /Users/runner/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:992 github.com/spf13/cobra.(*Command).ExecuteContext(...) /Users/runner/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:985 main.main() /Users/runner/work/ollama/ollama/main.go:12 +0x54 ➜ ~ ollama -v ollama version is 0.14.2 ```
Author
Owner

@rick-github commented on GitHub (Jan 17, 2026):

Was this after running image generation?

<!-- gh-comment-id:3764322307 --> @rick-github commented on GitHub (Jan 17, 2026): Was this after running image generation?
Author
Owner

@ogtega commented on GitHub (Jan 17, 2026):

I've been playing around with image generation, yes.

<!-- gh-comment-id:3764331554 --> @ogtega commented on GitHub (Jan 17, 2026): I've been playing around with image generation, yes.
Author
Owner

@computerworxdev commented on GitHub (Jan 19, 2026):

me too. does that mean we need to reboot for this to work properly ?

<!-- gh-comment-id:3766097608 --> @computerworxdev commented on GitHub (Jan 19, 2026): me too. does that mean we need to reboot for this to work properly ?
Author
Owner

@pdevine commented on GitHub (Jan 20, 2026):

I have a fix for this, but it's wrapped up in a bunch of other changes. I'll see if I can get it in to 0.14.4.

<!-- gh-comment-id:3770549375 --> @pdevine commented on GitHub (Jan 20, 2026): I have a fix for this, but it's wrapped up in a bunch of other changes. I'll see if I can get it in to `0.14.4`.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#71075