VibeVoice icon indicating copy to clipboard operation
VibeVoice copied to clipboard

[Vibing app] Repeatable FAIL_FAST_STACK_BUFFER_OVERRUN inside Qt6Gui.dll v6.10.2 (downstream Vibing IME, Windows 11)

Open raykuo998 opened this issue 7 months ago • 0 comments

[Vibing app] Repeatable FAIL_FAST_STACK_BUFFER_OVERRUN inside Qt6Gui.dll v6.10.2 (downstream Vibing IME, Windows 11)

Note: This is a crash report for the Vibing voice IME (https://vibingjustspeakit.github.io/Vibing/) which is built on top of VibeVoice-ASR. Filing here because Vibing itself is closed-source and has no public issue tracker (see #269). Re-route as appropriate.

Summary

Vibing v0.1.0 (Windows, installer dated 2026-03-31) crashes deterministically inside Qt6Gui.dll v6.10.2 with STATUS_STACK_BUFFER_OVERRUN (0xc0000409, __fastfail). Three crashes observed over 6 days, all sharing the same failure bucket hash, so this is a real reproducible bug, not random memory corruption.

Environment

  • App: Vibing v0.1.0 (no VersionInfo embedded in PE; FileVersion field is empty)
  • Backend: wss://vibing-api-ccegdhbrg2d6bsd7.b02.azurefd.net/ws/pipeline
  • OS: Windows 11 Home 10.0.26100.1 (build 26200) x64
  • Hotkey: ctrl+win (hold-to-record)
  • Likely packaging: PyInstaller + PyQt6 / PySide6 (single 86 MB exe, multiprocessing child observed)

Crash signature

Exception code:    0xc0000409 (STATUS_STACK_BUFFER_OVERRUN / __fastfail)
Failure bucket:    FAIL_FAST_STACK_BUFFER_OVERRUN_c0000409_Qt6Gui.dll!Unknown
Failure hash:      {71913eed-74ef-7c17-2490-0825f31a3557}
Faulting module:   Qt6Gui.dll  v6.10.2.0  (+0x92c68)
WER report ID:    1e6c4558-966c-4bbb-a2ae-f264f2352872

WinDbg !analyze -v stack

0  Qt6Gui+0x92c68                                  <-- fault frame
1  ntdll!$iexit_thunk$cdecl$i8$i8+0x1c
2  ntdll!RtlpExecuteHandlerForException+0x28
3  ntdll!RtlDispatchException+0x298
4  ntdll!KiUserExceptionDispatcher_DetourReturn+0x10
5  Qt6Gui+0x92c68
6  Qt6Gui+0x92c68

Process layout at crash

  • PID 2744: GUI main process (MainWindowTitle = "Vibing")
  • PID 6512: single-thread child (consistent with Python multiprocessing worker)

Reproducibility

Three independent crashes in 6 days, same hash:

  • 2026-04-22 16:44
  • 2026-04-22 17:41
  • 2026-04-28 13:56

Suspected root causes

  1. Cross-thread GUI access — global hotkey listener or Azure WS callback touches Qt widgets off the GUI thread. Qt 6.10.2 stack-cookie checks would trip __fastfail here.
  2. Qt 6.10.2 IME-path bug — Qt6Gui+0x92c68 falls in input/event-dispatch territory; Vibing as a voice IME interacts with the system IME stack heavily.
  3. PyInstaller bootloader — packaging may corrupt Qt plugin loading on certain machines.

Suggested fixes

  • [ ] Embed PE VersionInfo so WER reports a real app version (currently 0.0.0.0).
  • [ ] Audit all QObject / QWidget accesses originating from non-GUI threads (Azure WS handler, global hotkey listener, multiprocessing children); use QMetaObject::invokeMethod(..., Qt::QueuedConnection) or signals.
  • [ ] Pin Qt to 6.7 LTS as a test build to see if the bucket hash changes.
  • [ ] Ship a .pdb (or symbol server URL) so the offset Qt6Gui+0x92c68 becomes resolvable.

Attachments available on request

  • Vibing.exe.5828.dmp (23 MB minidump)
  • config.yaml (default values)
  • WER bundle ID 1e6c4558-966c-4bbb-a2ae-f264f2352872

Reported by an end user; happy to provide more dumps / symbols / repro.

raykuo998 avatar Apr 28 '26 06:04 raykuo998