[GH-ISSUE #4112] Just built from source, [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xf2607e] #2554

Closed
opened 2026-04-12 12:52:51 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @phalexo on GitHub (May 3, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/4112

What is the issue?

{"function":"update_slots","level":"INFO","line":1643,"msg":"slot released","n_cache_tokens":6518,"n_ctx":8192,"n_past":6517,"n_system_tokens":0,"slot_id":0,"task_id":10,"tid":"140300465766400","timestamp":1714696428,"truncated":false}
{"function":"log_server_request","level":"INFO","line":2737,"method":"POST","msg":"request","params":{},"path":"/completion","remote_addr":"127.0.0.1","remote_port":49364,"status":200,"tid":"140300294606848","timestamp":1714696428}
[GIN] 2024/05/02 - 20:33:48 | 200 | 9m9s | 127.0.0.1 | POST "/v1/chat/completions"
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xf2607e]

goroutine 23 [running]:
github.com/ollama/ollama/server.(*runnerRef).needsReload(0xc000490960, {0x1b670da0, 0xc0000e8d70}, 0xc0004dc1e0)
/home/developer/ollama/server/sched.go:459 +0x15e
github.com/ollama/ollama/server.(*Scheduler).processPending(0xc0000e8eb0, {0x1b670da0, 0xc0000e8d70})
/home/developer/ollama/server/sched.go:130 +0x465
github.com/ollama/ollama/server.(*Scheduler).Run.func1()
/home/developer/ollama/server/sched.go:107 +0x1f
created by github.com/ollama/ollama/server.(*Scheduler).Run in goroutine 1
/home/developer/ollama/server/sched.go:106 +0xb4

OS

Linux

GPU

Nvidia

CPU

Intel

Ollama version

latest from source.

Originally created by @phalexo on GitHub (May 3, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/4112 ### What is the issue? {"function":"update_slots","level":"INFO","line":1643,"msg":"slot released","n_cache_tokens":6518,"n_ctx":8192,"n_past":6517,"n_system_tokens":0,"slot_id":0,"task_id":10,"tid":"140300465766400","timestamp":1714696428,"truncated":false} {"function":"log_server_request","level":"INFO","line":2737,"method":"POST","msg":"request","params":{},"path":"/completion","remote_addr":"127.0.0.1","remote_port":49364,"status":200,"tid":"140300294606848","timestamp":1714696428} [GIN] 2024/05/02 - 20:33:48 | 200 | 9m9s | 127.0.0.1 | POST "/v1/chat/completions" panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xf2607e] goroutine 23 [running]: github.com/ollama/ollama/server.(*runnerRef).needsReload(0xc000490960, {0x1b670da0, 0xc0000e8d70}, 0xc0004dc1e0) /home/developer/ollama/server/sched.go:459 +0x15e github.com/ollama/ollama/server.(*Scheduler).processPending(0xc0000e8eb0, {0x1b670da0, 0xc0000e8d70}) /home/developer/ollama/server/sched.go:130 +0x465 github.com/ollama/ollama/server.(*Scheduler).Run.func1() /home/developer/ollama/server/sched.go:107 +0x1f created by github.com/ollama/ollama/server.(*Scheduler).Run in goroutine 1 /home/developer/ollama/server/sched.go:106 +0xb4 ### OS Linux ### GPU Nvidia ### CPU Intel ### Ollama version latest from source.
GiteaMirror added the bug label 2026-04-12 12:52:51 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#2554