[GH-ISSUE #8441] Segmentation fault #31188

Closed
opened 2026-04-22 11:25:09 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @eviejw12 on GitHub (Jan 15, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/8441

Originally assigned to: @dhiltgen on GitHub.

What is the issue?

Dear Ollama Team,
I encountered an issue while attempting to run the 'ollama service' command after installation. Here are the detailed steps I followed and the error message I received:

  1. I downloaded the 'ollama-linux-amd64.tgz' file from your official source because my research network has some access limitations.
  2. I unzipped the file to the path '/usr/local/bin/ollama'.
  3. When I executed the command 'ollama service', I encountered a 'Segmentation fault' error.
    I would appreciate it if you could look into this issue and provide any possible solutions or workarounds. Thank you for your attention to this matter.

Best regards

OS

Linux

GPU

Nvidia

CPU

No response

Ollama version

No response

Originally created by @eviejw12 on GitHub (Jan 15, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/8441 Originally assigned to: @dhiltgen on GitHub. ### What is the issue? Dear Ollama Team, I encountered an issue while attempting to run the 'ollama service' command after installation. Here are the detailed steps I followed and the error message I received: 1. I downloaded the 'ollama-linux-amd64.tgz' file from your official source because my research network has some access limitations. 2. I unzipped the file to the path '/usr/local/bin/ollama'. 3. When I executed the command 'ollama service', I encountered a 'Segmentation fault' error. I would appreciate it if you could look into this issue and provide any possible solutions or workarounds. Thank you for your attention to this matter. Best regards ### OS Linux ### GPU Nvidia ### CPU _No response_ ### Ollama version _No response_
GiteaMirror added the bugneeds more info labels 2026-04-22 11:25:09 -05:00
Author
Owner

@rick-github commented on GitHub (Jan 15, 2025):

What's the output of:

command -v ollama
ls -ld /usr/local/bin/ollama
ldd $(command -v ollama)
sha256sum  $(command -v ollama)
ollama -v
strace ollama serve
<!-- gh-comment-id:2592786975 --> @rick-github commented on GitHub (Jan 15, 2025): What's the output of: ``` command -v ollama ls -ld /usr/local/bin/ollama ldd $(command -v ollama) sha256sum $(command -v ollama) ollama -v strace ollama serve ```
Author
Owner

@alanleung2017 commented on GitHub (Feb 5, 2025):

I got same problem.
[root@VM-12-9-centos system]# strace ollama serve
execve("/usr/local/bin/ollama", ["ollama", "serve"], 0x7fff48d96bd8 /* 24 vars */) = -1 EFAULT (Bad address)
--- SIGSEGV {si_signo=SIGSEGV, si_code=SI_KERNEL, si_addr=NULL} ---
+++ killed by SIGSEGV +++
Segmentation fault

<!-- gh-comment-id:2636100023 --> @alanleung2017 commented on GitHub (Feb 5, 2025): I got same problem. [root@VM-12-9-centos system]# strace ollama serve execve("/usr/local/bin/ollama", ["ollama", "serve"], 0x7fff48d96bd8 /* 24 vars */) = -1 EFAULT (Bad address) --- SIGSEGV {si_signo=SIGSEGV, si_code=SI_KERNEL, si_addr=NULL} --- +++ killed by SIGSEGV +++ Segmentation fault
Author
Owner

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

https://github.com/ollama/ollama/issues/8441#issuecomment-2592786975

<!-- gh-comment-id:2639578361 --> @rick-github commented on GitHub (Feb 6, 2025): https://github.com/ollama/ollama/issues/8441#issuecomment-2592786975
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#31188