Skip to content

metal : avoid call free for non-owned buffer#16067

Merged
ggerganov merged 1 commit intoggml-org:masterfrom
jhen0409:jhen/metal-patch-2
Sep 18, 2025
Merged

metal : avoid call free for non-owned buffer#16067
ggerganov merged 1 commit intoggml-org:masterfrom
jhen0409:jhen/metal-patch-2

Conversation

@jhen0409
Copy link
Copy Markdown
Collaborator

@jhen0409 jhen0409 commented Sep 18, 2025

App crash with malloc: *** error for object xxx: pointer being freed was not allocated on doing free context with mmap enabled. It seems caused by #15906.

@github-actions github-actions Bot added ggml changes relating to the ggml tensor library for machine learning Apple Metal https://en.wikipedia.org/wiki/Metal_(API) labels Sep 18, 2025
@ggerganov ggerganov merged commit e00f3fd into ggml-org:master Sep 18, 2025
47 checks passed
Seunghhon pushed a commit to Seunghhon/llama.cpp that referenced this pull request Apr 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Apple Metal https://en.wikipedia.org/wiki/Metal_(API) ggml changes relating to the ggml tensor library for machine learning

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants