ollama - 💡(How to fix) Fix Failed to load private key [13 comments, 3 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
ollama/ollama#15140Fetched 2026-04-08 01:53:09
View on GitHub
Comments
13
Participants
3
Timeline
16
Reactions
0
Author
Timeline (top)
commented ×13closed ×1labeled ×1subscribed ×1

Error Message

Exception 0xc0000005 0x8 0xffffffffffffffff 0xffffffffffffffff PC=0xffffffffffffffff signal arrived during external code execution

runtime.cgocall(0x7ff794608b40, 0xc000049da0) runtime/cgocall.go:167 +0x3e fp=0xc000049d78 sp=0xc000049d10 pc=0x7ff79350243e github.com/ollama/ollama/x/imagegen/mlx._Cfunc_mlx_random_key(0xc0000762e0, 0x19d3d2cd555) _cgo_gotypes.go:1978 +0x50 fp=0xc000049da0 sp=0xc000049d78 pc=0x7ff793b7ce50 github.com/ollama/ollama/x/imagegen/mlx.RandomKey.func1(...) github.com/ollama/ollama/x/imagegen/mlx/mlx.go:1870 github.com/ollama/ollama/x/imagegen/mlx.RandomKey(0x19d3d2cd555) github.com/ollama/ollama/x/imagegen/mlx/mlx.go:1870 +0x5d fp=0xc000049dd8 sp=0xc000049da0 pc=0x7ff793b85d7d github.com/ollama/ollama/x/imagegen/mlx.init.0() github.com/ollama/ollama/x/imagegen/mlx/mlx.go:1848 +0xa9 fp=0xc000049e28 sp=0xc000049dd8 pc=0x7ff793b85b89 runtime.doInit1(0x7ff7959792c0) runtime/proc.go:7350 +0xdd fp=0xc000049f50 sp=0xc000049e28 pc=0x7ff7934e343d runtime.doInit(...) runtime/proc.go:7317 runtime.main() runtime/proc.go:254 +0x325 fp=0xc000049fe0 sp=0xc000049f50 pc=0x7ff7934d4e85 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc000049fe8 sp=0xc000049fe0 pc=0x7ff79350db21

goroutine 2 gp=0xc0000028c0 m=nil [force gc (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) runtime/proc.go:435 +0xce fp=0xc00006ffa8 sp=0xc00006ff88 pc=0x7ff79350598e runtime.goparkunlock(...) runtime/proc.go:441 runtime.forcegchelper() runtime/proc.go:348 +0xb8 fp=0xc00006ffe0 sp=0xc00006ffa8 pc=0x7ff7934d50f8 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc00006ffe8 sp=0xc00006ffe0 pc=0x7ff79350db21 created by runtime.init.7 in goroutine 1 runtime/proc.go:336 +0x1a

goroutine 3 gp=0xc000002c40 m=nil [GC sweep wait]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) runtime/proc.go:435 +0xce fp=0xc000071f80 sp=0xc000071f60 pc=0x7ff79350598e runtime.goparkunlock(...) runtime/proc.go:441 runtime.bgsweep(0xc00007e000) runtime/mgcsweep.go:276 +0x94 fp=0xc000071fc8 sp=0xc000071f80 pc=0x7ff7934bde74 runtime.gcenable.gowrap1() runtime/mgc.go:204 +0x25 fp=0xc000071fe0 sp=0xc000071fc8 pc=0x7ff7934b2285 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc000071fe8 sp=0xc000071fe0 pc=0x7ff79350db21 created by runtime.gcenable in goroutine 1 runtime/mgc.go:204 +0x66

goroutine 4 gp=0xc000002e00 m=nil [GC scavenge wait]: runtime.gopark(0xc00007e000?, 0x7ff794ed6a50?, 0x1?, 0x0?, 0xc000002e00?) runtime/proc.go:435 +0xce fp=0xc000085f78 sp=0xc000085f58 pc=0x7ff79350598e runtime.goparkunlock(...) runtime/proc.go:441 runtime.(*scavengerState).park(0x7ff795a93c00) runtime/mgcscavenge.go:425 +0x49 fp=0xc000085fa8 sp=0xc000085f78 pc=0x7ff7934bb909 runtime.bgscavenge(0xc00007e000) runtime/mgcscavenge.go:653 +0x3c fp=0xc000085fc8 sp=0xc000085fa8 pc=0x7ff7934bbe7c runtime.gcenable.gowrap2() runtime/mgc.go:205 +0x25 fp=0xc000085fe0 sp=0xc000085fc8 pc=0x7ff7934b2225 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc000085fe8 sp=0xc000085fe0 pc=0x7ff79350db21 created by runtime.gcenable in goroutine 1 runtime/mgc.go:205 +0xa5

goroutine 5 gp=0xc000003340 m=nil [finalizer wait]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) runtime/proc.go:435 +0xce fp=0xc000087e30 sp=0xc000087e10 pc=0x7ff79350598e runtime.runfinq() runtime/mfinal.go:196 +0x107 fp=0xc000087fe0 sp=0xc000087e30 pc=0x7ff7934b1207 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc000087fe8 sp=0xc000087fe0 pc=0x7ff79350db21 created by runtime.createfing in goroutine 1 runtime/mfinal.go:166 +0x3d rax 0xffffffffffffffff rbx 0x7ffc904ee5b0 rcx 0x7ffc904ee598 rdx 0x7ffc900862d0 rdi 0x0 rsi 0x236af9f800 rbp 0x7ffdea930380 rsp 0x236af9f748 r8 0x32c8 r9 0x0 r10 0x192903d0320 r11 0x236af9f540 r12 0xffffffffffffffff r13 0x5d r14 0x1 r15 0x0 rip 0xffffffffffffffff rflags 0x10286 cs 0x33 fs 0x53 gs 0x2b Exception 0xc0000005 0x8 0xce6ff901 0xce6ff901 PC=0xce6ff901 signal arrived during external code execution

