Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App crashes after live transcribing for awhile #2243

Open
jacobjiangwei opened this issue Jun 18, 2024 · 0 comments
Open

App crashes after live transcribing for awhile #2243

jacobjiangwei opened this issue Jun 18, 2024 · 0 comments

Comments

@jacobjiangwei
Copy link

I use the sample in here https://github.com/ggerganov/whisper.cpp/blob/master/examples/whisper.swiftui/whisper.cpp.swift/LibWhisper.swift
to do a live transcribing every 5 seconds or so.

It works great but I observed some issue:

memory gets bigger and bigger
eventually it crashes after awhile, 10~20 minutes

Here is crash stack and screenshots
Thread 520: EXC_BAD_ACCESS (code=1, address=0x20)

static struct ggml_object * ggml_new_object(struct ggml_context * ctx, enum ggml_object_type type, size_t size) {
// always insert objects at the end of the context's memory pool
struct ggml_object * obj_cur = ctx->objects_end;

image image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant