[GH-ISSUE #15170] signal arrived during external code execution #35469

Closed
opened 2026-04-22 19:58:05 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @n4s3r on GitHub (Mar 31, 2026).
Original GitHub issue: https://github.com/ollama/ollama/issues/15170

What is the issue?

This:
Exception 0xc0000005 0x0 0x50 0x7ffc89efc5c7
PC=0x7ffc89efc5c7
signal arrived during external code execution

I allways run it with this command:
powershell -NoExit -Command "$host.UI.RawUI.WindowTitle = 'Ollama LLMs';$env:OLLAMA_GPU='1';$env:OLLAMA_NUM_THREADS='10';$env:OMP_NUM_THREADS='10';$env:OLLAMA_GPU_MEMORY_FRACTION='1';$env:OLLAMA_MAX_LOADED_MODELS='1';$env:OLLAMA_NUM_PARALLEL='1';$env:OLLAMA_KV_CACHE_TYPE='q8_0';$env:OLLAMA_NEW_ENGINE='1';$env:OLLAMA_VULKAN='1';$env:OLLAMA_MAX_QUEUE='1';$env:OLLAMA_HOST='127.0.0.1:11435';$env:OLLAMA_SCHED_SPREAD='1';$env:OLLAMA_FLASH_ATTENTION='1';ollama serve"

The error appears with a lot of models, but now it was nemotron-3-nano:4b.

Relevant log output

[DXGI] Adapter Description: NVIDIA GeForce RTX 3050 Ti Laptop GPU, LUID: 0x0000000000013583, Dedicated: 3.87 GB, Shared: 7.85 GB
[DXGI] Adapter Description: Intel(R) Iris(R) Xe Graphics, LUID: 0x0000000000013232, Dedicated: 0.12 GB, Shared: 7.85 GB
[DXGI] Adapter Description: Microsoft Basic Render Driver, LUID: 0x0000000000013510, Dedicated: 0.00 GB, Shared: 7.85 GB
Integrated GPU (Intel(R) Iris(R) Xe Graphics) with LUID 0x0000000000013232 detected. Shared Total: 8433055744.00 bytes (7.85 GB), Shared Usage: 2210664448.00 bytes (2.06 GB), Dedicated Total: 134217728.00 bytes (0.12 GB), Dedicated Usage: 0.00 bytes (0.00 GB)
ggml_backend_vk_get_device_memory utilizing DXGI + PDH memory reporting free: 6356609024 total: 8567273472
time=2026-03-31T13:26:31.123+02:00 level=INFO source=runner.go:1284 msg=load request="{Operation:commit LoraPath:[] Parallel:1 BatchSize:512 FlashAttention:Enabled KvSize:4096 KvCacheType:q8_0 NumThreads:6 GPULayers:43[ID:8680a646-0c00-0000-0000-000000000000 Layers:43(0..42)] MultiUserCache:false ProjectorPath: MainGPU:0 UseMmap:false}"
time=2026-03-31T13:26:31.247+02:00 level=INFO source=device.go:240 msg="model weights" device=Vulkan1 size="2.4 GiB"
time=2026-03-31T13:26:31.298+02:00 level=INFO source=device.go:245 msg="model weights" device=CPU size="269.5 MiB"
time=2026-03-31T13:26:31.298+02:00 level=INFO source=device.go:251 msg="kv cache" device=Vulkan1 size="2.0 GiB"
time=2026-03-31T13:26:31.298+02:00 level=INFO source=device.go:262 msg="compute graph" device=Vulkan1 size="92.6 MiB"
time=2026-03-31T13:26:31.298+02:00 level=INFO source=device.go:267 msg="compute graph" device=CPU size="6.1 MiB"
time=2026-03-31T13:26:31.299+02:00 level=INFO source=device.go:272 msg="total memory" size="4.7 GiB"
time=2026-03-31T13:26:31.247+02:00 level=INFO source=ggml.go:482 msg="offloading 42 repeating layers to GPU"
time=2026-03-31T13:26:31.346+02:00 level=INFO source=ggml.go:489 msg="offloading output layer to GPU"
time=2026-03-31T13:26:31.381+02:00 level=INFO source=ggml.go:494 msg="offloaded 43/43 layers to GPU"
time=2026-03-31T13:26:31.394+02:00 level=INFO source=sched.go:561 msg="loaded runners" count=1
time=2026-03-31T13:26:31.408+02:00 level=INFO source=server.go:1352 msg="waiting for llama runner to start responding"
time=2026-03-31T13:26:31.589+02:00 level=INFO source=server.go:1386 msg="waiting for server to become available" status="llm server loading model"
time=2026-03-31T13:26:32.187+02:00 level=INFO source=server.go:1386 msg="waiting for server to become available" status="llm server not responding"
time=2026-03-31T13:26:32.539+02:00 level=INFO source=server.go:1386 msg="waiting for server to become available" status="llm server loading model"
time=2026-03-31T13:26:59.363+02:00 level=INFO source=server.go:1390 msg="llama runner started in 51.32 seconds"
time=2026-03-31T13:32:18.098+02:00 level=WARN source=runner.go:187 msg="truncating input prompt" limit=4096 prompt=25039 keep=4 new=4096
Exception 0xc0000005 0x0 0x50 0x7ffc89efc5c7
PC=0x7ffc89efc5c7
signal arrived during external code execution

runtime.cgocall(0x7ff6454376c0, 0xc0032132a8)
        runtime/cgocall.go:167 +0x3e fp=0xc003213280 sp=0xc003213218 pc=0x7ff64434243e
github.com/ollama/ollama/ml/backend/ggml._Cfunc_ggml_backend_sched_graph_compute_async(0x201fc772c90, 0x201a12ca4f0)
        _cgo_gotypes.go:963 +0x50 fp=0xc0032132a8 sp=0xc003213280 pc=0x7ff644876770
github.com/ollama/ollama/ml/backend/ggml.(*Context).ComputeWithNotify.func2(...)
        github.com/ollama/ollama/ml/backend/ggml/ggml.go:825
github.com/ollama/ollama/ml/backend/ggml.(*Context).ComputeWithNotify(0xc00043e000, 0x201a12ca4f0?, {0x0, 0x0, 0xc0032134a8?})
        github.com/ollama/ollama/ml/backend/ggml/ggml.go:825 +0x1b5 fp=0xc003213380 sp=0xc0032132a8 pc=0x7ff644886035
github.com/ollama/ollama/ml/backend/ggml.(*Context).Compute(0xc00043e000?, {0x0?, 0xc00043e000?, 0x7ff645d4cc88?})
        github.com/ollama/ollama/ml/backend/ggml/ggml.go:811 +0x25 fp=0xc0032133b8 sp=0xc003213380 pc=0x7ff644885e45
github.com/ollama/ollama/kvcache.(*Causal).shift(0xc0001dc600, 0x0, 0x4, 0xfffff802)
        github.com/ollama/ollama/kvcache/causal.go:608 +0x250 fp=0xc003213518 sp=0xc0032133b8 pc=0x7ff64486a6b0
github.com/ollama/ollama/kvcache.(*Causal).Remove(0xc0001dc600, 0x0, 0x4, 0x802)
        github.com/ollama/ollama/kvcache/causal.go:659 +0x285 fp=0xc0032135b0 sp=0xc003213518 pc=0x7ff64486ad45
github.com/ollama/ollama/kvcache.(*Recurrent).Remove(0xc000394780, 0x0, 0x4, 0x802)
        github.com/ollama/ollama/kvcache/recurrent.go:458 +0x333 fp=0xc003213658 sp=0xc0032135b0 pc=0x7ff64486e1d3
github.com/ollama/ollama/runner/ollamarunner.(*InputCache).ShiftCacheSlot(0xc000d08b80, 0xc000d08b40, 0x4)
        github.com/ollama/ollama/runner/ollamarunner/cache.go:299 +0x34c fp=0xc0032137f0 sp=0xc003213658 pc=0x7ff6449acbec
github.com/ollama/ollama/runner/ollamarunner.(*Server).forwardBatch(_, {0x7, {0x7ff645d3cd40, 0xc0000a7c40}, {0x7ff645d4cc88, 0xc000aa6c30}, {0xc00382cc08, 0x200, 0x25f}, {{0x7ff645d4cc88, ...}, ...}, ...})
        github.com/ollama/ollama/runner/ollamarunner/runner.go:559 +0xe05 fp=0xc003213b58 sp=0xc0032137f0 pc=0x7ff6449b02c5
github.com/ollama/ollama/runner/ollamarunner.(*Server).run(0xc00020eb40, {0x7ff645d2faf0, 0xc000630000})
        github.com/ollama/ollama/runner/ollamarunner/runner.go:453 +0x18c fp=0xc003213fb8 sp=0xc003213b58 pc=0x7ff6449af26c
github.com/ollama/ollama/runner/ollamarunner.Execute.gowrap1()
        github.com/ollama/ollama/runner/ollamarunner/runner.go:1424 +0x28 fp=0xc003213fe0 sp=0xc003213fb8 pc=0x7ff6449b89c8
runtime.goexit({})
        runtime/asm_amd64.s:1700 +0x1 fp=0xc003213fe8 sp=0xc003213fe0 pc=0x7ff64434db21
created by github.com/ollama/ollama/runner/ollamarunner.Execute in goroutine 1
        github.com/ollama/ollama/runner/ollamarunner/runner.go:1424 +0x4c9

goroutine 1 gp=0xc0000021c0 m=nil [IO wait, 1 minutes, locked to thread]:
runtime.gopark(0x7ff64434f320?, 0x7ff6468a5b60?, 0x20?, 0x54?, 0xc0003454cc?)
        runtime/proc.go:435 +0xce fp=0xc001105630 sp=0xc001105610 pc=0x7ff64434598e
runtime.netpollblock(0x43c?, 0x442e0406?, 0xf6?)
        runtime/netpoll.go:575 +0xf7 fp=0xc001105668 sp=0xc001105630 pc=0x7ff64430bdf7
internal/poll.runtime_pollWait(0x20159fd1970, 0x72)
        runtime/netpoll.go:351 +0x85 fp=0xc001105688 sp=0xc001105668 pc=0x7ff644344b25
internal/poll.(*pollDesc).wait(0x7ff6443daad3?, 0x7ff6442f2636?, 0x0)
        internal/poll/fd_poll_runtime.go:84 +0x27 fp=0xc0011056b0 sp=0xc001105688 pc=0x7ff6443dc0c7
internal/poll.execIO(0xc000345420, 0xc001105758)
        internal/poll/fd_windows.go:177 +0x105 fp=0xc001105728 sp=0xc0011056b0 pc=0x7ff6443dd525
internal/poll.(*FD).acceptOne(0xc000345408, 0xb84, {0xc0003f20f0?, 0xc0011057b8?, 0x7ff6443e51e5?}, 0xc0011057ec?)
        internal/poll/fd_windows.go:946 +0x65 fp=0xc001105788 sp=0xc001105728 pc=0x7ff6443e1aa5
internal/poll.(*FD).Accept(0xc000345408, 0xc001105938)
        internal/poll/fd_windows.go:980 +0x1b6 fp=0xc001105840 sp=0xc001105788 pc=0x7ff6443e1dd6
net.(*netFD).accept(0xc000345408)
        net/fd_windows.go:182 +0x4b fp=0xc001105958 sp=0xc001105840 pc=0x7ff644453a6b
net.(*TCPListener).accept(0xc000414180)
        net/tcpsock_posix.go:159 +0x1b fp=0xc0011059a8 sp=0xc001105958 pc=0x7ff64446a01b
net.(*TCPListener).Accept(0xc000414180)
        net/tcpsock.go:380 +0x30 fp=0xc0011059d8 sp=0xc0011059a8 pc=0x7ff644468dd0
net/http.(*onceCloseListener).Accept(0xc000620120?)
        <autogenerated>:1 +0x24 fp=0xc0011059f0 sp=0xc0011059d8 pc=0x7ff644691e44
net/http.(*Server).Serve(0xc000594800, {0x7ff645d2d0b0, 0xc000414180})
        net/http/server.go:3424 +0x30c fp=0xc001105b20 sp=0xc0011059f0 pc=0x7ff64466970c
github.com/ollama/ollama/runner/ollamarunner.Execute({0xc0000c0030, 0x4, 0x5})
        github.com/ollama/ollama/runner/ollamarunner/runner.go:1447 +0x94e fp=0xc001105cf0 sp=0xc001105b20 pc=0x7ff6449b874e
github.com/ollama/ollama/runner.Execute({0xc0000c0010?, 0x0?, 0x0?})
        github.com/ollama/ollama/runner/runner.go:18 +0x10e fp=0xc001105d30 sp=0xc001105cf0 pc=0x7ff644a66ace
github.com/ollama/ollama/cmd.NewCLI.func3(0xc000594400?, {0x7ff645ae6c13?, 0x4?, 0x7ff645ae6c17?})
        github.com/ollama/ollama/cmd/cmd.go:2273 +0x45 fp=0xc001105d58 sp=0xc001105d30 pc=0x7ff645292625
github.com/spf13/cobra.(*Command).execute(0xc000399b08, {0xc00059e050, 0x5, 0x5})
        github.com/spf13/cobra@v1.7.0/command.go:940 +0x85c fp=0xc001105e78 sp=0xc001105d58 pc=0x7ff6444cec3c
github.com/spf13/cobra.(*Command).ExecuteC(0xc00032a908)
        github.com/spf13/cobra@v1.7.0/command.go:1068 +0x3a5 fp=0xc001105f30 sp=0xc001105e78 pc=0x7ff6444cf485
github.com/spf13/cobra.(*Command).Execute(...)
        github.com/spf13/cobra@v1.7.0/command.go:992
github.com/spf13/cobra.(*Command).ExecuteContext(...)
        github.com/spf13/cobra@v1.7.0/command.go:985
main.main()
        github.com/ollama/ollama/main.go:12 +0x4d fp=0xc001105f50 sp=0xc001105f30 pc=0x7ff64529404d
runtime.main()
        runtime/proc.go:283 +0x27d fp=0xc001105fe0 sp=0xc001105f50 pc=0x7ff644314ddd
runtime.goexit({})
        runtime/asm_amd64.s:1700 +0x1 fp=0xc001105fe8 sp=0xc001105fe0 pc=0x7ff64434db21

goroutine 2 gp=0xc0000028c0 m=nil [force gc (idle), 3 minutes]:
runtime.gopark(0x4748c367a4b4?, 0x0?, 0x0?, 0x0?, 0x0?)
        runtime/proc.go:435 +0xce fp=0xc00008dfa8 sp=0xc00008df88 pc=0x7ff64434598e
runtime.goparkunlock(...)
        runtime/proc.go:441
runtime.forcegchelper()
        runtime/proc.go:348 +0xb8 fp=0xc00008dfe0 sp=0xc00008dfa8 pc=0x7ff6443150f8
runtime.goexit({})
        runtime/asm_amd64.s:1700 +0x1 fp=0xc00008dfe8 sp=0xc00008dfe0 pc=0x7ff64434db21
created by runtime.init.7 in goroutine 1
        runtime/proc.go:336 +0x1a

goroutine 3 gp=0xc000002c40 m=nil [GC sweep wait]:
runtime.gopark(0x1?, 0x0?, 0x0?, 0x0?, 0x0?)
        runtime/proc.go:435 +0xce fp=0xc00008ff80 sp=0xc00008ff60 pc=0x7ff64434598e
runtime.goparkunlock(...)
        runtime/proc.go:441
runtime.bgsweep(0xc00009c000)
        runtime/mgcsweep.go:316 +0xdf fp=0xc00008ffc8 sp=0xc00008ff80 pc=0x7ff6442fdebf
runtime.gcenable.gowrap1()
        runtime/mgc.go:204 +0x25 fp=0xc00008ffe0 sp=0xc00008ffc8 pc=0x7ff6442f2285
runtime.goexit({})
        runtime/asm_amd64.s:1700 +0x1 fp=0xc00008ffe8 sp=0xc00008ffe0 pc=0x7ff64434db21
created by runtime.gcenable in goroutine 1
        runtime/mgc.go:204 +0x66

goroutine 4 gp=0xc000002e00 m=nil [GC scavenge wait]:
runtime.gopark(0x2a3ce4?, 0x25bf1e?, 0x0?, 0x0?, 0x0?)
        runtime/proc.go:435 +0xce fp=0xc0000a3f78 sp=0xc0000a3f58 pc=0x7ff64434598e
runtime.goparkunlock(...)
        runtime/proc.go:441
runtime.(*scavengerState).park(0x7ff6468d3c00)
        runtime/mgcscavenge.go:425 +0x49 fp=0xc0000a3fa8 sp=0xc0000a3f78 pc=0x7ff6442fb909
runtime.bgscavenge(0xc00009c000)
        runtime/mgcscavenge.go:658 +0x59 fp=0xc0000a3fc8 sp=0xc0000a3fa8 pc=0x7ff6442fbe99
runtime.gcenable.gowrap2()
        runtime/mgc.go:205 +0x25 fp=0xc0000a3fe0 sp=0xc0000a3fc8 pc=0x7ff6442f2225
runtime.goexit({})
        runtime/asm_amd64.s:1700 +0x1 fp=0xc0000a3fe8 sp=0xc0000a3fe0 pc=0x7ff64434db21
created by runtime.gcenable in goroutine 1
        runtime/mgc.go:205 +0xa5

goroutine 5 gp=0xc000003340 m=nil [finalizer wait, 7 minutes]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
        runtime/proc.go:435 +0xce fp=0xc0000a5e30 sp=0xc0000a5e10 pc=0x7ff64434598e
runtime.runfinq()
        runtime/mfinal.go:196 +0x107 fp=0xc0000a5fe0 sp=0xc0000a5e30 pc=0x7ff6442f1207
runtime.goexit({})
        runtime/asm_amd64.s:1700 +0x1 fp=0xc0000a5fe8 sp=0xc0000a5fe0 pc=0x7ff64434db21
created by runtime.createfing in goroutine 1
        runtime/mfinal.go:166 +0x3d

goroutine 18 gp=0xc000106380 m=nil [chan receive]:
runtime.gopark(0xc00014af00?, 0xc004b00018?, 0x60?, 0xff?, 0x7ff64443c688?)
        runtime/proc.go:435 +0xce fp=0xc00009ff18 sp=0xc00009fef8 pc=0x7ff64434598e
runtime.chanrecv(0xc00013c2a0, 0x0, 0x1)
        runtime/chan.go:664 +0x445 fp=0xc00009ff90 sp=0xc00009ff18 pc=0x7ff6442e2d45
runtime.chanrecv1(0x0?, 0x0?)
        runtime/chan.go:506 +0x12 fp=0xc00009ffb8 sp=0xc00009ff90 pc=0x7ff6442e28d2
runtime.unique_runtime_registerUniqueMapCleanup.func2(...)
        runtime/mgc.go:1796
runtime.unique_runtime_registerUniqueMapCleanup.gowrap1()
        runtime/mgc.go:1799 +0x2f fp=0xc00009ffe0 sp=0xc00009ffb8 pc=0x7ff6442f54af
runtime.goexit({})
        runtime/asm_amd64.s:1700 +0x1 fp=0xc00009ffe8 sp=0xc00009ffe0 pc=0x7ff64434db21
created by unique.runtime_registerUniqueMapCleanup in goroutine 1
        runtime/mgc.go:1794 +0x85

goroutine 19 gp=0xc000106540 m=nil [GC worker (idle), 7 minutes]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
        runtime/proc.go:435 +0xce fp=0xc0000a1f38 sp=0xc0000a1f18 pc=0x7ff64434598e
runtime.gcBgMarkWorker(0xc00013d500)
        runtime/mgc.go:1423 +0xe9 fp=0xc0000a1fc8 sp=0xc0000a1f38 pc=0x7ff6442f47a9
runtime.gcBgMarkStartWorkers.gowrap1()
        runtime/mgc.go:1339 +0x25 fp=0xc0000a1fe0 sp=0xc0000a1fc8 pc=0x7ff6442f4685
runtime.goexit({})
        runtime/asm_amd64.s:1700 +0x1 fp=0xc0000a1fe8 sp=0xc0000a1fe0 pc=0x7ff64434db21
created by runtime.gcBgMarkStartWorkers in goroutine 1
        runtime/mgc.go:1339 +0x105

goroutine 34 gp=0xc000306000 m=nil [GC worker (idle), 7 minutes]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
        runtime/proc.go:435 +0xce fp=0xc00030df38 sp=0xc00030df18 pc=0x7ff64434598e
runtime.gcBgMarkWorker(0xc00013d500)
        runtime/mgc.go:1423 +0xe9 fp=0xc00030dfc8 sp=0xc00030df38 pc=0x7ff6442f47a9
runtime.gcBgMarkStartWorkers.gowrap1()
        runtime/mgc.go:1339 +0x25 fp=0xc00030dfe0 sp=0xc00030dfc8 pc=0x7ff6442f4685
runtime.goexit({})
        runtime/asm_amd64.s:1700 +0x1 fp=0xc00030dfe8 sp=0xc00030dfe0 pc=0x7ff64434db21
created by runtime.gcBgMarkStartWorkers in goroutine 1
        runtime/mgc.go:1339 +0x105

goroutine 35 gp=0xc0003061c0 m=nil [GC worker (idle), 7 minutes]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
        runtime/proc.go:435 +0xce fp=0xc00030ff38 sp=0xc00030ff18 pc=0x7ff64434598e
runtime.gcBgMarkWorker(0xc00013d500)
        runtime/mgc.go:1423 +0xe9 fp=0xc00030ffc8 sp=0xc00030ff38 pc=0x7ff6442f47a9
runtime.gcBgMarkStartWorkers.gowrap1()
        runtime/mgc.go:1339 +0x25 fp=0xc00030ffe0 sp=0xc00030ffc8 pc=0x7ff6442f4685
runtime.goexit({})
        runtime/asm_amd64.s:1700 +0x1 fp=0xc00030ffe8 sp=0xc00030ffe0 pc=0x7ff64434db21
created by runtime.gcBgMarkStartWorkers in goroutine 1
        runtime/mgc.go:1339 +0x105

goroutine 36 gp=0xc000306380 m=nil [GC worker (idle), 7 minutes]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
        runtime/proc.go:435 +0xce fp=0xc000309f38 sp=0xc000309f18 pc=0x7ff64434598e
runtime.gcBgMarkWorker(0xc00013d500)
        runtime/mgc.go:1423 +0xe9 fp=0xc000309fc8 sp=0xc000309f38 pc=0x7ff6442f47a9
runtime.gcBgMarkStartWorkers.gowrap1()
        runtime/mgc.go:1339 +0x25 fp=0xc000309fe0 sp=0xc000309fc8 pc=0x7ff6442f4685
runtime.goexit({})
        runtime/asm_amd64.s:1700 +0x1 fp=0xc000309fe8 sp=0xc000309fe0 pc=0x7ff64434db21
created by runtime.gcBgMarkStartWorkers in goroutine 1
        runtime/mgc.go:1339 +0x105

goroutine 6 gp=0xc000003c00 m=nil [GC worker (idle)]:
runtime.gopark(0x4757cdafd4c8?, 0x3?, 0x0?, 0x0?, 0x7ff6467ba5c0?)
        runtime/proc.go:435 +0xce fp=0xc000091f38 sp=0xc000091f18 pc=0x7ff64434598e
runtime.gcBgMarkWorker(0xc00013d500)
        runtime/mgc.go:1423 +0xe9 fp=0xc000091fc8 sp=0xc000091f38 pc=0x7ff6442f47a9
runtime.gcBgMarkStartWorkers.gowrap1()
        runtime/mgc.go:1339 +0x25 fp=0xc000091fe0 sp=0xc000091fc8 pc=0x7ff6442f4685
runtime.goexit({})
        runtime/asm_amd64.s:1700 +0x1 fp=0xc000091fe8 sp=0xc000091fe0 pc=0x7ff64434db21
created by runtime.gcBgMarkStartWorkers in goroutine 1
        runtime/mgc.go:1339 +0x105

goroutine 20 gp=0xc000106700 m=nil [GC worker (idle)]:
runtime.gopark(0x7ff646926e60?, 0x1?, 0x68?, 0xa?, 0x0?)
        runtime/proc.go:435 +0xce fp=0xc0004aff38 sp=0xc0004aff18 pc=0x7ff64434598e
runtime.gcBgMarkWorker(0xc00013d500)
        runtime/mgc.go:1423 +0xe9 fp=0xc0004affc8 sp=0xc0004aff38 pc=0x7ff6442f47a9
runtime.gcBgMarkStartWorkers.gowrap1()
        runtime/mgc.go:1339 +0x25 fp=0xc0004affe0 sp=0xc0004affc8 pc=0x7ff6442f4685
runtime.goexit({})
        runtime/asm_amd64.s:1700 +0x1 fp=0xc0004affe8 sp=0xc0004affe0 pc=0x7ff64434db21
created by runtime.gcBgMarkStartWorkers in goroutine 1
        runtime/mgc.go:1339 +0x105

goroutine 7 gp=0xc000003dc0 m=nil [GC worker (idle)]:
runtime.gopark(0x4757cda5e508?, 0x3?, 0x0?, 0x0?, 0x0?)
        runtime/proc.go:435 +0xce fp=0xc0004abf38 sp=0xc0004abf18 pc=0x7ff64434598e
runtime.gcBgMarkWorker(0xc00013d500)
        runtime/mgc.go:1423 +0xe9 fp=0xc0004abfc8 sp=0xc0004abf38 pc=0x7ff6442f47a9
runtime.gcBgMarkStartWorkers.gowrap1()
        runtime/mgc.go:1339 +0x25 fp=0xc0004abfe0 sp=0xc0004abfc8 pc=0x7ff6442f4685
runtime.goexit({})
        runtime/asm_amd64.s:1700 +0x1 fp=0xc0004abfe8 sp=0xc0004abfe0 pc=0x7ff64434db21
created by runtime.gcBgMarkStartWorkers in goroutine 1
        runtime/mgc.go:1339 +0x105

goroutine 37 gp=0xc000306540 m=nil [GC worker (idle)]:
runtime.gopark(0x4757cd9bc0f0?, 0x3?, 0x4?, 0x80?, 0x0?)
        runtime/proc.go:435 +0xce fp=0xc00030bf38 sp=0xc00030bf18 pc=0x7ff64434598e
runtime.gcBgMarkWorker(0xc00013d500)
        runtime/mgc.go:1423 +0xe9 fp=0xc00030bfc8 sp=0xc00030bf38 pc=0x7ff6442f47a9
runtime.gcBgMarkStartWorkers.gowrap1()
        runtime/mgc.go:1339 +0x25 fp=0xc00030bfe0 sp=0xc00030bfc8 pc=0x7ff6442f4685
runtime.goexit({})
        runtime/asm_amd64.s:1700 +0x1 fp=0xc00030bfe8 sp=0xc00030bfe0 pc=0x7ff64434db21
created by runtime.gcBgMarkStartWorkers in goroutine 1
        runtime/mgc.go:1339 +0x105

goroutine 21 gp=0xc0001068c0 m=nil [GC worker (idle)]:
runtime.gopark(0x7ff646926e60?, 0x1?, 0x64?, 0x3b?, 0x0?)
        runtime/proc.go:435 +0xce fp=0xc0004b1f38 sp=0xc0004b1f18 pc=0x7ff64434598e
runtime.gcBgMarkWorker(0xc00013d500)
        runtime/mgc.go:1423 +0xe9 fp=0xc0004b1fc8 sp=0xc0004b1f38 pc=0x7ff6442f47a9
runtime.gcBgMarkStartWorkers.gowrap1()
        runtime/mgc.go:1339 +0x25 fp=0xc0004b1fe0 sp=0xc0004b1fc8 pc=0x7ff6442f4685
runtime.goexit({})
        runtime/asm_amd64.s:1700 +0x1 fp=0xc0004b1fe8 sp=0xc0004b1fe0 pc=0x7ff64434db21
created by runtime.gcBgMarkStartWorkers in goroutine 1
        runtime/mgc.go:1339 +0x105

goroutine 8 gp=0xc0002501c0 m=nil [GC worker (idle)]:
runtime.gopark(0x4757cda5e508?, 0x1?, 0xa0?, 0x51?, 0x0?)
        runtime/proc.go:435 +0xce fp=0xc0004adf38 sp=0xc0004adf18 pc=0x7ff64434598e
runtime.gcBgMarkWorker(0xc00013d500)
        runtime/mgc.go:1423 +0xe9 fp=0xc0004adfc8 sp=0xc0004adf38 pc=0x7ff6442f47a9
runtime.gcBgMarkStartWorkers.gowrap1()
        runtime/mgc.go:1339 +0x25 fp=0xc0004adfe0 sp=0xc0004adfc8 pc=0x7ff6442f4685
runtime.goexit({})
        runtime/asm_amd64.s:1700 +0x1 fp=0xc0004adfe8 sp=0xc0004adfe0 pc=0x7ff64434db21
created by runtime.gcBgMarkStartWorkers in goroutine 1
        runtime/mgc.go:1339 +0x105

goroutine 9 gp=0xc000250380 m=nil [GC worker (idle), 6 minutes]:
runtime.gopark(0x7ff646926e60?, 0x3?, 0xcc?, 0x4a?, 0x0?)
        runtime/proc.go:435 +0xce fp=0xc000257f38 sp=0xc000257f18 pc=0x7ff64434598e
runtime.gcBgMarkWorker(0xc00013d500)
        runtime/mgc.go:1423 +0xe9 fp=0xc000257fc8 sp=0xc000257f38 pc=0x7ff6442f47a9
runtime.gcBgMarkStartWorkers.gowrap1()
        runtime/mgc.go:1339 +0x25 fp=0xc000257fe0 sp=0xc000257fc8 pc=0x7ff6442f4685
runtime.goexit({})
        runtime/asm_amd64.s:1700 +0x1 fp=0xc000257fe8 sp=0xc000257fe0 pc=0x7ff64434db21
created by runtime.gcBgMarkStartWorkers in goroutine 1
        runtime/mgc.go:1339 +0x105

goroutine 10 gp=0xc000250540 m=nil [GC worker (idle)]:
runtime.gopark(0x4757cda5e508?, 0x1?, 0x24?, 0x47?, 0x0?)
        runtime/proc.go:435 +0xce fp=0xc000259f38 sp=0xc000259f18 pc=0x7ff64434598e
runtime.gcBgMarkWorker(0xc00013d500)
        runtime/mgc.go:1423 +0xe9 fp=0xc000259fc8 sp=0xc000259f38 pc=0x7ff6442f47a9
runtime.gcBgMarkStartWorkers.gowrap1()
        runtime/mgc.go:1339 +0x25 fp=0xc000259fe0 sp=0xc000259fc8 pc=0x7ff6442f4685
runtime.goexit({})
        runtime/asm_amd64.s:1700 +0x1 fp=0xc000259fe8 sp=0xc000259fe0 pc=0x7ff64434db21
created by runtime.gcBgMarkStartWorkers in goroutine 1
        runtime/mgc.go:1339 +0x105

goroutine 11 gp=0xc000250700 m=nil [GC worker (idle), 6 minutes]:
runtime.gopark(0x7ff646926e60?, 0x3?, 0x40?, 0x42?, 0x0?)
        runtime/proc.go:435 +0xce fp=0xc000253f38 sp=0xc000253f18 pc=0x7ff64434598e
runtime.gcBgMarkWorker(0xc00013d500)
        runtime/mgc.go:1423 +0xe9 fp=0xc000253fc8 sp=0xc000253f38 pc=0x7ff6442f47a9
runtime.gcBgMarkStartWorkers.gowrap1()
        runtime/mgc.go:1339 +0x25 fp=0xc000253fe0 sp=0xc000253fc8 pc=0x7ff6442f4685
runtime.goexit({})
        runtime/asm_amd64.s:1700 +0x1 fp=0xc000253fe8 sp=0xc000253fe0 pc=0x7ff64434db21
created by runtime.gcBgMarkStartWorkers in goroutine 1
        runtime/mgc.go:1339 +0x105

goroutine 12 gp=0xc0002508c0 m=nil [GC worker (idle)]:
runtime.gopark(0x7ff646926e60?, 0x1?, 0xc0?, 0xef?, 0x0?)
        runtime/proc.go:435 +0xce fp=0xc000255f38 sp=0xc000255f18 pc=0x7ff64434598e
runtime.gcBgMarkWorker(0xc00013d500)
        runtime/mgc.go:1423 +0xe9 fp=0xc000255fc8 sp=0xc000255f38 pc=0x7ff6442f47a9
runtime.gcBgMarkStartWorkers.gowrap1()
        runtime/mgc.go:1339 +0x25 fp=0xc000255fe0 sp=0xc000255fc8 pc=0x7ff6442f4685
runtime.goexit({})
        runtime/asm_amd64.s:1700 +0x1 fp=0xc000255fe8 sp=0xc000255fe0 pc=0x7ff64434db21
created by runtime.gcBgMarkStartWorkers in goroutine 1
        runtime/mgc.go:1339 +0x105

goroutine 13 gp=0xc000250a80 m=nil [GC worker (idle), 6 minutes]:
runtime.gopark(0x7ff646926e60?, 0x3?, 0x8?, 0x44?, 0x0?)
        runtime/proc.go:435 +0xce fp=0xc00025ff38 sp=0xc00025ff18 pc=0x7ff64434598e
runtime.gcBgMarkWorker(0xc00013d500)
        runtime/mgc.go:1423 +0xe9 fp=0xc00025ffc8 sp=0xc00025ff38 pc=0x7ff6442f47a9
runtime.gcBgMarkStartWorkers.gowrap1()
        runtime/mgc.go:1339 +0x25 fp=0xc00025ffe0 sp=0xc00025ffc8 pc=0x7ff6442f4685
runtime.goexit({})
        runtime/asm_amd64.s:1700 +0x1 fp=0xc00025ffe8 sp=0xc00025ffe0 pc=0x7ff64434db21
created by runtime.gcBgMarkStartWorkers in goroutine 1
        runtime/mgc.go:1339 +0x105

goroutine 14 gp=0xc000250c40 m=nil [GC worker (idle)]:
runtime.gopark(0x7ff646926e60?, 0x3?, 0x7c?, 0xfb?, 0x0?)
        runtime/proc.go:435 +0xce fp=0xc000261f38 sp=0xc000261f18 pc=0x7ff64434598e
runtime.gcBgMarkWorker(0xc00013d500)
        runtime/mgc.go:1423 +0xe9 fp=0xc000261fc8 sp=0xc000261f38 pc=0x7ff6442f47a9
runtime.gcBgMarkStartWorkers.gowrap1()
        runtime/mgc.go:1339 +0x25 fp=0xc000261fe0 sp=0xc000261fc8 pc=0x7ff6442f4685
runtime.goexit({})
        runtime/asm_amd64.s:1700 +0x1 fp=0xc000261fe8 sp=0xc000261fe0 pc=0x7ff64434db21
created by runtime.gcBgMarkStartWorkers in goroutine 1
        runtime/mgc.go:1339 +0x105

goroutine 15 gp=0xc000250e00 m=nil [GC worker (idle)]:
runtime.gopark(0x4757cda5e508?, 0x1?, 0x14?, 0x99?, 0x0?)
        runtime/proc.go:435 +0xce fp=0xc00025bf38 sp=0xc00025bf18 pc=0x7ff64434598e
runtime.gcBgMarkWorker(0xc00013d500)
        runtime/mgc.go:1423 +0xe9 fp=0xc00025bfc8 sp=0xc00025bf38 pc=0x7ff6442f47a9
runtime.gcBgMarkStartWorkers.gowrap1()
        runtime/mgc.go:1339 +0x25 fp=0xc00025bfe0 sp=0xc00025bfc8 pc=0x7ff6442f4685
runtime.goexit({})
        runtime/asm_amd64.s:1700 +0x1 fp=0xc00025bfe8 sp=0xc00025bfe0 pc=0x7ff64434db21
created by runtime.gcBgMarkStartWorkers in goroutine 1
        runtime/mgc.go:1339 +0x105

goroutine 50 gp=0xc000504000 m=nil [GC worker (idle)]:
runtime.gopark(0x4757cda5e508?, 0x1?, 0xb8?, 0xd?, 0x0?)
        runtime/proc.go:435 +0xce fp=0xc00050bf38 sp=0xc00050bf18 pc=0x7ff64434598e
runtime.gcBgMarkWorker(0xc00013d500)
        runtime/mgc.go:1423 +0xe9 fp=0xc00050bfc8 sp=0xc00050bf38 pc=0x7ff6442f47a9
runtime.gcBgMarkStartWorkers.gowrap1()
        runtime/mgc.go:1339 +0x25 fp=0xc00050bfe0 sp=0xc00050bfc8 pc=0x7ff6442f4685
runtime.goexit({})
        runtime/asm_amd64.s:1700 +0x1 fp=0xc00050bfe8 sp=0xc00050bfe0 pc=0x7ff64434db21
created by runtime.gcBgMarkStartWorkers in goroutine 1
        runtime/mgc.go:1339 +0x105

goroutine 16 gp=0xc000250fc0 m=nil [GC worker (idle)]:
runtime.gopark(0x4757cdafd4c8?, 0x3?, 0xf8?, 0xc8?, 0x0?)
        runtime/proc.go:435 +0xce fp=0xc00025df38 sp=0xc00025df18 pc=0x7ff64434598e
runtime.gcBgMarkWorker(0xc00013d500)
        runtime/mgc.go:1423 +0xe9 fp=0xc00025dfc8 sp=0xc00025df38 pc=0x7ff6442f47a9
runtime.gcBgMarkStartWorkers.gowrap1()
        runtime/mgc.go:1339 +0x25 fp=0xc00025dfe0 sp=0xc00025dfc8 pc=0x7ff6442f4685
runtime.goexit({})
        runtime/asm_amd64.s:1700 +0x1 fp=0xc00025dfe8 sp=0xc00025dfe0 pc=0x7ff64434db21
created by runtime.gcBgMarkStartWorkers in goroutine 1
        runtime/mgc.go:1339 +0x105

goroutine 51 gp=0xc0005041c0 m=nil [GC worker (idle)]:
runtime.gopark(0x4757cda5e508?, 0x3?, 0x18?, 0x24?, 0x0?)
        runtime/proc.go:435 +0xce fp=0xc00050df38 sp=0xc00050df18 pc=0x7ff64434598e
runtime.gcBgMarkWorker(0xc00013d500)
        runtime/mgc.go:1423 +0xe9 fp=0xc00050dfc8 sp=0xc00050df38 pc=0x7ff6442f47a9
runtime.gcBgMarkStartWorkers.gowrap1()
        runtime/mgc.go:1339 +0x25 fp=0xc00050dfe0 sp=0xc00050dfc8 pc=0x7ff6442f4685
runtime.goexit({})
        runtime/asm_amd64.s:1700 +0x1 fp=0xc00050dfe8 sp=0xc00050dfe0 pc=0x7ff64434db21
created by runtime.gcBgMarkStartWorkers in goroutine 1
        runtime/mgc.go:1339 +0x105

goroutine 476 gp=0xc0003068c0 m=nil [sync.Mutex.Lock]:
runtime.gopark(0xc000e20808?, 0xc000daa330?, 0xa0?, 0x88?, 0x7ff644343419?)
        runtime/proc.go:435 +0xce fp=0xc000e87a88 sp=0xc000e87a68 pc=0x7ff64434598e
runtime.goparkunlock(...)
        runtime/proc.go:441
runtime.semacquire1(0xc00020ec3c, 0x0, 0x3, 0x2, 0x15)
        runtime/sema.go:188 +0x22f fp=0xc000e87af0 sp=0xc000e87a88 pc=0x7ff64432750f
internal/sync.runtime_SemacquireMutex(0x7ff6447fcb94?, 0xb8?, 0xc000daa330?)
        runtime/sema.go:95 +0x25 fp=0xc000e87b28 sp=0xc000e87af0 pc=0x7ff644346e65
internal/sync.(*Mutex).lockSlow(0xc00020ec38)
        internal/sync/mutex.go:149 +0x15d fp=0xc000e87b78 sp=0xc000e87b28 pc=0x7ff644359b7d
internal/sync.(*Mutex).Lock(...)
        internal/sync/mutex.go:70
sync.(*Mutex).Lock(...)
        sync/mutex.go:46
github.com/ollama/ollama/runner/ollamarunner.(*Server).computeBatch(0xc00020eb40, {0x7, {0x7ff645d3cd40, 0xc0000a7c40}, {0x7ff645d4cc88, 0xc000aa6c30}, {0xc00382cc08, 0x200, 0x25f}, {{0x7ff645d4cc88, ...}, ...}, ...})
        github.com/ollama/ollama/runner/ollamarunner/runner.go:728 +0x956 fp=0xc000e87ef0 sp=0xc000e87b78 pc=0x7ff6449b1896
github.com/ollama/ollama/runner/ollamarunner.(*Server).run.gowrap1()
        github.com/ollama/ollama/runner/ollamarunner/runner.go:459 +0x58 fp=0xc000e87fe0 sp=0xc000e87ef0 pc=0x7ff6449af498
runtime.goexit({})
        runtime/asm_amd64.s:1700 +0x1 fp=0xc000e87fe8 sp=0xc000e87fe0 pc=0x7ff64434db21
created by github.com/ollama/ollama/runner/ollamarunner.(*Server).run in goroutine 66
        github.com/ollama/ollama/runner/ollamarunner/runner.go:459 +0x2cd

goroutine 514 gp=0xc000307180 m=nil [IO wait, 1 minutes]:
runtime.gopark(0x0?, 0xc0001162a0?, 0x48?, 0x63?, 0xc00011634c?)
        runtime/proc.go:435 +0xce fp=0xc000e73d58 sp=0xc000e73d38 pc=0x7ff64434598e
runtime.netpollblock(0x798?, 0x442e0406?, 0xf6?)
        runtime/netpoll.go:575 +0xf7 fp=0xc000e73d90 sp=0xc000e73d58 pc=0x7ff64430bdf7
internal/poll.runtime_pollWait(0x20159fd1858, 0x72)
        runtime/netpoll.go:351 +0x85 fp=0xc000e73db0 sp=0xc000e73d90 pc=0x7ff644344b25
internal/poll.(*pollDesc).wait(0x5?, 0x72?, 0x0)
        internal/poll/fd_poll_runtime.go:84 +0x27 fp=0xc000e73dd8 sp=0xc000e73db0 pc=0x7ff6443dc0c7
internal/poll.execIO(0xc0001162a0, 0x7ff645b72458)
        internal/poll/fd_windows.go:177 +0x105 fp=0xc000e73e50 sp=0xc000e73dd8 pc=0x7ff6443dd525
internal/poll.(*FD).Read(0xc000116288, {0xc000a980a1, 0x1, 0x1})
        internal/poll/fd_windows.go:438 +0x29b fp=0xc000e73ef0 sp=0xc000e73e50 pc=0x7ff6443de1fb
net.(*netFD).Read(0xc000116288, {0xc000a980a1?, 0xc000ac6098?, 0xc000e73f70?})
        net/fd_posix.go:55 +0x25 fp=0xc000e73f38 sp=0xc000e73ef0 pc=0x7ff644451945
net.(*conn).Read(0xc000616018, {0xc000a980a1?, 0xc0009d00d4?, 0xc?})
        net/net.go:194 +0x45 fp=0xc000e73f80 sp=0xc000e73f38 pc=0x7ff644461065
net/http.(*connReader).backgroundRead(0xc000a98090)
        net/http/server.go:690 +0x37 fp=0xc000e73fc8 sp=0xc000e73f80 pc=0x7ff64465e117
net/http.(*connReader).startBackgroundRead.gowrap2()
        net/http/server.go:686 +0x25 fp=0xc000e73fe0 sp=0xc000e73fc8 pc=0x7ff64465e045
runtime.goexit({})
        runtime/asm_amd64.s:1700 +0x1 fp=0xc000e73fe8 sp=0xc000e73fe0 pc=0x7ff64434db21
created by net/http.(*connReader).startBackgroundRead in goroutine 498
        net/http/server.go:686 +0xb6

goroutine 498 gp=0xc001e86c40 m=nil [select]:
runtime.gopark(0xc00004ba08?, 0x2?, 0xc0?, 0xb7?, 0xc00004b86c?)
        runtime/proc.go:435 +0xce fp=0xc000df3698 sp=0xc000df3678 pc=0x7ff64434598e
runtime.selectgo(0xc000df3a08, 0xc00004b868, 0x1000?, 0x0, 0x1?, 0x1)
        runtime/select.go:351 +0x837 fp=0xc000df37d0 sp=0xc000df3698 pc=0x7ff644326437
github.com/ollama/ollama/runner/ollamarunner.(*Server).completion(0xc00020eb40, {0x7ff645d2d260, 0xc00000c000}, 0xc000466500)
        github.com/ollama/ollama/runner/ollamarunner/runner.go:956 +0xc4e fp=0xc000df3ac0 sp=0xc000df37d0 pc=0x7ff6449b3a4e
github.com/ollama/ollama/runner/ollamarunner.(*Server).completion-fm({0x7ff645d2d260?, 0xc00000c000?}, 0xc00004bb40?)
        <autogenerated>:1 +0x36 fp=0xc000df3af0 sp=0xc000df3ac0 pc=0x7ff6449b8eb6
net/http.HandlerFunc.ServeHTTP(0xc0000e4240?, {0x7ff645d2d260?, 0xc00000c000?}, 0xc00004bb60?)
        net/http/server.go:2294 +0x29 fp=0xc000df3b18 sp=0xc000df3af0 pc=0x7ff644665d49
net/http.(*ServeMux).ServeHTTP(0x7ff6442eb785?, {0x7ff645d2d260, 0xc00000c000}, 0xc000466500)
        net/http/server.go:2822 +0x1c4 fp=0xc000df3b68 sp=0xc000df3b18 pc=0x7ff644667c44
net/http.serverHandler.ServeHTTP({0x7ff645d291b0?}, {0x7ff645d2d260?, 0xc00000c000?}, 0x1?)
        net/http/server.go:3301 +0x8e fp=0xc000df3b98 sp=0xc000df3b68 pc=0x7ff6446856ce
net/http.(*conn).serve(0xc000620120, {0x7ff645d2fab8, 0xc0004223f0})
        net/http/server.go:2102 +0x625 fp=0xc000df3fb8 sp=0xc000df3b98 pc=0x7ff644664245
net/http.(*Server).Serve.gowrap3()
        net/http/server.go:3454 +0x28 fp=0xc000df3fe0 sp=0xc000df3fb8 pc=0x7ff644669b08
runtime.goexit({})
        runtime/asm_amd64.s:1700 +0x1 fp=0xc000df3fe8 sp=0xc000df3fe0 pc=0x7ff64434db21
created by net/http.(*Server).Serve in goroutine 1
        net/http/server.go:3454 +0x485
rax     0x201a12cc210
rbx     0x2019cce3380
rcx     0x0
rdx     0x88000
rdi     0x201e59d36b0
rsi     0x0
rbp     0xffffffff
rsp     0x77ee5ff4b0
r8      0x88000
r9      0x3b8
r10     0x1
r11     0x20
r12     0x201e59d36f0
r13     0x201fdac2df0
r14     0x2a8000
r15     0x201fdac2de0
rip     0x7ffc89efc5c7
rflags  0x10287
cs      0x33
fs      0x53
gs      0x2b
time=2026-03-31T13:33:16.667+02:00 level=ERROR source=server.go:1612 msg="post predict" error="Post \"http://127.0.0.1:51867/completion\": read tcp 127.0.0.1:61407->127.0.0.1:51867: wsarecv: An existing connection was forcibly closed by the remote host."
[GIN] 2026/03/31 - 13:33:17 | 500 |         7m13s |       127.0.0.1 | POST     "/v1/chat/completions"

OS

Windows

GPU

Nvidia

CPU

Intel

Ollama version

0.18.3

Originally created by @n4s3r on GitHub (Mar 31, 2026). Original GitHub issue: https://github.com/ollama/ollama/issues/15170 ### What is the issue? This: Exception 0xc0000005 0x0 0x50 0x7ffc89efc5c7 PC=0x7ffc89efc5c7 signal arrived during external code execution I allways run it with this command: `powershell -NoExit -Command "$host.UI.RawUI.WindowTitle = 'Ollama LLMs';$env:OLLAMA_GPU='1';$env:OLLAMA_NUM_THREADS='10';$env:OMP_NUM_THREADS='10';$env:OLLAMA_GPU_MEMORY_FRACTION='1';$env:OLLAMA_MAX_LOADED_MODELS='1';$env:OLLAMA_NUM_PARALLEL='1';$env:OLLAMA_KV_CACHE_TYPE='q8_0';$env:OLLAMA_NEW_ENGINE='1';$env:OLLAMA_VULKAN='1';$env:OLLAMA_MAX_QUEUE='1';$env:OLLAMA_HOST='127.0.0.1:11435';$env:OLLAMA_SCHED_SPREAD='1';$env:OLLAMA_FLASH_ATTENTION='1';ollama serve"` The error appears with a lot of models, but now it was nemotron-3-nano:4b. ### Relevant log output ```shell [DXGI] Adapter Description: NVIDIA GeForce RTX 3050 Ti Laptop GPU, LUID: 0x0000000000013583, Dedicated: 3.87 GB, Shared: 7.85 GB [DXGI] Adapter Description: Intel(R) Iris(R) Xe Graphics, LUID: 0x0000000000013232, Dedicated: 0.12 GB, Shared: 7.85 GB [DXGI] Adapter Description: Microsoft Basic Render Driver, LUID: 0x0000000000013510, Dedicated: 0.00 GB, Shared: 7.85 GB Integrated GPU (Intel(R) Iris(R) Xe Graphics) with LUID 0x0000000000013232 detected. Shared Total: 8433055744.00 bytes (7.85 GB), Shared Usage: 2210664448.00 bytes (2.06 GB), Dedicated Total: 134217728.00 bytes (0.12 GB), Dedicated Usage: 0.00 bytes (0.00 GB) ggml_backend_vk_get_device_memory utilizing DXGI + PDH memory reporting free: 6356609024 total: 8567273472 time=2026-03-31T13:26:31.123+02:00 level=INFO source=runner.go:1284 msg=load request="{Operation:commit LoraPath:[] Parallel:1 BatchSize:512 FlashAttention:Enabled KvSize:4096 KvCacheType:q8_0 NumThreads:6 GPULayers:43[ID:8680a646-0c00-0000-0000-000000000000 Layers:43(0..42)] MultiUserCache:false ProjectorPath: MainGPU:0 UseMmap:false}" time=2026-03-31T13:26:31.247+02:00 level=INFO source=device.go:240 msg="model weights" device=Vulkan1 size="2.4 GiB" time=2026-03-31T13:26:31.298+02:00 level=INFO source=device.go:245 msg="model weights" device=CPU size="269.5 MiB" time=2026-03-31T13:26:31.298+02:00 level=INFO source=device.go:251 msg="kv cache" device=Vulkan1 size="2.0 GiB" time=2026-03-31T13:26:31.298+02:00 level=INFO source=device.go:262 msg="compute graph" device=Vulkan1 size="92.6 MiB" time=2026-03-31T13:26:31.298+02:00 level=INFO source=device.go:267 msg="compute graph" device=CPU size="6.1 MiB" time=2026-03-31T13:26:31.299+02:00 level=INFO source=device.go:272 msg="total memory" size="4.7 GiB" time=2026-03-31T13:26:31.247+02:00 level=INFO source=ggml.go:482 msg="offloading 42 repeating layers to GPU" time=2026-03-31T13:26:31.346+02:00 level=INFO source=ggml.go:489 msg="offloading output layer to GPU" time=2026-03-31T13:26:31.381+02:00 level=INFO source=ggml.go:494 msg="offloaded 43/43 layers to GPU" time=2026-03-31T13:26:31.394+02:00 level=INFO source=sched.go:561 msg="loaded runners" count=1 time=2026-03-31T13:26:31.408+02:00 level=INFO source=server.go:1352 msg="waiting for llama runner to start responding" time=2026-03-31T13:26:31.589+02:00 level=INFO source=server.go:1386 msg="waiting for server to become available" status="llm server loading model" time=2026-03-31T13:26:32.187+02:00 level=INFO source=server.go:1386 msg="waiting for server to become available" status="llm server not responding" time=2026-03-31T13:26:32.539+02:00 level=INFO source=server.go:1386 msg="waiting for server to become available" status="llm server loading model" time=2026-03-31T13:26:59.363+02:00 level=INFO source=server.go:1390 msg="llama runner started in 51.32 seconds" time=2026-03-31T13:32:18.098+02:00 level=WARN source=runner.go:187 msg="truncating input prompt" limit=4096 prompt=25039 keep=4 new=4096 Exception 0xc0000005 0x0 0x50 0x7ffc89efc5c7 PC=0x7ffc89efc5c7 signal arrived during external code execution runtime.cgocall(0x7ff6454376c0, 0xc0032132a8) runtime/cgocall.go:167 +0x3e fp=0xc003213280 sp=0xc003213218 pc=0x7ff64434243e github.com/ollama/ollama/ml/backend/ggml._Cfunc_ggml_backend_sched_graph_compute_async(0x201fc772c90, 0x201a12ca4f0) _cgo_gotypes.go:963 +0x50 fp=0xc0032132a8 sp=0xc003213280 pc=0x7ff644876770 github.com/ollama/ollama/ml/backend/ggml.(*Context).ComputeWithNotify.func2(...) github.com/ollama/ollama/ml/backend/ggml/ggml.go:825 github.com/ollama/ollama/ml/backend/ggml.(*Context).ComputeWithNotify(0xc00043e000, 0x201a12ca4f0?, {0x0, 0x0, 0xc0032134a8?}) github.com/ollama/ollama/ml/backend/ggml/ggml.go:825 +0x1b5 fp=0xc003213380 sp=0xc0032132a8 pc=0x7ff644886035 github.com/ollama/ollama/ml/backend/ggml.(*Context).Compute(0xc00043e000?, {0x0?, 0xc00043e000?, 0x7ff645d4cc88?}) github.com/ollama/ollama/ml/backend/ggml/ggml.go:811 +0x25 fp=0xc0032133b8 sp=0xc003213380 pc=0x7ff644885e45 github.com/ollama/ollama/kvcache.(*Causal).shift(0xc0001dc600, 0x0, 0x4, 0xfffff802) github.com/ollama/ollama/kvcache/causal.go:608 +0x250 fp=0xc003213518 sp=0xc0032133b8 pc=0x7ff64486a6b0 github.com/ollama/ollama/kvcache.(*Causal).Remove(0xc0001dc600, 0x0, 0x4, 0x802) github.com/ollama/ollama/kvcache/causal.go:659 +0x285 fp=0xc0032135b0 sp=0xc003213518 pc=0x7ff64486ad45 github.com/ollama/ollama/kvcache.(*Recurrent).Remove(0xc000394780, 0x0, 0x4, 0x802) github.com/ollama/ollama/kvcache/recurrent.go:458 +0x333 fp=0xc003213658 sp=0xc0032135b0 pc=0x7ff64486e1d3 github.com/ollama/ollama/runner/ollamarunner.(*InputCache).ShiftCacheSlot(0xc000d08b80, 0xc000d08b40, 0x4) github.com/ollama/ollama/runner/ollamarunner/cache.go:299 +0x34c fp=0xc0032137f0 sp=0xc003213658 pc=0x7ff6449acbec github.com/ollama/ollama/runner/ollamarunner.(*Server).forwardBatch(_, {0x7, {0x7ff645d3cd40, 0xc0000a7c40}, {0x7ff645d4cc88, 0xc000aa6c30}, {0xc00382cc08, 0x200, 0x25f}, {{0x7ff645d4cc88, ...}, ...}, ...}) github.com/ollama/ollama/runner/ollamarunner/runner.go:559 +0xe05 fp=0xc003213b58 sp=0xc0032137f0 pc=0x7ff6449b02c5 github.com/ollama/ollama/runner/ollamarunner.(*Server).run(0xc00020eb40, {0x7ff645d2faf0, 0xc000630000}) github.com/ollama/ollama/runner/ollamarunner/runner.go:453 +0x18c fp=0xc003213fb8 sp=0xc003213b58 pc=0x7ff6449af26c github.com/ollama/ollama/runner/ollamarunner.Execute.gowrap1() github.com/ollama/ollama/runner/ollamarunner/runner.go:1424 +0x28 fp=0xc003213fe0 sp=0xc003213fb8 pc=0x7ff6449b89c8 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc003213fe8 sp=0xc003213fe0 pc=0x7ff64434db21 created by github.com/ollama/ollama/runner/ollamarunner.Execute in goroutine 1 github.com/ollama/ollama/runner/ollamarunner/runner.go:1424 +0x4c9 goroutine 1 gp=0xc0000021c0 m=nil [IO wait, 1 minutes, locked to thread]: runtime.gopark(0x7ff64434f320?, 0x7ff6468a5b60?, 0x20?, 0x54?, 0xc0003454cc?) runtime/proc.go:435 +0xce fp=0xc001105630 sp=0xc001105610 pc=0x7ff64434598e runtime.netpollblock(0x43c?, 0x442e0406?, 0xf6?) runtime/netpoll.go:575 +0xf7 fp=0xc001105668 sp=0xc001105630 pc=0x7ff64430bdf7 internal/poll.runtime_pollWait(0x20159fd1970, 0x72) runtime/netpoll.go:351 +0x85 fp=0xc001105688 sp=0xc001105668 pc=0x7ff644344b25 internal/poll.(*pollDesc).wait(0x7ff6443daad3?, 0x7ff6442f2636?, 0x0) internal/poll/fd_poll_runtime.go:84 +0x27 fp=0xc0011056b0 sp=0xc001105688 pc=0x7ff6443dc0c7 internal/poll.execIO(0xc000345420, 0xc001105758) internal/poll/fd_windows.go:177 +0x105 fp=0xc001105728 sp=0xc0011056b0 pc=0x7ff6443dd525 internal/poll.(*FD).acceptOne(0xc000345408, 0xb84, {0xc0003f20f0?, 0xc0011057b8?, 0x7ff6443e51e5?}, 0xc0011057ec?) internal/poll/fd_windows.go:946 +0x65 fp=0xc001105788 sp=0xc001105728 pc=0x7ff6443e1aa5 internal/poll.(*FD).Accept(0xc000345408, 0xc001105938) internal/poll/fd_windows.go:980 +0x1b6 fp=0xc001105840 sp=0xc001105788 pc=0x7ff6443e1dd6 net.(*netFD).accept(0xc000345408) net/fd_windows.go:182 +0x4b fp=0xc001105958 sp=0xc001105840 pc=0x7ff644453a6b net.(*TCPListener).accept(0xc000414180) net/tcpsock_posix.go:159 +0x1b fp=0xc0011059a8 sp=0xc001105958 pc=0x7ff64446a01b net.(*TCPListener).Accept(0xc000414180) net/tcpsock.go:380 +0x30 fp=0xc0011059d8 sp=0xc0011059a8 pc=0x7ff644468dd0 net/http.(*onceCloseListener).Accept(0xc000620120?) <autogenerated>:1 +0x24 fp=0xc0011059f0 sp=0xc0011059d8 pc=0x7ff644691e44 net/http.(*Server).Serve(0xc000594800, {0x7ff645d2d0b0, 0xc000414180}) net/http/server.go:3424 +0x30c fp=0xc001105b20 sp=0xc0011059f0 pc=0x7ff64466970c github.com/ollama/ollama/runner/ollamarunner.Execute({0xc0000c0030, 0x4, 0x5}) github.com/ollama/ollama/runner/ollamarunner/runner.go:1447 +0x94e fp=0xc001105cf0 sp=0xc001105b20 pc=0x7ff6449b874e github.com/ollama/ollama/runner.Execute({0xc0000c0010?, 0x0?, 0x0?}) github.com/ollama/ollama/runner/runner.go:18 +0x10e fp=0xc001105d30 sp=0xc001105cf0 pc=0x7ff644a66ace github.com/ollama/ollama/cmd.NewCLI.func3(0xc000594400?, {0x7ff645ae6c13?, 0x4?, 0x7ff645ae6c17?}) github.com/ollama/ollama/cmd/cmd.go:2273 +0x45 fp=0xc001105d58 sp=0xc001105d30 pc=0x7ff645292625 github.com/spf13/cobra.(*Command).execute(0xc000399b08, {0xc00059e050, 0x5, 0x5}) github.com/spf13/cobra@v1.7.0/command.go:940 +0x85c fp=0xc001105e78 sp=0xc001105d58 pc=0x7ff6444cec3c github.com/spf13/cobra.(*Command).ExecuteC(0xc00032a908) github.com/spf13/cobra@v1.7.0/command.go:1068 +0x3a5 fp=0xc001105f30 sp=0xc001105e78 pc=0x7ff6444cf485 github.com/spf13/cobra.(*Command).Execute(...) github.com/spf13/cobra@v1.7.0/command.go:992 github.com/spf13/cobra.(*Command).ExecuteContext(...) github.com/spf13/cobra@v1.7.0/command.go:985 main.main() github.com/ollama/ollama/main.go:12 +0x4d fp=0xc001105f50 sp=0xc001105f30 pc=0x7ff64529404d runtime.main() runtime/proc.go:283 +0x27d fp=0xc001105fe0 sp=0xc001105f50 pc=0x7ff644314ddd runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc001105fe8 sp=0xc001105fe0 pc=0x7ff64434db21 goroutine 2 gp=0xc0000028c0 m=nil [force gc (idle), 3 minutes]: runtime.gopark(0x4748c367a4b4?, 0x0?, 0x0?, 0x0?, 0x0?) runtime/proc.go:435 +0xce fp=0xc00008dfa8 sp=0xc00008df88 pc=0x7ff64434598e runtime.goparkunlock(...) runtime/proc.go:441 runtime.forcegchelper() runtime/proc.go:348 +0xb8 fp=0xc00008dfe0 sp=0xc00008dfa8 pc=0x7ff6443150f8 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc00008dfe8 sp=0xc00008dfe0 pc=0x7ff64434db21 created by runtime.init.7 in goroutine 1 runtime/proc.go:336 +0x1a goroutine 3 gp=0xc000002c40 m=nil [GC sweep wait]: runtime.gopark(0x1?, 0x0?, 0x0?, 0x0?, 0x0?) runtime/proc.go:435 +0xce fp=0xc00008ff80 sp=0xc00008ff60 pc=0x7ff64434598e runtime.goparkunlock(...) runtime/proc.go:441 runtime.bgsweep(0xc00009c000) runtime/mgcsweep.go:316 +0xdf fp=0xc00008ffc8 sp=0xc00008ff80 pc=0x7ff6442fdebf runtime.gcenable.gowrap1() runtime/mgc.go:204 +0x25 fp=0xc00008ffe0 sp=0xc00008ffc8 pc=0x7ff6442f2285 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc00008ffe8 sp=0xc00008ffe0 pc=0x7ff64434db21 created by runtime.gcenable in goroutine 1 runtime/mgc.go:204 +0x66 goroutine 4 gp=0xc000002e00 m=nil [GC scavenge wait]: runtime.gopark(0x2a3ce4?, 0x25bf1e?, 0x0?, 0x0?, 0x0?) runtime/proc.go:435 +0xce fp=0xc0000a3f78 sp=0xc0000a3f58 pc=0x7ff64434598e runtime.goparkunlock(...) runtime/proc.go:441 runtime.(*scavengerState).park(0x7ff6468d3c00) runtime/mgcscavenge.go:425 +0x49 fp=0xc0000a3fa8 sp=0xc0000a3f78 pc=0x7ff6442fb909 runtime.bgscavenge(0xc00009c000) runtime/mgcscavenge.go:658 +0x59 fp=0xc0000a3fc8 sp=0xc0000a3fa8 pc=0x7ff6442fbe99 runtime.gcenable.gowrap2() runtime/mgc.go:205 +0x25 fp=0xc0000a3fe0 sp=0xc0000a3fc8 pc=0x7ff6442f2225 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc0000a3fe8 sp=0xc0000a3fe0 pc=0x7ff64434db21 created by runtime.gcenable in goroutine 1 runtime/mgc.go:205 +0xa5 goroutine 5 gp=0xc000003340 m=nil [finalizer wait, 7 minutes]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) runtime/proc.go:435 +0xce fp=0xc0000a5e30 sp=0xc0000a5e10 pc=0x7ff64434598e runtime.runfinq() runtime/mfinal.go:196 +0x107 fp=0xc0000a5fe0 sp=0xc0000a5e30 pc=0x7ff6442f1207 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc0000a5fe8 sp=0xc0000a5fe0 pc=0x7ff64434db21 created by runtime.createfing in goroutine 1 runtime/mfinal.go:166 +0x3d goroutine 18 gp=0xc000106380 m=nil [chan receive]: runtime.gopark(0xc00014af00?, 0xc004b00018?, 0x60?, 0xff?, 0x7ff64443c688?) runtime/proc.go:435 +0xce fp=0xc00009ff18 sp=0xc00009fef8 pc=0x7ff64434598e runtime.chanrecv(0xc00013c2a0, 0x0, 0x1) runtime/chan.go:664 +0x445 fp=0xc00009ff90 sp=0xc00009ff18 pc=0x7ff6442e2d45 runtime.chanrecv1(0x0?, 0x0?) runtime/chan.go:506 +0x12 fp=0xc00009ffb8 sp=0xc00009ff90 pc=0x7ff6442e28d2 runtime.unique_runtime_registerUniqueMapCleanup.func2(...) runtime/mgc.go:1796 runtime.unique_runtime_registerUniqueMapCleanup.gowrap1() runtime/mgc.go:1799 +0x2f fp=0xc00009ffe0 sp=0xc00009ffb8 pc=0x7ff6442f54af runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc00009ffe8 sp=0xc00009ffe0 pc=0x7ff64434db21 created by unique.runtime_registerUniqueMapCleanup in goroutine 1 runtime/mgc.go:1794 +0x85 goroutine 19 gp=0xc000106540 m=nil [GC worker (idle), 7 minutes]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) runtime/proc.go:435 +0xce fp=0xc0000a1f38 sp=0xc0000a1f18 pc=0x7ff64434598e runtime.gcBgMarkWorker(0xc00013d500) runtime/mgc.go:1423 +0xe9 fp=0xc0000a1fc8 sp=0xc0000a1f38 pc=0x7ff6442f47a9 runtime.gcBgMarkStartWorkers.gowrap1() runtime/mgc.go:1339 +0x25 fp=0xc0000a1fe0 sp=0xc0000a1fc8 pc=0x7ff6442f4685 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc0000a1fe8 sp=0xc0000a1fe0 pc=0x7ff64434db21 created by runtime.gcBgMarkStartWorkers in goroutine 1 runtime/mgc.go:1339 +0x105 goroutine 34 gp=0xc000306000 m=nil [GC worker (idle), 7 minutes]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) runtime/proc.go:435 +0xce fp=0xc00030df38 sp=0xc00030df18 pc=0x7ff64434598e runtime.gcBgMarkWorker(0xc00013d500) runtime/mgc.go:1423 +0xe9 fp=0xc00030dfc8 sp=0xc00030df38 pc=0x7ff6442f47a9 runtime.gcBgMarkStartWorkers.gowrap1() runtime/mgc.go:1339 +0x25 fp=0xc00030dfe0 sp=0xc00030dfc8 pc=0x7ff6442f4685 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc00030dfe8 sp=0xc00030dfe0 pc=0x7ff64434db21 created by runtime.gcBgMarkStartWorkers in goroutine 1 runtime/mgc.go:1339 +0x105 goroutine 35 gp=0xc0003061c0 m=nil [GC worker (idle), 7 minutes]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) runtime/proc.go:435 +0xce fp=0xc00030ff38 sp=0xc00030ff18 pc=0x7ff64434598e runtime.gcBgMarkWorker(0xc00013d500) runtime/mgc.go:1423 +0xe9 fp=0xc00030ffc8 sp=0xc00030ff38 pc=0x7ff6442f47a9 runtime.gcBgMarkStartWorkers.gowrap1() runtime/mgc.go:1339 +0x25 fp=0xc00030ffe0 sp=0xc00030ffc8 pc=0x7ff6442f4685 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc00030ffe8 sp=0xc00030ffe0 pc=0x7ff64434db21 created by runtime.gcBgMarkStartWorkers in goroutine 1 runtime/mgc.go:1339 +0x105 goroutine 36 gp=0xc000306380 m=nil [GC worker (idle), 7 minutes]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) runtime/proc.go:435 +0xce fp=0xc000309f38 sp=0xc000309f18 pc=0x7ff64434598e runtime.gcBgMarkWorker(0xc00013d500) runtime/mgc.go:1423 +0xe9 fp=0xc000309fc8 sp=0xc000309f38 pc=0x7ff6442f47a9 runtime.gcBgMarkStartWorkers.gowrap1() runtime/mgc.go:1339 +0x25 fp=0xc000309fe0 sp=0xc000309fc8 pc=0x7ff6442f4685 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc000309fe8 sp=0xc000309fe0 pc=0x7ff64434db21 created by runtime.gcBgMarkStartWorkers in goroutine 1 runtime/mgc.go:1339 +0x105 goroutine 6 gp=0xc000003c00 m=nil [GC worker (idle)]: runtime.gopark(0x4757cdafd4c8?, 0x3?, 0x0?, 0x0?, 0x7ff6467ba5c0?) runtime/proc.go:435 +0xce fp=0xc000091f38 sp=0xc000091f18 pc=0x7ff64434598e runtime.gcBgMarkWorker(0xc00013d500) runtime/mgc.go:1423 +0xe9 fp=0xc000091fc8 sp=0xc000091f38 pc=0x7ff6442f47a9 runtime.gcBgMarkStartWorkers.gowrap1() runtime/mgc.go:1339 +0x25 fp=0xc000091fe0 sp=0xc000091fc8 pc=0x7ff6442f4685 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc000091fe8 sp=0xc000091fe0 pc=0x7ff64434db21 created by runtime.gcBgMarkStartWorkers in goroutine 1 runtime/mgc.go:1339 +0x105 goroutine 20 gp=0xc000106700 m=nil [GC worker (idle)]: runtime.gopark(0x7ff646926e60?, 0x1?, 0x68?, 0xa?, 0x0?) runtime/proc.go:435 +0xce fp=0xc0004aff38 sp=0xc0004aff18 pc=0x7ff64434598e runtime.gcBgMarkWorker(0xc00013d500) runtime/mgc.go:1423 +0xe9 fp=0xc0004affc8 sp=0xc0004aff38 pc=0x7ff6442f47a9 runtime.gcBgMarkStartWorkers.gowrap1() runtime/mgc.go:1339 +0x25 fp=0xc0004affe0 sp=0xc0004affc8 pc=0x7ff6442f4685 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc0004affe8 sp=0xc0004affe0 pc=0x7ff64434db21 created by runtime.gcBgMarkStartWorkers in goroutine 1 runtime/mgc.go:1339 +0x105 goroutine 7 gp=0xc000003dc0 m=nil [GC worker (idle)]: runtime.gopark(0x4757cda5e508?, 0x3?, 0x0?, 0x0?, 0x0?) runtime/proc.go:435 +0xce fp=0xc0004abf38 sp=0xc0004abf18 pc=0x7ff64434598e runtime.gcBgMarkWorker(0xc00013d500) runtime/mgc.go:1423 +0xe9 fp=0xc0004abfc8 sp=0xc0004abf38 pc=0x7ff6442f47a9 runtime.gcBgMarkStartWorkers.gowrap1() runtime/mgc.go:1339 +0x25 fp=0xc0004abfe0 sp=0xc0004abfc8 pc=0x7ff6442f4685 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc0004abfe8 sp=0xc0004abfe0 pc=0x7ff64434db21 created by runtime.gcBgMarkStartWorkers in goroutine 1 runtime/mgc.go:1339 +0x105 goroutine 37 gp=0xc000306540 m=nil [GC worker (idle)]: runtime.gopark(0x4757cd9bc0f0?, 0x3?, 0x4?, 0x80?, 0x0?) runtime/proc.go:435 +0xce fp=0xc00030bf38 sp=0xc00030bf18 pc=0x7ff64434598e runtime.gcBgMarkWorker(0xc00013d500) runtime/mgc.go:1423 +0xe9 fp=0xc00030bfc8 sp=0xc00030bf38 pc=0x7ff6442f47a9 runtime.gcBgMarkStartWorkers.gowrap1() runtime/mgc.go:1339 +0x25 fp=0xc00030bfe0 sp=0xc00030bfc8 pc=0x7ff6442f4685 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc00030bfe8 sp=0xc00030bfe0 pc=0x7ff64434db21 created by runtime.gcBgMarkStartWorkers in goroutine 1 runtime/mgc.go:1339 +0x105 goroutine 21 gp=0xc0001068c0 m=nil [GC worker (idle)]: runtime.gopark(0x7ff646926e60?, 0x1?, 0x64?, 0x3b?, 0x0?) runtime/proc.go:435 +0xce fp=0xc0004b1f38 sp=0xc0004b1f18 pc=0x7ff64434598e runtime.gcBgMarkWorker(0xc00013d500) runtime/mgc.go:1423 +0xe9 fp=0xc0004b1fc8 sp=0xc0004b1f38 pc=0x7ff6442f47a9 runtime.gcBgMarkStartWorkers.gowrap1() runtime/mgc.go:1339 +0x25 fp=0xc0004b1fe0 sp=0xc0004b1fc8 pc=0x7ff6442f4685 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc0004b1fe8 sp=0xc0004b1fe0 pc=0x7ff64434db21 created by runtime.gcBgMarkStartWorkers in goroutine 1 runtime/mgc.go:1339 +0x105 goroutine 8 gp=0xc0002501c0 m=nil [GC worker (idle)]: runtime.gopark(0x4757cda5e508?, 0x1?, 0xa0?, 0x51?, 0x0?) runtime/proc.go:435 +0xce fp=0xc0004adf38 sp=0xc0004adf18 pc=0x7ff64434598e runtime.gcBgMarkWorker(0xc00013d500) runtime/mgc.go:1423 +0xe9 fp=0xc0004adfc8 sp=0xc0004adf38 pc=0x7ff6442f47a9 runtime.gcBgMarkStartWorkers.gowrap1() runtime/mgc.go:1339 +0x25 fp=0xc0004adfe0 sp=0xc0004adfc8 pc=0x7ff6442f4685 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc0004adfe8 sp=0xc0004adfe0 pc=0x7ff64434db21 created by runtime.gcBgMarkStartWorkers in goroutine 1 runtime/mgc.go:1339 +0x105 goroutine 9 gp=0xc000250380 m=nil [GC worker (idle), 6 minutes]: runtime.gopark(0x7ff646926e60?, 0x3?, 0xcc?, 0x4a?, 0x0?) runtime/proc.go:435 +0xce fp=0xc000257f38 sp=0xc000257f18 pc=0x7ff64434598e runtime.gcBgMarkWorker(0xc00013d500) runtime/mgc.go:1423 +0xe9 fp=0xc000257fc8 sp=0xc000257f38 pc=0x7ff6442f47a9 runtime.gcBgMarkStartWorkers.gowrap1() runtime/mgc.go:1339 +0x25 fp=0xc000257fe0 sp=0xc000257fc8 pc=0x7ff6442f4685 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc000257fe8 sp=0xc000257fe0 pc=0x7ff64434db21 created by runtime.gcBgMarkStartWorkers in goroutine 1 runtime/mgc.go:1339 +0x105 goroutine 10 gp=0xc000250540 m=nil [GC worker (idle)]: runtime.gopark(0x4757cda5e508?, 0x1?, 0x24?, 0x47?, 0x0?) runtime/proc.go:435 +0xce fp=0xc000259f38 sp=0xc000259f18 pc=0x7ff64434598e runtime.gcBgMarkWorker(0xc00013d500) runtime/mgc.go:1423 +0xe9 fp=0xc000259fc8 sp=0xc000259f38 pc=0x7ff6442f47a9 runtime.gcBgMarkStartWorkers.gowrap1() runtime/mgc.go:1339 +0x25 fp=0xc000259fe0 sp=0xc000259fc8 pc=0x7ff6442f4685 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc000259fe8 sp=0xc000259fe0 pc=0x7ff64434db21 created by runtime.gcBgMarkStartWorkers in goroutine 1 runtime/mgc.go:1339 +0x105 goroutine 11 gp=0xc000250700 m=nil [GC worker (idle), 6 minutes]: runtime.gopark(0x7ff646926e60?, 0x3?, 0x40?, 0x42?, 0x0?) runtime/proc.go:435 +0xce fp=0xc000253f38 sp=0xc000253f18 pc=0x7ff64434598e runtime.gcBgMarkWorker(0xc00013d500) runtime/mgc.go:1423 +0xe9 fp=0xc000253fc8 sp=0xc000253f38 pc=0x7ff6442f47a9 runtime.gcBgMarkStartWorkers.gowrap1() runtime/mgc.go:1339 +0x25 fp=0xc000253fe0 sp=0xc000253fc8 pc=0x7ff6442f4685 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc000253fe8 sp=0xc000253fe0 pc=0x7ff64434db21 created by runtime.gcBgMarkStartWorkers in goroutine 1 runtime/mgc.go:1339 +0x105 goroutine 12 gp=0xc0002508c0 m=nil [GC worker (idle)]: runtime.gopark(0x7ff646926e60?, 0x1?, 0xc0?, 0xef?, 0x0?) runtime/proc.go:435 +0xce fp=0xc000255f38 sp=0xc000255f18 pc=0x7ff64434598e runtime.gcBgMarkWorker(0xc00013d500) runtime/mgc.go:1423 +0xe9 fp=0xc000255fc8 sp=0xc000255f38 pc=0x7ff6442f47a9 runtime.gcBgMarkStartWorkers.gowrap1() runtime/mgc.go:1339 +0x25 fp=0xc000255fe0 sp=0xc000255fc8 pc=0x7ff6442f4685 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc000255fe8 sp=0xc000255fe0 pc=0x7ff64434db21 created by runtime.gcBgMarkStartWorkers in goroutine 1 runtime/mgc.go:1339 +0x105 goroutine 13 gp=0xc000250a80 m=nil [GC worker (idle), 6 minutes]: runtime.gopark(0x7ff646926e60?, 0x3?, 0x8?, 0x44?, 0x0?) runtime/proc.go:435 +0xce fp=0xc00025ff38 sp=0xc00025ff18 pc=0x7ff64434598e runtime.gcBgMarkWorker(0xc00013d500) runtime/mgc.go:1423 +0xe9 fp=0xc00025ffc8 sp=0xc00025ff38 pc=0x7ff6442f47a9 runtime.gcBgMarkStartWorkers.gowrap1() runtime/mgc.go:1339 +0x25 fp=0xc00025ffe0 sp=0xc00025ffc8 pc=0x7ff6442f4685 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc00025ffe8 sp=0xc00025ffe0 pc=0x7ff64434db21 created by runtime.gcBgMarkStartWorkers in goroutine 1 runtime/mgc.go:1339 +0x105 goroutine 14 gp=0xc000250c40 m=nil [GC worker (idle)]: runtime.gopark(0x7ff646926e60?, 0x3?, 0x7c?, 0xfb?, 0x0?) runtime/proc.go:435 +0xce fp=0xc000261f38 sp=0xc000261f18 pc=0x7ff64434598e runtime.gcBgMarkWorker(0xc00013d500) runtime/mgc.go:1423 +0xe9 fp=0xc000261fc8 sp=0xc000261f38 pc=0x7ff6442f47a9 runtime.gcBgMarkStartWorkers.gowrap1() runtime/mgc.go:1339 +0x25 fp=0xc000261fe0 sp=0xc000261fc8 pc=0x7ff6442f4685 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc000261fe8 sp=0xc000261fe0 pc=0x7ff64434db21 created by runtime.gcBgMarkStartWorkers in goroutine 1 runtime/mgc.go:1339 +0x105 goroutine 15 gp=0xc000250e00 m=nil [GC worker (idle)]: runtime.gopark(0x4757cda5e508?, 0x1?, 0x14?, 0x99?, 0x0?) runtime/proc.go:435 +0xce fp=0xc00025bf38 sp=0xc00025bf18 pc=0x7ff64434598e runtime.gcBgMarkWorker(0xc00013d500) runtime/mgc.go:1423 +0xe9 fp=0xc00025bfc8 sp=0xc00025bf38 pc=0x7ff6442f47a9 runtime.gcBgMarkStartWorkers.gowrap1() runtime/mgc.go:1339 +0x25 fp=0xc00025bfe0 sp=0xc00025bfc8 pc=0x7ff6442f4685 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc00025bfe8 sp=0xc00025bfe0 pc=0x7ff64434db21 created by runtime.gcBgMarkStartWorkers in goroutine 1 runtime/mgc.go:1339 +0x105 goroutine 50 gp=0xc000504000 m=nil [GC worker (idle)]: runtime.gopark(0x4757cda5e508?, 0x1?, 0xb8?, 0xd?, 0x0?) runtime/proc.go:435 +0xce fp=0xc00050bf38 sp=0xc00050bf18 pc=0x7ff64434598e runtime.gcBgMarkWorker(0xc00013d500) runtime/mgc.go:1423 +0xe9 fp=0xc00050bfc8 sp=0xc00050bf38 pc=0x7ff6442f47a9 runtime.gcBgMarkStartWorkers.gowrap1() runtime/mgc.go:1339 +0x25 fp=0xc00050bfe0 sp=0xc00050bfc8 pc=0x7ff6442f4685 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc00050bfe8 sp=0xc00050bfe0 pc=0x7ff64434db21 created by runtime.gcBgMarkStartWorkers in goroutine 1 runtime/mgc.go:1339 +0x105 goroutine 16 gp=0xc000250fc0 m=nil [GC worker (idle)]: runtime.gopark(0x4757cdafd4c8?, 0x3?, 0xf8?, 0xc8?, 0x0?) runtime/proc.go:435 +0xce fp=0xc00025df38 sp=0xc00025df18 pc=0x7ff64434598e runtime.gcBgMarkWorker(0xc00013d500) runtime/mgc.go:1423 +0xe9 fp=0xc00025dfc8 sp=0xc00025df38 pc=0x7ff6442f47a9 runtime.gcBgMarkStartWorkers.gowrap1() runtime/mgc.go:1339 +0x25 fp=0xc00025dfe0 sp=0xc00025dfc8 pc=0x7ff6442f4685 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc00025dfe8 sp=0xc00025dfe0 pc=0x7ff64434db21 created by runtime.gcBgMarkStartWorkers in goroutine 1 runtime/mgc.go:1339 +0x105 goroutine 51 gp=0xc0005041c0 m=nil [GC worker (idle)]: runtime.gopark(0x4757cda5e508?, 0x3?, 0x18?, 0x24?, 0x0?) runtime/proc.go:435 +0xce fp=0xc00050df38 sp=0xc00050df18 pc=0x7ff64434598e runtime.gcBgMarkWorker(0xc00013d500) runtime/mgc.go:1423 +0xe9 fp=0xc00050dfc8 sp=0xc00050df38 pc=0x7ff6442f47a9 runtime.gcBgMarkStartWorkers.gowrap1() runtime/mgc.go:1339 +0x25 fp=0xc00050dfe0 sp=0xc00050dfc8 pc=0x7ff6442f4685 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc00050dfe8 sp=0xc00050dfe0 pc=0x7ff64434db21 created by runtime.gcBgMarkStartWorkers in goroutine 1 runtime/mgc.go:1339 +0x105 goroutine 476 gp=0xc0003068c0 m=nil [sync.Mutex.Lock]: runtime.gopark(0xc000e20808?, 0xc000daa330?, 0xa0?, 0x88?, 0x7ff644343419?) runtime/proc.go:435 +0xce fp=0xc000e87a88 sp=0xc000e87a68 pc=0x7ff64434598e runtime.goparkunlock(...) runtime/proc.go:441 runtime.semacquire1(0xc00020ec3c, 0x0, 0x3, 0x2, 0x15) runtime/sema.go:188 +0x22f fp=0xc000e87af0 sp=0xc000e87a88 pc=0x7ff64432750f internal/sync.runtime_SemacquireMutex(0x7ff6447fcb94?, 0xb8?, 0xc000daa330?) runtime/sema.go:95 +0x25 fp=0xc000e87b28 sp=0xc000e87af0 pc=0x7ff644346e65 internal/sync.(*Mutex).lockSlow(0xc00020ec38) internal/sync/mutex.go:149 +0x15d fp=0xc000e87b78 sp=0xc000e87b28 pc=0x7ff644359b7d internal/sync.(*Mutex).Lock(...) internal/sync/mutex.go:70 sync.(*Mutex).Lock(...) sync/mutex.go:46 github.com/ollama/ollama/runner/ollamarunner.(*Server).computeBatch(0xc00020eb40, {0x7, {0x7ff645d3cd40, 0xc0000a7c40}, {0x7ff645d4cc88, 0xc000aa6c30}, {0xc00382cc08, 0x200, 0x25f}, {{0x7ff645d4cc88, ...}, ...}, ...}) github.com/ollama/ollama/runner/ollamarunner/runner.go:728 +0x956 fp=0xc000e87ef0 sp=0xc000e87b78 pc=0x7ff6449b1896 github.com/ollama/ollama/runner/ollamarunner.(*Server).run.gowrap1() github.com/ollama/ollama/runner/ollamarunner/runner.go:459 +0x58 fp=0xc000e87fe0 sp=0xc000e87ef0 pc=0x7ff6449af498 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc000e87fe8 sp=0xc000e87fe0 pc=0x7ff64434db21 created by github.com/ollama/ollama/runner/ollamarunner.(*Server).run in goroutine 66 github.com/ollama/ollama/runner/ollamarunner/runner.go:459 +0x2cd goroutine 514 gp=0xc000307180 m=nil [IO wait, 1 minutes]: runtime.gopark(0x0?, 0xc0001162a0?, 0x48?, 0x63?, 0xc00011634c?) runtime/proc.go:435 +0xce fp=0xc000e73d58 sp=0xc000e73d38 pc=0x7ff64434598e runtime.netpollblock(0x798?, 0x442e0406?, 0xf6?) runtime/netpoll.go:575 +0xf7 fp=0xc000e73d90 sp=0xc000e73d58 pc=0x7ff64430bdf7 internal/poll.runtime_pollWait(0x20159fd1858, 0x72) runtime/netpoll.go:351 +0x85 fp=0xc000e73db0 sp=0xc000e73d90 pc=0x7ff644344b25 internal/poll.(*pollDesc).wait(0x5?, 0x72?, 0x0) internal/poll/fd_poll_runtime.go:84 +0x27 fp=0xc000e73dd8 sp=0xc000e73db0 pc=0x7ff6443dc0c7 internal/poll.execIO(0xc0001162a0, 0x7ff645b72458) internal/poll/fd_windows.go:177 +0x105 fp=0xc000e73e50 sp=0xc000e73dd8 pc=0x7ff6443dd525 internal/poll.(*FD).Read(0xc000116288, {0xc000a980a1, 0x1, 0x1}) internal/poll/fd_windows.go:438 +0x29b fp=0xc000e73ef0 sp=0xc000e73e50 pc=0x7ff6443de1fb net.(*netFD).Read(0xc000116288, {0xc000a980a1?, 0xc000ac6098?, 0xc000e73f70?}) net/fd_posix.go:55 +0x25 fp=0xc000e73f38 sp=0xc000e73ef0 pc=0x7ff644451945 net.(*conn).Read(0xc000616018, {0xc000a980a1?, 0xc0009d00d4?, 0xc?}) net/net.go:194 +0x45 fp=0xc000e73f80 sp=0xc000e73f38 pc=0x7ff644461065 net/http.(*connReader).backgroundRead(0xc000a98090) net/http/server.go:690 +0x37 fp=0xc000e73fc8 sp=0xc000e73f80 pc=0x7ff64465e117 net/http.(*connReader).startBackgroundRead.gowrap2() net/http/server.go:686 +0x25 fp=0xc000e73fe0 sp=0xc000e73fc8 pc=0x7ff64465e045 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc000e73fe8 sp=0xc000e73fe0 pc=0x7ff64434db21 created by net/http.(*connReader).startBackgroundRead in goroutine 498 net/http/server.go:686 +0xb6 goroutine 498 gp=0xc001e86c40 m=nil [select]: runtime.gopark(0xc00004ba08?, 0x2?, 0xc0?, 0xb7?, 0xc00004b86c?) runtime/proc.go:435 +0xce fp=0xc000df3698 sp=0xc000df3678 pc=0x7ff64434598e runtime.selectgo(0xc000df3a08, 0xc00004b868, 0x1000?, 0x0, 0x1?, 0x1) runtime/select.go:351 +0x837 fp=0xc000df37d0 sp=0xc000df3698 pc=0x7ff644326437 github.com/ollama/ollama/runner/ollamarunner.(*Server).completion(0xc00020eb40, {0x7ff645d2d260, 0xc00000c000}, 0xc000466500) github.com/ollama/ollama/runner/ollamarunner/runner.go:956 +0xc4e fp=0xc000df3ac0 sp=0xc000df37d0 pc=0x7ff6449b3a4e github.com/ollama/ollama/runner/ollamarunner.(*Server).completion-fm({0x7ff645d2d260?, 0xc00000c000?}, 0xc00004bb40?) <autogenerated>:1 +0x36 fp=0xc000df3af0 sp=0xc000df3ac0 pc=0x7ff6449b8eb6 net/http.HandlerFunc.ServeHTTP(0xc0000e4240?, {0x7ff645d2d260?, 0xc00000c000?}, 0xc00004bb60?) net/http/server.go:2294 +0x29 fp=0xc000df3b18 sp=0xc000df3af0 pc=0x7ff644665d49 net/http.(*ServeMux).ServeHTTP(0x7ff6442eb785?, {0x7ff645d2d260, 0xc00000c000}, 0xc000466500) net/http/server.go:2822 +0x1c4 fp=0xc000df3b68 sp=0xc000df3b18 pc=0x7ff644667c44 net/http.serverHandler.ServeHTTP({0x7ff645d291b0?}, {0x7ff645d2d260?, 0xc00000c000?}, 0x1?) net/http/server.go:3301 +0x8e fp=0xc000df3b98 sp=0xc000df3b68 pc=0x7ff6446856ce net/http.(*conn).serve(0xc000620120, {0x7ff645d2fab8, 0xc0004223f0}) net/http/server.go:2102 +0x625 fp=0xc000df3fb8 sp=0xc000df3b98 pc=0x7ff644664245 net/http.(*Server).Serve.gowrap3() net/http/server.go:3454 +0x28 fp=0xc000df3fe0 sp=0xc000df3fb8 pc=0x7ff644669b08 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc000df3fe8 sp=0xc000df3fe0 pc=0x7ff64434db21 created by net/http.(*Server).Serve in goroutine 1 net/http/server.go:3454 +0x485 rax 0x201a12cc210 rbx 0x2019cce3380 rcx 0x0 rdx 0x88000 rdi 0x201e59d36b0 rsi 0x0 rbp 0xffffffff rsp 0x77ee5ff4b0 r8 0x88000 r9 0x3b8 r10 0x1 r11 0x20 r12 0x201e59d36f0 r13 0x201fdac2df0 r14 0x2a8000 r15 0x201fdac2de0 rip 0x7ffc89efc5c7 rflags 0x10287 cs 0x33 fs 0x53 gs 0x2b time=2026-03-31T13:33:16.667+02:00 level=ERROR source=server.go:1612 msg="post predict" error="Post \"http://127.0.0.1:51867/completion\": read tcp 127.0.0.1:61407->127.0.0.1:51867: wsarecv: An existing connection was forcibly closed by the remote host." [GIN] 2026/03/31 - 13:33:17 | 500 | 7m13s | 127.0.0.1 | POST "/v1/chat/completions" ``` ### OS Windows ### GPU Nvidia ### CPU Intel ### Ollama version 0.18.3
GiteaMirror added the needs more infobug labels 2026-04-22 19:58:05 -05:00
Author
Owner

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

Set OLLAMA_DEBUG=2 for more information.

Exception 0xc0000005 is an access violation, combined with the small amount of VRAM I speculate that this is an OOM issue with a failed alloc causing an invalid pointer. See here for ways to mitigate OOMs.

<!-- gh-comment-id:4175776526 --> @rick-github commented on GitHub (Apr 2, 2026): Set `OLLAMA_DEBUG=2` for more information. `Exception 0xc0000005` is an access violation, combined with the small amount of VRAM I speculate that this is an OOM issue with a failed alloc causing an invalid pointer. See [here](https://github.com/ollama/ollama/issues/8597#issuecomment-2614533288) for ways to mitigate OOMs.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#35469