[PR #2142] [MERGED] Debug logging on init failure #10796

Closed
opened 2026-04-12 23:11:07 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/2142
Author: @dhiltgen
Created: 1/22/2024
Status: Merged
Merged: 1/22/2024
Merged by: @dhiltgen

Base: mainHead: debug_on_fail


📝 Commits (1)

  • 27a2d5a Debug logging on init failure

📊 Changes

1 file changed (+3 additions, -1 deletions)

View changed files

📝 llm/dyn_ext_server.go (+3 -1)

📄 Description

One class of error we're seeing on ROCm looks like this in the log...

2024/01/21 22:00:15 dyn_ext_server.go:90: INFO Loading Dynamic llm server: /tmp/ollama1546965028/rocm_v5/libext_server.so
2024/01/21 22:00:15 dyn_ext_server.go:139: INFO Initializing llama server
free(): invalid pointer

I'm not sure yet what the root cause is, but hopefully this debug log will yield some more insight.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/2142 **Author:** [@dhiltgen](https://github.com/dhiltgen) **Created:** 1/22/2024 **Status:** ✅ Merged **Merged:** 1/22/2024 **Merged by:** [@dhiltgen](https://github.com/dhiltgen) **Base:** `main` ← **Head:** `debug_on_fail` --- ### 📝 Commits (1) - [`27a2d5a`](https://github.com/ollama/ollama/commit/27a2d5af5452b82a5d1ab44853fd55a2c63865be) Debug logging on init failure ### 📊 Changes **1 file changed** (+3 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `llm/dyn_ext_server.go` (+3 -1) </details> ### 📄 Description One class of error we're seeing on ROCm looks like this in the log... ``` 2024/01/21 22:00:15 dyn_ext_server.go:90: INFO Loading Dynamic llm server: /tmp/ollama1546965028/rocm_v5/libext_server.so 2024/01/21 22:00:15 dyn_ext_server.go:139: INFO Initializing llama server free(): invalid pointer ``` I'm not sure yet what the root cause is, but hopefully this debug log will yield some more insight. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-12 23:11:07 -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#10796