[GH-ISSUE #9164] Unable to start ollama normally #5964

Closed
opened 2026-04-12 17:18:54 -05:00 by GiteaMirror · 4 comments
Owner

Originally created by @USCLeoLYM on GitHub (Feb 17, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/9164

What is the issue?

Uninstalling and reinstalling Olama still cannot start.Please help!

Relevant log output

2025/02/17 15:02:44 routes.go:1187: INFO server config env="map[CUDA_VISIBLE_DEVICES: GPU_DEVICE_ORDINAL: HIP_VISIBLE_DEVICES: HSA_OVERRIDE_GFX_VERSION: HTTPS_PROXY: HTTP_PROXY: NO_PROXY:localhost,127.0.0.1,192.168.0.0/16,10.0.0.0/8,172.16.0.0/12,172.29.0.0/16,::1 OLLAMA_DEBUG:false OLLAMA_FLASH_ATTENTION:false OLLAMA_GPU_OVERHEAD:0 OLLAMA_HOST:http://127.0.0.1:11434 OLLAMA_INTEL_GPU:false OLLAMA_KEEP_ALIVE:5m0s OLLAMA_KV_CACHE_TYPE: OLLAMA_LLM_LIBRARY:cpu OLLAMA_LOAD_TIMEOUT:5m0s OLLAMA_MAX_LOADED_MODELS:0 OLLAMA_MAX_QUEUE:512 OLLAMA_MODELS:/home/ubuntu/Ollama/ollama_cache OLLAMA_MULTIUSER_CACHE:false OLLAMA_NOHISTORY:false OLLAMA_NOPRUNE:false OLLAMA_NUM_PARALLEL:0 OLLAMA_ORIGINS:[http://localhost https://localhost http://localhost:* https://localhost:* http://127.0.0.1 https://127.0.0.1 http://127.0.0.1:* https://127.0.0.1:* http://0.0.0.0 https://0.0.0.0 http://0.0.0.0:* https://0.0.0.0:* app://* file://* tauri://* vscode-webview://*] OLLAMA_SCHED_SPREAD:false ROCR_VISIBLE_DEVICES: http_proxy: https_proxy: no_proxy:localhost,127.0.0.1,192.168.0.0/16,10.0.0.0/8,172.16.0.0/12,172.29.0.0/16,::1]"
time=2025-02-17T15:02:44.926+08:00 level=INFO source=images.go:432 msg="total blobs: 0"
time=2025-02-17T15:02:44.926+08:00 level=INFO source=images.go:439 msg="total unused blobs removed: 0"
[GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached.

[GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
 - using env:	export GIN_MODE=release
 - using code:	gin.SetMode(gin.ReleaseMode)

[GIN-debug] POST   /api/pull                 --> github.com/ollama/ollama/server.(*Server).PullHandler-fm (5 handlers)
[GIN-debug] POST   /api/generate             --> github.com/ollama/ollama/server.(*Server).GenerateHandler-fm (5 handlers)
[GIN-debug] POST   /api/chat                 --> github.com/ollama/ollama/server.(*Server).ChatHandler-fm (5 handlers)
[GIN-debug] POST   /api/embed                --> github.com/ollama/ollama/server.(*Server).EmbedHandler-fm (5 handlers)
[GIN-debug] POST   /api/embeddings           --> github.com/ollama/ollama/server.(*Server).EmbeddingsHandler-fm (5 handlers)
[GIN-debug] POST   /api/create               --> github.com/ollama/ollama/server.(*Server).CreateHandler-fm (5 handlers)
[GIN-debug] POST   /api/push                 --> github.com/ollama/ollama/server.(*Server).PushHandler-fm (5 handlers)
[GIN-debug] POST   /api/copy                 --> github.com/ollama/ollama/server.(*Server).CopyHandler-fm (5 handlers)
[GIN-debug] DELETE /api/delete               --> github.com/ollama/ollama/server.(*Server).DeleteHandler-fm (5 handlers)
[GIN-debug] POST   /api/show                 --> github.com/ollama/ollama/server.(*Server).ShowHandler-fm (5 handlers)
[GIN-debug] POST   /api/blobs/:digest        --> github.com/ollama/ollama/server.(*Server).CreateBlobHandler-fm (5 handlers)
[GIN-debug] HEAD   /api/blobs/:digest        --> github.com/ollama/ollama/server.(*Server).HeadBlobHandler-fm (5 handlers)
[GIN-debug] GET    /api/ps                   --> github.com/ollama/ollama/server.(*Server).PsHandler-fm (5 handlers)
[GIN-debug] POST   /v1/chat/completions      --> github.com/ollama/ollama/server.(*Server).ChatHandler-fm (6 handlers)
[GIN-debug] POST   /v1/completions           --> github.com/ollama/ollama/server.(*Server).GenerateHandler-fm (6 handlers)
[GIN-debug] POST   /v1/embeddings            --> github.com/ollama/ollama/server.(*Server).EmbedHandler-fm (6 handlers)
[GIN-debug] GET    /v1/models                --> github.com/ollama/ollama/server.(*Server).ListHandler-fm (6 handlers)
[GIN-debug] GET    /v1/models/:model         --> github.com/ollama/ollama/server.(*Server).ShowHandler-fm (6 handlers)
[GIN-debug] GET    /                         --> github.com/ollama/ollama/server.(*Server).GenerateRoutes.func1 (5 handlers)
[GIN-debug] GET    /api/tags                 --> github.com/ollama/ollama/server.(*Server).ListHandler-fm (5 handlers)
[GIN-debug] GET    /api/version              --> github.com/ollama/ollama/server.(*Server).GenerateRoutes.func2 (5 handlers)
[GIN-debug] HEAD   /                         --> github.com/ollama/ollama/server.(*Server).GenerateRoutes.func1 (5 handlers)
[GIN-debug] HEAD   /api/tags                 --> github.com/ollama/ollama/server.(*Server).ListHandler-fm (5 handlers)
[GIN-debug] HEAD   /api/version              --> github.com/ollama/ollama/server.(*Server).GenerateRoutes.func2 (5 handlers)
time=2025-02-17T15:02:44.927+08:00 level=INFO source=routes.go:1238 msg="Listening on 127.0.0.1:11434 (version 0.5.6)"
time=2025-02-17T15:02:44.927+08:00 level=INFO source=routes.go:1267 msg="Dynamic LLM libraries" runners="[rocm_avx cpu cpu_avx cpu_avx2 cuda_v11_avx cuda_v12_avx]"
time=2025-02-17T15:02:44.928+08:00 level=INFO source=gpu.go:226 msg="looking for compatible GPUs"
SIGSEGV: segmentation violation
PC=0x0 m=12 sigcode=1 addr=0x0
signal arrived during cgo execution

goroutine 1 gp=0xc0000061c0 m=12 mp=0xc000200e08 [syscall]:
runtime.cgocall(0x55a526bb5af0, 0xc000724e80)
	runtime/cgocall.go:167 +0x4b fp=0xc000724e58 sp=0xc000724e20 pc=0x55a525e1c5ab
github.com/ollama/ollama/discover._Cfunc_nvcuda_bootstrap({0x7f3400000d30, 0x0, 0xc, 0x2, 0x7f33f24c2520, 0x7f33f24c2540, 0x7f33f24c2580, 0x7f33f24c2560, 0x7f33f24c2660, 0x7f33f24c25c0, ...}, ...)
	_cgo_gotypes.go:504 +0x47 fp=0xc000724e80 sp=0xc000724e58 pc=0x55a5263d6347
github.com/ollama/ollama/discover.GetGPUInfo.func3(0x55a526bf5025?, 0x0, 0xc00061c750)
	github.com/ollama/ollama/discover/gpu.go:278 +0x114 fp=0xc000724fd8 sp=0xc000724e80 pc=0x55a5263dbb94
github.com/ollama/ollama/discover.GetGPUInfo()
	github.com/ollama/ollama/discover/gpu.go:278 +0x85b fp=0xc000725ae0 sp=0xc000724fd8 pc=0x55a5263d841b
github.com/ollama/ollama/server.Serve({0x55a52702fa30, 0xc00054f480})
	github.com/ollama/ollama/server/routes.go:1274 +0x8aa fp=0xc000725d18 sp=0xc000725ae0 pc=0x55a52698c2ea
github.com/ollama/ollama/cmd.RunServer(0xc0002f9800?, {0x55a527889740?, 0x4?, 0x55a526bf601e?})
	github.com/ollama/ollama/cmd/cmd.go:1033 +0x4a fp=0xc000725d58 sp=0xc000725d18 pc=0x55a5269bb72a
github.com/spf13/cobra.(*Command).execute(0xc0005a0608, {0x55a527889740, 0x0, 0x0})
	github.com/spf13/cobra@v1.7.0/command.go:940 +0x862 fp=0xc000725e78 sp=0xc000725d58 pc=0x55a525f90962
github.com/spf13/cobra.(*Command).ExecuteC(0xc000503508)
	github.com/spf13/cobra@v1.7.0/command.go:1068 +0x3a5 fp=0xc000725f30 sp=0xc000725e78 pc=0x55a525f911a5
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=0xc000725f50 sp=0xc000725f30 pc=0x55a5269c31cd
runtime.main()
	runtime/proc.go:272 +0x29d fp=0xc000725fe0 sp=0xc000725f50 pc=0x55a525dedfbd
runtime.goexit({})
	runtime/asm_amd64.s:1700 +0x1 fp=0xc000725fe8 sp=0xc000725fe0 pc=0x55a525e2b081

goroutine 2 gp=0xc000006c40 m=nil [force gc (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	runtime/proc.go:424 +0xce fp=0xc000192fa8 sp=0xc000192f88 pc=0x55a525e22cae
runtime.goparkunlock(...)
	runtime/proc.go:430
runtime.forcegchelper()
	runtime/proc.go:337 +0xb8 fp=0xc000192fe0 sp=0xc000192fa8 pc=0x55a525dee2f8
runtime.goexit({})
	runtime/asm_amd64.s:1700 +0x1 fp=0xc000192fe8 sp=0xc000192fe0 pc=0x55a525e2b081
created by runtime.init.7 in goroutine 1
	runtime/proc.go:325 +0x1a

goroutine 3 gp=0xc000007180 m=nil [GC sweep wait]:
runtime.gopark(0x1?, 0x0?, 0x0?, 0x0?, 0x0?)
	runtime/proc.go:424 +0xce fp=0xc000193780 sp=0xc000193760 pc=0x55a525e22cae
runtime.goparkunlock(...)
	runtime/proc.go:430
runtime.bgsweep(0xc00018c080)
	runtime/mgcsweep.go:317 +0xdf fp=0xc0001937c8 sp=0xc000193780 pc=0x55a525dd899f
runtime.gcenable.gowrap1()
	runtime/mgc.go:204 +0x25 fp=0xc0001937e0 sp=0xc0001937c8 pc=0x55a525dccfe5
runtime.goexit({})
	runtime/asm_amd64.s:1700 +0x1 fp=0xc0001937e8 sp=0xc0001937e0 pc=0x55a525e2b081
created by runtime.gcenable in goroutine 1
	runtime/mgc.go:204 +0x66

goroutine 4 gp=0xc000007340 m=nil [GC scavenge wait]:
runtime.gopark(0x10000?, 0x55a526d9bc20?, 0x0?, 0x0?, 0x0?)
	runtime/proc.go:424 +0xce fp=0xc000193f78 sp=0xc000193f58 pc=0x55a525e22cae
runtime.goparkunlock(...)
	runtime/proc.go:430
runtime.(*scavengerState).park(0x55a5277dd320)
	runtime/mgcscavenge.go:425 +0x49 fp=0xc000193fa8 sp=0xc000193f78 pc=0x55a525dd6369
runtime.bgscavenge(0xc00018c080)
	runtime/mgcscavenge.go:658 +0x59 fp=0xc000193fc8 sp=0xc000193fa8 pc=0x55a525dd68f9
runtime.gcenable.gowrap2()
	runtime/mgc.go:205 +0x25 fp=0xc000193fe0 sp=0xc000193fc8 pc=0x55a525dccf85
runtime.goexit({})
	runtime/asm_amd64.s:1700 +0x1 fp=0xc000193fe8 sp=0xc000193fe0 pc=0x55a525e2b081
created by runtime.gcenable in goroutine 1
	runtime/mgc.go:205 +0xa5

goroutine 5 gp=0xc000007c00 m=nil [finalizer wait]:
runtime.gopark(0xc000192648?, 0x55a525dc34e5?, 0xb0?, 0x1?, 0xc0000061c0?)
	runtime/proc.go:424 +0xce fp=0xc000192620 sp=0xc000192600 pc=0x55a525e22cae
runtime.runfinq()
	runtime/mfinal.go:193 +0x107 fp=0xc0001927e0 sp=0xc000192620 pc=0x55a525dcc067
runtime.goexit({})
	runtime/asm_amd64.s:1700 +0x1 fp=0xc0001927e8 sp=0xc0001927e0 pc=0x55a525e2b081
created by runtime.createfing in goroutine 1
	runtime/mfinal.go:163 +0x3d

goroutine 6 gp=0xc0002e7500 m=nil [chan receive]:
runtime.gopark(0xc000194760?, 0x55a525eff2a5?, 0x40?, 0xc8?, 0x55a5270434e0?)
	runtime/proc.go:424 +0xce fp=0xc000194718 sp=0xc0001946f8 pc=0x55a525e22cae
runtime.chanrecv(0xc0000483f0, 0x0, 0x1)
	runtime/chan.go:639 +0x41c fp=0xc000194790 sp=0xc000194718 pc=0x55a525dbc6dc
runtime.chanrecv1(0x0?, 0x0?)
	runtime/chan.go:489 +0x12 fp=0xc0001947b8 sp=0xc000194790 pc=0x55a525dbc292
runtime.unique_runtime_registerUniqueMapCleanup.func1(...)
	runtime/mgc.go:1781
runtime.unique_runtime_registerUniqueMapCleanup.gowrap1()
	runtime/mgc.go:1784 +0x2f fp=0xc0001947e0 sp=0xc0001947b8 pc=0x55a525dd004f
runtime.goexit({})
	runtime/asm_amd64.s:1700 +0x1 fp=0xc0001947e8 sp=0xc0001947e0 pc=0x55a525e2b081
created by unique.runtime_registerUniqueMapCleanup in goroutine 1
	runtime/mgc.go:1779 +0x96

goroutine 7 gp=0xc0002e76c0 m=nil [GC worker (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	runtime/proc.go:424 +0xce fp=0xc000194f38 sp=0xc000194f18 pc=0x55a525e22cae
runtime.gcBgMarkWorker(0xc000049650)
	runtime/mgc.go:1412 +0xe9 fp=0xc000194fc8 sp=0xc000194f38 pc=0x55a525dcf349
runtime.gcBgMarkStartWorkers.gowrap1()
	runtime/mgc.go:1328 +0x25 fp=0xc000194fe0 sp=0xc000194fc8 pc=0x55a525dcf225
runtime.goexit({})
	runtime/asm_amd64.s:1700 +0x1 fp=0xc000194fe8 sp=0xc000194fe0 pc=0x55a525e2b081
created by runtime.gcBgMarkStartWorkers in goroutine 1
	runtime/mgc.go:1328 +0x105

goroutine 8 gp=0xc0002e7880 m=nil [GC worker (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	runtime/proc.go:424 +0xce fp=0xc000195738 sp=0xc000195718 pc=0x55a525e22cae
runtime.gcBgMarkWorker(0xc000049650)
	runtime/mgc.go:1412 +0xe9 fp=0xc0001957c8 sp=0xc000195738 pc=0x55a525dcf349
runtime.gcBgMarkStartWorkers.gowrap1()
	runtime/mgc.go:1328 +0x25 fp=0xc0001957e0 sp=0xc0001957c8 pc=0x55a525dcf225
runtime.goexit({})
	runtime/asm_amd64.s:1700 +0x1 fp=0xc0001957e8 sp=0xc0001957e0 pc=0x55a525e2b081
created by runtime.gcBgMarkStartWorkers in goroutine 1
	runtime/mgc.go:1328 +0x105

goroutine 9 gp=0xc0002e7a40 m=nil [GC worker (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	runtime/proc.go:424 +0xce fp=0xc000195f38 sp=0xc000195f18 pc=0x55a525e22cae
runtime.gcBgMarkWorker(0xc000049650)
	runtime/mgc.go:1412 +0xe9 fp=0xc000195fc8 sp=0xc000195f38 pc=0x55a525dcf349
runtime.gcBgMarkStartWorkers.gowrap1()
	runtime/mgc.go:1328 +0x25 fp=0xc000195fe0 sp=0xc000195fc8 pc=0x55a525dcf225
runtime.goexit({})
	runtime/asm_amd64.s:1700 +0x1 fp=0xc000195fe8 sp=0xc000195fe0 pc=0x55a525e2b081
created by runtime.gcBgMarkStartWorkers in goroutine 1
	runtime/mgc.go:1328 +0x105

goroutine 10 gp=0xc0002e7c00 m=nil [GC worker (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	runtime/proc.go:424 +0xce fp=0xc00018e738 sp=0xc00018e718 pc=0x55a525e22cae
runtime.gcBgMarkWorker(0xc000049650)
	runtime/mgc.go:1412 +0xe9 fp=0xc00018e7c8 sp=0xc00018e738 pc=0x55a525dcf349
runtime.gcBgMarkStartWorkers.gowrap1()
	runtime/mgc.go:1328 +0x25 fp=0xc00018e7e0 sp=0xc00018e7c8 pc=0x55a525dcf225
runtime.goexit({})
	runtime/asm_amd64.s:1700 +0x1 fp=0xc00018e7e8 sp=0xc00018e7e0 pc=0x55a525e2b081
created by runtime.gcBgMarkStartWorkers in goroutine 1
	runtime/mgc.go:1328 +0x105

goroutine 18 gp=0xc000204380 m=nil [GC worker (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	runtime/proc.go:424 +0xce fp=0xc00021c738 sp=0xc00021c718 pc=0x55a525e22cae
runtime.gcBgMarkWorker(0xc000049650)
	runtime/mgc.go:1412 +0xe9 fp=0xc00021c7c8 sp=0xc00021c738 pc=0x55a525dcf349
runtime.gcBgMarkStartWorkers.gowrap1()
	runtime/mgc.go:1328 +0x25 fp=0xc00021c7e0 sp=0xc00021c7c8 pc=0x55a525dcf225
runtime.goexit({})
	runtime/asm_amd64.s:1700 +0x1 fp=0xc00021c7e8 sp=0xc00021c7e0 pc=0x55a525e2b081
created by runtime.gcBgMarkStartWorkers in goroutine 1
	runtime/mgc.go:1328 +0x105

goroutine 19 gp=0xc000204540 m=nil [GC worker (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	runtime/proc.go:424 +0xce fp=0xc00021cf38 sp=0xc00021cf18 pc=0x55a525e22cae
runtime.gcBgMarkWorker(0xc000049650)
	runtime/mgc.go:1412 +0xe9 fp=0xc00021cfc8 sp=0xc00021cf38 pc=0x55a525dcf349
runtime.gcBgMarkStartWorkers.gowrap1()
	runtime/mgc.go:1328 +0x25 fp=0xc00021cfe0 sp=0xc00021cfc8 pc=0x55a525dcf225
runtime.goexit({})
	runtime/asm_amd64.s:1700 +0x1 fp=0xc00021cfe8 sp=0xc00021cfe0 pc=0x55a525e2b081
created by runtime.gcBgMarkStartWorkers in goroutine 1
	runtime/mgc.go:1328 +0x105

goroutine 20 gp=0xc000204700 m=nil [GC worker (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	runtime/proc.go:424 +0xce fp=0xc00021d738 sp=0xc00021d718 pc=0x55a525e22cae
runtime.gcBgMarkWorker(0xc000049650)
	runtime/mgc.go:1412 +0xe9 fp=0xc00021d7c8 sp=0xc00021d738 pc=0x55a525dcf349
runtime.gcBgMarkStartWorkers.gowrap1()
	runtime/mgc.go:1328 +0x25 fp=0xc00021d7e0 sp=0xc00021d7c8 pc=0x55a525dcf225
runtime.goexit({})
	runtime/asm_amd64.s:1700 +0x1 fp=0xc00021d7e8 sp=0xc00021d7e0 pc=0x55a525e2b081
created by runtime.gcBgMarkStartWorkers in goroutine 1
	runtime/mgc.go:1328 +0x105

goroutine 21 gp=0xc0002048c0 m=nil [GC worker (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	runtime/proc.go:424 +0xce fp=0xc00021df38 sp=0xc00021df18 pc=0x55a525e22cae
runtime.gcBgMarkWorker(0xc000049650)
	runtime/mgc.go:1412 +0xe9 fp=0xc00021dfc8 sp=0xc00021df38 pc=0x55a525dcf349
runtime.gcBgMarkStartWorkers.gowrap1()
	runtime/mgc.go:1328 +0x25 fp=0xc00021dfe0 sp=0xc00021dfc8 pc=0x55a525dcf225
runtime.goexit({})
	runtime/asm_amd64.s:1700 +0x1 fp=0xc00021dfe8 sp=0xc00021dfe0 pc=0x55a525e2b081
created by runtime.gcBgMarkStartWorkers in goroutine 1
	runtime/mgc.go:1328 +0x105

goroutine 22 gp=0xc000204a80 m=nil [GC worker (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	runtime/proc.go:424 +0xce fp=0xc00021e738 sp=0xc00021e718 pc=0x55a525e22cae
runtime.gcBgMarkWorker(0xc000049650)
	runtime/mgc.go:1412 +0xe9 fp=0xc00021e7c8 sp=0xc00021e738 pc=0x55a525dcf349
runtime.gcBgMarkStartWorkers.gowrap1()
	runtime/mgc.go:1328 +0x25 fp=0xc00021e7e0 sp=0xc00021e7c8 pc=0x55a525dcf225
runtime.goexit({})
	runtime/asm_amd64.s:1700 +0x1 fp=0xc00021e7e8 sp=0xc00021e7e0 pc=0x55a525e2b081
created by runtime.gcBgMarkStartWorkers in goroutine 1
	runtime/mgc.go:1328 +0x105

goroutine 23 gp=0xc000204c40 m=nil [GC worker (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	runtime/proc.go:424 +0xce fp=0xc00021ef38 sp=0xc00021ef18 pc=0x55a525e22cae
runtime.gcBgMarkWorker(0xc000049650)
	runtime/mgc.go:1412 +0xe9 fp=0xc00021efc8 sp=0xc00021ef38 pc=0x55a525dcf349
runtime.gcBgMarkStartWorkers.gowrap1()
	runtime/mgc.go:1328 +0x25 fp=0xc00021efe0 sp=0xc00021efc8 pc=0x55a525dcf225
runtime.goexit({})
	runtime/asm_amd64.s:1700 +0x1 fp=0xc00021efe8 sp=0xc00021efe0 pc=0x55a525e2b081
created by runtime.gcBgMarkStartWorkers in goroutine 1
	runtime/mgc.go:1328 +0x105

goroutine 24 gp=0xc000204e00 m=nil [GC worker (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	runtime/proc.go:424 +0xce fp=0xc00021f738 sp=0xc00021f718 pc=0x55a525e22cae
runtime.gcBgMarkWorker(0xc000049650)
	runtime/mgc.go:1412 +0xe9 fp=0xc00021f7c8 sp=0xc00021f738 pc=0x55a525dcf349
runtime.gcBgMarkStartWorkers.gowrap1()
	runtime/mgc.go:1328 +0x25 fp=0xc00021f7e0 sp=0xc00021f7c8 pc=0x55a525dcf225
runtime.goexit({})
	runtime/asm_amd64.s:1700 +0x1 fp=0xc00021f7e8 sp=0xc00021f7e0 pc=0x55a525e2b081
created by runtime.gcBgMarkStartWorkers in goroutine 1
	runtime/mgc.go:1328 +0x105

goroutine 25 gp=0xc000204fc0 m=nil [GC worker (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	runtime/proc.go:424 +0xce fp=0xc00021ff38 sp=0xc00021ff18 pc=0x55a525e22cae
runtime.gcBgMarkWorker(0xc000049650)
	runtime/mgc.go:1412 +0xe9 fp=0xc00021ffc8 sp=0xc00021ff38 pc=0x55a525dcf349
runtime.gcBgMarkStartWorkers.gowrap1()
	runtime/mgc.go:1328 +0x25 fp=0xc00021ffe0 sp=0xc00021ffc8 pc=0x55a525dcf225
runtime.goexit({})
	runtime/asm_amd64.s:1700 +0x1 fp=0xc00021ffe8 sp=0xc00021ffe0 pc=0x55a525e2b081
created by runtime.gcBgMarkStartWorkers in goroutine 1
	runtime/mgc.go:1328 +0x105

goroutine 26 gp=0xc000205180 m=nil [GC worker (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	runtime/proc.go:424 +0xce fp=0xc000218738 sp=0xc000218718 pc=0x55a525e22cae
runtime.gcBgMarkWorker(0xc000049650)
	runtime/mgc.go:1412 +0xe9 fp=0xc0002187c8 sp=0xc000218738 pc=0x55a525dcf349
runtime.gcBgMarkStartWorkers.gowrap1()
	runtime/mgc.go:1328 +0x25 fp=0xc0002187e0 sp=0xc0002187c8 pc=0x55a525dcf225
runtime.goexit({})
	runtime/asm_amd64.s:1700 +0x1 fp=0xc0002187e8 sp=0xc0002187e0 pc=0x55a525e2b081
created by runtime.gcBgMarkStartWorkers in goroutine 1
	runtime/mgc.go:1328 +0x105

goroutine 27 gp=0xc000205340 m=nil [GC worker (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	runtime/proc.go:424 +0xce fp=0xc000218f38 sp=0xc000218f18 pc=0x55a525e22cae
runtime.gcBgMarkWorker(0xc000049650)
	runtime/mgc.go:1412 +0xe9 fp=0xc000218fc8 sp=0xc000218f38 pc=0x55a525dcf349
runtime.gcBgMarkStartWorkers.gowrap1()
	runtime/mgc.go:1328 +0x25 fp=0xc000218fe0 sp=0xc000218fc8 pc=0x55a525dcf225
runtime.goexit({})
	runtime/asm_amd64.s:1700 +0x1 fp=0xc000218fe8 sp=0xc000218fe0 pc=0x55a525e2b081
created by runtime.gcBgMarkStartWorkers in goroutine 1
	runtime/mgc.go:1328 +0x105

goroutine 28 gp=0xc000205500 m=nil [GC worker (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	runtime/proc.go:424 +0xce fp=0xc000219738 sp=0xc000219718 pc=0x55a525e22cae
runtime.gcBgMarkWorker(0xc000049650)
	runtime/mgc.go:1412 +0xe9 fp=0xc0002197c8 sp=0xc000219738 pc=0x55a525dcf349
runtime.gcBgMarkStartWorkers.gowrap1()
	runtime/mgc.go:1328 +0x25 fp=0xc0002197e0 sp=0xc0002197c8 pc=0x55a525dcf225
runtime.goexit({})
	runtime/asm_amd64.s:1700 +0x1 fp=0xc0002197e8 sp=0xc0002197e0 pc=0x55a525e2b081
created by runtime.gcBgMarkStartWorkers in goroutine 1
	runtime/mgc.go:1328 +0x105

goroutine 29 gp=0xc0002056c0 m=nil [GC worker (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	runtime/proc.go:424 +0xce fp=0xc000219f38 sp=0xc000219f18 pc=0x55a525e22cae
runtime.gcBgMarkWorker(0xc000049650)
	runtime/mgc.go:1412 +0xe9 fp=0xc000219fc8 sp=0xc000219f38 pc=0x55a525dcf349
runtime.gcBgMarkStartWorkers.gowrap1()
	runtime/mgc.go:1328 +0x25 fp=0xc000219fe0 sp=0xc000219fc8 pc=0x55a525dcf225
runtime.goexit({})
	runtime/asm_amd64.s:1700 +0x1 fp=0xc000219fe8 sp=0xc000219fe0 pc=0x55a525e2b081
created by runtime.gcBgMarkStartWorkers in goroutine 1
	runtime/mgc.go:1328 +0x105

goroutine 30 gp=0xc000205880 m=nil [GC worker (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	runtime/proc.go:424 +0xce fp=0xc00021a738 sp=0xc00021a718 pc=0x55a525e22cae
runtime.gcBgMarkWorker(0xc000049650)
	runtime/mgc.go:1412 +0xe9 fp=0xc00021a7c8 sp=0xc00021a738 pc=0x55a525dcf349
runtime.gcBgMarkStartWorkers.gowrap1()
	runtime/mgc.go:1328 +0x25 fp=0xc00021a7e0 sp=0xc00021a7c8 pc=0x55a525dcf225
runtime.goexit({})
	runtime/asm_amd64.s:1700 +0x1 fp=0xc00021a7e8 sp=0xc00021a7e0 pc=0x55a525e2b081
created by runtime.gcBgMarkStartWorkers in goroutine 1
	runtime/mgc.go:1328 +0x105

OS

Linux

GPU

Nvidia

CPU

Intel

Ollama version

0.5.6

Originally created by @USCLeoLYM on GitHub (Feb 17, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/9164 ### What is the issue? Uninstalling and reinstalling Olama still cannot start.Please help! ### Relevant log output ```shell 2025/02/17 15:02:44 routes.go:1187: INFO server config env="map[CUDA_VISIBLE_DEVICES: GPU_DEVICE_ORDINAL: HIP_VISIBLE_DEVICES: HSA_OVERRIDE_GFX_VERSION: HTTPS_PROXY: HTTP_PROXY: NO_PROXY:localhost,127.0.0.1,192.168.0.0/16,10.0.0.0/8,172.16.0.0/12,172.29.0.0/16,::1 OLLAMA_DEBUG:false OLLAMA_FLASH_ATTENTION:false OLLAMA_GPU_OVERHEAD:0 OLLAMA_HOST:http://127.0.0.1:11434 OLLAMA_INTEL_GPU:false OLLAMA_KEEP_ALIVE:5m0s OLLAMA_KV_CACHE_TYPE: OLLAMA_LLM_LIBRARY:cpu OLLAMA_LOAD_TIMEOUT:5m0s OLLAMA_MAX_LOADED_MODELS:0 OLLAMA_MAX_QUEUE:512 OLLAMA_MODELS:/home/ubuntu/Ollama/ollama_cache OLLAMA_MULTIUSER_CACHE:false OLLAMA_NOHISTORY:false OLLAMA_NOPRUNE:false OLLAMA_NUM_PARALLEL:0 OLLAMA_ORIGINS:[http://localhost https://localhost http://localhost:* https://localhost:* http://127.0.0.1 https://127.0.0.1 http://127.0.0.1:* https://127.0.0.1:* http://0.0.0.0 https://0.0.0.0 http://0.0.0.0:* https://0.0.0.0:* app://* file://* tauri://* vscode-webview://*] OLLAMA_SCHED_SPREAD:false ROCR_VISIBLE_DEVICES: http_proxy: https_proxy: no_proxy:localhost,127.0.0.1,192.168.0.0/16,10.0.0.0/8,172.16.0.0/12,172.29.0.0/16,::1]" time=2025-02-17T15:02:44.926+08:00 level=INFO source=images.go:432 msg="total blobs: 0" time=2025-02-17T15:02:44.926+08:00 level=INFO source=images.go:439 msg="total unused blobs removed: 0" [GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached. [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production. - using env: export GIN_MODE=release - using code: gin.SetMode(gin.ReleaseMode) [GIN-debug] POST /api/pull --> github.com/ollama/ollama/server.(*Server).PullHandler-fm (5 handlers) [GIN-debug] POST /api/generate --> github.com/ollama/ollama/server.(*Server).GenerateHandler-fm (5 handlers) [GIN-debug] POST /api/chat --> github.com/ollama/ollama/server.(*Server).ChatHandler-fm (5 handlers) [GIN-debug] POST /api/embed --> github.com/ollama/ollama/server.(*Server).EmbedHandler-fm (5 handlers) [GIN-debug] POST /api/embeddings --> github.com/ollama/ollama/server.(*Server).EmbeddingsHandler-fm (5 handlers) [GIN-debug] POST /api/create --> github.com/ollama/ollama/server.(*Server).CreateHandler-fm (5 handlers) [GIN-debug] POST /api/push --> github.com/ollama/ollama/server.(*Server).PushHandler-fm (5 handlers) [GIN-debug] POST /api/copy --> github.com/ollama/ollama/server.(*Server).CopyHandler-fm (5 handlers) [GIN-debug] DELETE /api/delete --> github.com/ollama/ollama/server.(*Server).DeleteHandler-fm (5 handlers) [GIN-debug] POST /api/show --> github.com/ollama/ollama/server.(*Server).ShowHandler-fm (5 handlers) [GIN-debug] POST /api/blobs/:digest --> github.com/ollama/ollama/server.(*Server).CreateBlobHandler-fm (5 handlers) [GIN-debug] HEAD /api/blobs/:digest --> github.com/ollama/ollama/server.(*Server).HeadBlobHandler-fm (5 handlers) [GIN-debug] GET /api/ps --> github.com/ollama/ollama/server.(*Server).PsHandler-fm (5 handlers) [GIN-debug] POST /v1/chat/completions --> github.com/ollama/ollama/server.(*Server).ChatHandler-fm (6 handlers) [GIN-debug] POST /v1/completions --> github.com/ollama/ollama/server.(*Server).GenerateHandler-fm (6 handlers) [GIN-debug] POST /v1/embeddings --> github.com/ollama/ollama/server.(*Server).EmbedHandler-fm (6 handlers) [GIN-debug] GET /v1/models --> github.com/ollama/ollama/server.(*Server).ListHandler-fm (6 handlers) [GIN-debug] GET /v1/models/:model --> github.com/ollama/ollama/server.(*Server).ShowHandler-fm (6 handlers) [GIN-debug] GET / --> github.com/ollama/ollama/server.(*Server).GenerateRoutes.func1 (5 handlers) [GIN-debug] GET /api/tags --> github.com/ollama/ollama/server.(*Server).ListHandler-fm (5 handlers) [GIN-debug] GET /api/version --> github.com/ollama/ollama/server.(*Server).GenerateRoutes.func2 (5 handlers) [GIN-debug] HEAD / --> github.com/ollama/ollama/server.(*Server).GenerateRoutes.func1 (5 handlers) [GIN-debug] HEAD /api/tags --> github.com/ollama/ollama/server.(*Server).ListHandler-fm (5 handlers) [GIN-debug] HEAD /api/version --> github.com/ollama/ollama/server.(*Server).GenerateRoutes.func2 (5 handlers) time=2025-02-17T15:02:44.927+08:00 level=INFO source=routes.go:1238 msg="Listening on 127.0.0.1:11434 (version 0.5.6)" time=2025-02-17T15:02:44.927+08:00 level=INFO source=routes.go:1267 msg="Dynamic LLM libraries" runners="[rocm_avx cpu cpu_avx cpu_avx2 cuda_v11_avx cuda_v12_avx]" time=2025-02-17T15:02:44.928+08:00 level=INFO source=gpu.go:226 msg="looking for compatible GPUs" SIGSEGV: segmentation violation PC=0x0 m=12 sigcode=1 addr=0x0 signal arrived during cgo execution goroutine 1 gp=0xc0000061c0 m=12 mp=0xc000200e08 [syscall]: runtime.cgocall(0x55a526bb5af0, 0xc000724e80) runtime/cgocall.go:167 +0x4b fp=0xc000724e58 sp=0xc000724e20 pc=0x55a525e1c5ab github.com/ollama/ollama/discover._Cfunc_nvcuda_bootstrap({0x7f3400000d30, 0x0, 0xc, 0x2, 0x7f33f24c2520, 0x7f33f24c2540, 0x7f33f24c2580, 0x7f33f24c2560, 0x7f33f24c2660, 0x7f33f24c25c0, ...}, ...) _cgo_gotypes.go:504 +0x47 fp=0xc000724e80 sp=0xc000724e58 pc=0x55a5263d6347 github.com/ollama/ollama/discover.GetGPUInfo.func3(0x55a526bf5025?, 0x0, 0xc00061c750) github.com/ollama/ollama/discover/gpu.go:278 +0x114 fp=0xc000724fd8 sp=0xc000724e80 pc=0x55a5263dbb94 github.com/ollama/ollama/discover.GetGPUInfo() github.com/ollama/ollama/discover/gpu.go:278 +0x85b fp=0xc000725ae0 sp=0xc000724fd8 pc=0x55a5263d841b github.com/ollama/ollama/server.Serve({0x55a52702fa30, 0xc00054f480}) github.com/ollama/ollama/server/routes.go:1274 +0x8aa fp=0xc000725d18 sp=0xc000725ae0 pc=0x55a52698c2ea github.com/ollama/ollama/cmd.RunServer(0xc0002f9800?, {0x55a527889740?, 0x4?, 0x55a526bf601e?}) github.com/ollama/ollama/cmd/cmd.go:1033 +0x4a fp=0xc000725d58 sp=0xc000725d18 pc=0x55a5269bb72a github.com/spf13/cobra.(*Command).execute(0xc0005a0608, {0x55a527889740, 0x0, 0x0}) github.com/spf13/cobra@v1.7.0/command.go:940 +0x862 fp=0xc000725e78 sp=0xc000725d58 pc=0x55a525f90962 github.com/spf13/cobra.(*Command).ExecuteC(0xc000503508) github.com/spf13/cobra@v1.7.0/command.go:1068 +0x3a5 fp=0xc000725f30 sp=0xc000725e78 pc=0x55a525f911a5 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=0xc000725f50 sp=0xc000725f30 pc=0x55a5269c31cd runtime.main() runtime/proc.go:272 +0x29d fp=0xc000725fe0 sp=0xc000725f50 pc=0x55a525dedfbd runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc000725fe8 sp=0xc000725fe0 pc=0x55a525e2b081 goroutine 2 gp=0xc000006c40 m=nil [force gc (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) runtime/proc.go:424 +0xce fp=0xc000192fa8 sp=0xc000192f88 pc=0x55a525e22cae runtime.goparkunlock(...) runtime/proc.go:430 runtime.forcegchelper() runtime/proc.go:337 +0xb8 fp=0xc000192fe0 sp=0xc000192fa8 pc=0x55a525dee2f8 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc000192fe8 sp=0xc000192fe0 pc=0x55a525e2b081 created by runtime.init.7 in goroutine 1 runtime/proc.go:325 +0x1a goroutine 3 gp=0xc000007180 m=nil [GC sweep wait]: runtime.gopark(0x1?, 0x0?, 0x0?, 0x0?, 0x0?) runtime/proc.go:424 +0xce fp=0xc000193780 sp=0xc000193760 pc=0x55a525e22cae runtime.goparkunlock(...) runtime/proc.go:430 runtime.bgsweep(0xc00018c080) runtime/mgcsweep.go:317 +0xdf fp=0xc0001937c8 sp=0xc000193780 pc=0x55a525dd899f runtime.gcenable.gowrap1() runtime/mgc.go:204 +0x25 fp=0xc0001937e0 sp=0xc0001937c8 pc=0x55a525dccfe5 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc0001937e8 sp=0xc0001937e0 pc=0x55a525e2b081 created by runtime.gcenable in goroutine 1 runtime/mgc.go:204 +0x66 goroutine 4 gp=0xc000007340 m=nil [GC scavenge wait]: runtime.gopark(0x10000?, 0x55a526d9bc20?, 0x0?, 0x0?, 0x0?) runtime/proc.go:424 +0xce fp=0xc000193f78 sp=0xc000193f58 pc=0x55a525e22cae runtime.goparkunlock(...) runtime/proc.go:430 runtime.(*scavengerState).park(0x55a5277dd320) runtime/mgcscavenge.go:425 +0x49 fp=0xc000193fa8 sp=0xc000193f78 pc=0x55a525dd6369 runtime.bgscavenge(0xc00018c080) runtime/mgcscavenge.go:658 +0x59 fp=0xc000193fc8 sp=0xc000193fa8 pc=0x55a525dd68f9 runtime.gcenable.gowrap2() runtime/mgc.go:205 +0x25 fp=0xc000193fe0 sp=0xc000193fc8 pc=0x55a525dccf85 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc000193fe8 sp=0xc000193fe0 pc=0x55a525e2b081 created by runtime.gcenable in goroutine 1 runtime/mgc.go:205 +0xa5 goroutine 5 gp=0xc000007c00 m=nil [finalizer wait]: runtime.gopark(0xc000192648?, 0x55a525dc34e5?, 0xb0?, 0x1?, 0xc0000061c0?) runtime/proc.go:424 +0xce fp=0xc000192620 sp=0xc000192600 pc=0x55a525e22cae runtime.runfinq() runtime/mfinal.go:193 +0x107 fp=0xc0001927e0 sp=0xc000192620 pc=0x55a525dcc067 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc0001927e8 sp=0xc0001927e0 pc=0x55a525e2b081 created by runtime.createfing in goroutine 1 runtime/mfinal.go:163 +0x3d goroutine 6 gp=0xc0002e7500 m=nil [chan receive]: runtime.gopark(0xc000194760?, 0x55a525eff2a5?, 0x40?, 0xc8?, 0x55a5270434e0?) runtime/proc.go:424 +0xce fp=0xc000194718 sp=0xc0001946f8 pc=0x55a525e22cae runtime.chanrecv(0xc0000483f0, 0x0, 0x1) runtime/chan.go:639 +0x41c fp=0xc000194790 sp=0xc000194718 pc=0x55a525dbc6dc runtime.chanrecv1(0x0?, 0x0?) runtime/chan.go:489 +0x12 fp=0xc0001947b8 sp=0xc000194790 pc=0x55a525dbc292 runtime.unique_runtime_registerUniqueMapCleanup.func1(...) runtime/mgc.go:1781 runtime.unique_runtime_registerUniqueMapCleanup.gowrap1() runtime/mgc.go:1784 +0x2f fp=0xc0001947e0 sp=0xc0001947b8 pc=0x55a525dd004f runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc0001947e8 sp=0xc0001947e0 pc=0x55a525e2b081 created by unique.runtime_registerUniqueMapCleanup in goroutine 1 runtime/mgc.go:1779 +0x96 goroutine 7 gp=0xc0002e76c0 m=nil [GC worker (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) runtime/proc.go:424 +0xce fp=0xc000194f38 sp=0xc000194f18 pc=0x55a525e22cae runtime.gcBgMarkWorker(0xc000049650) runtime/mgc.go:1412 +0xe9 fp=0xc000194fc8 sp=0xc000194f38 pc=0x55a525dcf349 runtime.gcBgMarkStartWorkers.gowrap1() runtime/mgc.go:1328 +0x25 fp=0xc000194fe0 sp=0xc000194fc8 pc=0x55a525dcf225 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc000194fe8 sp=0xc000194fe0 pc=0x55a525e2b081 created by runtime.gcBgMarkStartWorkers in goroutine 1 runtime/mgc.go:1328 +0x105 goroutine 8 gp=0xc0002e7880 m=nil [GC worker (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) runtime/proc.go:424 +0xce fp=0xc000195738 sp=0xc000195718 pc=0x55a525e22cae runtime.gcBgMarkWorker(0xc000049650) runtime/mgc.go:1412 +0xe9 fp=0xc0001957c8 sp=0xc000195738 pc=0x55a525dcf349 runtime.gcBgMarkStartWorkers.gowrap1() runtime/mgc.go:1328 +0x25 fp=0xc0001957e0 sp=0xc0001957c8 pc=0x55a525dcf225 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc0001957e8 sp=0xc0001957e0 pc=0x55a525e2b081 created by runtime.gcBgMarkStartWorkers in goroutine 1 runtime/mgc.go:1328 +0x105 goroutine 9 gp=0xc0002e7a40 m=nil [GC worker (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) runtime/proc.go:424 +0xce fp=0xc000195f38 sp=0xc000195f18 pc=0x55a525e22cae runtime.gcBgMarkWorker(0xc000049650) runtime/mgc.go:1412 +0xe9 fp=0xc000195fc8 sp=0xc000195f38 pc=0x55a525dcf349 runtime.gcBgMarkStartWorkers.gowrap1() runtime/mgc.go:1328 +0x25 fp=0xc000195fe0 sp=0xc000195fc8 pc=0x55a525dcf225 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc000195fe8 sp=0xc000195fe0 pc=0x55a525e2b081 created by runtime.gcBgMarkStartWorkers in goroutine 1 runtime/mgc.go:1328 +0x105 goroutine 10 gp=0xc0002e7c00 m=nil [GC worker (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) runtime/proc.go:424 +0xce fp=0xc00018e738 sp=0xc00018e718 pc=0x55a525e22cae runtime.gcBgMarkWorker(0xc000049650) runtime/mgc.go:1412 +0xe9 fp=0xc00018e7c8 sp=0xc00018e738 pc=0x55a525dcf349 runtime.gcBgMarkStartWorkers.gowrap1() runtime/mgc.go:1328 +0x25 fp=0xc00018e7e0 sp=0xc00018e7c8 pc=0x55a525dcf225 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc00018e7e8 sp=0xc00018e7e0 pc=0x55a525e2b081 created by runtime.gcBgMarkStartWorkers in goroutine 1 runtime/mgc.go:1328 +0x105 goroutine 18 gp=0xc000204380 m=nil [GC worker (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) runtime/proc.go:424 +0xce fp=0xc00021c738 sp=0xc00021c718 pc=0x55a525e22cae runtime.gcBgMarkWorker(0xc000049650) runtime/mgc.go:1412 +0xe9 fp=0xc00021c7c8 sp=0xc00021c738 pc=0x55a525dcf349 runtime.gcBgMarkStartWorkers.gowrap1() runtime/mgc.go:1328 +0x25 fp=0xc00021c7e0 sp=0xc00021c7c8 pc=0x55a525dcf225 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc00021c7e8 sp=0xc00021c7e0 pc=0x55a525e2b081 created by runtime.gcBgMarkStartWorkers in goroutine 1 runtime/mgc.go:1328 +0x105 goroutine 19 gp=0xc000204540 m=nil [GC worker (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) runtime/proc.go:424 +0xce fp=0xc00021cf38 sp=0xc00021cf18 pc=0x55a525e22cae runtime.gcBgMarkWorker(0xc000049650) runtime/mgc.go:1412 +0xe9 fp=0xc00021cfc8 sp=0xc00021cf38 pc=0x55a525dcf349 runtime.gcBgMarkStartWorkers.gowrap1() runtime/mgc.go:1328 +0x25 fp=0xc00021cfe0 sp=0xc00021cfc8 pc=0x55a525dcf225 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc00021cfe8 sp=0xc00021cfe0 pc=0x55a525e2b081 created by runtime.gcBgMarkStartWorkers in goroutine 1 runtime/mgc.go:1328 +0x105 goroutine 20 gp=0xc000204700 m=nil [GC worker (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) runtime/proc.go:424 +0xce fp=0xc00021d738 sp=0xc00021d718 pc=0x55a525e22cae runtime.gcBgMarkWorker(0xc000049650) runtime/mgc.go:1412 +0xe9 fp=0xc00021d7c8 sp=0xc00021d738 pc=0x55a525dcf349 runtime.gcBgMarkStartWorkers.gowrap1() runtime/mgc.go:1328 +0x25 fp=0xc00021d7e0 sp=0xc00021d7c8 pc=0x55a525dcf225 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc00021d7e8 sp=0xc00021d7e0 pc=0x55a525e2b081 created by runtime.gcBgMarkStartWorkers in goroutine 1 runtime/mgc.go:1328 +0x105 goroutine 21 gp=0xc0002048c0 m=nil [GC worker (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) runtime/proc.go:424 +0xce fp=0xc00021df38 sp=0xc00021df18 pc=0x55a525e22cae runtime.gcBgMarkWorker(0xc000049650) runtime/mgc.go:1412 +0xe9 fp=0xc00021dfc8 sp=0xc00021df38 pc=0x55a525dcf349 runtime.gcBgMarkStartWorkers.gowrap1() runtime/mgc.go:1328 +0x25 fp=0xc00021dfe0 sp=0xc00021dfc8 pc=0x55a525dcf225 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc00021dfe8 sp=0xc00021dfe0 pc=0x55a525e2b081 created by runtime.gcBgMarkStartWorkers in goroutine 1 runtime/mgc.go:1328 +0x105 goroutine 22 gp=0xc000204a80 m=nil [GC worker (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) runtime/proc.go:424 +0xce fp=0xc00021e738 sp=0xc00021e718 pc=0x55a525e22cae runtime.gcBgMarkWorker(0xc000049650) runtime/mgc.go:1412 +0xe9 fp=0xc00021e7c8 sp=0xc00021e738 pc=0x55a525dcf349 runtime.gcBgMarkStartWorkers.gowrap1() runtime/mgc.go:1328 +0x25 fp=0xc00021e7e0 sp=0xc00021e7c8 pc=0x55a525dcf225 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc00021e7e8 sp=0xc00021e7e0 pc=0x55a525e2b081 created by runtime.gcBgMarkStartWorkers in goroutine 1 runtime/mgc.go:1328 +0x105 goroutine 23 gp=0xc000204c40 m=nil [GC worker (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) runtime/proc.go:424 +0xce fp=0xc00021ef38 sp=0xc00021ef18 pc=0x55a525e22cae runtime.gcBgMarkWorker(0xc000049650) runtime/mgc.go:1412 +0xe9 fp=0xc00021efc8 sp=0xc00021ef38 pc=0x55a525dcf349 runtime.gcBgMarkStartWorkers.gowrap1() runtime/mgc.go:1328 +0x25 fp=0xc00021efe0 sp=0xc00021efc8 pc=0x55a525dcf225 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc00021efe8 sp=0xc00021efe0 pc=0x55a525e2b081 created by runtime.gcBgMarkStartWorkers in goroutine 1 runtime/mgc.go:1328 +0x105 goroutine 24 gp=0xc000204e00 m=nil [GC worker (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) runtime/proc.go:424 +0xce fp=0xc00021f738 sp=0xc00021f718 pc=0x55a525e22cae runtime.gcBgMarkWorker(0xc000049650) runtime/mgc.go:1412 +0xe9 fp=0xc00021f7c8 sp=0xc00021f738 pc=0x55a525dcf349 runtime.gcBgMarkStartWorkers.gowrap1() runtime/mgc.go:1328 +0x25 fp=0xc00021f7e0 sp=0xc00021f7c8 pc=0x55a525dcf225 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc00021f7e8 sp=0xc00021f7e0 pc=0x55a525e2b081 created by runtime.gcBgMarkStartWorkers in goroutine 1 runtime/mgc.go:1328 +0x105 goroutine 25 gp=0xc000204fc0 m=nil [GC worker (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) runtime/proc.go:424 +0xce fp=0xc00021ff38 sp=0xc00021ff18 pc=0x55a525e22cae runtime.gcBgMarkWorker(0xc000049650) runtime/mgc.go:1412 +0xe9 fp=0xc00021ffc8 sp=0xc00021ff38 pc=0x55a525dcf349 runtime.gcBgMarkStartWorkers.gowrap1() runtime/mgc.go:1328 +0x25 fp=0xc00021ffe0 sp=0xc00021ffc8 pc=0x55a525dcf225 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc00021ffe8 sp=0xc00021ffe0 pc=0x55a525e2b081 created by runtime.gcBgMarkStartWorkers in goroutine 1 runtime/mgc.go:1328 +0x105 goroutine 26 gp=0xc000205180 m=nil [GC worker (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) runtime/proc.go:424 +0xce fp=0xc000218738 sp=0xc000218718 pc=0x55a525e22cae runtime.gcBgMarkWorker(0xc000049650) runtime/mgc.go:1412 +0xe9 fp=0xc0002187c8 sp=0xc000218738 pc=0x55a525dcf349 runtime.gcBgMarkStartWorkers.gowrap1() runtime/mgc.go:1328 +0x25 fp=0xc0002187e0 sp=0xc0002187c8 pc=0x55a525dcf225 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc0002187e8 sp=0xc0002187e0 pc=0x55a525e2b081 created by runtime.gcBgMarkStartWorkers in goroutine 1 runtime/mgc.go:1328 +0x105 goroutine 27 gp=0xc000205340 m=nil [GC worker (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) runtime/proc.go:424 +0xce fp=0xc000218f38 sp=0xc000218f18 pc=0x55a525e22cae runtime.gcBgMarkWorker(0xc000049650) runtime/mgc.go:1412 +0xe9 fp=0xc000218fc8 sp=0xc000218f38 pc=0x55a525dcf349 runtime.gcBgMarkStartWorkers.gowrap1() runtime/mgc.go:1328 +0x25 fp=0xc000218fe0 sp=0xc000218fc8 pc=0x55a525dcf225 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc000218fe8 sp=0xc000218fe0 pc=0x55a525e2b081 created by runtime.gcBgMarkStartWorkers in goroutine 1 runtime/mgc.go:1328 +0x105 goroutine 28 gp=0xc000205500 m=nil [GC worker (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) runtime/proc.go:424 +0xce fp=0xc000219738 sp=0xc000219718 pc=0x55a525e22cae runtime.gcBgMarkWorker(0xc000049650) runtime/mgc.go:1412 +0xe9 fp=0xc0002197c8 sp=0xc000219738 pc=0x55a525dcf349 runtime.gcBgMarkStartWorkers.gowrap1() runtime/mgc.go:1328 +0x25 fp=0xc0002197e0 sp=0xc0002197c8 pc=0x55a525dcf225 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc0002197e8 sp=0xc0002197e0 pc=0x55a525e2b081 created by runtime.gcBgMarkStartWorkers in goroutine 1 runtime/mgc.go:1328 +0x105 goroutine 29 gp=0xc0002056c0 m=nil [GC worker (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) runtime/proc.go:424 +0xce fp=0xc000219f38 sp=0xc000219f18 pc=0x55a525e22cae runtime.gcBgMarkWorker(0xc000049650) runtime/mgc.go:1412 +0xe9 fp=0xc000219fc8 sp=0xc000219f38 pc=0x55a525dcf349 runtime.gcBgMarkStartWorkers.gowrap1() runtime/mgc.go:1328 +0x25 fp=0xc000219fe0 sp=0xc000219fc8 pc=0x55a525dcf225 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc000219fe8 sp=0xc000219fe0 pc=0x55a525e2b081 created by runtime.gcBgMarkStartWorkers in goroutine 1 runtime/mgc.go:1328 +0x105 goroutine 30 gp=0xc000205880 m=nil [GC worker (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) runtime/proc.go:424 +0xce fp=0xc00021a738 sp=0xc00021a718 pc=0x55a525e22cae runtime.gcBgMarkWorker(0xc000049650) runtime/mgc.go:1412 +0xe9 fp=0xc00021a7c8 sp=0xc00021a738 pc=0x55a525dcf349 runtime.gcBgMarkStartWorkers.gowrap1() runtime/mgc.go:1328 +0x25 fp=0xc00021a7e0 sp=0xc00021a7c8 pc=0x55a525dcf225 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc00021a7e8 sp=0xc00021a7e0 pc=0x55a525e2b081 created by runtime.gcBgMarkStartWorkers in goroutine 1 runtime/mgc.go:1328 +0x105 ``` ### OS Linux ### GPU Nvidia ### CPU Intel ### Ollama version 0.5.6
GiteaMirror added the nvidiabug labels 2026-04-12 17:18:54 -05:00
Author
Owner

@rick-github commented on GitHub (Feb 17, 2025):

Have you tried installing a more recent version of ollama, eg 0.5.11?

<!-- gh-comment-id:2662284184 --> @rick-github commented on GitHub (Feb 17, 2025): Have you tried installing a more recent version of ollama, eg 0.5.11?
Author
Owner

@USCLeoLYM commented on GitHub (Feb 17, 2025):

Have you tried installing a more recent version of ollama, eg 0.5.11?

Yes,i tried installing 0.5.11/0.5.10 version,but it strill cannot start. However, the error code is 1086.

<!-- gh-comment-id:2662426141 --> @USCLeoLYM commented on GitHub (Feb 17, 2025): > Have you tried installing a more recent version of ollama, eg 0.5.11? Yes,i tried installing 0.5.11/0.5.10 version,but it strill cannot start. However, the error code is 1086.
Author
Owner

@rick-github commented on GitHub (Feb 17, 2025):

Please set OLLAMA_DEBUG=1 in the server environment, post the logs from a failure in a 0.5.11 install, and also the output of nvidia-smi.

<!-- gh-comment-id:2662439248 --> @rick-github commented on GitHub (Feb 17, 2025): Please set `OLLAMA_DEBUG=1` in the server environment, post the logs from a failure in a 0.5.11 install, and also the output of `nvidia-smi`.
Author
Owner

@USCLeoLYM commented on GitHub (Feb 19, 2025):

It's my GPU driver is causing something to go wrong,thanks.

<!-- gh-comment-id:2668013813 --> @USCLeoLYM commented on GitHub (Feb 19, 2025): It's my GPU driver is causing something to go wrong,thanks.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#5964