runtime.cgocall(0x7ff794608b40, 0xc000049da0) runtime/cgocall.go:167 +0x3e fp=0xc000049d78 sp=0xc000049d10 pc=0x7ff79350243e github.com/ollama/ollama/x/imagegen/mlx._Cfunc_mlx_random_key(0xc000108000, 0x19d3d2cda00) _cgo_gotypes.go:1978 +0x50 fp=0xc000049da0 sp=0xc000049d78 pc=0x7ff793b7ce50 github.com/ollama/ollama/x/imagegen/mlx.RandomKey.func1(...) github.com/ollama/ollama/x/imagegen/mlx/mlx.go:1870 github.com/ollama/ollama/x/imagegen/mlx.RandomKey(0x19d3d2cda00) github.com/ollama/ollama/x/imagegen/mlx/mlx.go:1870 +0x5d fp=0xc000049dd8 sp=0xc000049da0 pc=0x7ff793b85d7d github.com/ollama/ollama/x/imagegen/mlx.init.0() github.com/ollama/ollama/x/imagegen/mlx/mlx.go:1848 +0xa9 fp=0xc000049e28 sp=0xc000049dd8 pc=0x7ff793b85b89 runtime.doInit1(0x7ff7959792c0) runtime/proc.go:7350 +0xdd fp=0xc000049f50 sp=0xc000049e28 pc=0x7ff7934e343d runtime.doInit(...) runtime/proc.go:7317 runtime.main() runtime/proc.go:254 +0x325 fp=0xc000049fe0 sp=0xc000049f50 pc=0x7ff7934d4e85 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc000049fe8 sp=0xc000049fe0 pc=0x7ff79350db21

goroutine 2 gp=0xc0000028c0 m=nil [force gc (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) runtime/proc.go:435 +0xce fp=0xc00006ffa8 sp=0xc00006ff88 pc=0x7ff79350598e runtime.goparkunlock(...) runtime/proc.go:441 runtime.forcegchelper() runtime/proc.go:348 +0xb8 fp=0xc00006ffe0 sp=0xc00006ffa8 pc=0x7ff7934d50f8 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc00006ffe8 sp=0xc00006ffe0 pc=0x7ff79350db21 created by runtime.init.7 in goroutine 1 runtime/proc.go:336 +0x1a

goroutine 3 gp=0xc000002c40 m=nil [GC sweep wait]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) runtime/proc.go:435 +0xce fp=0xc000071f80 sp=0xc000071f60 pc=0x7ff79350598e runtime.goparkunlock(...) runtime/proc.go:441 runtime.bgsweep(0xc00007e000) runtime/mgcsweep.go:276 +0x94 fp=0xc000071fc8 sp=0xc000071f80 pc=0x7ff7934bde74 runtime.gcenable.gowrap1() runtime/mgc.go:204 +0x25 fp=0xc000071fe0 sp=0xc000071fc8 pc=0x7ff7934b2285 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc000071fe8 sp=0xc000071fe0 pc=0x7ff79350db21 created by runtime.gcenable in goroutine 1 runtime/mgc.go:204 +0x66

goroutine 4 gp=0xc000002e00 m=nil [GC scavenge wait]: runtime.gopark(0xc00007e000?, 0x7ff794ed6a50?, 0x1?, 0x0?, 0xc000002e00?) runtime/proc.go:435 +0xce fp=0xc000085f78 sp=0xc000085f58 pc=0x7ff79350598e runtime.goparkunlock(...) runtime/proc.go:441 runtime.(*scavengerState).park(0x7ff795a93c00) runtime/mgcscavenge.go:425 +0x49 fp=0xc000085fa8 sp=0xc000085f78 pc=0x7ff7934bb909 runtime.bgscavenge(0xc00007e000) runtime/mgcscavenge.go:653 +0x3c fp=0xc000085fc8 sp=0xc000085fa8 pc=0x7ff7934bbe7c runtime.gcenable.gowrap2() runtime/mgc.go:205 +0x25 fp=0xc000085fe0 sp=0xc000085fc8 pc=0x7ff7934b2225 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc000085fe8 sp=0xc000085fe0 pc=0x7ff79350db21 created by runtime.gcenable in goroutine 1 runtime/mgc.go:205 +0xa5

goroutine 5 gp=0xc000003340 m=nil [finalizer wait]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) runtime/proc.go:435 +0xce fp=0xc000087e30 sp=0xc000087e10 pc=0x7ff79350598e runtime.runfinq() runtime/mfinal.go:196 +0x107 fp=0xc000087fe0 sp=0xc000087e30 pc=0x7ff7934b1207 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc000087fe8 sp=0xc000087fe0 pc=0x7ff79350db21 created by runtime.createfing in goroutine 1 runtime/mfinal.go:166 +0x3d rax 0xce6ff901 rbx 0x7ffc904ee5b0 rcx 0x7ffc904ee598 rdx 0x7ffc900862d0 rdi 0x0 rsi 0x41ce6ff560 rbp 0x7ffdea930380 rsp 0x41ce6ff4a8 r8 0x32c8 r9 0x0 r10 0x1f67aaa0320 r11 0x41ce6ff2a0 r12 0xce6ff901 r13 0x40 r14 0x1 r15 0x0 rip 0xce6ff901 rflags 0x10202 cs 0x33 fs 0x53 gs 0x2b

Code Example

time=2026-03-30T01:17:20.397-04:00 level=INFO source=app_windows.go:282 msg="starting Ollama" app=C:\AI\Ollama version=0.18.3 OS=Windows/10.0.26200
time=2026-03-30T01:17:20.399-04:00 level=INFO source=app.go:239 msg="initialized tools registry" tool_count=0
time=2026-03-30T01:17:20.473-04:00 level=INFO source=app.go:285 msg="starting ui server" port=49882
time=2026-03-30T01:17:20.473-04:00 level=INFO source=app.go:254 msg="starting ollama server"
time=2026-03-30T01:17:21.537-04:00 level=INFO source=ui.go:241 msg=site.serveHTTP http.method=GET http.path=/api/v1/settings http.pattern="GET /api/v1/settings" http.status=200 http.d=578.1µs request_id=1774847841536668600 version=0.18.3
time=2026-03-30T01:17:21.537-04:00 level=INFO source=ui.go:241 msg=site.serveHTTP http.method=GET http.path=/api/v1/cloud http.pattern="GET /api/v1/cloud" http.status=200 http.d=529.3µs request_id=1774847841537246700 version=0.18.3
time=2026-03-30T01:17:21.545-04:00 level=INFO source=ui.go:241 msg=site.serveHTTP http.method=GET http.path=/api/v1/chats http.pattern="GET /api/v1/chats" http.status=200 http.d=0s request_id=1774847841545325000 version=0.18.3
time=2026-03-30T01:17:21.647-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2"
time=2026-03-30T01:17:22.063-04:00 level=ERROR source=ui.go:1524 msg="failed to get inference info" error="timeout scanning server log for inference compute details"
time=2026-03-30T01:17:22.063-04:00 level=ERROR source=ui.go:241 msg=site.serveHTTP error="failed to get inference info: timeout scanning server log for inference compute details" http.method=GET http.path=/api/v1/inference-compute http.pattern="GET /api/v1/inference-compute" http.status=500 http.d=524.4077ms request_id=1774847841539327000 version=0.18.3
time=2026-03-30T01:17:22.853-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2"
time=2026-03-30T01:17:23.474-04:00 level=INFO source=updater.go:296 msg="beginning update checker" interval=1h0m0s
time=2026-03-30T01:17:23.475-04:00 level=INFO source=auth.go:62 msg="Failed to load private key: open C:\\Users\\artur\\.ollama\\id_ed25519: The system cannot find the file specified."
time=2026-03-30T01:17:23.620-04:00 level=ERROR source=ui.go:1524 msg="failed to get inference info" error="timeout scanning server log for inference compute details"
time=2026-03-30T01:17:23.621-04:00 level=ERROR source=ui.go:241 msg=site.serveHTTP error="failed to get inference info: timeout scanning server log for inference compute details" http.method=GET http.path=/api/v1/inference-compute http.pattern="GET /api/v1/inference-compute" http.status=500 http.d=539.2233ms request_id=1774847843082400800 version=0.18.3
time=2026-03-30T01:17:23.811-04:00 level=INFO source=updater.go:131 msg="New update available at https://github.com/ollama/ollama/releases/download/v0.19.0/OllamaSetup.exe"
time=2026-03-30T01:17:24.017-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2"
time=2026-03-30T01:17:25.164-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2"
time=2026-03-30T01:17:26.151-04:00 level=ERROR source=ui.go:1524 msg="failed to get inference info" error="timeout scanning server log for inference compute details"
time=2026-03-30T01:17:26.151-04:00 level=ERROR source=ui.go:241 msg=site.serveHTTP error="failed to get inference info: timeout scanning server log for inference compute details" http.method=GET http.path=/api/v1/inference-compute http.pattern="GET /api/v1/inference-compute" http.status=500 http.d=521.27ms request_id=1774847845630327900 version=0.18.3
time=2026-03-30T01:17:26.374-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2"
time=2026-03-30T01:17:27.506-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2"
time=2026-03-30T01:17:28.770-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2"
time=2026-03-30T01:17:29.899-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2"
time=2026-03-30T01:17:30.496-04:00 level=WARN source=app.go:342 msg="ollama server not ready, continuing anyway" error="timeout waiting for Ollama server to be ready"
time=2026-03-30T01:17:30.497-04:00 level=INFO source=auth.go:62 msg="Failed to load private key: open C:\\Users\\artur\\.ollama\\id_ed25519: The system cannot find the file specified."
time=2026-03-30T01:17:30.497-04:00 level=WARN source=app.go:346 msg="failed to load user data" error="failed to call ollama.com/api/me: failed to sign request: open C:\\Users\\artur\\.ollama\\id_ed25519: The system cannot find the file specified."
time=2026-03-30T01:17:30.711-04:00 level=ERROR source=ui.go:1524 msg="failed to get inference info" error="timeout scanning server log for inference compute details"
time=2026-03-30T01:17:30.712-04:00 level=ERROR source=ui.go:241 msg=site.serveHTTP error="failed to get inference info: timeout scanning server log for inference compute details" http.method=GET http.path=/api/v1/inference-compute http.pattern="GET /api/v1/inference-compute" http.status=500 http.d=540.6591ms request_id=1774847850171526200 version=0.18.3
time=2026-03-30T01:17:31.164-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2"
time=2026-03-30T01:17:31.479-04:00 level=WARN source=ui.go:141 msg="ollama server not ready, retrying" attempt=2

---

Exception 0xc0000005 0x8 0xffffffffffffffff 0xffffffffffffffff
PC=0xffffffffffffffff
signal arrived during external code execution

runtime.cgocall(0x7ff794608b40, 0xc000049da0)
	runtime/cgocall.go:167 +0x3e fp=0xc000049d78 sp=0xc000049d10 pc=0x7ff79350243e
github.com/ollama/ollama/x/imagegen/mlx._Cfunc_mlx_random_key(0xc0000762e0, 0x19d3d2cd555)
	_cgo_gotypes.go:1978 +0x50 fp=0xc000049da0 sp=0xc000049d78 pc=0x7ff793b7ce50
github.com/ollama/ollama/x/imagegen/mlx.RandomKey.func1(...)
	github.com/ollama/ollama/x/imagegen/mlx/mlx.go:1870
github.com/ollama/ollama/x/imagegen/mlx.RandomKey(0x19d3d2cd555)
	github.com/ollama/ollama/x/imagegen/mlx/mlx.go:1870 +0x5d fp=0xc000049dd8 sp=0xc000049da0 pc=0x7ff793b85d7d
github.com/ollama/ollama/x/imagegen/mlx.init.0()
	github.com/ollama/ollama/x/imagegen/mlx/mlx.go:1848 +0xa9 fp=0xc000049e28 sp=0xc000049dd8 pc=0x7ff793b85b89
runtime.doInit1(0x7ff7959792c0)
	runtime/proc.go:7350 +0xdd fp=0xc000049f50 sp=0xc000049e28 pc=0x7ff7934e343d
runtime.doInit(...)
	runtime/proc.go:7317
runtime.main()
	runtime/proc.go:254 +0x325 fp=0xc000049fe0 sp=0xc000049f50 pc=0x7ff7934d4e85
runtime.goexit({})
	runtime/asm_amd64.s:1700 +0x1 fp=0xc000049fe8 sp=0xc000049fe0 pc=0x7ff79350db21

goroutine 2 gp=0xc0000028c0 m=nil [force gc (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	runtime/proc.go:435 +0xce fp=0xc00006ffa8 sp=0xc00006ff88 pc=0x7ff79350598e
runtime.goparkunlock(...)
	runtime/proc.go:441
runtime.forcegchelper()
	runtime/proc.go:348 +0xb8 fp=0xc00006ffe0 sp=0xc00006ffa8 pc=0x7ff7934d50f8
runtime.goexit({})
	runtime/asm_amd64.s:1700 +0x1 fp=0xc00006ffe8 sp=0xc00006ffe0 pc=0x7ff79350db21
created by runtime.init.7 in goroutine 1
	runtime/proc.go:336 +0x1a

goroutine 3 gp=0xc000002c40 m=nil [GC sweep wait]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	runtime/proc.go:435 +0xce fp=0xc000071f80 sp=0xc000071f60 pc=0x7ff79350598e
runtime.goparkunlock(...)
	runtime/proc.go:441
runtime.bgsweep(0xc00007e000)
	runtime/mgcsweep.go:276 +0x94 fp=0xc000071fc8 sp=0xc000071f80 pc=0x7ff7934bde74
runtime.gcenable.gowrap1()
	runtime/mgc.go:204 +0x25 fp=0xc000071fe0 sp=0xc000071fc8 pc=0x7ff7934b2285
runtime.goexit({})
	runtime/asm_amd64.s:1700 +0x1 fp=0xc000071fe8 sp=0xc000071fe0 pc=0x7ff79350db21
created by runtime.gcenable in goroutine 1
	runtime/mgc.go:204 +0x66

goroutine 4 gp=0xc000002e00 m=nil [GC scavenge wait]:
runtime.gopark(0xc00007e000?, 0x7ff794ed6a50?, 0x1?, 0x0?, 0xc000002e00?)
	runtime/proc.go:435 +0xce fp=0xc000085f78 sp=0xc000085f58 pc=0x7ff79350598e
runtime.goparkunlock(...)
	runtime/proc.go:441
runtime.(*scavengerState).park(0x7ff795a93c00)
	runtime/mgcscavenge.go:425 +0x49 fp=0xc000085fa8 sp=0xc000085f78 pc=0x7ff7934bb909
runtime.bgscavenge(0xc00007e000)
	runtime/mgcscavenge.go:653 +0x3c fp=0xc000085fc8 sp=0xc000085fa8 pc=0x7ff7934bbe7c
runtime.gcenable.gowrap2()
	runtime/mgc.go:205 +0x25 fp=0xc000085fe0 sp=0xc000085fc8 pc=0x7ff7934b2225
runtime.goexit({})
	runtime/asm_amd64.s:1700 +0x1 fp=0xc000085fe8 sp=0xc000085fe0 pc=0x7ff79350db21
created by runtime.gcenable in goroutine 1
	runtime/mgc.go:205 +0xa5

goroutine 5 gp=0xc000003340 m=nil [finalizer wait]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	runtime/proc.go:435 +0xce fp=0xc000087e30 sp=0xc000087e10 pc=0x7ff79350598e
runtime.runfinq()
	runtime/mfinal.go:196 +0x107 fp=0xc000087fe0 sp=0xc000087e30 pc=0x7ff7934b1207
runtime.goexit({})
	runtime/asm_amd64.s:1700 +0x1 fp=0xc000087fe8 sp=0xc000087fe0 pc=0x7ff79350db21
created by runtime.createfing in goroutine 1
	runtime/mfinal.go:166 +0x3d
rax     0xffffffffffffffff
rbx     0x7ffc904ee5b0
rcx     0x7ffc904ee598
rdx     0x7ffc900862d0
rdi     0x0
rsi     0x236af9f800
rbp     0x7ffdea930380
rsp     0x236af9f748
r8      0x32c8
r9      0x0
r10     0x192903d0320
r11     0x236af9f540
r12     0xffffffffffffffff
r13     0x5d
r14     0x1
r15     0x0
rip     0xffffffffffffffff
rflags  0x10286
cs      0x33
fs      0x53
gs      0x2b
Exception 0xc0000005 0x8 0xce6ff901 0xce6ff901
PC=0xce6ff901
signal arrived during external code execution

runtime.cgocall(0x7ff794608b40, 0xc000049da0)
	runtime/cgocall.go:167 +0x3e fp=0xc000049d78 sp=0xc000049d10 pc=0x7ff79350243e
github.com/ollama/ollama/x/imagegen/mlx._Cfunc_mlx_random_key(0xc000108000, 0x19d3d2cda00)
	_cgo_gotypes.go:1978 +0x50 fp=0xc000049da0 sp=0xc000049d78 pc=0x7ff793b7ce50
github.com/ollama/ollama/x/imagegen/mlx.RandomKey.func1(...)
	github.com/ollama/ollama/x/imagegen/mlx/mlx.go:1870
github.com/ollama/ollama/x/imagegen/mlx.RandomKey(0x19d3d2cda00)
	github.com/ollama/ollama/x/imagegen/mlx/mlx.go:1870 +0x5d fp=0xc000049dd8 sp=0xc000049da0 pc=0x7ff793b85d7d
github.com/ollama/ollama/x/imagegen/mlx.init.0()
	github.com/ollama/ollama/x/imagegen/mlx/mlx.go:1848 +0xa9 fp=0xc000049e28 sp=0xc000049dd8 pc=0x7ff793b85b89
runtime.doInit1(0x7ff7959792c0)
	runtime/proc.go:7350 +0xdd fp=0xc000049f50 sp=0xc000049e28 pc=0x7ff7934e343d
runtime.doInit(...)
	runtime/proc.go:7317
runtime.main()
	runtime/proc.go:254 +0x325 fp=0xc000049fe0 sp=0xc000049f50 pc=0x7ff7934d4e85
runtime.goexit({})
	runtime/asm_amd64.s:1700 +0x1 fp=0xc000049fe8 sp=0xc000049fe0 pc=0x7ff79350db21

goroutine 2 gp=0xc0000028c0 m=nil [force gc (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	runtime/proc.go:435 +0xce fp=0xc00006ffa8 sp=0xc00006ff88 pc=0x7ff79350598e
runtime.goparkunlock(...)
	runtime/proc.go:441
runtime.forcegchelper()
	runtime/proc.go:348 +0xb8 fp=0xc00006ffe0 sp=0xc00006ffa8 pc=0x7ff7934d50f8
runtime.goexit({})
	runtime/asm_amd64.s:1700 +0x1 fp=0xc00006ffe8 sp=0xc00006ffe0 pc=0x7ff79350db21
created by runtime.init.7 in goroutine 1
	runtime/proc.go:336 +0x1a

goroutine 3 gp=0xc000002c40 m=nil [GC sweep wait]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	runtime/proc.go:435 +0xce fp=0xc000071f80 sp=0xc000071f60 pc=0x7ff79350598e
runtime.goparkunlock(...)
	runtime/proc.go:441
runtime.bgsweep(0xc00007e000)
	runtime/mgcsweep.go:276 +0x94 fp=0xc000071fc8 sp=0xc000071f80 pc=0x7ff7934bde74
runtime.gcenable.gowrap1()
	runtime/mgc.go:204 +0x25 fp=0xc000071fe0 sp=0xc000071fc8 pc=0x7ff7934b2285
runtime.goexit({})
	runtime/asm_amd64.s:1700 +0x1 fp=0xc000071fe8 sp=0xc000071fe0 pc=0x7ff79350db21
created by runtime.gcenable in goroutine 1
	runtime/mgc.go:204 +0x66

goroutine 4 gp=0xc000002e00 m=nil [GC scavenge wait]:
runtime.gopark(0xc00007e000?, 0x7ff794ed6a50?, 0x1?, 0x0?, 0xc000002e00?)
	runtime/proc.go:435 +0xce fp=0xc000085f78 sp=0xc000085f58 pc=0x7ff79350598e
runtime.goparkunlock(...)
	runtime/proc.go:441
runtime.(*scavengerState).park(0x7ff795a93c00)
	runtime/mgcscavenge.go:425 +0x49 fp=0xc000085fa8 sp=0xc000085f78 pc=0x7ff7934bb909
runtime.bgscavenge(0xc00007e000)
	runtime/mgcscavenge.go:653 +0x3c fp=0xc000085fc8 sp=0xc000085fa8 pc=0x7ff7934bbe7c
runtime.gcenable.gowrap2()
	runtime/mgc.go:205 +0x25 fp=0xc000085fe0 sp=0xc000085fc8 pc=0x7ff7934b2225
runtime.goexit({})
	runtime/asm_amd64.s:1700 +0x1 fp=0xc000085fe8 sp=0xc000085fe0 pc=0x7ff79350db21
created by runtime.gcenable in goroutine 1
	runtime/mgc.go:205 +0xa5

goroutine 5 gp=0xc000003340 m=nil [finalizer wait]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	runtime/proc.go:435 +0xce fp=0xc000087e30 sp=0xc000087e10 pc=0x7ff79350598e
runtime.runfinq()
	runtime/mfinal.go:196 +0x107 fp=0xc000087fe0 sp=0xc000087e30 pc=0x7ff7934b1207
runtime.goexit({})
	runtime/asm_amd64.s:1700 +0x1 fp=0xc000087fe8 sp=0xc000087fe0 pc=0x7ff79350db21
created by runtime.createfing in goroutine 1
	runtime/mfinal.go:166 +0x3d
rax     0xce6ff901
rbx     0x7ffc904ee5b0
rcx     0x7ffc904ee598
rdx     0x7ffc900862d0
rdi     0x0
rsi     0x41ce6ff560
rbp     0x7ffdea930380
rsp     0x41ce6ff4a8
r8      0x32c8
r9      0x0
r10     0x1f67aaa0320
r11     0x41ce6ff2a0
r12     0xce6ff901
r13     0x40
r14     0x1
r15     0x0
rip     0xce6ff901
rflags  0x10202
cs      0x33
fs      0x53
gs      0x2b
RAW_BUFFERClick to expand / collapse

What is the issue?

Installed Ollama v0.18.3 on Windows 11 and it gets stuck in "Loading..."

<img width="783" height="491" alt="Image" src="https://github.com/user-attachments/assets/089fa21c-fd81-4588-b788-a5500587c765" />

Tried following to resolve the issue:

  • restarting computer
  • restarting Ollama
  • reinstalling using downloaded "OllamaSetup.exe"
  • creating ".ollama" folder manually under "C:\Users\artur"
  • running Ollama as Administrator.

Nothing helped.

Relevant log output

app.log

time=2026-03-30T01:17:20.397-04:00 level=INFO source=app_windows.go:282 msg="starting Ollama" app=C:\AI\Ollama version=0.18.3 OS=Windows/10.0.26200
time=2026-03-30T01:17:20.399-04:00 level=INFO source=app.go:239 msg="initialized tools registry" tool_count=0
time=2026-03-30T01:17:20.473-04:00 level=INFO source=app.go:285 msg="starting ui server" port=49882
time=2026-03-30T01:17:20.473-04:00 level=INFO source=app.go:254 msg="starting ollama server"
time=2026-03-30T01:17:21.537-04:00 level=INFO source=ui.go:241 msg=site.serveHTTP http.method=GET http.path=/api/v1/settings http.pattern="GET /api/v1/settings" http.status=200 http.d=578.1µs request_id=1774847841536668600 version=0.18.3
time=2026-03-30T01:17:21.537-04:00 level=INFO source=ui.go:241 msg=site.serveHTTP http.method=GET http.path=/api/v1/cloud http.pattern="GET /api/v1/cloud" http.status=200 http.d=529.3µs request_id=1774847841537246700 version=0.18.3
time=2026-03-30T01:17:21.545-04:00 level=INFO source=ui.go:241 msg=site.serveHTTP http.method=GET http.path=/api/v1/chats http.pattern="GET /api/v1/chats" http.status=200 http.d=0s request_id=1774847841545325000 version=0.18.3
time=2026-03-30T01:17:21.647-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2"
time=2026-03-30T01:17:22.063-04:00 level=ERROR source=ui.go:1524 msg="failed to get inference info" error="timeout scanning server log for inference compute details"
time=2026-03-30T01:17:22.063-04:00 level=ERROR source=ui.go:241 msg=site.serveHTTP error="failed to get inference info: timeout scanning server log for inference compute details" http.method=GET http.path=/api/v1/inference-compute http.pattern="GET /api/v1/inference-compute" http.status=500 http.d=524.4077ms request_id=1774847841539327000 version=0.18.3
time=2026-03-30T01:17:22.853-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2"
time=2026-03-30T01:17:23.474-04:00 level=INFO source=updater.go:296 msg="beginning update checker" interval=1h0m0s
time=2026-03-30T01:17:23.475-04:00 level=INFO source=auth.go:62 msg="Failed to load private key: open C:\\Users\\artur\\.ollama\\id_ed25519: The system cannot find the file specified."
time=2026-03-30T01:17:23.620-04:00 level=ERROR source=ui.go:1524 msg="failed to get inference info" error="timeout scanning server log for inference compute details"
time=2026-03-30T01:17:23.621-04:00 level=ERROR source=ui.go:241 msg=site.serveHTTP error="failed to get inference info: timeout scanning server log for inference compute details" http.method=GET http.path=/api/v1/inference-compute http.pattern="GET /api/v1/inference-compute" http.status=500 http.d=539.2233ms request_id=1774847843082400800 version=0.18.3
time=2026-03-30T01:17:23.811-04:00 level=INFO source=updater.go:131 msg="New update available at https://github.com/ollama/ollama/releases/download/v0.19.0/OllamaSetup.exe"
time=2026-03-30T01:17:24.017-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2"
time=2026-03-30T01:17:25.164-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2"
time=2026-03-30T01:17:26.151-04:00 level=ERROR source=ui.go:1524 msg="failed to get inference info" error="timeout scanning server log for inference compute details"
time=2026-03-30T01:17:26.151-04:00 level=ERROR source=ui.go:241 msg=site.serveHTTP error="failed to get inference info: timeout scanning server log for inference compute details" http.method=GET http.path=/api/v1/inference-compute http.pattern="GET /api/v1/inference-compute" http.status=500 http.d=521.27ms request_id=1774847845630327900 version=0.18.3
time=2026-03-30T01:17:26.374-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2"
time=2026-03-30T01:17:27.506-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2"
time=2026-03-30T01:17:28.770-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2"
time=2026-03-30T01:17:29.899-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2"
time=2026-03-30T01:17:30.496-04:00 level=WARN source=app.go:342 msg="ollama server not ready, continuing anyway" error="timeout waiting for Ollama server to be ready"
time=2026-03-30T01:17:30.497-04:00 level=INFO source=auth.go:62 msg="Failed to load private key: open C:\\Users\\artur\\.ollama\\id_ed25519: The system cannot find the file specified."
time=2026-03-30T01:17:30.497-04:00 level=WARN source=app.go:346 msg="failed to load user data" error="failed to call ollama.com/api/me: failed to sign request: open C:\\Users\\artur\\.ollama\\id_ed25519: The system cannot find the file specified."
time=2026-03-30T01:17:30.711-04:00 level=ERROR source=ui.go:1524 msg="failed to get inference info" error="timeout scanning server log for inference compute details"
time=2026-03-30T01:17:30.712-04:00 level=ERROR source=ui.go:241 msg=site.serveHTTP error="failed to get inference info: timeout scanning server log for inference compute details" http.method=GET http.path=/api/v1/inference-compute http.pattern="GET /api/v1/inference-compute" http.status=500 http.d=540.6591ms request_id=1774847850171526200 version=0.18.3
time=2026-03-30T01:17:31.164-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2"
time=2026-03-30T01:17:31.479-04:00 level=WARN source=ui.go:141 msg="ollama server not ready, retrying" attempt=2

server.log

Exception 0xc0000005 0x8 0xffffffffffffffff 0xffffffffffffffff
PC=0xffffffffffffffff
signal arrived during external code execution

runtime.cgocall(0x7ff794608b40, 0xc000049da0)
	runtime/cgocall.go:167 +0x3e fp=0xc000049d78 sp=0xc000049d10 pc=0x7ff79350243e
github.com/ollama/ollama/x/imagegen/mlx._Cfunc_mlx_random_key(0xc0000762e0, 0x19d3d2cd555)
	_cgo_gotypes.go:1978 +0x50 fp=0xc000049da0 sp=0xc000049d78 pc=0x7ff793b7ce50
github.com/ollama/ollama/x/imagegen/mlx.RandomKey.func1(...)
	github.com/ollama/ollama/x/imagegen/mlx/mlx.go:1870
github.com/ollama/ollama/x/imagegen/mlx.RandomKey(0x19d3d2cd555)
	github.com/ollama/ollama/x/imagegen/mlx/mlx.go:1870 +0x5d fp=0xc000049dd8 sp=0xc000049da0 pc=0x7ff793b85d7d
github.com/ollama/ollama/x/imagegen/mlx.init.0()
	github.com/ollama/ollama/x/imagegen/mlx/mlx.go:1848 +0xa9 fp=0xc000049e28 sp=0xc000049dd8 pc=0x7ff793b85b89
runtime.doInit1(0x7ff7959792c0)
	runtime/proc.go:7350 +0xdd fp=0xc000049f50 sp=0xc000049e28 pc=0x7ff7934e343d
runtime.doInit(...)
	runtime/proc.go:7317
runtime.main()
	runtime/proc.go:254 +0x325 fp=0xc000049fe0 sp=0xc000049f50 pc=0x7ff7934d4e85
runtime.goexit({})
	runtime/asm_amd64.s:1700 +0x1 fp=0xc000049fe8 sp=0xc000049fe0 pc=0x7ff79350db21

goroutine 2 gp=0xc0000028c0 m=nil [force gc (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	runtime/proc.go:435 +0xce fp=0xc00006ffa8 sp=0xc00006ff88 pc=0x7ff79350598e
runtime.goparkunlock(...)
	runtime/proc.go:441
runtime.forcegchelper()
	runtime/proc.go:348 +0xb8 fp=0xc00006ffe0 sp=0xc00006ffa8 pc=0x7ff7934d50f8
runtime.goexit({})
	runtime/asm_amd64.s:1700 +0x1 fp=0xc00006ffe8 sp=0xc00006ffe0 pc=0x7ff79350db21
created by runtime.init.7 in goroutine 1
	runtime/proc.go:336 +0x1a

goroutine 3 gp=0xc000002c40 m=nil [GC sweep wait]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	runtime/proc.go:435 +0xce fp=0xc000071f80 sp=0xc000071f60 pc=0x7ff79350598e
runtime.goparkunlock(...)
	runtime/proc.go:441
runtime.bgsweep(0xc00007e000)
	runtime/mgcsweep.go:276 +0x94 fp=0xc000071fc8 sp=0xc000071f80 pc=0x7ff7934bde74
runtime.gcenable.gowrap1()
	runtime/mgc.go:204 +0x25 fp=0xc000071fe0 sp=0xc000071fc8 pc=0x7ff7934b2285
runtime.goexit({})
	runtime/asm_amd64.s:1700 +0x1 fp=0xc000071fe8 sp=0xc000071fe0 pc=0x7ff79350db21
created by runtime.gcenable in goroutine 1
	runtime/mgc.go:204 +0x66

goroutine 4 gp=0xc000002e00 m=nil [GC scavenge wait]:
runtime.gopark(0xc00007e000?, 0x7ff794ed6a50?, 0x1?, 0x0?, 0xc000002e00?)
	runtime/proc.go:435 +0xce fp=0xc000085f78 sp=0xc000085f58 pc=0x7ff79350598e
runtime.goparkunlock(...)
	runtime/proc.go:441
runtime.(*scavengerState).park(0x7ff795a93c00)
	runtime/mgcscavenge.go:425 +0x49 fp=0xc000085fa8 sp=0xc000085f78 pc=0x7ff7934bb909
runtime.bgscavenge(0xc00007e000)
	runtime/mgcscavenge.go:653 +0x3c fp=0xc000085fc8 sp=0xc000085fa8 pc=0x7ff7934bbe7c
runtime.gcenable.gowrap2()
	runtime/mgc.go:205 +0x25 fp=0xc000085fe0 sp=0xc000085fc8 pc=0x7ff7934b2225
runtime.goexit({})
	runtime/asm_amd64.s:1700 +0x1 fp=0xc000085fe8 sp=0xc000085fe0 pc=0x7ff79350db21
created by runtime.gcenable in goroutine 1
	runtime/mgc.go:205 +0xa5

goroutine 5 gp=0xc000003340 m=nil [finalizer wait]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	runtime/proc.go:435 +0xce fp=0xc000087e30 sp=0xc000087e10 pc=0x7ff79350598e
runtime.runfinq()
	runtime/mfinal.go:196 +0x107 fp=0xc000087fe0 sp=0xc000087e30 pc=0x7ff7934b1207
runtime.goexit({})
	runtime/asm_amd64.s:1700 +0x1 fp=0xc000087fe8 sp=0xc000087fe0 pc=0x7ff79350db21
created by runtime.createfing in goroutine 1
	runtime/mfinal.go:166 +0x3d
rax     0xffffffffffffffff
rbx     0x7ffc904ee5b0
rcx     0x7ffc904ee598
rdx     0x7ffc900862d0
rdi     0x0
rsi     0x236af9f800
rbp     0x7ffdea930380
rsp     0x236af9f748
r8      0x32c8
r9      0x0
r10     0x192903d0320
r11     0x236af9f540
r12     0xffffffffffffffff
r13     0x5d
r14     0x1
r15     0x0
rip     0xffffffffffffffff
rflags  0x10286
cs      0x33
fs      0x53
gs      0x2b
Exception 0xc0000005 0x8 0xce6ff901 0xce6ff901
PC=0xce6ff901
signal arrived during external code execution

runtime.cgocall(0x7ff794608b40, 0xc000049da0)
	runtime/cgocall.go:167 +0x3e fp=0xc000049d78 sp=0xc000049d10 pc=0x7ff79350243e
github.com/ollama/ollama/x/imagegen/mlx._Cfunc_mlx_random_key(0xc000108000, 0x19d3d2cda00)
	_cgo_gotypes.go:1978 +0x50 fp=0xc000049da0 sp=0xc000049d78 pc=0x7ff793b7ce50
github.com/ollama/ollama/x/imagegen/mlx.RandomKey.func1(...)
	github.com/ollama/ollama/x/imagegen/mlx/mlx.go:1870
github.com/ollama/ollama/x/imagegen/mlx.RandomKey(0x19d3d2cda00)
	github.com/ollama/ollama/x/imagegen/mlx/mlx.go:1870 +0x5d fp=0xc000049dd8 sp=0xc000049da0 pc=0x7ff793b85d7d
github.com/ollama/ollama/x/imagegen/mlx.init.0()
	github.com/ollama/ollama/x/imagegen/mlx/mlx.go:1848 +0xa9 fp=0xc000049e28 sp=0xc000049dd8 pc=0x7ff793b85b89
runtime.doInit1(0x7ff7959792c0)
	runtime/proc.go:7350 +0xdd fp=0xc000049f50 sp=0xc000049e28 pc=0x7ff7934e343d
runtime.doInit(...)
	runtime/proc.go:7317
runtime.main()
	runtime/proc.go:254 +0x325 fp=0xc000049fe0 sp=0xc000049f50 pc=0x7ff7934d4e85
runtime.goexit({})
	runtime/asm_amd64.s:1700 +0x1 fp=0xc000049fe8 sp=0xc000049fe0 pc=0x7ff79350db21

goroutine 2 gp=0xc0000028c0 m=nil [force gc (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	runtime/proc.go:435 +0xce fp=0xc00006ffa8 sp=0xc00006ff88 pc=0x7ff79350598e
runtime.goparkunlock(...)
	runtime/proc.go:441
runtime.forcegchelper()
	runtime/proc.go:348 +0xb8 fp=0xc00006ffe0 sp=0xc00006ffa8 pc=0x7ff7934d50f8
runtime.goexit({})
	runtime/asm_amd64.s:1700 +0x1 fp=0xc00006ffe8 sp=0xc00006ffe0 pc=0x7ff79350db21
created by runtime.init.7 in goroutine 1
	runtime/proc.go:336 +0x1a

goroutine 3 gp=0xc000002c40 m=nil [GC sweep wait]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	runtime/proc.go:435 +0xce fp=0xc000071f80 sp=0xc000071f60 pc=0x7ff79350598e
runtime.goparkunlock(...)
	runtime/proc.go:441
runtime.bgsweep(0xc00007e000)
	runtime/mgcsweep.go:276 +0x94 fp=0xc000071fc8 sp=0xc000071f80 pc=0x7ff7934bde74
runtime.gcenable.gowrap1()
	runtime/mgc.go:204 +0x25 fp=0xc000071fe0 sp=0xc000071fc8 pc=0x7ff7934b2285
runtime.goexit({})
	runtime/asm_amd64.s:1700 +0x1 fp=0xc000071fe8 sp=0xc000071fe0 pc=0x7ff79350db21
created by runtime.gcenable in goroutine 1
	runtime/mgc.go:204 +0x66

goroutine 4 gp=0xc000002e00 m=nil [GC scavenge wait]:
runtime.gopark(0xc00007e000?, 0x7ff794ed6a50?, 0x1?, 0x0?, 0xc000002e00?)
	runtime/proc.go:435 +0xce fp=0xc000085f78 sp=0xc000085f58 pc=0x7ff79350598e
runtime.goparkunlock(...)
	runtime/proc.go:441
runtime.(*scavengerState).park(0x7ff795a93c00)
	runtime/mgcscavenge.go:425 +0x49 fp=0xc000085fa8 sp=0xc000085f78 pc=0x7ff7934bb909
runtime.bgscavenge(0xc00007e000)
	runtime/mgcscavenge.go:653 +0x3c fp=0xc000085fc8 sp=0xc000085fa8 pc=0x7ff7934bbe7c
runtime.gcenable.gowrap2()
	runtime/mgc.go:205 +0x25 fp=0xc000085fe0 sp=0xc000085fc8 pc=0x7ff7934b2225
runtime.goexit({})
	runtime/asm_amd64.s:1700 +0x1 fp=0xc000085fe8 sp=0xc000085fe0 pc=0x7ff79350db21
created by runtime.gcenable in goroutine 1
	runtime/mgc.go:205 +0xa5

goroutine 5 gp=0xc000003340 m=nil [finalizer wait]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	runtime/proc.go:435 +0xce fp=0xc000087e30 sp=0xc000087e10 pc=0x7ff79350598e
runtime.runfinq()
	runtime/mfinal.go:196 +0x107 fp=0xc000087fe0 sp=0xc000087e30 pc=0x7ff7934b1207
runtime.goexit({})
	runtime/asm_amd64.s:1700 +0x1 fp=0xc000087fe8 sp=0xc000087fe0 pc=0x7ff79350db21
created by runtime.createfing in goroutine 1
	runtime/mfinal.go:166 +0x3d
rax     0xce6ff901
rbx     0x7ffc904ee5b0
rcx     0x7ffc904ee598
rdx     0x7ffc900862d0
rdi     0x0
rsi     0x41ce6ff560
rbp     0x7ffdea930380
rsp     0x41ce6ff4a8
r8      0x32c8
r9      0x0
r10     0x1f67aaa0320
r11     0x41ce6ff2a0
r12     0xce6ff901
r13     0x40
r14     0x1
r15     0x0
rip     0xce6ff901
rflags  0x10202
cs      0x33
fs      0x53
gs      0x2b

OS

Windows

GPU

No response

CPU

Intel

Ollama version

0.18.3

extent analysis

Fix Plan

The issue seems to be related to the Ollama server not being ready and the application getting stuck in "Loading...". To fix this, we can try the following steps:

  • Update Ollama to the latest version (0.19.0) as mentioned in the log output.
  • Check if the .ollama folder exists in the user directory and if it contains the required files.
  • Try running Ollama with administrator privileges.

Here's an example of how to update Ollama using the command line:

# Download the latest Ollama setup executable
wget https://github.com/ollama/ollama/releases/download/v0.19.0/OllamaSetup.exe

# Run the setup executable to update Ollama
OllamaSetup.exe

If the issue persists, we can try to debug the Ollama server by checking the server logs for any errors.

Verification

To verify that the fix worked, we can check the Ollama application to see if it loads correctly. We can also check the server logs to see if there are any errors.

Extra Tips

  • Make sure to check the system requirements for Ollama to ensure that the machine meets the minimum requirements.
  • If the issue persists, try reinstalling Ollama or seeking further assistance from the Ollama support team.

Example code to check Ollama server status:

package main

import (
	"fmt"
	"net/http"
)

func main() {
	resp, err := http.Get("http://localhost:49882/api/v1/settings")
	if err != nil {
		fmt.Println("Error:", err)
		return
	}
	defer resp.Body.Close()

	if resp.StatusCode == 200 {
		fmt.Println("Ollama server is running")
	} else {
		fmt.Println("Ollama server is not running")
	}
}

This code sends a GET request to the Ollama server and checks the status code of the response. If the status code is 200, it means the server is running.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING