[GH-ISSUE #11126] Ollama engine errors when for very small num_ctx #33097

Closed
opened 2026-04-22 15:23:05 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @ParthSareen on GitHub (Jun 18, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/11126

Originally assigned to: @jessegross on GitHub.

What is the issue?

Ollama engine errors when num_ctx is set to an amount less than 241 tokens

The error:

{
  "error": "llama runner process has terminated: GGML_ASSERT(view_src == NULL || data_size == 0 || data_size + view_offs <= ggml_nbytes(view_src)) failed"
}

Steps to reproduce:

  1. Make a request with num_ctx set to 10

Relevant log output

time=2025-06-18T16:54:26.151-07:00 level=INFO source=ggml.go:104 msg=system Metal.0.EMBED_LIBRARY=1 CPU.0.NEON=1 CPU.0.ARM_FMA=1 CPU.0.FP16_VA=1 CPU.0.DOTPROD=1 CPU.0.LLAMAFILE=1 CPU.0.ACCELERATE=1 compiler=cgo(clang)
time=2025-06-18T16:54:26.265-07:00 level=INFO source=ggml.go:357 msg="model weights" buffer=Metal size="3.1 GiB"
time=2025-06-18T16:54:26.265-07:00 level=INFO source=ggml.go:357 msg="model weights" buffer=CPU size="525.0 MiB"
ggml_metal_init: allocating
ggml_metal_init: picking default device: Apple M4 Max
ggml_metal_load_library: using embedded metal library
ggml_metal_init: GPU name:   Apple M4 Max
ggml_metal_init: GPU family: MTLGPUFamilyApple9  (1009)
ggml_metal_init: GPU family: MTLGPUFamilyCommon3 (3003)
ggml_metal_init: GPU family: MTLGPUFamilyMetal3  (5001)
ggml_metal_init: simdgroup reduction   = true
ggml_metal_init: simdgroup matrix mul. = true
ggml_metal_init: has residency sets    = true
ggml_metal_init: has bfloat            = true
ggml_metal_init: use bfloat            = false
ggml_metal_init: hasUnifiedMemory      = true
ggml_metal_init: recommendedMaxWorkingSetSize  = 103079.22 MB
ggml_metal_init: skipping kernel_get_rows_bf16                     (not supported)
ggml_metal_init: skipping kernel_mul_mv_bf16_f32                   (not supported)
ggml_metal_init: skipping kernel_mul_mv_bf16_f32_1row              (not supported)
ggml_metal_init: skipping kernel_mul_mv_bf16_f32_l4                (not supported)
ggml_metal_init: skipping kernel_mul_mv_bf16_bf16                  (not supported)
ggml_metal_init: skipping kernel_mul_mv_id_bf16_f32                (not supported)
ggml_metal_init: skipping kernel_mul_mm_bf16_f32                   (not supported)
ggml_metal_init: skipping kernel_mul_mm_id_bf16_f16                (not supported)
ggml_metal_init: skipping kernel_flash_attn_ext_bf16_h64           (not supported)
ggml_metal_init: skipping kernel_flash_attn_ext_bf16_h80           (not supported)
ggml_metal_init: skipping kernel_flash_attn_ext_bf16_h96           (not supported)
ggml_metal_init: skipping kernel_flash_attn_ext_bf16_h112          (not supported)
ggml_metal_init: skipping kernel_flash_attn_ext_bf16_h128          (not supported)
ggml_metal_init: skipping kernel_flash_attn_ext_bf16_h192          (not supported)
ggml_metal_init: skipping kernel_flash_attn_ext_bf16_hk192_hv128   (not supported)
ggml_metal_init: skipping kernel_flash_attn_ext_bf16_h256          (not supported)
ggml_metal_init: skipping kernel_flash_attn_ext_bf16_hk576_hv512   (not supported)
ggml_metal_init: skipping kernel_flash_attn_ext_vec_bf16_h96       (not supported)
ggml_metal_init: skipping kernel_flash_attn_ext_vec_bf16_h128      (not supported)
ggml_metal_init: skipping kernel_flash_attn_ext_vec_bf16_h192      (not supported)
ggml_metal_init: skipping kernel_flash_attn_ext_vec_bf16_hk192_hv128 (not supported)
ggml_metal_init: skipping kernel_flash_attn_ext_vec_bf16_h256      (not supported)
ggml_metal_init: skipping kernel_flash_attn_ext_vec_bf16_hk576_hv512 (not supported)
ggml_metal_init: skipping kernel_cpy_f32_bf16                      (not supported)
ggml_metal_init: skipping kernel_cpy_bf16_f32                      (not supported)
ggml_metal_init: skipping kernel_cpy_bf16_bf16                     (not supported)
time=2025-06-18T16:54:26.362-07:00 level=INFO source=server.go:625 msg="waiting for server to become available" status="llm server loading model"
time=2025-06-18T16:54:26.379-07:00 level=INFO source=ggml.go:644 msg="compute graph" backend=Metal buffer_type=Metal size="1.1 GiB"
time=2025-06-18T16:54:26.379-07:00 level=INFO source=ggml.go:644 msg="compute graph" backend=BLAS buffer_type=CPU size="0 B"
time=2025-06-18T16:54:26.379-07:00 level=INFO source=ggml.go:644 msg="compute graph" backend=CPU buffer_type=CPU size="0 B"
ggml.c:1554: GGML_ASSERT(view_src == NULL || data_size == 0 || data_size + view_offs <= ggml_nbytes(view_src)) failed
SIGABRT: abort
PC=0x198c0e600 m=7 sigcode=0
signal arrived during cgo execution

goroutine 10 gp=0x140000c2e00 m=7 mp=0x14000500008 [syscall]:
runtime.cgocall(0x102e641cc, 0x14000689318)
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/cgocall.go:167 +0x44 fp=0x140006892e0 sp=0x140006892a0 pc=0x102369574
github.com/ollama/ollama/ml/backend/ggml._Cfunc_ggml_view_1d(0x12d85d750, 0x12d104020, 0x80000, 0x0)
        _cgo_gotypes.go:1931 +0x34 fp=0x14000689310 sp=0x140006892e0 pc=0x102737aa4
github.com/ollama/ollama/ml/backend/ggml.(*Tensor).View.func1(...)
        /Users/parth/Documents/repos/ollama/ml/backend/ggml/ggml.go:1115
github.com/ollama/ollama/ml/backend/ggml.(*Tensor).View(0x14001cb0948, {0x1034bb950?, 0x14001d67a00?}, 0x0, {0x14009a51ed8?, 0x10236cce0?, 0x0?})
        /Users/parth/Documents/repos/ollama/ml/backend/ggml/ggml.go:1115 +0xc8 fp=0x14000689430 sp=0x14000689310 pc=0x102740c38
github.com/ollama/ollama/kvcache.(*Causal).Put(0x140007864b0, {0x1034bb950, 0x14001d67a00}, {0x1034c5da8, 0x14001cb08d0}, {0x1034c5da8, 0x14001cb0918})
        /Users/parth/Documents/repos/ollama/kvcache/causal.go:571 +0x504 fp=0x14000689530 sp=0x14000689430 pc=0x102730fd4
github.com/ollama/ollama/kvcache.(*WrapperCache).Put(0x100?, {0x1034bb950?, 0x14001d67a00?}, {0x1034c5da8?, 0x14001cb08d0?}, {0x1034c5da8?, 0x14001cb0918?})
        /Users/parth/Documents/repos/ollama/kvcache/wrapper.go:81 +0x5c fp=0x14000689580 sp=0x14000689530 pc=0x10273304c
github.com/ollama/ollama/ml/nn.Attention({0x1034bb950, 0x14001d67a00}, {0x1034c5da8, 0x14001cb0840}, {0x1034c5da8, 0x14001cb08d0}, {0x1034c5da8, 0x14001cb0918}, 0x3ff0000000000000, {0x1034bab58, ...})
        /Users/parth/Documents/repos/ollama/ml/nn/attention.go:39 +0x134 fp=0x14000689660 sp=0x14000689580 pc=0x102762224
github.com/ollama/ollama/model/models/gemma3.(*TextSelfAttention).Forward(0x14001d24150, {0x1034bb950, 0x14001d67a00}, 0x0, {0x1034c5da8, 0x14001cb0798}, {0x1034c5da8, 0x14001cb06d8}, {0x1034bab58, 0x140002775c0}, ...)
        /Users/parth/Documents/repos/ollama/model/models/gemma3/model_text.go:104 +0x3b4 fp=0x14000689720 sp=0x14000689660 pc=0x102797a54
github.com/ollama/ollama/model/models/gemma3.(*TextLayer).Forward(0x14000689888, {0x1034bb950, 0x14001d67a00}, 0x0, {0x1034c5da8, 0x14001cb0720}, {0x1034c5da8, 0x14001cb06d8}, {0x0, 0x0}, ...)
        /Users/parth/Documents/repos/ollama/model/models/gemma3/model_text.go:143 +0xa4 fp=0x140006897b0 sp=0x14000689720 pc=0x102797db4
github.com/ollama/ollama/model/models/gemma3.(*TextModel).Forward(0x14001cb3f00, {0x1034bb950, 0x14001d67a00}, {0x1034c5da8?, 0x14001cb0678?}, {0x1034c5da8, 0x14001cb06d8}, {0x1034c5da8, 0x14001cb06f0}, {{0x1034c5da8, ...}, ...}, ...)
        /Users/parth/Documents/repos/ollama/model/models/gemma3/model_text.go:197 +0x2c0 fp=0x14000689910 sp=0x140006897b0 pc=0x102798220
github.com/ollama/ollama/model/models/gemma3.(*Model).Forward(0x14001c76de0, {0x1034bb950, 0x14001d67a00}, {{0x1034c5da8, 0x14001cb0678}, {0x14001d70160, 0x1, 0x1}, {0x14009a6c000, 0x200, ...}, ...})
        /Users/parth/Documents/repos/ollama/model/models/gemma3/model.go:147 +0x16c fp=0x14000689a10 sp=0x14000689910 pc=0x1027971fc
github.com/ollama/ollama/runner/ollamarunner.(*Server).reserveWorstCaseGraph(0x14000144240)
        /Users/parth/Documents/repos/ollama/runner/ollamarunner/runner.go:854 +0x848 fp=0x14000689d60 sp=0x14000689a10 pc=0x1027bdb48
github.com/ollama/ollama/runner/ollamarunner.(*Server).initModel(0x14000144240, {0x16db06c69?, 0x0?}, {0xc, 0x0, 0x23, {0x0, 0x0, 0x0}, 0x0}, ...)
        /Users/parth/Documents/repos/ollama/runner/ollamarunner/runner.go:898 +0x224 fp=0x14000689dc0 sp=0x14000689d60 pc=0x1027be004
github.com/ollama/ollama/runner/ollamarunner.(*Server).load(0x14000144240, {0x1034b3750, 0x140000ec4b0}, {0x16db06c69?, 0x0?}, {0xc, 0x0, 0x23, {0x0, 0x0, ...}, ...}, ...)
        /Users/parth/Documents/repos/ollama/runner/ollamarunner/runner.go:911 +0xa8 fp=0x14000689f20 sp=0x14000689dc0 pc=0x1027be178
github.com/ollama/ollama/runner/ollamarunner.Execute.gowrap1()
        /Users/parth/Documents/repos/ollama/runner/ollamarunner/runner.go:992 +0x88 fp=0x14000689fd0 sp=0x14000689f20 pc=0x1027bf1f8
runtime.goexit({})
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x14000689fd0 sp=0x14000689fd0 pc=0x102374e54
created by github.com/ollama/ollama/runner/ollamarunner.Execute in goroutine 1
        /Users/parth/Documents/repos/ollama/runner/ollamarunner/runner.go:992 +0x840

goroutine 1 gp=0x140000021c0 m=nil [IO wait]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/proc.go:435 +0xc8 fp=0x1400068b5e0 sp=0x1400068b5c0 pc=0x10236ca98
runtime.netpollblock(0x1400068b678?, 0x23f1360?, 0x1?)
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/netpoll.go:575 +0x158 fp=0x1400068b620 sp=0x1400068b5e0 pc=0x102332668
internal/poll.runtime_pollWait(0x12ab9e390, 0x72)
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/netpoll.go:351 +0xa0 fp=0x1400068b650 sp=0x1400068b620 pc=0x10236bc50
internal/poll.(*pollDesc).wait(0x14000723c80?, 0x1023f35c8?, 0x0)
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/internal/poll/fd_poll_runtime.go:84 +0x28 fp=0x1400068b680 sp=0x1400068b650 pc=0x1023ecb78
internal/poll.(*pollDesc).waitRead(...)
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/internal/poll/fd_poll_runtime.go:89
internal/poll.(*FD).Accept(0x14000723c80)
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/internal/poll/fd_unix.go:620 +0x24c fp=0x1400068b730 sp=0x1400068b680 pc=0x1023f144c
net.(*netFD).accept(0x14000723c80)
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/net/fd_unix.go:172 +0x28 fp=0x1400068b7f0 sp=0x1400068b730 pc=0x102460688
net.(*TCPListener).accept(0x14000707900)
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/net/tcpsock_posix.go:159 +0x24 fp=0x1400068b840 sp=0x1400068b7f0 pc=0x1024748e4
net.(*TCPListener).Accept(0x14000707900)
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/net/tcpsock.go:380 +0x2c fp=0x1400068b880 sp=0x1400068b840 pc=0x1024738cc
net/http.(*onceCloseListener).Accept(0x140002362d0?)
        <autogenerated>:1 +0x30 fp=0x1400068b8a0 sp=0x1400068b880 pc=0x10264f270
net/http.(*Server).Serve(0x140001f5600, {0x1034b12f8, 0x14000707900})
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/net/http/server.go:3424 +0x290 fp=0x1400068b9d0 sp=0x1400068b8a0 pc=0x102628910
github.com/ollama/ollama/runner/ollamarunner.Execute({0x14000144030, 0xe, 0xf})
        /Users/parth/Documents/repos/ollama/runner/ollamarunner/runner.go:1017 +0xb78 fp=0x1400068bce0 sp=0x1400068b9d0 pc=0x1027beec8
github.com/ollama/ollama/runner.Execute({0x14000144010?, 0x0?, 0x0?})
        /Users/parth/Documents/repos/ollama/runner/runner.go:20 +0x120 fp=0x1400068bd10 sp=0x1400068bce0 pc=0x1027bf770
github.com/ollama/ollama/cmd.NewCLI.func2(0x140001f5400?, {0x10303c332?, 0x4?, 0x10303c336?})
        /Users/parth/Documents/repos/ollama/cmd/cmd.go:1529 +0x54 fp=0x1400068bd40 sp=0x1400068bd10 pc=0x102e14634
github.com/spf13/cobra.(*Command).execute(0x14000014f08, {0x14000786ff0, 0xf, 0xf})
        /Users/parth/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:940 +0x680 fp=0x1400068be60 sp=0x1400068bd40 pc=0x1024cee80
github.com/spf13/cobra.(*Command).ExecuteC(0x140000c6908)
        /Users/parth/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:1068 +0x320 fp=0x1400068bf20 sp=0x1400068be60 pc=0x1024cf5d0
github.com/spf13/cobra.(*Command).Execute(...)
        /Users/parth/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:992
github.com/spf13/cobra.(*Command).ExecuteContext(...)
        /Users/parth/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:985
main.main()
        /Users/parth/Documents/repos/ollama/main.go:12 +0x54 fp=0x1400068bf40 sp=0x1400068bf20 pc=0x102e15114
runtime.main()
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/proc.go:283 +0x284 fp=0x1400068bfd0 sp=0x1400068bf40 pc=0x102339214
runtime.goexit({})
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x1400068bfd0 sp=0x1400068bfd0 pc=0x102374e54

goroutine 2 gp=0x14000002c40 m=nil [force gc (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/proc.go:435 +0xc8 fp=0x1400008af90 sp=0x1400008af70 pc=0x10236ca98
runtime.goparkunlock(...)
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/proc.go:441
runtime.forcegchelper()
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/proc.go:348 +0xb8 fp=0x1400008afd0 sp=0x1400008af90 pc=0x102339568
runtime.goexit({})
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x1400008afd0 sp=0x1400008afd0 pc=0x102374e54
created by runtime.init.7 in goroutine 1
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/proc.go:336 +0x24

goroutine 3 gp=0x14000003180 m=nil [GC sweep wait]:
runtime.gopark(0x1?, 0x0?, 0x0?, 0x0?, 0x0?)
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/proc.go:435 +0xc8 fp=0x1400008b760 sp=0x1400008b740 pc=0x10236ca98
runtime.goparkunlock(...)
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/proc.go:441
runtime.bgsweep(0x14000044180)
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgcsweep.go:316 +0x108 fp=0x1400008b7b0 sp=0x1400008b760 pc=0x102324608
runtime.gcenable.gowrap1()
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:204 +0x28 fp=0x1400008b7d0 sp=0x1400008b7b0 pc=0x102318408
runtime.goexit({})
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x1400008b7d0 sp=0x1400008b7d0 pc=0x102374e54
created by runtime.gcenable in goroutine 1
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:204 +0x6c

goroutine 4 gp=0x140000036c0 m=nil [GC scavenge wait]:
runtime.gopark(0x10000?, 0x1031ef0a8?, 0x0?, 0x0?, 0x0?)
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/proc.go:435 +0xc8 fp=0x1400008bf60 sp=0x1400008bf40 pc=0x10236ca98
runtime.goparkunlock(...)
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/proc.go:441
runtime.(*scavengerState).park(0x103d5fe80)
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgcscavenge.go:425 +0x5c fp=0x1400008bf90 sp=0x1400008bf60 pc=0x10232209c
runtime.bgscavenge(0x14000044180)
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgcscavenge.go:658 +0xac fp=0x1400008bfb0 sp=0x1400008bf90 pc=0x10232263c
runtime.gcenable.gowrap2()
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:205 +0x28 fp=0x1400008bfd0 sp=0x1400008bfb0 pc=0x1023183a8
runtime.goexit({})
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x1400008bfd0 sp=0x1400008bfd0 pc=0x102374e54
created by runtime.gcenable in goroutine 1
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:205 +0xac

goroutine 18 gp=0x14000102700 m=nil [finalizer wait]:
runtime.gopark(0x180008a5c8?, 0x1000000000000?, 0xf8?, 0xa5?, 0x102651bdc?)
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/proc.go:435 +0xc8 fp=0x1400008a590 sp=0x1400008a570 pc=0x10236ca98
runtime.runfinq()
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mfinal.go:196 +0x108 fp=0x1400008a7d0 sp=0x1400008a590 pc=0x102317408
runtime.goexit({})
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x1400008a7d0 sp=0x1400008a7d0 pc=0x102374e54
created by runtime.createfing in goroutine 1
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mfinal.go:166 +0x80

goroutine 19 gp=0x14000103180 m=nil [chan receive]:
runtime.gopark(0x14000227860?, 0x14001d6c048?, 0x48?, 0x67?, 0x102434958?)
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/proc.go:435 +0xc8 fp=0x140000866f0 sp=0x140000866d0 pc=0x10236ca98
runtime.chanrecv(0x140001104d0, 0x0, 0x1)
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/chan.go:664 +0x42c fp=0x14000086770 sp=0x140000866f0 pc=0x1023096ac
runtime.chanrecv1(0x0?, 0x0?)
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/chan.go:506 +0x14 fp=0x140000867a0 sp=0x14000086770 pc=0x102309244
runtime.unique_runtime_registerUniqueMapCleanup.func2(...)
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1796
runtime.unique_runtime_registerUniqueMapCleanup.gowrap1()
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1799 +0x3c fp=0x140000867d0 sp=0x140000867a0 pc=0x10231b62c
runtime.goexit({})
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x140000867d0 sp=0x140000867d0 pc=0x102374e54
created by unique.runtime_registerUniqueMapCleanup in goroutine 1
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1794 +0x78

goroutine 20 gp=0x14000103500 m=nil [GC worker (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/proc.go:435 +0xc8 fp=0x14000086f10 sp=0x14000086ef0 pc=0x10236ca98
runtime.gcBgMarkWorker(0x140001118f0)
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1423 +0xdc fp=0x14000086fb0 sp=0x14000086f10 pc=0x10231a89c
runtime.gcBgMarkStartWorkers.gowrap1()
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1339 +0x28 fp=0x14000086fd0 sp=0x14000086fb0 pc=0x10231a788
runtime.goexit({})
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x14000086fd0 sp=0x14000086fd0 pc=0x102374e54
created by runtime.gcBgMarkStartWorkers in goroutine 1
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1339 +0x140

goroutine 34 gp=0x1400029e000 m=nil [GC worker (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/proc.go:435 +0xc8 fp=0x140002a4710 sp=0x140002a46f0 pc=0x10236ca98
runtime.gcBgMarkWorker(0x140001118f0)
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1423 +0xdc fp=0x140002a47b0 sp=0x140002a4710 pc=0x10231a89c
runtime.gcBgMarkStartWorkers.gowrap1()
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1339 +0x28 fp=0x140002a47d0 sp=0x140002a47b0 pc=0x10231a788
runtime.goexit({})
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x140002a47d0 sp=0x140002a47d0 pc=0x102374e54
created by runtime.gcBgMarkStartWorkers in goroutine 1
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1339 +0x140

goroutine 5 gp=0x14000003880 m=nil [GC worker (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/proc.go:435 +0xc8 fp=0x1400008c710 sp=0x1400008c6f0 pc=0x10236ca98
runtime.gcBgMarkWorker(0x140001118f0)
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1423 +0xdc fp=0x1400008c7b0 sp=0x1400008c710 pc=0x10231a89c
runtime.gcBgMarkStartWorkers.gowrap1()
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1339 +0x28 fp=0x1400008c7d0 sp=0x1400008c7b0 pc=0x10231a788
runtime.goexit({})
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x1400008c7d0 sp=0x1400008c7d0 pc=0x102374e54
created by runtime.gcBgMarkStartWorkers in goroutine 1
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1339 +0x140

goroutine 21 gp=0x140001036c0 m=nil [GC worker (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/proc.go:435 +0xc8 fp=0x14000087710 sp=0x140000876f0 pc=0x10236ca98
runtime.gcBgMarkWorker(0x140001118f0)
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1423 +0xdc fp=0x140000877b0 sp=0x14000087710 pc=0x10231a89c
runtime.gcBgMarkStartWorkers.gowrap1()
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1339 +0x28 fp=0x140000877d0 sp=0x140000877b0 pc=0x10231a788
runtime.goexit({})
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x140000877d0 sp=0x140000877d0 pc=0x102374e54
created by runtime.gcBgMarkStartWorkers in goroutine 1
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1339 +0x140

goroutine 35 gp=0x1400029e1c0 m=nil [GC worker (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/proc.go:435 +0xc8 fp=0x140002a4f10 sp=0x140002a4ef0 pc=0x10236ca98
runtime.gcBgMarkWorker(0x140001118f0)
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1423 +0xdc fp=0x140002a4fb0 sp=0x140002a4f10 pc=0x10231a89c
runtime.gcBgMarkStartWorkers.gowrap1()
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1339 +0x28 fp=0x140002a4fd0 sp=0x140002a4fb0 pc=0x10231a788
runtime.goexit({})
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x140002a4fd0 sp=0x140002a4fd0 pc=0x102374e54
created by runtime.gcBgMarkStartWorkers in goroutine 1
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1339 +0x140

goroutine 6 gp=0x14000003a40 m=nil [GC worker (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/proc.go:435 +0xc8 fp=0x1400008cf10 sp=0x1400008cef0 pc=0x10236ca98
runtime.gcBgMarkWorker(0x140001118f0)
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1423 +0xdc fp=0x1400008cfb0 sp=0x1400008cf10 pc=0x10231a89c
runtime.gcBgMarkStartWorkers.gowrap1()
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1339 +0x28 fp=0x1400008cfd0 sp=0x1400008cfb0 pc=0x10231a788
runtime.goexit({})
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x1400008cfd0 sp=0x1400008cfd0 pc=0x102374e54
created by runtime.gcBgMarkStartWorkers in goroutine 1
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1339 +0x140

goroutine 22 gp=0x14000103880 m=nil [GC worker (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/proc.go:435 +0xc8 fp=0x14000087f10 sp=0x14000087ef0 pc=0x10236ca98
runtime.gcBgMarkWorker(0x140001118f0)
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1423 +0xdc fp=0x14000087fb0 sp=0x14000087f10 pc=0x10231a89c
runtime.gcBgMarkStartWorkers.gowrap1()
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1339 +0x28 fp=0x14000087fd0 sp=0x14000087fb0 pc=0x10231a788
runtime.goexit({})
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x14000087fd0 sp=0x14000087fd0 pc=0x102374e54
created by runtime.gcBgMarkStartWorkers in goroutine 1
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1339 +0x140

goroutine 36 gp=0x1400029e380 m=nil [GC worker (idle)]:
runtime.gopark(0x1b51c8f29c8c?, 0x1?, 0xdd?, 0xf5?, 0x0?)
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/proc.go:435 +0xc8 fp=0x140002a5710 sp=0x140002a56f0 pc=0x10236ca98
runtime.gcBgMarkWorker(0x140001118f0)
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1423 +0xdc fp=0x140002a57b0 sp=0x140002a5710 pc=0x10231a89c
runtime.gcBgMarkStartWorkers.gowrap1()
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1339 +0x28 fp=0x140002a57d0 sp=0x140002a57b0 pc=0x10231a788
runtime.goexit({})
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x140002a57d0 sp=0x140002a57d0 pc=0x102374e54
created by runtime.gcBgMarkStartWorkers in goroutine 1
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1339 +0x140

goroutine 7 gp=0x14000003c00 m=nil [GC worker (idle)]:
runtime.gopark(0x1b51c8f2e9b2?, 0x1?, 0x6c?, 0xe2?, 0x0?)
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/proc.go:435 +0xc8 fp=0x1400008d710 sp=0x1400008d6f0 pc=0x10236ca98
runtime.gcBgMarkWorker(0x140001118f0)
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1423 +0xdc fp=0x1400008d7b0 sp=0x1400008d710 pc=0x10231a89c
runtime.gcBgMarkStartWorkers.gowrap1()
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1339 +0x28 fp=0x1400008d7d0 sp=0x1400008d7b0 pc=0x10231a788
runtime.goexit({})
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x1400008d7d0 sp=0x1400008d7d0 pc=0x102374e54
created by runtime.gcBgMarkStartWorkers in goroutine 1
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1339 +0x140

goroutine 23 gp=0x14000103a40 m=nil [GC worker (idle)]:
runtime.gopark(0x1b51c8f29e80?, 0x3?, 0x7?, 0xde?, 0x0?)
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/proc.go:435 +0xc8 fp=0x14000088710 sp=0x140000886f0 pc=0x10236ca98
runtime.gcBgMarkWorker(0x140001118f0)
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1423 +0xdc fp=0x140000887b0 sp=0x14000088710 pc=0x10231a89c
runtime.gcBgMarkStartWorkers.gowrap1()
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1339 +0x28 fp=0x140000887d0 sp=0x140000887b0 pc=0x10231a788
runtime.goexit({})
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x140000887d0 sp=0x140000887d0 pc=0x102374e54
created by runtime.gcBgMarkStartWorkers in goroutine 1
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1339 +0x140

goroutine 37 gp=0x1400029e540 m=nil [GC worker (idle)]:
runtime.gopark(0x1b51c921f7ec?, 0x3?, 0xd0?, 0x8?, 0x0?)
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/proc.go:435 +0xc8 fp=0x140002a5f10 sp=0x140002a5ef0 pc=0x10236ca98
runtime.gcBgMarkWorker(0x140001118f0)
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1423 +0xdc fp=0x140002a5fb0 sp=0x140002a5f10 pc=0x10231a89c
runtime.gcBgMarkStartWorkers.gowrap1()
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1339 +0x28 fp=0x140002a5fd0 sp=0x140002a5fb0 pc=0x10231a788
runtime.goexit({})
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x140002a5fd0 sp=0x140002a5fd0 pc=0x102374e54
created by runtime.gcBgMarkStartWorkers in goroutine 1
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1339 +0x140

goroutine 8 gp=0x14000003dc0 m=nil [GC worker (idle)]:
runtime.gopark(0x103d906e0?, 0x3?, 0xd8?, 0x45?, 0x0?)
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/proc.go:435 +0xc8 fp=0x1400008df10 sp=0x1400008def0 pc=0x10236ca98
runtime.gcBgMarkWorker(0x140001118f0)
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1423 +0xdc fp=0x1400008dfb0 sp=0x1400008df10 pc=0x10231a89c
runtime.gcBgMarkStartWorkers.gowrap1()
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1339 +0x28 fp=0x1400008dfd0 sp=0x1400008dfb0 pc=0x10231a788
runtime.goexit({})
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x1400008dfd0 sp=0x1400008dfd0 pc=0x102374e54
created by runtime.gcBgMarkStartWorkers in goroutine 1
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1339 +0x140

goroutine 24 gp=0x14000103c00 m=nil [GC worker (idle)]:
runtime.gopark(0x1b51c9230068?, 0x1?, 0x44?, 0xd4?, 0x0?)
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/proc.go:435 +0xc8 fp=0x14000088f10 sp=0x14000088ef0 pc=0x10236ca98
runtime.gcBgMarkWorker(0x140001118f0)
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1423 +0xdc fp=0x14000088fb0 sp=0x14000088f10 pc=0x10231a89c
runtime.gcBgMarkStartWorkers.gowrap1()
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1339 +0x28 fp=0x14000088fd0 sp=0x14000088fb0 pc=0x10231a788
runtime.goexit({})
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x14000088fd0 sp=0x14000088fd0 pc=0x102374e54
created by runtime.gcBgMarkStartWorkers in goroutine 1
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1339 +0x140

goroutine 38 gp=0x1400029e700 m=nil [GC worker (idle)]:
runtime.gopark(0x1b51c8f294e6?, 0x1?, 0x28?, 0x28?, 0x0?)
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/proc.go:435 +0xc8 fp=0x140002a6710 sp=0x140002a66f0 pc=0x10236ca98
runtime.gcBgMarkWorker(0x140001118f0)
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1423 +0xdc fp=0x140002a67b0 sp=0x140002a6710 pc=0x10231a89c
runtime.gcBgMarkStartWorkers.gowrap1()
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1339 +0x28 fp=0x140002a67d0 sp=0x140002a67b0 pc=0x10231a788
runtime.goexit({})
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x140002a67d0 sp=0x140002a67d0 pc=0x102374e54
created by runtime.gcBgMarkStartWorkers in goroutine 1
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1339 +0x140

goroutine 9 gp=0x140000c2000 m=nil [GC worker (idle)]:
runtime.gopark(0x1b51c8f2ead6?, 0x1?, 0x30?, 0xab?, 0x0?)
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/proc.go:435 +0xc8 fp=0x140002a0710 sp=0x140002a06f0 pc=0x10236ca98
runtime.gcBgMarkWorker(0x140001118f0)
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1423 +0xdc fp=0x140002a07b0 sp=0x140002a0710 pc=0x10231a89c
runtime.gcBgMarkStartWorkers.gowrap1()
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1339 +0x28 fp=0x140002a07d0 sp=0x140002a07b0 pc=0x10231a788
runtime.goexit({})
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x140002a07d0 sp=0x140002a07d0 pc=0x102374e54
created by runtime.gcBgMarkStartWorkers in goroutine 1
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1339 +0x140

goroutine 25 gp=0x14000103dc0 m=nil [GC worker (idle)]:
runtime.gopark(0x103d906e0?, 0x1?, 0xe9?, 0xbd?, 0x0?)
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/proc.go:435 +0xc8 fp=0x14000089710 sp=0x140000896f0 pc=0x10236ca98
runtime.gcBgMarkWorker(0x140001118f0)
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1423 +0xdc fp=0x140000897b0 sp=0x14000089710 pc=0x10231a89c
runtime.gcBgMarkStartWorkers.gowrap1()
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1339 +0x28 fp=0x140000897d0 sp=0x140000897b0 pc=0x10231a788
runtime.goexit({})
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x140000897d0 sp=0x140000897d0 pc=0x102374e54
created by runtime.gcBgMarkStartWorkers in goroutine 1
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1339 +0x140

goroutine 11 gp=0x140000c2fc0 m=nil [sync.WaitGroup.Wait]:
runtime.gopark(0x103d73460?, 0x0?, 0x20?, 0x3f?, 0x0?)
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/proc.go:435 +0xc8 fp=0x140002a2ed0 sp=0x140002a2eb0 pc=0x10236ca98
runtime.goparkunlock(...)
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/proc.go:441
runtime.semacquire1(0x14000144248, 0x0, 0x1, 0x0, 0x18)
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/sema.go:188 +0x204 fp=0x140002a2f20 sp=0x140002a2ed0 pc=0x10234d6f4
sync.runtime_SemacquireWaitGroup(0x0?)
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/sema.go:110 +0x2c fp=0x140002a2f60 sp=0x140002a2f20 pc=0x10236e50c
sync.(*WaitGroup).Wait(0x14000144240)
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/sync/waitgroup.go:118 +0x70 fp=0x140002a2f80 sp=0x140002a2f60 pc=0x102380730
github.com/ollama/ollama/runner/ollamarunner.(*Server).run(0x14000144240, {0x1034b3750, 0x140000ec4b0})
        /Users/parth/Documents/repos/ollama/runner/ollamarunner/runner.go:382 +0x2c fp=0x140002a2fa0 sp=0x140002a2f80 pc=0x1027ba8fc
github.com/ollama/ollama/runner/ollamarunner.Execute.gowrap2()
        /Users/parth/Documents/repos/ollama/runner/ollamarunner/runner.go:993 +0x30 fp=0x140002a2fd0 sp=0x140002a2fa0 pc=0x1027bf130
runtime.goexit({})
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x140002a2fd0 sp=0x140002a2fd0 pc=0x102374e54
created by github.com/ollama/ollama/runner/ollamarunner.Execute in goroutine 1
        /Users/parth/Documents/repos/ollama/runner/ollamarunner/runner.go:993 +0x898

goroutine 12 gp=0x1400029f6c0 m=nil [IO wait]:
runtime.gopark(0xffffffffffffffff?, 0xffffffffffffffff?, 0x23?, 0x0?, 0x102390930?)
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/proc.go:435 +0xc8 fp=0x1400068f8e0 sp=0x1400068f8c0 pc=0x10236ca98
runtime.netpollblock(0x0?, 0x0?, 0x0?)
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/netpoll.go:575 +0x158 fp=0x1400068f920 sp=0x1400068f8e0 pc=0x102332668
internal/poll.runtime_pollWait(0x12ab9e278, 0x72)
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/netpoll.go:351 +0xa0 fp=0x1400068f950 sp=0x1400068f920 pc=0x10236bc50
internal/poll.(*pollDesc).wait(0x140001d0000?, 0x14009a6f000?, 0x0)
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/internal/poll/fd_poll_runtime.go:84 +0x28 fp=0x1400068f980 sp=0x1400068f950 pc=0x1023ecb78
internal/poll.(*pollDesc).waitRead(...)
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/internal/poll/fd_poll_runtime.go:89
internal/poll.(*FD).Read(0x140001d0000, {0x14009a6f000, 0x1000, 0x1000})
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/internal/poll/fd_unix.go:165 +0x1fc fp=0x1400068fa20 sp=0x1400068f980 pc=0x1023ede2c
net.(*netFD).Read(0x140001d0000, {0x14009a6f000?, 0x1400068fab8?, 0x10261e86c?})
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/net/fd_posix.go:55 +0x28 fp=0x1400068fa70 sp=0x1400068fa20 pc=0x10245ec58
net.(*conn).Read(0x14000724000, {0x14009a6f000?, 0x72?, 0x0?})
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/net/net.go:194 +0x34 fp=0x1400068fac0 sp=0x1400068fa70 pc=0x10246bb24
net/http.(*connReader).Read(0x14001d6e0f0, {0x14009a6f000, 0x1000, 0x1000})
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/net/http/server.go:798 +0x234 fp=0x1400068fb20 sp=0x1400068fac0 pc=0x10261ea74
bufio.(*Reader).fill(0x140000c0120)
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/bufio/bufio.go:113 +0xf8 fp=0x1400068fb60 sp=0x1400068fb20 pc=0x1024815b8
bufio.(*Reader).Peek(0x140000c0120, 0x4)
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/bufio/bufio.go:152 +0x60 fp=0x1400068fb80 sp=0x1400068fb60 pc=0x102481720
net/http.(*conn).serve(0x140002362d0, {0x1034b3718, 0x14000230180})
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/net/http/server.go:2137 +0x664 fp=0x1400068ffa0 sp=0x1400068fb80 pc=0x102623c14
net/http.(*Server).Serve.gowrap3()
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/net/http/server.go:3454 +0x30 fp=0x1400068ffd0 sp=0x1400068ffa0 pc=0x102628ca0
runtime.goexit({})
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x1400068ffd0 sp=0x1400068ffd0 pc=0x102374e54
created by net/http.(*Server).Serve in goroutine 1
        /opt/homebrew/Cellar/go/1.24.3/libexec/src/net/http/server.go:3454 +0x3d8

r0      0x0
r1      0x0
r2      0x0
r3      0x0
r4      0xffffffff926d3292
r5      0xc
r6      0x64656c6961662029
r7      0x2f800001
r8      0x46c40ca4eb631b69
r9      0x46c40ca59bd0ab69
r10     0x2
r11     0x10000000000
r12     0xfffffffd
r13     0x0
r14     0x0
r15     0x0
r16     0x148
r17     0x205fec018
r18     0x0
r19     0x6
r20     0x1a03
r21     0x170b3b0e0
r22     0x1fbc5fdf8
r23     0x0
r24     0x0
r25     0x1400005d298
r26     0x10349dcc0
r27     0x818
r28     0x140005021c0
r29     0x170b3ad70
lr      0x198c46f70
sp      0x170b3ad50
pc      0x198c0e600
fault   0x198c0e600
time=2025-06-18T16:54:26.389-07:00 level=ERROR source=server.go:457 msg="llama runner terminated" error="exit status 2"
time=2025-06-18T16:54:26.614-07:00 level=ERROR source=sched.go:489 msg="error loading llama server" error="llama runner process has terminated: GGML_ASSERT(view_src == NULL || data_size == 0 || data_size + view_offs <= ggml_nbytes(view_src)) failed"

OS

No response

GPU

No response

CPU

No response

Ollama version

No response

Originally created by @ParthSareen on GitHub (Jun 18, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/11126 Originally assigned to: @jessegross on GitHub. ### What is the issue? Ollama engine errors when `num_ctx` is set to an amount less than 241 tokens The error: ```json { "error": "llama runner process has terminated: GGML_ASSERT(view_src == NULL || data_size == 0 || data_size + view_offs <= ggml_nbytes(view_src)) failed" } ``` Steps to reproduce: 1. Make a request with `num_ctx` set to 10 ### Relevant log output ```shell time=2025-06-18T16:54:26.151-07:00 level=INFO source=ggml.go:104 msg=system Metal.0.EMBED_LIBRARY=1 CPU.0.NEON=1 CPU.0.ARM_FMA=1 CPU.0.FP16_VA=1 CPU.0.DOTPROD=1 CPU.0.LLAMAFILE=1 CPU.0.ACCELERATE=1 compiler=cgo(clang) time=2025-06-18T16:54:26.265-07:00 level=INFO source=ggml.go:357 msg="model weights" buffer=Metal size="3.1 GiB" time=2025-06-18T16:54:26.265-07:00 level=INFO source=ggml.go:357 msg="model weights" buffer=CPU size="525.0 MiB" ggml_metal_init: allocating ggml_metal_init: picking default device: Apple M4 Max ggml_metal_load_library: using embedded metal library ggml_metal_init: GPU name: Apple M4 Max ggml_metal_init: GPU family: MTLGPUFamilyApple9 (1009) ggml_metal_init: GPU family: MTLGPUFamilyCommon3 (3003) ggml_metal_init: GPU family: MTLGPUFamilyMetal3 (5001) ggml_metal_init: simdgroup reduction = true ggml_metal_init: simdgroup matrix mul. = true ggml_metal_init: has residency sets = true ggml_metal_init: has bfloat = true ggml_metal_init: use bfloat = false ggml_metal_init: hasUnifiedMemory = true ggml_metal_init: recommendedMaxWorkingSetSize = 103079.22 MB ggml_metal_init: skipping kernel_get_rows_bf16 (not supported) ggml_metal_init: skipping kernel_mul_mv_bf16_f32 (not supported) ggml_metal_init: skipping kernel_mul_mv_bf16_f32_1row (not supported) ggml_metal_init: skipping kernel_mul_mv_bf16_f32_l4 (not supported) ggml_metal_init: skipping kernel_mul_mv_bf16_bf16 (not supported) ggml_metal_init: skipping kernel_mul_mv_id_bf16_f32 (not supported) ggml_metal_init: skipping kernel_mul_mm_bf16_f32 (not supported) ggml_metal_init: skipping kernel_mul_mm_id_bf16_f16 (not supported) ggml_metal_init: skipping kernel_flash_attn_ext_bf16_h64 (not supported) ggml_metal_init: skipping kernel_flash_attn_ext_bf16_h80 (not supported) ggml_metal_init: skipping kernel_flash_attn_ext_bf16_h96 (not supported) ggml_metal_init: skipping kernel_flash_attn_ext_bf16_h112 (not supported) ggml_metal_init: skipping kernel_flash_attn_ext_bf16_h128 (not supported) ggml_metal_init: skipping kernel_flash_attn_ext_bf16_h192 (not supported) ggml_metal_init: skipping kernel_flash_attn_ext_bf16_hk192_hv128 (not supported) ggml_metal_init: skipping kernel_flash_attn_ext_bf16_h256 (not supported) ggml_metal_init: skipping kernel_flash_attn_ext_bf16_hk576_hv512 (not supported) ggml_metal_init: skipping kernel_flash_attn_ext_vec_bf16_h96 (not supported) ggml_metal_init: skipping kernel_flash_attn_ext_vec_bf16_h128 (not supported) ggml_metal_init: skipping kernel_flash_attn_ext_vec_bf16_h192 (not supported) ggml_metal_init: skipping kernel_flash_attn_ext_vec_bf16_hk192_hv128 (not supported) ggml_metal_init: skipping kernel_flash_attn_ext_vec_bf16_h256 (not supported) ggml_metal_init: skipping kernel_flash_attn_ext_vec_bf16_hk576_hv512 (not supported) ggml_metal_init: skipping kernel_cpy_f32_bf16 (not supported) ggml_metal_init: skipping kernel_cpy_bf16_f32 (not supported) ggml_metal_init: skipping kernel_cpy_bf16_bf16 (not supported) time=2025-06-18T16:54:26.362-07:00 level=INFO source=server.go:625 msg="waiting for server to become available" status="llm server loading model" time=2025-06-18T16:54:26.379-07:00 level=INFO source=ggml.go:644 msg="compute graph" backend=Metal buffer_type=Metal size="1.1 GiB" time=2025-06-18T16:54:26.379-07:00 level=INFO source=ggml.go:644 msg="compute graph" backend=BLAS buffer_type=CPU size="0 B" time=2025-06-18T16:54:26.379-07:00 level=INFO source=ggml.go:644 msg="compute graph" backend=CPU buffer_type=CPU size="0 B" ggml.c:1554: GGML_ASSERT(view_src == NULL || data_size == 0 || data_size + view_offs <= ggml_nbytes(view_src)) failed SIGABRT: abort PC=0x198c0e600 m=7 sigcode=0 signal arrived during cgo execution goroutine 10 gp=0x140000c2e00 m=7 mp=0x14000500008 [syscall]: runtime.cgocall(0x102e641cc, 0x14000689318) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/cgocall.go:167 +0x44 fp=0x140006892e0 sp=0x140006892a0 pc=0x102369574 github.com/ollama/ollama/ml/backend/ggml._Cfunc_ggml_view_1d(0x12d85d750, 0x12d104020, 0x80000, 0x0) _cgo_gotypes.go:1931 +0x34 fp=0x14000689310 sp=0x140006892e0 pc=0x102737aa4 github.com/ollama/ollama/ml/backend/ggml.(*Tensor).View.func1(...) /Users/parth/Documents/repos/ollama/ml/backend/ggml/ggml.go:1115 github.com/ollama/ollama/ml/backend/ggml.(*Tensor).View(0x14001cb0948, {0x1034bb950?, 0x14001d67a00?}, 0x0, {0x14009a51ed8?, 0x10236cce0?, 0x0?}) /Users/parth/Documents/repos/ollama/ml/backend/ggml/ggml.go:1115 +0xc8 fp=0x14000689430 sp=0x14000689310 pc=0x102740c38 github.com/ollama/ollama/kvcache.(*Causal).Put(0x140007864b0, {0x1034bb950, 0x14001d67a00}, {0x1034c5da8, 0x14001cb08d0}, {0x1034c5da8, 0x14001cb0918}) /Users/parth/Documents/repos/ollama/kvcache/causal.go:571 +0x504 fp=0x14000689530 sp=0x14000689430 pc=0x102730fd4 github.com/ollama/ollama/kvcache.(*WrapperCache).Put(0x100?, {0x1034bb950?, 0x14001d67a00?}, {0x1034c5da8?, 0x14001cb08d0?}, {0x1034c5da8?, 0x14001cb0918?}) /Users/parth/Documents/repos/ollama/kvcache/wrapper.go:81 +0x5c fp=0x14000689580 sp=0x14000689530 pc=0x10273304c github.com/ollama/ollama/ml/nn.Attention({0x1034bb950, 0x14001d67a00}, {0x1034c5da8, 0x14001cb0840}, {0x1034c5da8, 0x14001cb08d0}, {0x1034c5da8, 0x14001cb0918}, 0x3ff0000000000000, {0x1034bab58, ...}) /Users/parth/Documents/repos/ollama/ml/nn/attention.go:39 +0x134 fp=0x14000689660 sp=0x14000689580 pc=0x102762224 github.com/ollama/ollama/model/models/gemma3.(*TextSelfAttention).Forward(0x14001d24150, {0x1034bb950, 0x14001d67a00}, 0x0, {0x1034c5da8, 0x14001cb0798}, {0x1034c5da8, 0x14001cb06d8}, {0x1034bab58, 0x140002775c0}, ...) /Users/parth/Documents/repos/ollama/model/models/gemma3/model_text.go:104 +0x3b4 fp=0x14000689720 sp=0x14000689660 pc=0x102797a54 github.com/ollama/ollama/model/models/gemma3.(*TextLayer).Forward(0x14000689888, {0x1034bb950, 0x14001d67a00}, 0x0, {0x1034c5da8, 0x14001cb0720}, {0x1034c5da8, 0x14001cb06d8}, {0x0, 0x0}, ...) /Users/parth/Documents/repos/ollama/model/models/gemma3/model_text.go:143 +0xa4 fp=0x140006897b0 sp=0x14000689720 pc=0x102797db4 github.com/ollama/ollama/model/models/gemma3.(*TextModel).Forward(0x14001cb3f00, {0x1034bb950, 0x14001d67a00}, {0x1034c5da8?, 0x14001cb0678?}, {0x1034c5da8, 0x14001cb06d8}, {0x1034c5da8, 0x14001cb06f0}, {{0x1034c5da8, ...}, ...}, ...) /Users/parth/Documents/repos/ollama/model/models/gemma3/model_text.go:197 +0x2c0 fp=0x14000689910 sp=0x140006897b0 pc=0x102798220 github.com/ollama/ollama/model/models/gemma3.(*Model).Forward(0x14001c76de0, {0x1034bb950, 0x14001d67a00}, {{0x1034c5da8, 0x14001cb0678}, {0x14001d70160, 0x1, 0x1}, {0x14009a6c000, 0x200, ...}, ...}) /Users/parth/Documents/repos/ollama/model/models/gemma3/model.go:147 +0x16c fp=0x14000689a10 sp=0x14000689910 pc=0x1027971fc github.com/ollama/ollama/runner/ollamarunner.(*Server).reserveWorstCaseGraph(0x14000144240) /Users/parth/Documents/repos/ollama/runner/ollamarunner/runner.go:854 +0x848 fp=0x14000689d60 sp=0x14000689a10 pc=0x1027bdb48 github.com/ollama/ollama/runner/ollamarunner.(*Server).initModel(0x14000144240, {0x16db06c69?, 0x0?}, {0xc, 0x0, 0x23, {0x0, 0x0, 0x0}, 0x0}, ...) /Users/parth/Documents/repos/ollama/runner/ollamarunner/runner.go:898 +0x224 fp=0x14000689dc0 sp=0x14000689d60 pc=0x1027be004 github.com/ollama/ollama/runner/ollamarunner.(*Server).load(0x14000144240, {0x1034b3750, 0x140000ec4b0}, {0x16db06c69?, 0x0?}, {0xc, 0x0, 0x23, {0x0, 0x0, ...}, ...}, ...) /Users/parth/Documents/repos/ollama/runner/ollamarunner/runner.go:911 +0xa8 fp=0x14000689f20 sp=0x14000689dc0 pc=0x1027be178 github.com/ollama/ollama/runner/ollamarunner.Execute.gowrap1() /Users/parth/Documents/repos/ollama/runner/ollamarunner/runner.go:992 +0x88 fp=0x14000689fd0 sp=0x14000689f20 pc=0x1027bf1f8 runtime.goexit({}) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x14000689fd0 sp=0x14000689fd0 pc=0x102374e54 created by github.com/ollama/ollama/runner/ollamarunner.Execute in goroutine 1 /Users/parth/Documents/repos/ollama/runner/ollamarunner/runner.go:992 +0x840 goroutine 1 gp=0x140000021c0 m=nil [IO wait]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/proc.go:435 +0xc8 fp=0x1400068b5e0 sp=0x1400068b5c0 pc=0x10236ca98 runtime.netpollblock(0x1400068b678?, 0x23f1360?, 0x1?) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/netpoll.go:575 +0x158 fp=0x1400068b620 sp=0x1400068b5e0 pc=0x102332668 internal/poll.runtime_pollWait(0x12ab9e390, 0x72) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/netpoll.go:351 +0xa0 fp=0x1400068b650 sp=0x1400068b620 pc=0x10236bc50 internal/poll.(*pollDesc).wait(0x14000723c80?, 0x1023f35c8?, 0x0) /opt/homebrew/Cellar/go/1.24.3/libexec/src/internal/poll/fd_poll_runtime.go:84 +0x28 fp=0x1400068b680 sp=0x1400068b650 pc=0x1023ecb78 internal/poll.(*pollDesc).waitRead(...) /opt/homebrew/Cellar/go/1.24.3/libexec/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Accept(0x14000723c80) /opt/homebrew/Cellar/go/1.24.3/libexec/src/internal/poll/fd_unix.go:620 +0x24c fp=0x1400068b730 sp=0x1400068b680 pc=0x1023f144c net.(*netFD).accept(0x14000723c80) /opt/homebrew/Cellar/go/1.24.3/libexec/src/net/fd_unix.go:172 +0x28 fp=0x1400068b7f0 sp=0x1400068b730 pc=0x102460688 net.(*TCPListener).accept(0x14000707900) /opt/homebrew/Cellar/go/1.24.3/libexec/src/net/tcpsock_posix.go:159 +0x24 fp=0x1400068b840 sp=0x1400068b7f0 pc=0x1024748e4 net.(*TCPListener).Accept(0x14000707900) /opt/homebrew/Cellar/go/1.24.3/libexec/src/net/tcpsock.go:380 +0x2c fp=0x1400068b880 sp=0x1400068b840 pc=0x1024738cc net/http.(*onceCloseListener).Accept(0x140002362d0?) <autogenerated>:1 +0x30 fp=0x1400068b8a0 sp=0x1400068b880 pc=0x10264f270 net/http.(*Server).Serve(0x140001f5600, {0x1034b12f8, 0x14000707900}) /opt/homebrew/Cellar/go/1.24.3/libexec/src/net/http/server.go:3424 +0x290 fp=0x1400068b9d0 sp=0x1400068b8a0 pc=0x102628910 github.com/ollama/ollama/runner/ollamarunner.Execute({0x14000144030, 0xe, 0xf}) /Users/parth/Documents/repos/ollama/runner/ollamarunner/runner.go:1017 +0xb78 fp=0x1400068bce0 sp=0x1400068b9d0 pc=0x1027beec8 github.com/ollama/ollama/runner.Execute({0x14000144010?, 0x0?, 0x0?}) /Users/parth/Documents/repos/ollama/runner/runner.go:20 +0x120 fp=0x1400068bd10 sp=0x1400068bce0 pc=0x1027bf770 github.com/ollama/ollama/cmd.NewCLI.func2(0x140001f5400?, {0x10303c332?, 0x4?, 0x10303c336?}) /Users/parth/Documents/repos/ollama/cmd/cmd.go:1529 +0x54 fp=0x1400068bd40 sp=0x1400068bd10 pc=0x102e14634 github.com/spf13/cobra.(*Command).execute(0x14000014f08, {0x14000786ff0, 0xf, 0xf}) /Users/parth/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:940 +0x680 fp=0x1400068be60 sp=0x1400068bd40 pc=0x1024cee80 github.com/spf13/cobra.(*Command).ExecuteC(0x140000c6908) /Users/parth/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:1068 +0x320 fp=0x1400068bf20 sp=0x1400068be60 pc=0x1024cf5d0 github.com/spf13/cobra.(*Command).Execute(...) /Users/parth/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:992 github.com/spf13/cobra.(*Command).ExecuteContext(...) /Users/parth/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:985 main.main() /Users/parth/Documents/repos/ollama/main.go:12 +0x54 fp=0x1400068bf40 sp=0x1400068bf20 pc=0x102e15114 runtime.main() /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/proc.go:283 +0x284 fp=0x1400068bfd0 sp=0x1400068bf40 pc=0x102339214 runtime.goexit({}) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x1400068bfd0 sp=0x1400068bfd0 pc=0x102374e54 goroutine 2 gp=0x14000002c40 m=nil [force gc (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/proc.go:435 +0xc8 fp=0x1400008af90 sp=0x1400008af70 pc=0x10236ca98 runtime.goparkunlock(...) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/proc.go:441 runtime.forcegchelper() /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/proc.go:348 +0xb8 fp=0x1400008afd0 sp=0x1400008af90 pc=0x102339568 runtime.goexit({}) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x1400008afd0 sp=0x1400008afd0 pc=0x102374e54 created by runtime.init.7 in goroutine 1 /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/proc.go:336 +0x24 goroutine 3 gp=0x14000003180 m=nil [GC sweep wait]: runtime.gopark(0x1?, 0x0?, 0x0?, 0x0?, 0x0?) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/proc.go:435 +0xc8 fp=0x1400008b760 sp=0x1400008b740 pc=0x10236ca98 runtime.goparkunlock(...) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/proc.go:441 runtime.bgsweep(0x14000044180) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgcsweep.go:316 +0x108 fp=0x1400008b7b0 sp=0x1400008b760 pc=0x102324608 runtime.gcenable.gowrap1() /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:204 +0x28 fp=0x1400008b7d0 sp=0x1400008b7b0 pc=0x102318408 runtime.goexit({}) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x1400008b7d0 sp=0x1400008b7d0 pc=0x102374e54 created by runtime.gcenable in goroutine 1 /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:204 +0x6c goroutine 4 gp=0x140000036c0 m=nil [GC scavenge wait]: runtime.gopark(0x10000?, 0x1031ef0a8?, 0x0?, 0x0?, 0x0?) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/proc.go:435 +0xc8 fp=0x1400008bf60 sp=0x1400008bf40 pc=0x10236ca98 runtime.goparkunlock(...) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/proc.go:441 runtime.(*scavengerState).park(0x103d5fe80) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgcscavenge.go:425 +0x5c fp=0x1400008bf90 sp=0x1400008bf60 pc=0x10232209c runtime.bgscavenge(0x14000044180) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgcscavenge.go:658 +0xac fp=0x1400008bfb0 sp=0x1400008bf90 pc=0x10232263c runtime.gcenable.gowrap2() /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:205 +0x28 fp=0x1400008bfd0 sp=0x1400008bfb0 pc=0x1023183a8 runtime.goexit({}) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x1400008bfd0 sp=0x1400008bfd0 pc=0x102374e54 created by runtime.gcenable in goroutine 1 /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:205 +0xac goroutine 18 gp=0x14000102700 m=nil [finalizer wait]: runtime.gopark(0x180008a5c8?, 0x1000000000000?, 0xf8?, 0xa5?, 0x102651bdc?) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/proc.go:435 +0xc8 fp=0x1400008a590 sp=0x1400008a570 pc=0x10236ca98 runtime.runfinq() /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mfinal.go:196 +0x108 fp=0x1400008a7d0 sp=0x1400008a590 pc=0x102317408 runtime.goexit({}) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x1400008a7d0 sp=0x1400008a7d0 pc=0x102374e54 created by runtime.createfing in goroutine 1 /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mfinal.go:166 +0x80 goroutine 19 gp=0x14000103180 m=nil [chan receive]: runtime.gopark(0x14000227860?, 0x14001d6c048?, 0x48?, 0x67?, 0x102434958?) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/proc.go:435 +0xc8 fp=0x140000866f0 sp=0x140000866d0 pc=0x10236ca98 runtime.chanrecv(0x140001104d0, 0x0, 0x1) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/chan.go:664 +0x42c fp=0x14000086770 sp=0x140000866f0 pc=0x1023096ac runtime.chanrecv1(0x0?, 0x0?) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/chan.go:506 +0x14 fp=0x140000867a0 sp=0x14000086770 pc=0x102309244 runtime.unique_runtime_registerUniqueMapCleanup.func2(...) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1796 runtime.unique_runtime_registerUniqueMapCleanup.gowrap1() /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1799 +0x3c fp=0x140000867d0 sp=0x140000867a0 pc=0x10231b62c runtime.goexit({}) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x140000867d0 sp=0x140000867d0 pc=0x102374e54 created by unique.runtime_registerUniqueMapCleanup in goroutine 1 /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1794 +0x78 goroutine 20 gp=0x14000103500 m=nil [GC worker (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/proc.go:435 +0xc8 fp=0x14000086f10 sp=0x14000086ef0 pc=0x10236ca98 runtime.gcBgMarkWorker(0x140001118f0) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1423 +0xdc fp=0x14000086fb0 sp=0x14000086f10 pc=0x10231a89c runtime.gcBgMarkStartWorkers.gowrap1() /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1339 +0x28 fp=0x14000086fd0 sp=0x14000086fb0 pc=0x10231a788 runtime.goexit({}) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x14000086fd0 sp=0x14000086fd0 pc=0x102374e54 created by runtime.gcBgMarkStartWorkers in goroutine 1 /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1339 +0x140 goroutine 34 gp=0x1400029e000 m=nil [GC worker (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/proc.go:435 +0xc8 fp=0x140002a4710 sp=0x140002a46f0 pc=0x10236ca98 runtime.gcBgMarkWorker(0x140001118f0) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1423 +0xdc fp=0x140002a47b0 sp=0x140002a4710 pc=0x10231a89c runtime.gcBgMarkStartWorkers.gowrap1() /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1339 +0x28 fp=0x140002a47d0 sp=0x140002a47b0 pc=0x10231a788 runtime.goexit({}) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x140002a47d0 sp=0x140002a47d0 pc=0x102374e54 created by runtime.gcBgMarkStartWorkers in goroutine 1 /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1339 +0x140 goroutine 5 gp=0x14000003880 m=nil [GC worker (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/proc.go:435 +0xc8 fp=0x1400008c710 sp=0x1400008c6f0 pc=0x10236ca98 runtime.gcBgMarkWorker(0x140001118f0) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1423 +0xdc fp=0x1400008c7b0 sp=0x1400008c710 pc=0x10231a89c runtime.gcBgMarkStartWorkers.gowrap1() /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1339 +0x28 fp=0x1400008c7d0 sp=0x1400008c7b0 pc=0x10231a788 runtime.goexit({}) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x1400008c7d0 sp=0x1400008c7d0 pc=0x102374e54 created by runtime.gcBgMarkStartWorkers in goroutine 1 /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1339 +0x140 goroutine 21 gp=0x140001036c0 m=nil [GC worker (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/proc.go:435 +0xc8 fp=0x14000087710 sp=0x140000876f0 pc=0x10236ca98 runtime.gcBgMarkWorker(0x140001118f0) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1423 +0xdc fp=0x140000877b0 sp=0x14000087710 pc=0x10231a89c runtime.gcBgMarkStartWorkers.gowrap1() /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1339 +0x28 fp=0x140000877d0 sp=0x140000877b0 pc=0x10231a788 runtime.goexit({}) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x140000877d0 sp=0x140000877d0 pc=0x102374e54 created by runtime.gcBgMarkStartWorkers in goroutine 1 /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1339 +0x140 goroutine 35 gp=0x1400029e1c0 m=nil [GC worker (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/proc.go:435 +0xc8 fp=0x140002a4f10 sp=0x140002a4ef0 pc=0x10236ca98 runtime.gcBgMarkWorker(0x140001118f0) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1423 +0xdc fp=0x140002a4fb0 sp=0x140002a4f10 pc=0x10231a89c runtime.gcBgMarkStartWorkers.gowrap1() /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1339 +0x28 fp=0x140002a4fd0 sp=0x140002a4fb0 pc=0x10231a788 runtime.goexit({}) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x140002a4fd0 sp=0x140002a4fd0 pc=0x102374e54 created by runtime.gcBgMarkStartWorkers in goroutine 1 /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1339 +0x140 goroutine 6 gp=0x14000003a40 m=nil [GC worker (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/proc.go:435 +0xc8 fp=0x1400008cf10 sp=0x1400008cef0 pc=0x10236ca98 runtime.gcBgMarkWorker(0x140001118f0) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1423 +0xdc fp=0x1400008cfb0 sp=0x1400008cf10 pc=0x10231a89c runtime.gcBgMarkStartWorkers.gowrap1() /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1339 +0x28 fp=0x1400008cfd0 sp=0x1400008cfb0 pc=0x10231a788 runtime.goexit({}) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x1400008cfd0 sp=0x1400008cfd0 pc=0x102374e54 created by runtime.gcBgMarkStartWorkers in goroutine 1 /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1339 +0x140 goroutine 22 gp=0x14000103880 m=nil [GC worker (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/proc.go:435 +0xc8 fp=0x14000087f10 sp=0x14000087ef0 pc=0x10236ca98 runtime.gcBgMarkWorker(0x140001118f0) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1423 +0xdc fp=0x14000087fb0 sp=0x14000087f10 pc=0x10231a89c runtime.gcBgMarkStartWorkers.gowrap1() /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1339 +0x28 fp=0x14000087fd0 sp=0x14000087fb0 pc=0x10231a788 runtime.goexit({}) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x14000087fd0 sp=0x14000087fd0 pc=0x102374e54 created by runtime.gcBgMarkStartWorkers in goroutine 1 /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1339 +0x140 goroutine 36 gp=0x1400029e380 m=nil [GC worker (idle)]: runtime.gopark(0x1b51c8f29c8c?, 0x1?, 0xdd?, 0xf5?, 0x0?) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/proc.go:435 +0xc8 fp=0x140002a5710 sp=0x140002a56f0 pc=0x10236ca98 runtime.gcBgMarkWorker(0x140001118f0) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1423 +0xdc fp=0x140002a57b0 sp=0x140002a5710 pc=0x10231a89c runtime.gcBgMarkStartWorkers.gowrap1() /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1339 +0x28 fp=0x140002a57d0 sp=0x140002a57b0 pc=0x10231a788 runtime.goexit({}) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x140002a57d0 sp=0x140002a57d0 pc=0x102374e54 created by runtime.gcBgMarkStartWorkers in goroutine 1 /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1339 +0x140 goroutine 7 gp=0x14000003c00 m=nil [GC worker (idle)]: runtime.gopark(0x1b51c8f2e9b2?, 0x1?, 0x6c?, 0xe2?, 0x0?) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/proc.go:435 +0xc8 fp=0x1400008d710 sp=0x1400008d6f0 pc=0x10236ca98 runtime.gcBgMarkWorker(0x140001118f0) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1423 +0xdc fp=0x1400008d7b0 sp=0x1400008d710 pc=0x10231a89c runtime.gcBgMarkStartWorkers.gowrap1() /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1339 +0x28 fp=0x1400008d7d0 sp=0x1400008d7b0 pc=0x10231a788 runtime.goexit({}) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x1400008d7d0 sp=0x1400008d7d0 pc=0x102374e54 created by runtime.gcBgMarkStartWorkers in goroutine 1 /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1339 +0x140 goroutine 23 gp=0x14000103a40 m=nil [GC worker (idle)]: runtime.gopark(0x1b51c8f29e80?, 0x3?, 0x7?, 0xde?, 0x0?) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/proc.go:435 +0xc8 fp=0x14000088710 sp=0x140000886f0 pc=0x10236ca98 runtime.gcBgMarkWorker(0x140001118f0) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1423 +0xdc fp=0x140000887b0 sp=0x14000088710 pc=0x10231a89c runtime.gcBgMarkStartWorkers.gowrap1() /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1339 +0x28 fp=0x140000887d0 sp=0x140000887b0 pc=0x10231a788 runtime.goexit({}) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x140000887d0 sp=0x140000887d0 pc=0x102374e54 created by runtime.gcBgMarkStartWorkers in goroutine 1 /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1339 +0x140 goroutine 37 gp=0x1400029e540 m=nil [GC worker (idle)]: runtime.gopark(0x1b51c921f7ec?, 0x3?, 0xd0?, 0x8?, 0x0?) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/proc.go:435 +0xc8 fp=0x140002a5f10 sp=0x140002a5ef0 pc=0x10236ca98 runtime.gcBgMarkWorker(0x140001118f0) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1423 +0xdc fp=0x140002a5fb0 sp=0x140002a5f10 pc=0x10231a89c runtime.gcBgMarkStartWorkers.gowrap1() /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1339 +0x28 fp=0x140002a5fd0 sp=0x140002a5fb0 pc=0x10231a788 runtime.goexit({}) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x140002a5fd0 sp=0x140002a5fd0 pc=0x102374e54 created by runtime.gcBgMarkStartWorkers in goroutine 1 /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1339 +0x140 goroutine 8 gp=0x14000003dc0 m=nil [GC worker (idle)]: runtime.gopark(0x103d906e0?, 0x3?, 0xd8?, 0x45?, 0x0?) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/proc.go:435 +0xc8 fp=0x1400008df10 sp=0x1400008def0 pc=0x10236ca98 runtime.gcBgMarkWorker(0x140001118f0) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1423 +0xdc fp=0x1400008dfb0 sp=0x1400008df10 pc=0x10231a89c runtime.gcBgMarkStartWorkers.gowrap1() /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1339 +0x28 fp=0x1400008dfd0 sp=0x1400008dfb0 pc=0x10231a788 runtime.goexit({}) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x1400008dfd0 sp=0x1400008dfd0 pc=0x102374e54 created by runtime.gcBgMarkStartWorkers in goroutine 1 /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1339 +0x140 goroutine 24 gp=0x14000103c00 m=nil [GC worker (idle)]: runtime.gopark(0x1b51c9230068?, 0x1?, 0x44?, 0xd4?, 0x0?) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/proc.go:435 +0xc8 fp=0x14000088f10 sp=0x14000088ef0 pc=0x10236ca98 runtime.gcBgMarkWorker(0x140001118f0) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1423 +0xdc fp=0x14000088fb0 sp=0x14000088f10 pc=0x10231a89c runtime.gcBgMarkStartWorkers.gowrap1() /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1339 +0x28 fp=0x14000088fd0 sp=0x14000088fb0 pc=0x10231a788 runtime.goexit({}) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x14000088fd0 sp=0x14000088fd0 pc=0x102374e54 created by runtime.gcBgMarkStartWorkers in goroutine 1 /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1339 +0x140 goroutine 38 gp=0x1400029e700 m=nil [GC worker (idle)]: runtime.gopark(0x1b51c8f294e6?, 0x1?, 0x28?, 0x28?, 0x0?) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/proc.go:435 +0xc8 fp=0x140002a6710 sp=0x140002a66f0 pc=0x10236ca98 runtime.gcBgMarkWorker(0x140001118f0) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1423 +0xdc fp=0x140002a67b0 sp=0x140002a6710 pc=0x10231a89c runtime.gcBgMarkStartWorkers.gowrap1() /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1339 +0x28 fp=0x140002a67d0 sp=0x140002a67b0 pc=0x10231a788 runtime.goexit({}) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x140002a67d0 sp=0x140002a67d0 pc=0x102374e54 created by runtime.gcBgMarkStartWorkers in goroutine 1 /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1339 +0x140 goroutine 9 gp=0x140000c2000 m=nil [GC worker (idle)]: runtime.gopark(0x1b51c8f2ead6?, 0x1?, 0x30?, 0xab?, 0x0?) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/proc.go:435 +0xc8 fp=0x140002a0710 sp=0x140002a06f0 pc=0x10236ca98 runtime.gcBgMarkWorker(0x140001118f0) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1423 +0xdc fp=0x140002a07b0 sp=0x140002a0710 pc=0x10231a89c runtime.gcBgMarkStartWorkers.gowrap1() /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1339 +0x28 fp=0x140002a07d0 sp=0x140002a07b0 pc=0x10231a788 runtime.goexit({}) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x140002a07d0 sp=0x140002a07d0 pc=0x102374e54 created by runtime.gcBgMarkStartWorkers in goroutine 1 /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1339 +0x140 goroutine 25 gp=0x14000103dc0 m=nil [GC worker (idle)]: runtime.gopark(0x103d906e0?, 0x1?, 0xe9?, 0xbd?, 0x0?) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/proc.go:435 +0xc8 fp=0x14000089710 sp=0x140000896f0 pc=0x10236ca98 runtime.gcBgMarkWorker(0x140001118f0) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1423 +0xdc fp=0x140000897b0 sp=0x14000089710 pc=0x10231a89c runtime.gcBgMarkStartWorkers.gowrap1() /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1339 +0x28 fp=0x140000897d0 sp=0x140000897b0 pc=0x10231a788 runtime.goexit({}) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x140000897d0 sp=0x140000897d0 pc=0x102374e54 created by runtime.gcBgMarkStartWorkers in goroutine 1 /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/mgc.go:1339 +0x140 goroutine 11 gp=0x140000c2fc0 m=nil [sync.WaitGroup.Wait]: runtime.gopark(0x103d73460?, 0x0?, 0x20?, 0x3f?, 0x0?) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/proc.go:435 +0xc8 fp=0x140002a2ed0 sp=0x140002a2eb0 pc=0x10236ca98 runtime.goparkunlock(...) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/proc.go:441 runtime.semacquire1(0x14000144248, 0x0, 0x1, 0x0, 0x18) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/sema.go:188 +0x204 fp=0x140002a2f20 sp=0x140002a2ed0 pc=0x10234d6f4 sync.runtime_SemacquireWaitGroup(0x0?) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/sema.go:110 +0x2c fp=0x140002a2f60 sp=0x140002a2f20 pc=0x10236e50c sync.(*WaitGroup).Wait(0x14000144240) /opt/homebrew/Cellar/go/1.24.3/libexec/src/sync/waitgroup.go:118 +0x70 fp=0x140002a2f80 sp=0x140002a2f60 pc=0x102380730 github.com/ollama/ollama/runner/ollamarunner.(*Server).run(0x14000144240, {0x1034b3750, 0x140000ec4b0}) /Users/parth/Documents/repos/ollama/runner/ollamarunner/runner.go:382 +0x2c fp=0x140002a2fa0 sp=0x140002a2f80 pc=0x1027ba8fc github.com/ollama/ollama/runner/ollamarunner.Execute.gowrap2() /Users/parth/Documents/repos/ollama/runner/ollamarunner/runner.go:993 +0x30 fp=0x140002a2fd0 sp=0x140002a2fa0 pc=0x1027bf130 runtime.goexit({}) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x140002a2fd0 sp=0x140002a2fd0 pc=0x102374e54 created by github.com/ollama/ollama/runner/ollamarunner.Execute in goroutine 1 /Users/parth/Documents/repos/ollama/runner/ollamarunner/runner.go:993 +0x898 goroutine 12 gp=0x1400029f6c0 m=nil [IO wait]: runtime.gopark(0xffffffffffffffff?, 0xffffffffffffffff?, 0x23?, 0x0?, 0x102390930?) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/proc.go:435 +0xc8 fp=0x1400068f8e0 sp=0x1400068f8c0 pc=0x10236ca98 runtime.netpollblock(0x0?, 0x0?, 0x0?) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/netpoll.go:575 +0x158 fp=0x1400068f920 sp=0x1400068f8e0 pc=0x102332668 internal/poll.runtime_pollWait(0x12ab9e278, 0x72) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/netpoll.go:351 +0xa0 fp=0x1400068f950 sp=0x1400068f920 pc=0x10236bc50 internal/poll.(*pollDesc).wait(0x140001d0000?, 0x14009a6f000?, 0x0) /opt/homebrew/Cellar/go/1.24.3/libexec/src/internal/poll/fd_poll_runtime.go:84 +0x28 fp=0x1400068f980 sp=0x1400068f950 pc=0x1023ecb78 internal/poll.(*pollDesc).waitRead(...) /opt/homebrew/Cellar/go/1.24.3/libexec/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0x140001d0000, {0x14009a6f000, 0x1000, 0x1000}) /opt/homebrew/Cellar/go/1.24.3/libexec/src/internal/poll/fd_unix.go:165 +0x1fc fp=0x1400068fa20 sp=0x1400068f980 pc=0x1023ede2c net.(*netFD).Read(0x140001d0000, {0x14009a6f000?, 0x1400068fab8?, 0x10261e86c?}) /opt/homebrew/Cellar/go/1.24.3/libexec/src/net/fd_posix.go:55 +0x28 fp=0x1400068fa70 sp=0x1400068fa20 pc=0x10245ec58 net.(*conn).Read(0x14000724000, {0x14009a6f000?, 0x72?, 0x0?}) /opt/homebrew/Cellar/go/1.24.3/libexec/src/net/net.go:194 +0x34 fp=0x1400068fac0 sp=0x1400068fa70 pc=0x10246bb24 net/http.(*connReader).Read(0x14001d6e0f0, {0x14009a6f000, 0x1000, 0x1000}) /opt/homebrew/Cellar/go/1.24.3/libexec/src/net/http/server.go:798 +0x234 fp=0x1400068fb20 sp=0x1400068fac0 pc=0x10261ea74 bufio.(*Reader).fill(0x140000c0120) /opt/homebrew/Cellar/go/1.24.3/libexec/src/bufio/bufio.go:113 +0xf8 fp=0x1400068fb60 sp=0x1400068fb20 pc=0x1024815b8 bufio.(*Reader).Peek(0x140000c0120, 0x4) /opt/homebrew/Cellar/go/1.24.3/libexec/src/bufio/bufio.go:152 +0x60 fp=0x1400068fb80 sp=0x1400068fb60 pc=0x102481720 net/http.(*conn).serve(0x140002362d0, {0x1034b3718, 0x14000230180}) /opt/homebrew/Cellar/go/1.24.3/libexec/src/net/http/server.go:2137 +0x664 fp=0x1400068ffa0 sp=0x1400068fb80 pc=0x102623c14 net/http.(*Server).Serve.gowrap3() /opt/homebrew/Cellar/go/1.24.3/libexec/src/net/http/server.go:3454 +0x30 fp=0x1400068ffd0 sp=0x1400068ffa0 pc=0x102628ca0 runtime.goexit({}) /opt/homebrew/Cellar/go/1.24.3/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x1400068ffd0 sp=0x1400068ffd0 pc=0x102374e54 created by net/http.(*Server).Serve in goroutine 1 /opt/homebrew/Cellar/go/1.24.3/libexec/src/net/http/server.go:3454 +0x3d8 r0 0x0 r1 0x0 r2 0x0 r3 0x0 r4 0xffffffff926d3292 r5 0xc r6 0x64656c6961662029 r7 0x2f800001 r8 0x46c40ca4eb631b69 r9 0x46c40ca59bd0ab69 r10 0x2 r11 0x10000000000 r12 0xfffffffd r13 0x0 r14 0x0 r15 0x0 r16 0x148 r17 0x205fec018 r18 0x0 r19 0x6 r20 0x1a03 r21 0x170b3b0e0 r22 0x1fbc5fdf8 r23 0x0 r24 0x0 r25 0x1400005d298 r26 0x10349dcc0 r27 0x818 r28 0x140005021c0 r29 0x170b3ad70 lr 0x198c46f70 sp 0x170b3ad50 pc 0x198c0e600 fault 0x198c0e600 time=2025-06-18T16:54:26.389-07:00 level=ERROR source=server.go:457 msg="llama runner terminated" error="exit status 2" time=2025-06-18T16:54:26.614-07:00 level=ERROR source=sched.go:489 msg="error loading llama server" error="llama runner process has terminated: GGML_ASSERT(view_src == NULL || data_size == 0 || data_size + view_offs <= ggml_nbytes(view_src)) failed" ``` ### OS _No response_ ### GPU _No response_ ### CPU _No response_ ### Ollama version _No response_
GiteaMirror added the bug label 2026-04-22 15:23:05 -05:00
Author
Owner

@jessegross commented on GitHub (Sep 15, 2025):

Should be fixed by #12222

<!-- gh-comment-id:3293446557 --> @jessegross commented on GitHub (Sep 15, 2025): Should be fixed by #12222
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#33097