-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Description
This is just an LLM hypothesis!
Bug: whisper-cli.exe crashes (0xC0000409 STATUS_STACK_BUFFER_OVERRUN) with any non-empty -p (initial prompt)
Platform: Windows 11 Pro (10.0.26100), x64
Binary: whisper-cli.exe (whisper-bin-x64, Release build)
Model: ggml-small.bin
-p (initial prompt) causes STATUS_STACK_BUFFER_OVERRUN crash on Windows — any non-empty value
Behavior:
Passing any non-empty string via -p causes an immediate crash with exit code
3221226505 (0xC0000409 = STATUS_STACK_BUFFER_OVERRUN). stderr is empty.
The crash occurs with pure ASCII prompts as well — it is not limited to
non-ASCII or Unicode input.
Reproducible command:
whisper-cli.exe -m ggml-small.bin -f audio.wav -l cs -p "hello" -oj -np
Hypothesis:
The -p argument is copied into a fixed-size stack buffer without bounds
checking. The Windows /GS stack cookie mechanism detects the overwrite and
terminates the process before any output is written.