whisper.cpp
whisper.cpp copied to clipboard
cgraph->work == NULL eventually causes null pointer crash in ggml.c
The eventual crash occurs here: dst_data is NULL because params->wdata is NULL
Cause is way up the stack where cgraph->work is zero:
My environment is Visual Studio 2022. Crash occurs with optimizations on or disabled. Crash occurs fairly repeatably by simply streaming room noise in whisper. I can debug somewhat with Visual Studio when I turn off optimizations, although I have no idea what exactly the code is doing. Let me know if you have any questions or need help. I am hoping if you look at these sections you will have an epiphany.