[GH-ISSUE #15140] Failed to load private key #9692

Closed
opened 2026-04-12 22:34:20 -05:00 by GiteaMirror · 13 comments
Owner

Originally created by @kustusch on GitHub (Mar 30, 2026).
Original GitHub issue: https://github.com/ollama/ollama/issues/15140

What is the issue?

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

Image

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

None

CPU

Intel

Ollama version

0.18.3

Originally created by @kustusch on GitHub (Mar 30, 2026). Original GitHub issue: https://github.com/ollama/ollama/issues/15140 ### 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 ```shell 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 None ### CPU Intel ### Ollama version 0.18.3
GiteaMirror added the bug label 2026-04-12 22:34:20 -05:00
Author
Owner

@rick-github commented on GitHub (Mar 30, 2026):

What's in the server.log file?

<!-- gh-comment-id:4153464756 --> @rick-github commented on GitHub (Mar 30, 2026): What's in the `server.log` file?
Author
Owner

@POPPYboy commented on GitHub (Mar 30, 2026):

got the same problem with Ollama v0.19

<!-- gh-comment-id:4154761256 --> @POPPYboy commented on GitHub (Mar 30, 2026): got the same problem with Ollama v0.19
Author
Owner

@rick-github commented on GitHub (Mar 30, 2026):

Server logs will aid in debugging.

<!-- gh-comment-id:4154770390 --> @rick-github commented on GitHub (Mar 30, 2026): [Server logs](https://docs.ollama.com/troubleshooting) will aid in debugging.
Author
Owner

@kustusch commented on GitHub (Mar 30, 2026):

Added server log

<!-- gh-comment-id:4155520755 --> @kustusch commented on GitHub (Mar 30, 2026): Added server log
Author
Owner

@rick-github commented on GitHub (Mar 30, 2026):

Added server log

Where?

<!-- gh-comment-id:4155563163 --> @rick-github commented on GitHub (Mar 30, 2026): > Added server log Where?
Author
Owner

@kustusch commented on GitHub (Mar 30, 2026):

Updated original issue.

<!-- gh-comment-id:4156115319 --> @kustusch commented on GitHub (Mar 30, 2026): Updated original issue.
Author
Owner

@rick-github commented on GitHub (Mar 30, 2026):

From line that says server config.

<!-- gh-comment-id:4156208193 --> @rick-github commented on GitHub (Mar 30, 2026): From line that says `server config`.
Author
Owner

@kustusch commented on GitHub (Mar 30, 2026):

I don's see line saying "server config" anywhere. Log files grow quickly when I leave Ollama running.
When I start Ollama and after few seconds I close it it will produce "fresh" instance of the logs, those are the logs I included in my issue.
Please let me know what else I can include.
Thanks for looking into it!

<!-- gh-comment-id:4156304517 --> @kustusch commented on GitHub (Mar 30, 2026): I don's see line saying "server config" anywhere. Log files grow quickly when I leave Ollama running. When I start Ollama and after few seconds I close it it will produce "fresh" instance of the logs, those are the logs I included in my issue. Please let me know what else I can include. Thanks for looking into it!
Author
Owner

@rick-github commented on GitHub (Mar 30, 2026):

The first line in server.log is Exception 0xc0000005 0x8 0xffffffffffffffff 0xffffffffffffffff?

<!-- gh-comment-id:4158171500 --> @rick-github commented on GitHub (Mar 30, 2026): The first line in server.log is `Exception 0xc0000005 0x8 0xffffffffffffffff 0xffffffffffffffff`?
Author
Owner

@kustusch commented on GitHub (Mar 31, 2026):

Yes, that is correct.

Just to verify I uninstalled Ollama again and made sure installation folders were deleted.
Reinstalled it again.
Ollama started when installation was completed and server log starts with "Exception 0xc0000005 0x8".

Here are the latest logs:
app.log
server.log

First 60 or so lines:

app.log

time=2026-03-31T01:48:39.631-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-31T01:48:39.632-04:00 level=INFO source=app.go:239 msg="initialized tools registry" tool_count=0
time=2026-03-31T01:48:39.636-04:00 level=INFO source=app.go:285 msg="starting ui server" port=65185
time=2026-03-31T01:48:39.636-04:00 level=INFO source=app.go:254 msg="starting ollama server"
time=2026-03-31T01:48:40.380-04:00 level=INFO source=app_windows.go:268 msg="Created Startup shortcut" shortcut="C:\\Users\\artur\\AppData\\Roaming\\Microsoft\\Windows\\Start Menu\\Programs\\Startup\\Ollama.lnk"
time=2026-03-31T01:48:40.625-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=1.222ms request_id=1774936120623981700 version=0.18.3
time=2026-03-31T01:48:40.633-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=529.9µs request_id=1774936120632494700 version=0.18.3
time=2026-03-31T01:48:40.635-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=1774936120635035900 version=0.18.3
time=2026-03-31T01:48:41.135-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-31T01:48:41.135-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=511.8761ms request_id=1774936120623981700 version=0.18.3
time=2026-03-31T01:48:42.637-04:00 level=INFO source=updater.go:296 msg="beginning update checker" interval=1h0m0s
time=2026-03-31T01:48:42.638-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-31T01:48:42.664-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-31T01:48:42.664-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=505.0019ms request_id=1774936122159028300 version=0.18.3
time=2026-03-31T01:48:42.815-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2"
time=2026-03-31T01:48:42.981-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-31T01:48:44.066-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2"
time=2026-03-31T01:48:45.232-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-31T01:48:45.232-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=545.5994ms request_id=1774936124687133200 version=0.18.3
time=2026-03-31T01:48:45.297-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2"
time=2026-03-31T01:48:46.468-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2"
time=2026-03-31T01:48:47.695-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2"
time=2026-03-31T01:48:48.908-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2"
time=2026-03-31T01:48:49.663-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-31T01:48:49.665-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-31T01:48:49.665-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-31T01:48:49.783-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-31T01:48:49.783-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=538.6554ms request_id=1774936129245291800 version=0.18.3
time=2026-03-31T01:48:50.061-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2"
time=2026-03-31T01:48:50.569-04:00 level=WARN source=ui.go:141 msg="ollama server not ready, retrying" attempt=2
time=2026-03-31T01:48:51.199-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2"
time=2026-03-31T01:48:52.365-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2"
time=2026-03-31T01:48:53.587-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2"
time=2026-03-31T01:48:54.762-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2"
time=2026-03-31T01:48:55.930-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2"
time=2026-03-31T01:48:57.082-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2"
time=2026-03-31T01:48:58.272-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2"
time=2026-03-31T01:48:59.360-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2"
time=2026-03-31T01:49:00.530-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2"
time=2026-03-31T01:49:01.570-04:00 level=ERROR source=ui.go:153 msg="ollama server not ready after retries" error="timeout waiting for Ollama server to be ready"
time=2026-03-31T01:49:01.669-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2"
time=2026-03-31T01:49:02.800-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2"
time=2026-03-31T01:49:03.897-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2"
time=2026-03-31T01:49:05.063-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2"
time=2026-03-31T01:49:06.215-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2"
time=2026-03-31T01:49:07.363-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2"
time=2026-03-31T01:49:08.529-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2"
time=2026-03-31T01:49:09.704-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2"
time=2026-03-31T01:49:10.896-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2"
time=2026-03-31T01:49:11.572-04:00 level=WARN source=ui.go:141 msg="ollama server not ready, retrying" attempt=2
time=2026-03-31T01:49:12.040-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2"
time=2026-03-31T01:49:13.127-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2"
time=2026-03-31T01:49:14.328-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2"
time=2026-03-31T01:49:15.460-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2"
time=2026-03-31T01:49:16.602-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2"
time=2026-03-31T01:49:17.714-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2"
time=2026-03-31T01:49:18.898-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2"
time=2026-03-31T01:49:20.016-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2"
time=2026-03-31T01:49:21.136-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2"
time=2026-03-31T01:49:22.291-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2"
time=2026-03-31T01:49:22.577-04:00 level=ERROR source=ui.go:153 msg="ollama server not ready after retries" error="timeout waiting for Ollama server to be ready"

server log:

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

runtime.cgocall(0x7ff71a318b40, 0xc000049da0)
	runtime/cgocall.go:167 +0x3e fp=0xc000049d78 sp=0xc000049d10 pc=0x7ff71921243e
github.com/ollama/ollama/x/imagegen/mlx._Cfunc_mlx_random_key(0xc0000762e0, 0x19d426fe59b)
	_cgo_gotypes.go:1978 +0x50 fp=0xc000049da0 sp=0xc000049d78 pc=0x7ff71988ce50
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(0x19d426fe59b)
	github.com/ollama/ollama/x/imagegen/mlx/mlx.go:1870 +0x5d fp=0xc000049dd8 sp=0xc000049da0 pc=0x7ff719895d7d
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=0x7ff719895b89
runtime.doInit1(0x7ff71b6892c0)
	runtime/proc.go:7350 +0xdd fp=0xc000049f50 sp=0xc000049e28 pc=0x7ff7191f343d
runtime.doInit(...)
	runtime/proc.go:7317
runtime.main()
	runtime/proc.go:254 +0x325 fp=0xc000049fe0 sp=0xc000049f50 pc=0x7ff7191e4e85
runtime.goexit({})
	runtime/asm_amd64.s:1700 +0x1 fp=0xc000049fe8 sp=0xc000049fe0 pc=0x7ff71921db21

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=0x7ff71921598e
runtime.goparkunlock(...)
	runtime/proc.go:441
runtime.forcegchelper()
	runtime/proc.go:348 +0xb8 fp=0xc00006ffe0 sp=0xc00006ffa8 pc=0x7ff7191e50f8
runtime.goexit({})
	runtime/asm_amd64.s:1700 +0x1 fp=0xc00006ffe8 sp=0xc00006ffe0 pc=0x7ff71921db21
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=0x7ff71921598e
runtime.goparkunlock(...)
	runtime/proc.go:441
runtime.bgsweep(0xc00007e000)
	runtime/mgcsweep.go:276 +0x94 fp=0xc000071fc8 sp=0xc000071f80 pc=0x7ff7191cde74
runtime.gcenable.gowrap1()
	runtime/mgc.go:204 +0x25 fp=0xc000071fe0 sp=0xc000071fc8 pc=0x7ff7191c2285
runtime.goexit({})
	runtime/asm_amd64.s:1700 +0x1 fp=0xc000071fe8 sp=0xc000071fe0 pc=0x7ff71921db21
created by runtime.gcenable in goroutine 1
	runtime/mgc.go:204 +0x66

goroutine 4 gp=0xc000002e00 m=nil [GC scavenge wait]:
runtime.gopark(0xc00007e000?, 0x7ff71abe6a50?, 0x1?, 0x0?, 0xc000002e00?)
	runtime/proc.go:435 +0xce fp=0xc000085f78 sp=0xc000085f58 pc=0x7ff71921598e
runtime.goparkunlock(...)
	runtime/proc.go:441
runtime.(*scavengerState).park(0x7ff71b7a3c00)
	runtime/mgcscavenge.go:425 +0x49 fp=0xc000085fa8 sp=0xc000085f78 pc=0x7ff7191cb909
runtime.bgscavenge(0xc00007e000)
	runtime/mgcscavenge.go:653 +0x3c fp=0xc000085fc8 sp=0xc000085fa8 pc=0x7ff7191cbe7c
runtime.gcenable.gowrap2()
	runtime/mgc.go:205 +0x25 fp=0xc000085fe0 sp=0xc000085fc8 pc=0x7ff7191c2225
runtime.goexit({})
	runtime/asm_amd64.s:1700 +0x1 fp=0xc000085fe8 sp=0xc000085fe0 pc=0x7ff71921db21
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=0x7ff71921598e
runtime.runfinq()
	runtime/mfinal.go:196 +0x107 fp=0xc000087fe0 sp=0xc000087e30 pc=0x7ff7191c1207
runtime.goexit({})
	runtime/asm_amd64.s:1700 +0x1 fp=0xc000087fe8 sp=0xc000087fe0 pc=0x7ff71921db21
created by runtime.createfing in goroutine 1
	runtime/mfinal.go:166 +0x3d
rax     0xa6474ff698
rbx     0x7ff9a2fde5b0
rcx     0x7ff9a2fde598
rdx     0x7ff9a2b762d0
rdi     0x0
rsi     0xa6474ff310
rbp     0x7ffab97c0380
rsp     0xa6474ff258
r8      0x32c8
r9      0x0
r10     0x1cfaf1e0320
r11     0xa6474ff050
r12     0xa6474ff698
r13     0x5d
r14     0x1
r15     0x0
rip     0xa6474ff698
rflags  0x10202
cs      0x33
fs      0x53
gs      0x2b
Exception 0xc0000005 0x8 0x2fff00 0x2fff00
PC=0x2fff00
signal arrived during external code execution

runtime.cgocall(0x7ff71a318b40, 0xc000049da0)
	runtime/cgocall.go:167 +0x3e fp=0xc000049d78 sp=0xc000049d10 pc=0x7ff71921243e
github.com/ollama/ollama/x/imagegen/mlx._Cfunc_mlx_random_key(0xc000280000, 0x19d426fea6f)
	_cgo_gotypes.go:1978 +0x50 fp=0xc000049da0 sp=0xc000049d78 pc=0x7ff71988ce50
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(0x19d426fea6f)
	github.com/ollama/ollama/x/imagegen/mlx/mlx.go:1870 +0x5d fp=0xc000049dd8 sp=0xc000049da0 pc=0x7ff719895d7d
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=0x7ff719895b89
runtime.doInit1(0x7ff71b6892c0)
	runtime/proc.go:7350 +0xdd fp=0xc000049f50 sp=0xc000049e28 pc=0x7ff7191f343d
runtime.doInit(...)
	runtime/proc.go:7317
runtime.main()
	runtime/proc.go:254 +0x325 fp=0xc000049fe0 sp=0xc000049f50 pc=0x7ff7191e4e85
runtime.goexit({})
	runtime/asm_amd64.s:1700 +0x1 fp=0xc000049fe8 sp=0xc000049fe0 pc=0x7ff71921db21

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=0x7ff71921598e
runtime.goparkunlock(...)
	runtime/proc.go:441
runtime.forcegchelper()
	runtime/proc.go:348 +0xb8 fp=0xc00006ffe0 sp=0xc00006ffa8 pc=0x7ff7191e50f8
runtime.goexit({})
	runtime/asm_amd64.s:1700 +0x1 fp=0xc00006ffe8 sp=0xc00006ffe0 pc=0x7ff71921db21
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=0x7ff71921598e
runtime.goparkunlock(...)
	runtime/proc.go:441
runtime.bgsweep(0xc00007e000)
	runtime/mgcsweep.go:276 +0x94 fp=0xc000071fc8 sp=0xc000071f80 pc=0x7ff7191cde74
runtime.gcenable.gowrap1()
	runtime/mgc.go:204 +0x25 fp=0xc000071fe0 sp=0xc000071fc8 pc=0x7ff7191c2285
runtime.goexit({})
	runtime/asm_amd64.s:1700 +0x1 fp=0xc000071fe8 sp=0xc000071fe0 pc=0x7ff71921db21
created by runtime.gcenable in goroutine 1
	runtime/mgc.go:204 +0x66

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

goroutine 18 gp=0xc000106380 m=nil [finalizer wait]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	runtime/proc.go:435 +0xce fp=0xc000081e30 sp=0xc000081e10 pc=0x7ff71921598e
runtime.runfinq()
	runtime/mfinal.go:196 +0x107 fp=0xc000081fe0 sp=0xc000081e30 pc=0x7ff7191c1207
runtime.goexit({})
	runtime/asm_amd64.s:1700 +0x1 fp=0xc000081fe8 sp=0xc000081fe0 pc=0x7ff71921db21
created by runtime.createfing in goroutine 1
	runtime/mfinal.go:166 +0x3d
rax     0x2fff00
rbx     0x7ff9a2fde5b0
rcx     0x7ff9a2fde598
rdx     0x7ff9a2b762d0
rdi     0x0
rsi     0x174ed1f9c0
rbp     0x7ffab97c0380
rsp     0x174ed1f908
r8      0x32c8
r9      0x0
r10     0x204632c0000
r11     0xc0000135
r12     0x2fff00
r13     0x7ff71b68a3c0
r14     0x1
r15     0x0
rip     0x2fff00
rflags  0x10206
cs      0x33
fs      0x53
gs      0x2b
<!-- gh-comment-id:4160227881 --> @kustusch commented on GitHub (Mar 31, 2026): Yes, that is correct. Just to verify I uninstalled Ollama again and made sure installation folders were deleted. Reinstalled it again. Ollama started when installation was completed and server log starts with "Exception 0xc0000005 0x8". Here are the latest logs: [app.log](https://github.com/user-attachments/files/26369466/app.log) [server.log](https://github.com/user-attachments/files/26369468/server.log) First 60 or so lines: app.log ``` time=2026-03-31T01:48:39.631-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-31T01:48:39.632-04:00 level=INFO source=app.go:239 msg="initialized tools registry" tool_count=0 time=2026-03-31T01:48:39.636-04:00 level=INFO source=app.go:285 msg="starting ui server" port=65185 time=2026-03-31T01:48:39.636-04:00 level=INFO source=app.go:254 msg="starting ollama server" time=2026-03-31T01:48:40.380-04:00 level=INFO source=app_windows.go:268 msg="Created Startup shortcut" shortcut="C:\\Users\\artur\\AppData\\Roaming\\Microsoft\\Windows\\Start Menu\\Programs\\Startup\\Ollama.lnk" time=2026-03-31T01:48:40.625-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=1.222ms request_id=1774936120623981700 version=0.18.3 time=2026-03-31T01:48:40.633-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=529.9µs request_id=1774936120632494700 version=0.18.3 time=2026-03-31T01:48:40.635-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=1774936120635035900 version=0.18.3 time=2026-03-31T01:48:41.135-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-31T01:48:41.135-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=511.8761ms request_id=1774936120623981700 version=0.18.3 time=2026-03-31T01:48:42.637-04:00 level=INFO source=updater.go:296 msg="beginning update checker" interval=1h0m0s time=2026-03-31T01:48:42.638-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-31T01:48:42.664-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-31T01:48:42.664-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=505.0019ms request_id=1774936122159028300 version=0.18.3 time=2026-03-31T01:48:42.815-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2" time=2026-03-31T01:48:42.981-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-31T01:48:44.066-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2" time=2026-03-31T01:48:45.232-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-31T01:48:45.232-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=545.5994ms request_id=1774936124687133200 version=0.18.3 time=2026-03-31T01:48:45.297-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2" time=2026-03-31T01:48:46.468-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2" time=2026-03-31T01:48:47.695-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2" time=2026-03-31T01:48:48.908-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2" time=2026-03-31T01:48:49.663-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-31T01:48:49.665-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-31T01:48:49.665-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-31T01:48:49.783-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-31T01:48:49.783-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=538.6554ms request_id=1774936129245291800 version=0.18.3 time=2026-03-31T01:48:50.061-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2" time=2026-03-31T01:48:50.569-04:00 level=WARN source=ui.go:141 msg="ollama server not ready, retrying" attempt=2 time=2026-03-31T01:48:51.199-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2" time=2026-03-31T01:48:52.365-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2" time=2026-03-31T01:48:53.587-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2" time=2026-03-31T01:48:54.762-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2" time=2026-03-31T01:48:55.930-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2" time=2026-03-31T01:48:57.082-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2" time=2026-03-31T01:48:58.272-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2" time=2026-03-31T01:48:59.360-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2" time=2026-03-31T01:49:00.530-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2" time=2026-03-31T01:49:01.570-04:00 level=ERROR source=ui.go:153 msg="ollama server not ready after retries" error="timeout waiting for Ollama server to be ready" time=2026-03-31T01:49:01.669-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2" time=2026-03-31T01:49:02.800-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2" time=2026-03-31T01:49:03.897-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2" time=2026-03-31T01:49:05.063-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2" time=2026-03-31T01:49:06.215-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2" time=2026-03-31T01:49:07.363-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2" time=2026-03-31T01:49:08.529-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2" time=2026-03-31T01:49:09.704-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2" time=2026-03-31T01:49:10.896-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2" time=2026-03-31T01:49:11.572-04:00 level=WARN source=ui.go:141 msg="ollama server not ready, retrying" attempt=2 time=2026-03-31T01:49:12.040-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2" time=2026-03-31T01:49:13.127-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2" time=2026-03-31T01:49:14.328-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2" time=2026-03-31T01:49:15.460-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2" time=2026-03-31T01:49:16.602-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2" time=2026-03-31T01:49:17.714-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2" time=2026-03-31T01:49:18.898-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2" time=2026-03-31T01:49:20.016-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2" time=2026-03-31T01:49:21.136-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2" time=2026-03-31T01:49:22.291-04:00 level=ERROR source=server.go:201 msg="ollama exited" err="exit status 2" time=2026-03-31T01:49:22.577-04:00 level=ERROR source=ui.go:153 msg="ollama server not ready after retries" error="timeout waiting for Ollama server to be ready" ``` server log: ``` Exception 0xc0000005 0x8 0xa6474ff698 0xa6474ff698 PC=0xa6474ff698 signal arrived during external code execution runtime.cgocall(0x7ff71a318b40, 0xc000049da0) runtime/cgocall.go:167 +0x3e fp=0xc000049d78 sp=0xc000049d10 pc=0x7ff71921243e github.com/ollama/ollama/x/imagegen/mlx._Cfunc_mlx_random_key(0xc0000762e0, 0x19d426fe59b) _cgo_gotypes.go:1978 +0x50 fp=0xc000049da0 sp=0xc000049d78 pc=0x7ff71988ce50 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(0x19d426fe59b) github.com/ollama/ollama/x/imagegen/mlx/mlx.go:1870 +0x5d fp=0xc000049dd8 sp=0xc000049da0 pc=0x7ff719895d7d 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=0x7ff719895b89 runtime.doInit1(0x7ff71b6892c0) runtime/proc.go:7350 +0xdd fp=0xc000049f50 sp=0xc000049e28 pc=0x7ff7191f343d runtime.doInit(...) runtime/proc.go:7317 runtime.main() runtime/proc.go:254 +0x325 fp=0xc000049fe0 sp=0xc000049f50 pc=0x7ff7191e4e85 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc000049fe8 sp=0xc000049fe0 pc=0x7ff71921db21 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=0x7ff71921598e runtime.goparkunlock(...) runtime/proc.go:441 runtime.forcegchelper() runtime/proc.go:348 +0xb8 fp=0xc00006ffe0 sp=0xc00006ffa8 pc=0x7ff7191e50f8 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc00006ffe8 sp=0xc00006ffe0 pc=0x7ff71921db21 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=0x7ff71921598e runtime.goparkunlock(...) runtime/proc.go:441 runtime.bgsweep(0xc00007e000) runtime/mgcsweep.go:276 +0x94 fp=0xc000071fc8 sp=0xc000071f80 pc=0x7ff7191cde74 runtime.gcenable.gowrap1() runtime/mgc.go:204 +0x25 fp=0xc000071fe0 sp=0xc000071fc8 pc=0x7ff7191c2285 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc000071fe8 sp=0xc000071fe0 pc=0x7ff71921db21 created by runtime.gcenable in goroutine 1 runtime/mgc.go:204 +0x66 goroutine 4 gp=0xc000002e00 m=nil [GC scavenge wait]: runtime.gopark(0xc00007e000?, 0x7ff71abe6a50?, 0x1?, 0x0?, 0xc000002e00?) runtime/proc.go:435 +0xce fp=0xc000085f78 sp=0xc000085f58 pc=0x7ff71921598e runtime.goparkunlock(...) runtime/proc.go:441 runtime.(*scavengerState).park(0x7ff71b7a3c00) runtime/mgcscavenge.go:425 +0x49 fp=0xc000085fa8 sp=0xc000085f78 pc=0x7ff7191cb909 runtime.bgscavenge(0xc00007e000) runtime/mgcscavenge.go:653 +0x3c fp=0xc000085fc8 sp=0xc000085fa8 pc=0x7ff7191cbe7c runtime.gcenable.gowrap2() runtime/mgc.go:205 +0x25 fp=0xc000085fe0 sp=0xc000085fc8 pc=0x7ff7191c2225 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc000085fe8 sp=0xc000085fe0 pc=0x7ff71921db21 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=0x7ff71921598e runtime.runfinq() runtime/mfinal.go:196 +0x107 fp=0xc000087fe0 sp=0xc000087e30 pc=0x7ff7191c1207 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc000087fe8 sp=0xc000087fe0 pc=0x7ff71921db21 created by runtime.createfing in goroutine 1 runtime/mfinal.go:166 +0x3d rax 0xa6474ff698 rbx 0x7ff9a2fde5b0 rcx 0x7ff9a2fde598 rdx 0x7ff9a2b762d0 rdi 0x0 rsi 0xa6474ff310 rbp 0x7ffab97c0380 rsp 0xa6474ff258 r8 0x32c8 r9 0x0 r10 0x1cfaf1e0320 r11 0xa6474ff050 r12 0xa6474ff698 r13 0x5d r14 0x1 r15 0x0 rip 0xa6474ff698 rflags 0x10202 cs 0x33 fs 0x53 gs 0x2b Exception 0xc0000005 0x8 0x2fff00 0x2fff00 PC=0x2fff00 signal arrived during external code execution runtime.cgocall(0x7ff71a318b40, 0xc000049da0) runtime/cgocall.go:167 +0x3e fp=0xc000049d78 sp=0xc000049d10 pc=0x7ff71921243e github.com/ollama/ollama/x/imagegen/mlx._Cfunc_mlx_random_key(0xc000280000, 0x19d426fea6f) _cgo_gotypes.go:1978 +0x50 fp=0xc000049da0 sp=0xc000049d78 pc=0x7ff71988ce50 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(0x19d426fea6f) github.com/ollama/ollama/x/imagegen/mlx/mlx.go:1870 +0x5d fp=0xc000049dd8 sp=0xc000049da0 pc=0x7ff719895d7d 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=0x7ff719895b89 runtime.doInit1(0x7ff71b6892c0) runtime/proc.go:7350 +0xdd fp=0xc000049f50 sp=0xc000049e28 pc=0x7ff7191f343d runtime.doInit(...) runtime/proc.go:7317 runtime.main() runtime/proc.go:254 +0x325 fp=0xc000049fe0 sp=0xc000049f50 pc=0x7ff7191e4e85 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc000049fe8 sp=0xc000049fe0 pc=0x7ff71921db21 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=0x7ff71921598e runtime.goparkunlock(...) runtime/proc.go:441 runtime.forcegchelper() runtime/proc.go:348 +0xb8 fp=0xc00006ffe0 sp=0xc00006ffa8 pc=0x7ff7191e50f8 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc00006ffe8 sp=0xc00006ffe0 pc=0x7ff71921db21 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=0x7ff71921598e runtime.goparkunlock(...) runtime/proc.go:441 runtime.bgsweep(0xc00007e000) runtime/mgcsweep.go:276 +0x94 fp=0xc000071fc8 sp=0xc000071f80 pc=0x7ff7191cde74 runtime.gcenable.gowrap1() runtime/mgc.go:204 +0x25 fp=0xc000071fe0 sp=0xc000071fc8 pc=0x7ff7191c2285 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc000071fe8 sp=0xc000071fe0 pc=0x7ff71921db21 created by runtime.gcenable in goroutine 1 runtime/mgc.go:204 +0x66 goroutine 4 gp=0xc000002e00 m=nil [GC scavenge wait]: runtime.gopark(0xc00007e000?, 0x7ff71abe6a50?, 0x1?, 0x0?, 0xc000002e00?) runtime/proc.go:435 +0xce fp=0xc000085f78 sp=0xc000085f58 pc=0x7ff71921598e runtime.goparkunlock(...) runtime/proc.go:441 runtime.(*scavengerState).park(0x7ff71b7a3c00) runtime/mgcscavenge.go:425 +0x49 fp=0xc000085fa8 sp=0xc000085f78 pc=0x7ff7191cb909 runtime.bgscavenge(0xc00007e000) runtime/mgcscavenge.go:653 +0x3c fp=0xc000085fc8 sp=0xc000085fa8 pc=0x7ff7191cbe7c runtime.gcenable.gowrap2() runtime/mgc.go:205 +0x25 fp=0xc000085fe0 sp=0xc000085fc8 pc=0x7ff7191c2225 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc000085fe8 sp=0xc000085fe0 pc=0x7ff71921db21 created by runtime.gcenable in goroutine 1 runtime/mgc.go:205 +0xa5 goroutine 18 gp=0xc000106380 m=nil [finalizer wait]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) runtime/proc.go:435 +0xce fp=0xc000081e30 sp=0xc000081e10 pc=0x7ff71921598e runtime.runfinq() runtime/mfinal.go:196 +0x107 fp=0xc000081fe0 sp=0xc000081e30 pc=0x7ff7191c1207 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc000081fe8 sp=0xc000081fe0 pc=0x7ff71921db21 created by runtime.createfing in goroutine 1 runtime/mfinal.go:166 +0x3d rax 0x2fff00 rbx 0x7ff9a2fde5b0 rcx 0x7ff9a2fde598 rdx 0x7ff9a2b762d0 rdi 0x0 rsi 0x174ed1f9c0 rbp 0x7ffab97c0380 rsp 0x174ed1f908 r8 0x32c8 r9 0x0 r10 0x204632c0000 r11 0xc0000135 r12 0x2fff00 r13 0x7ff71b68a3c0 r14 0x1 r15 0x0 rip 0x2fff00 rflags 0x10206 cs 0x33 fs 0x53 gs 0x2b ```
Author
Owner

@rick-github commented on GitHub (Mar 31, 2026):

What GPU do you have?

<!-- gh-comment-id:4160380405 --> @rick-github commented on GitHub (Mar 31, 2026): What GPU do you have?
Author
Owner

@kustusch commented on GitHub (Mar 31, 2026):

No GPU, Intel Iris Xe Graphics and Intel i7-1365U CPU, 32GB RAM
My understanding is Ollama should work without GPU, just very slow.

<!-- gh-comment-id:4165037473 --> @kustusch commented on GitHub (Mar 31, 2026): No GPU, Intel Iris Xe Graphics and Intel i7-1365U CPU, 32GB RAM My understanding is Ollama should work without GPU, just very slow.
Author
Owner

@rick-github commented on GitHub (Apr 1, 2026):

Duping to an earlier report, investigation will follow on there.

<!-- gh-comment-id:4166685712 --> @rick-github commented on GitHub (Apr 1, 2026): Duping to an earlier report, investigation will follow on there.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#9692