[๐ BUG] Fatal SIGTRAP crash during streaming transcription after model warmup
Describe the bug The application crashes with a fatal SIGTRAP signal during active dictation. The crash occurs consistently after the streaming transcription model completes its warmup phase and begins processing the second chunk of audio data.
To Reproduce Steps to reproduce the behavior:
- Launch FluidVoice
- Start dictation (trigger recording)
- Wait for model warmup to complete (~2 seconds)
- Continue dictating
- App crashes after ~2.9 seconds with SIGTRAP
Expected behavior The application should continue streaming transcription without crashing, processing audio chunks continuously.
Screenshots N/A - see crash logs below
Environment:
- macOS Version: [Darwin 24.6.0 - macOS 15.x]
- App Version: v1.5.7-beta.1
- Architecture: Apple Silicon
Additional context
The crash appears to be timing-related and occurs specifically during the second processStreamingChunk() call after model warmup. The sequence is:
- Engine starts successfully (48000Hz, 1ch)
- First streaming chunk processes successfully (20800 samples, 0.06s)
- Model reports as warmed up
- Second chunk begins processing (32000 samples)
- Fatal SIGTRAP occurs
The crash happens at the same point in the streaming loop every time, suggesting a potential race condition, memory corruption, or assertion failure in the FluidAudio engine during chunk processing.
Crash Logs
[12:56:24.632] [INFO] [ASRService] ๐ค START() called - beginning recording session
[12:56:24.633] [DEBUG] [ASRService] ๐งน Clearing buffers and state
[12:56:24.633] [DEBUG] [ASRService] โ
Buffers cleared
[12:56:24.633] [DEBUG] [ASRService] โ๏ธ Calling configureSession()...
[12:56:24.633] [DEBUG] [ASRService] ๐ง configureSession() - ENTERED
[12:56:24.634] [DEBUG] [ASRService] โน๏ธ Using fresh engine instance (created lazily)
[12:56:24.634] [DEBUG] [ASRService] ๐ Forcing input node instantiation...
[12:56:24.909] [DEBUG] [ASRService] Input node instantiated
[12:56:24.909] [DEBUG] [ASRService] ๐ Forcing output node instantiation...
[12:56:24.950] [DEBUG] [ASRService] โ
Output node instantiated
[12:56:24.950] [DEBUG] [ASRService] โ
configureSession() - COMPLETED
[12:56:24.950] [DEBUG] [ASRService] โ
configureSession() completed
[12:56:24.950] [DEBUG] [ASRService] ๐ Calling startEngine()...
[12:56:24.950] [DEBUG] [ASRService] ๐ startEngine() - ENTERED
[12:56:24.950] [DEBUG] [ASRService] ๐๏ธ Binding input device (before prepare)...
[12:56:24.950] [DEBUG] [ASRService] bindPreferredInputDeviceIfNeeded() - Starting input device binding
[12:56:24.950] [INFO] [ASRService] Sync mode enabled - using system default input device
[12:56:24.950] [DEBUG] [ASRService] โ
Input device binding result: true
[12:56:24.951] [DEBUG] [ASRService] ๐ Binding output device (before prepare)...
[12:56:24.951] [DEBUG] [ASRService] bindPreferredOutputDeviceIfNeeded() - Starting output device binding
[12:56:24.951] [INFO] [ASRService] Sync mode enabled - using system default output device
[12:56:24.951] [DEBUG] [ASRService] โ
Output device binding result: true
[12:56:24.951] [DEBUG] [ASRService] ๐ Preparing engine (allocating resources)...
[12:56:24.992] [DEBUG] [ASRService] โ
Engine prepared
[12:56:24.992] [DEBUG] [ASRService] (startEngine(): before engine.start attempt 1) Engine IO device = 48000.0Hz, Input format = 48000.0Hz 1ch
[12:56:25.054] [INFO] [ASRService] AVAudioEngine started successfully on attempt 1
[12:56:25.054] [DEBUG] [ASRService] โ
startEngine() completed
[12:56:25.055] [DEBUG] [ASRService] ๐ง Setting up engine tap...
[12:56:25.055] [DEBUG] [ASRService] ๐ง setupEngineTap() - ENTERED
[12:56:25.055] [DEBUG] [ASRService] โ
Valid input format: 48000.0Hz 1ch
[12:56:25.055] [DEBUG] [ASRService] ๐ง Installing tap on bus 0...
[12:56:25.055] [DEBUG] [ASRService] โ
setupEngineTap() - COMPLETED
[12:56:25.055] [DEBUG] [ASRService] โ
Engine tap setup complete
[12:56:25.055] [INFO] [ASRService] โ
isRunning set to TRUE
[12:56:25.056] [DEBUG] [ASRService] ๐ Starting device monitoring for: CADefaultDeviceAggregate-11311-0
[12:56:25.056] [DEBUG] [ASRService] Started monitoring device ID: 174
[12:56:25.056] [DEBUG] [ASRService] ๐ก Starting streaming transcription...
[12:56:25.056] [DEBUG] [ASRService] Starting streaming transcription task (interval: 0.6s)
[12:56:25.056] [INFO] [ASRService] โ
START() completed successfully
[12:56:25.143] [DEBUG] [ASRService] ๐ runStreamingLoop() - ENTERED
[12:56:25.143] [DEBUG] [ASRService] ๐ runStreamingLoop() - calling processStreamingChunk()
[12:56:25.143] [DEBUG] [ASRService] ๐ runStreamingLoop() - processStreamingChunk() returned
[12:56:25.200] [INFO] [ASRService] ๐ Device list changed - checking for new/removed devices
[12:56:25.216] [DEBUG] [ASRService] Current input devices: CADefaultDeviceAggregate-11311-0, MacBook Pro Microphone, Shure MV7, Veged's iPhone 17 Pro Max Microphone, ZoomAudioDevice
[12:56:25.781] [DEBUG] [ASRService] ๐ runStreamingLoop() - calling processStreamingChunk()
[12:56:25.782] [DEBUG] [ASRService] Waiting for more audio data (11200/16000 samples)
[12:56:25.782] [DEBUG] [ASRService] ๐ runStreamingLoop() - processStreamingChunk() returned
[12:56:26.421] [DEBUG] [ASRService] ๐ runStreamingLoop() - calling processStreamingChunk()
[12:56:26.422] [DEBUG] [ASRService] Streaming chunk starting transcription (samples: 20800) using FluidAudio (Apple Silicon Optimized)
[12:56:26.479] [DEBUG] [ASRService] Streaming chunk transcription finished in 0.06s
[12:56:26.479] [DEBUG] [ASRService] ๐ runStreamingLoop() - processStreamingChunk() returned
[12:56:26.479] [INFO] [ASRService] โ
Model warmed up - first streaming transcription completed
[12:56:27.119] [DEBUG] [ASRService] ๐ runStreamingLoop() - calling processStreamingChunk()
[12:56:27.119] [DEBUG] [ASRService] Streaming chunk starting transcription (samples: 32000) using FluidAudio (Apple Silicon Optimized)
[CRASH] Fatal signal SIGTRAP
I am also experiencing the exact same issue.
https://github.com/altic-dev/FluidVoice/releases/tag/v1.5.8
let me know if works! Closing this meanwhile :) Thanks for reportin!
Just updated to 1.5.8 and it seems to be working much better! Thank you!
Love it. Thanks for sharing @dubnock :))) Have fun!
Still reproducing this on v1.5.9 (Build 8, macOS 26.3.1, Apple Silicon) with Vocabulary Boosting enabled (which admittedly is marked with "Disable if you experience issues" ๐) and 2 custom vocabulary terms.
Disabling Vocabulary Boosting as recommended resolved the crash!
Full log output of reproduction
[RUN] PID=41430 AppVersion=1.5.9 Build=8 OS=Version 26.3.1 (a) (Build 25D771280a)
[RUN] Processed by com.FluidApp.app
[18:11:16.899] [INFO] [AppServices] ๐ฆ AppServices singleton created (services not yet initialized)
[18:11:17.010] [INFO] [AppServices] ๐ค Lazily creating ASRService
[18:11:17.011] [INFO] [AppServices] ๐ Lazily creating AudioHardwareObserver
[18:11:17.390] [DEBUG] [GlobalHotkeyManager] Starting delayed initialization...
[18:11:17.397] [INFO] [AppDelegate] Application launched
[18:11:17.398] [INFO] [SettingsStore] Initializing app with dock visibility: false
[18:11:17.398] [INFO] [AppDelegate] Scheduling automatic update check...
[18:11:17.429] [DEBUG] [ContentView] Accessibility enabled, reinitializing hotkey manager
[18:11:17.429] [INFO] [GlobalHotkeyManager] Manual reinitialization requested
[18:11:17.429] [DEBUG] [GlobalHotkeyManager] Starting delayed initialization...
[18:11:17.429] [DEBUG] [ContentView] Mode transition: nil โ Optional(FluidVoice.SidebarItem.welcome)
[18:11:17.604] [INFO] [ASRService] ASRService: Created FluidAudio provider [vocabBoosting=true]
[18:11:17.604] [DEBUG] [ASRService] Models exist on disk: true
[18:11:17.717] [DEBUG] [GlobalHotkeyManager] Setup attempt 1/5
[18:11:17.750] [INFO] [GlobalHotkeyManager] Event tap successfully created and enabled
[18:11:17.750] [INFO] [GlobalHotkeyManager] Successfully initialized on attempt 1
[18:11:18.642] [DEBUG] [ContentView] Skipping auto-preload - models downloaded manually via UI
[18:11:18.961] [INFO] [ContentView] ๐ฆ Startup delay complete, signaling UI ready...
[18:11:18.963] [INFO] [AppServices] ๐ฆ UI Ready signal received - services can now initialize
[18:11:18.963] [INFO] [ContentView] ๐ Starting delayed audio initialization...
[18:11:19.054] [DEBUG] [ASRService] Device list change listener registered
[18:11:19.057] [INFO] [ContentView] โ
Audio subsystems initialized
[18:11:19.118] [DEBUG] [ASRService] Models exist on disk: true
[18:11:19.118] [INFO] [ASRService] Models found on disk, auto-loading...
[18:11:19.118] [INFO] [ASRService] ensureAsrReady() requested for model=parakeet-tdt-v2 [supportsStreaming=true] provider=FluidAudioProvider:FluidAudio (Apple Silicon Optimized)
[18:11:19.185] [DEBUG] [ASRService] ensureAsrReady(begin): provider=FluidAudio (Apple Silicon Optimized), providerReady=false, isAsrReady=false, isRunning=false
[18:11:19.185] [INFO] [ASRService] === ASR INITIALIZATION START ===
[18:11:19.185] [INFO] [ASRService] Using provider: FluidAudio (Apple Silicon Optimized) [providerReady=false]
[18:11:19.185] [INFO] [ASRService] Models already cached on disk: true
[18:11:19.185] [DEBUG] [ASRService] Model cache lookup complete in 0.000s
[18:11:19.185] [INFO] [ASRService] Calling transcriptionProvider.prepare()...
[18:11:19.185] [INFO] [FluidAudioProvider] FluidAudioProvider: Starting model preparation for Parakeet TDT v2 (English Only) [version=v2]
[18:11:19.185] [DEBUG] [FluidAudioProvider] FluidAudioProvider: target cache directory=/Users/me/Library/Application Support/FluidAudio/Models
[18:11:19.185] [DEBUG] [GlobalHotkeyManager] Setup attempt 1/5
[18:11:19.185] [INFO] [GlobalHotkeyManager] Event tap successfully created and enabled
[18:11:19.185] [INFO] [GlobalHotkeyManager] Successfully initialized on attempt 1
[18:11:19.230] [INFO] [ASRService] ๐ฆ LOADING cached model into memory...
[18:11:19.489] [DEBUG] [FluidAudioProvider] FluidAudioProvider: Models downloadAndLoad returned in 0.26s
[18:11:19.527] [DEBUG] [FluidAudioProvider] FluidAudioProvider: Streaming AsrManager initialized
[18:11:19.527] [DEBUG] [ParakeetVocabularyStore] ParakeetVocabularyStore: app support directory=/Users/me/Library/Application Support/FluidVoice
[18:11:19.531] [DEBUG] [ParakeetVocabularyStore] ParakeetVocabularyStore: checking vocabulary file /Users/me/Library/Application Support/FluidVoice/parakeet_custom_vocabulary.json
[18:11:19.531] [DEBUG] [ParakeetVocabularyStore] ParakeetVocabularyStore: loading raw JSON from /Users/me/Library/Application Support/FluidVoice/parakeet_custom_vocabulary.json
[18:11:19.531] [DEBUG] [ParakeetVocabularyStore] ParakeetVocabularyStore: loaded base config terms=2
[18:11:19.531] [DEBUG] [ParakeetVocabularyStore] ParakeetVocabularyStore: merge input jsonTerms=2, dictionaryEntries=0
[18:11:19.531] [DEBUG] [ParakeetVocabularyStore] ParakeetVocabularyStore: merge output count=2
[18:11:19.531] [DEBUG] [ParakeetVocabularyStore] ParakeetVocabularyStore: merged terms=2, dictionaryEntries=0
[18:11:19.531] [DEBUG] [ParakeetVocabularyStore] ParakeetVocabularyStore: resolved vocabulary term count=2
[18:11:19.531] [DEBUG] [ParakeetVocabularyStore] ParakeetVocabularyStore: maxTerms=256, cappedLimit=256
[18:11:19.531] [DEBUG] [ParakeetVocabularyStore] ParakeetVocabularyStore: capped terms count=2
[18:11:19.844] [DEBUG] [ParakeetVocabularyStore] ParakeetVocabularyStore: ctc model loaded variant=ctc110m
[18:11:19.878] [DEBUG] [ParakeetVocabularyStore] ParakeetVocabularyStore: tokenized term count=2
[18:11:19.878] [DEBUG] [ParakeetVocabularyStore] ParakeetVocabularyStore: prepared tokenized vocabulary with 2 terms
[18:11:19.878] [DEBUG] [FluidAudioProvider] FluidAudioProvider: Vocabulary bundle loaded with 2 terms
[18:11:19.903] [INFO] [FluidAudioProvider] FluidAudioProvider: Enabled vocabulary boosting with 2 terms (final only)
[18:11:19.960] [INFO] [FluidAudioProvider] FluidAudioProvider: Models ready [isWordBoostingActive=true, terms=2]
[18:11:19.960] [INFO] [ASRService] ASRService: Provider 'FluidAudio (Apple Silicon Optimized)' prepared successfully in 0.77s
[18:11:19.960] [INFO] [ASRService] โ Provider preparation completed in 0.8 seconds
[18:11:19.960] [INFO] [ASRService] === ASR INITIALIZATION COMPLETE ===
[18:11:19.960] [INFO] [ASRService] Total initialization time: 0.8 seconds
[18:11:19.990] [INFO] [ASRService] โณ Model loaded, waiting for first transcription to complete...
[18:11:19.990] [INFO] [ASRService] Models auto-loaded successfully on startup
[18:11:20.634] [INFO] [AppDelegate] Performing automatic update check for altic-dev/Fluid-oss
[18:11:20.635] [DEBUG] [ContentView] Initial hotkey manager health check: true
[18:11:21.236] [DEBUG] [ContentView] Mode transition: Optional(FluidVoice.SidebarItem.welcome) โ Optional(FluidVoice.SidebarItem.preferences)
[18:11:21.436] [INFO] [AppDelegate] โ
App is up to date
[18:11:26.875] [INFO] [GlobalHotkeyManager] Hotkey route | pressed=dictate(mod) | active=none | asrRunning=false | action=start
[18:11:26.875] [INFO] [GlobalHotkeyManager] Dictate mode hotkey triggered
[18:11:26.875] [DEBUG] [GlobalHotkeyManager] GlobalHotkeyManager: dictate callback path, isRunning=false, isReady=true, model=Parakeet TDT v2 (English Only)
[18:11:26.875] [DEBUG] [GlobalHotkeyManager] GlobalHotkeyManager: invoking dictationModeCallback
[18:11:26.875] [INFO] [ContentView] Dictate mode triggered
[18:11:26.875] [DEBUG] [ContentView] ContentView: selected model for dictate hotkey=Parakeet TDT v2 (English Only)
[18:11:27.083] [INFO] [ASRService] ๐ค START() called - beginning recording session
[18:11:27.083] [DEBUG] [ASRService] ๐งน Clearing buffers and state
[18:11:27.083] [DEBUG] [ASRService] โ
Buffers cleared
[18:11:27.083] [DEBUG] [ASRService] โ๏ธ Calling configureSession()...
[18:11:27.083] [DEBUG] [ASRService] ๐ง configureSession() - ENTERED
[18:11:27.085] [DEBUG] [ASRService] โน๏ธ Using fresh engine instance (created lazily)
[18:11:27.085] [DEBUG] [ASRService] ๐ Forcing input node instantiation...
[18:11:27.200] [DEBUG] [ASRService] Input node instantiated
[18:11:27.200] [DEBUG] [ASRService] ๐ Forcing output node instantiation...
[18:11:27.219] [DEBUG] [ASRService] โ
Output node instantiated
[18:11:27.219] [DEBUG] [ASRService] โ
configureSession() - COMPLETED
[18:11:27.219] [DEBUG] [ASRService] โ
configureSession() completed
[18:11:27.219] [DEBUG] [ASRService] ๐ Calling startEngine()...
[18:11:27.219] [DEBUG] [ASRService] ๐ startEngine() - ENTERED
[18:11:27.219] [DEBUG] [ASRService] ๐๏ธ Binding input device (before prepare)...
[18:11:27.219] [DEBUG] [ASRService] bindPreferredInputDeviceIfNeeded() - Starting input device binding
[18:11:27.219] [INFO] [ASRService] Sync mode enabled - using system default input device
[18:11:27.219] [DEBUG] [ASRService] โ
Input device binding result: true
[18:11:27.219] [DEBUG] [ASRService] ๐ Binding output device (before prepare)...
[18:11:27.219] [DEBUG] [ASRService] bindPreferredOutputDeviceIfNeeded() - Starting output device binding
[18:11:27.219] [INFO] [ASRService] Sync mode enabled - using system default output device
[18:11:27.219] [DEBUG] [ASRService] โ
Output device binding result: true
[18:11:27.219] [DEBUG] [ASRService] ๐ Preparing engine (allocating resources)...
[18:11:27.237] [DEBUG] [ASRService] โ
Engine prepared
[18:11:27.237] [DEBUG] [ASRService] (startEngine(): before engine.start attempt 1) Engine IO device = 44100.0Hz, Input format = 44100.0Hz 1ch
[18:11:27.376] [INFO] [ASRService] AVAudioEngine started successfully on attempt 1
[18:11:27.376] [DEBUG] [ASRService] โ
startEngine() completed
[18:11:27.376] [DEBUG] [ASRService] ๐ง Setting up engine tap...
[18:11:27.376] [DEBUG] [ASRService] ๐ง setupEngineTap() - ENTERED
[18:11:27.376] [DEBUG] [ASRService] โ
Valid input format: 44100.0Hz 1ch
[18:11:27.376] [DEBUG] [ASRService] ๐ง Installing tap on bus 0...
[18:11:27.376] [DEBUG] [ASRService] โ
setupEngineTap() - COMPLETED
[18:11:27.376] [DEBUG] [ASRService] โ
Engine tap setup complete
[18:11:27.457] [DEBUG] [MediaPlaybackService] MediaPlaybackService: No track info available, nothing to pause
[18:11:27.536] [INFO] [ASRService] ๐ Device list changed - checking for new/removed devices
[18:11:27.536] [INFO] [ASRService] โ
isRunning set to TRUE
[18:11:27.537] [DEBUG] [ASRService] ๐ Starting device monitoring for: CADefaultDeviceAggregate-41430-0
[18:11:27.537] [DEBUG] [ASRService] Started monitoring device ID: 149
[18:11:27.537] [DEBUG] [ASRService] ๐ก Starting streaming transcription...
[18:11:27.537] [DEBUG] [ASRService] Starting streaming transcription task (interval: 0.6s)
[18:11:27.537] [INFO] [ASRService] โ
START() completed successfully
[18:11:27.637] [DEBUG] [ASRService] ๐ runStreamingLoop() - ENTERED
[18:11:27.637] [DEBUG] [ASRService] ๐ runStreamingLoop() - calling processStreamingChunk()
[18:11:27.637] [DEBUG] [ASRService] Waiting for more audio data (3200/16000 samples)
[18:11:27.637] [DEBUG] [ASRService] ๐ runStreamingLoop() - processStreamingChunk() returned
[18:11:27.637] [DEBUG] [ASRService] Current input devices: CADefaultDeviceAggregate-41430-0, EarPods Microphone, ePhone Microphone, MacBook Pro Microphone
[18:11:28.268] [INFO] [GlobalHotkeyManager] Hotkey route | pressed=dictate(mod) | active=dictate | asrRunning=true | action=stop
[18:11:28.271] [INFO] [ContentView] Hotkey stop callback using route: normal
[18:11:28.271] [DEBUG] [ContentView] stopAndProcessTranscription called
[18:11:28.271] [INFO] [ContentView] Output route selected: normal
[18:11:28.271] [INFO] [ContentView] Routing decision snapshot | activeMode=dictate | rewrite=false | command=false | overlay=Dictation
[18:11:28.271] [DEBUG] [ContentView] Showing transcription processing state
[18:11:28.291] [INFO] [ASRService] ๐ STOP() called - beginning shutdown sequence
[18:11:28.291] [DEBUG] [ASRService] ๐ Preparing final transcription
[18:11:28.291] [DEBUG] [ASRService] ๐ซ Setting isRunning = false...
[18:11:28.291] [DEBUG] [ASRService] ๐ซ Setting audioCapturePipeline recording = false...
[18:11:28.291] [DEBUG] [ASRService] โ
isRunning and capture pipeline disabled
[18:11:28.291] [DEBUG] [ASRService] ๐๏ธ Stopping device monitoring...
[18:11:28.291] [DEBUG] [ASRService] Stopped monitoring device ID: 149
[18:11:28.291] [DEBUG] [ASRService] โ
Device monitoring stopped
[18:11:28.292] [DEBUG] [ASRService] ๐ง Removing engine tap...
[18:11:28.292] [DEBUG] [ASRService] โ
Engine tap removed
[18:11:28.292] [DEBUG] [ASRService] ๐ Calling engine.stop()...
[18:11:28.302] [DEBUG] [ASRService] โ
Engine stopped
[18:11:28.302] [DEBUG] [ASRService] ๐๏ธ Deallocating old engine and creating fresh instance...
[18:11:28.315] [DEBUG] [ASRService] โ
Engine instance recreated
[18:11:28.315] [DEBUG] [ASRService] โณ Awaiting stopStreamingTimerAndAwait()...
[18:11:28.462] [DEBUG] [ASRService] โ
stopStreamingTimerAndAwait() completed
[18:11:28.462] [DEBUG] [ASRService] stop(): insufficient audio for transcription (14400/16000 samples)
[18:11:28.462] [DEBUG] [ContentView] Transcription returned empty text
[18:11:32.276] [INFO] [GlobalHotkeyManager] Hotkey route | pressed=dictate(mod) | active=none | asrRunning=false | action=start
[18:11:32.276] [INFO] [GlobalHotkeyManager] Dictate mode hotkey triggered
[18:11:32.276] [DEBUG] [GlobalHotkeyManager] GlobalHotkeyManager: dictate callback path, isRunning=false, isReady=true, model=Parakeet TDT v2 (English Only)
[18:11:32.276] [DEBUG] [GlobalHotkeyManager] GlobalHotkeyManager: invoking dictationModeCallback
[18:11:32.276] [INFO] [ContentView] Dictate mode triggered
[18:11:32.276] [DEBUG] [ContentView] ContentView: selected model for dictate hotkey=Parakeet TDT v2 (English Only)
[18:11:32.475] [INFO] [ASRService] ๐ค START() called - beginning recording session
[18:11:32.475] [DEBUG] [ASRService] ๐งน Clearing buffers and state
[18:11:32.475] [DEBUG] [ASRService] โ
Buffers cleared
[18:11:32.475] [DEBUG] [ASRService] โ๏ธ Calling configureSession()...
[18:11:32.475] [DEBUG] [ASRService] ๐ง configureSession() - ENTERED
[18:11:32.475] [DEBUG] [ASRService] โน๏ธ Using fresh engine instance (created lazily)
[18:11:32.475] [DEBUG] [ASRService] ๐ Forcing input node instantiation...
[18:11:32.562] [DEBUG] [ASRService] Input node instantiated
[18:11:32.562] [DEBUG] [ASRService] ๐ Forcing output node instantiation...
[18:11:32.579] [DEBUG] [ASRService] โ
Output node instantiated
[18:11:32.579] [DEBUG] [ASRService] โ
configureSession() - COMPLETED
[18:11:32.579] [DEBUG] [ASRService] โ
configureSession() completed
[18:11:32.579] [DEBUG] [ASRService] ๐ Calling startEngine()...
[18:11:32.579] [DEBUG] [ASRService] ๐ startEngine() - ENTERED
[18:11:32.579] [DEBUG] [ASRService] ๐๏ธ Binding input device (before prepare)...
[18:11:32.579] [DEBUG] [ASRService] bindPreferredInputDeviceIfNeeded() - Starting input device binding
[18:11:32.579] [INFO] [ASRService] Sync mode enabled - using system default input device
[18:11:32.579] [DEBUG] [ASRService] โ
Input device binding result: true
[18:11:32.579] [DEBUG] [ASRService] ๐ Binding output device (before prepare)...
[18:11:32.579] [DEBUG] [ASRService] bindPreferredOutputDeviceIfNeeded() - Starting output device binding
[18:11:32.579] [INFO] [ASRService] Sync mode enabled - using system default output device
[18:11:32.579] [DEBUG] [ASRService] โ
Output device binding result: true
[18:11:32.579] [DEBUG] [ASRService] ๐ Preparing engine (allocating resources)...
[18:11:32.594] [DEBUG] [ASRService] โ
Engine prepared
[18:11:32.594] [DEBUG] [ASRService] (startEngine(): before engine.start attempt 1) Engine IO device = 44100.0Hz, Input format = 44100.0Hz 1ch
[18:11:32.734] [INFO] [ASRService] AVAudioEngine started successfully on attempt 1
[18:11:32.735] [DEBUG] [ASRService] โ
startEngine() completed
[18:11:32.735] [DEBUG] [ASRService] ๐ง Setting up engine tap...
[18:11:32.735] [DEBUG] [ASRService] ๐ง setupEngineTap() - ENTERED
[18:11:32.735] [DEBUG] [ASRService] โ
Valid input format: 44100.0Hz 1ch
[18:11:32.735] [DEBUG] [ASRService] ๐ง Installing tap on bus 0...
[18:11:32.735] [DEBUG] [ASRService] โ
setupEngineTap() - COMPLETED
[18:11:32.735] [DEBUG] [ASRService] โ
Engine tap setup complete
[18:11:32.820] [DEBUG] [MediaPlaybackService] MediaPlaybackService: No track info available, nothing to pause
[18:11:32.820] [INFO] [ASRService] โ
isRunning set to TRUE
[18:11:32.821] [DEBUG] [ASRService] ๐ Starting device monitoring for: CADefaultDeviceAggregate-41430-0
[18:11:32.821] [DEBUG] [ASRService] Started monitoring device ID: 149
[18:11:32.821] [DEBUG] [ASRService] ๐ก Starting streaming transcription...
[18:11:32.821] [DEBUG] [ASRService] Starting streaming transcription task (interval: 0.6s)
[18:11:32.821] [INFO] [ASRService] โ
START() completed successfully
[18:11:32.884] [DEBUG] [ASRService] ๐ runStreamingLoop() - ENTERED
[18:11:32.884] [DEBUG] [ASRService] ๐ runStreamingLoop() - calling processStreamingChunk()
[18:11:32.884] [DEBUG] [ASRService] Waiting for more audio data (1600/16000 samples)
[18:11:32.884] [DEBUG] [ASRService] ๐ runStreamingLoop() - processStreamingChunk() returned
[18:11:33.511] [DEBUG] [ASRService] ๐ runStreamingLoop() - calling processStreamingChunk()
[18:11:33.512] [DEBUG] [ASRService] Waiting for more audio data (11200/16000 samples)
[18:11:33.512] [DEBUG] [ASRService] ๐ runStreamingLoop() - processStreamingChunk() returned
[18:11:34.150] [DEBUG] [ASRService] ๐ runStreamingLoop() - calling processStreamingChunk()
[18:11:34.152] [DEBUG] [ASRService] Streaming chunk starting transcription (samples: 22400) using FluidAudio (Apple Silicon Optimized)
[18:11:34.359] [DEBUG] [ASRService] Streaming chunk transcription finished in 0.21s
[18:11:34.359] [DEBUG] [ASRService] โ
Streaming: 'Perfect' (0.21s)
[18:11:34.359] [DEBUG] [ASRService] ๐ runStreamingLoop() - processStreamingChunk() returned
[18:11:34.447] [INFO] [ASRService] โ
Model warmed up - first streaming transcription completed
[18:11:34.999] [DEBUG] [ASRService] ๐ runStreamingLoop() - calling processStreamingChunk()
[18:11:34.999] [DEBUG] [ASRService] Streaming chunk starting transcription (samples: 35200) using FluidAudio (Apple Silicon Optimized)
[18:11:35.097] [INFO] [GlobalHotkeyManager] Hotkey route | pressed=dictate(mod) | active=dictate | asrRunning=true | action=stop
[18:11:35.097] [INFO] [ContentView] Hotkey stop callback using route: normal
[18:11:35.097] [DEBUG] [ContentView] stopAndProcessTranscription called
[18:11:35.097] [INFO] [ContentView] Output route selected: normal
[18:11:35.097] [INFO] [ContentView] Routing decision snapshot | activeMode=dictate | rewrite=false | command=false | overlay=Dictation
[18:11:35.097] [DEBUG] [ContentView] Showing transcription processing state
[18:11:35.102] [INFO] [ASRService] ๐ STOP() called - beginning shutdown sequence
[18:11:35.102] [DEBUG] [ASRService] ๐ Preparing final transcription
[18:11:35.102] [DEBUG] [ASRService] ๐ซ Setting isRunning = false...
[18:11:35.102] [DEBUG] [ASRService] ๐ซ Setting audioCapturePipeline recording = false...
[18:11:35.102] [DEBUG] [ASRService] โ
isRunning and capture pipeline disabled
[18:11:35.102] [DEBUG] [ASRService] ๐๏ธ Stopping device monitoring...
[18:11:35.102] [DEBUG] [ASRService] Stopped monitoring device ID: 149
[18:11:35.102] [DEBUG] [ASRService] โ
Device monitoring stopped
[18:11:35.102] [DEBUG] [ASRService] ๐ง Removing engine tap...
[18:11:35.102] [DEBUG] [ASRService] โ
Engine tap removed
[18:11:35.102] [DEBUG] [ASRService] ๐ Calling engine.stop()...
[18:11:35.114] [DEBUG] [ASRService] โ
Engine stopped
[18:11:35.114] [DEBUG] [ASRService] ๐๏ธ Deallocating old engine and creating fresh instance...
[18:11:35.128] [DEBUG] [ASRService] โ
Engine instance recreated
[18:11:35.128] [DEBUG] [ASRService] โณ Awaiting stopStreamingTimerAndAwait()...
[18:11:35.281] [DEBUG] [ASRService] Streaming chunk transcription finished in 0.28s
[18:11:35.281] [DEBUG] [ASRService] โ
Streaming: 'Perfect.' (0.28s)
[18:11:35.281] [DEBUG] [ASRService] ๐ runStreamingLoop() - processStreamingChunk() returned
[18:11:35.353] [DEBUG] [ASRService] โ
stopStreamingTimerAndAwait() completed
[18:11:35.353] [DEBUG] [ASRService] ๐ Calling ensureAsrReady()...
[18:11:35.353] [INFO] [ASRService] ensureAsrReady() requested for model=parakeet-tdt-v2 [supportsStreaming=true] provider=FluidAudioProvider:FluidAudio (Apple Silicon Optimized)
[18:11:35.353] [DEBUG] [ASRService] ensureAsrReady(begin): provider=FluidAudio (Apple Silicon Optimized), providerReady=true, isAsrReady=true, isRunning=false
[18:11:35.353] [DEBUG] [ASRService] ASR already ready with loaded models, skipping initialization
[18:11:35.424] [DEBUG] [ASRService] โ
ensureAsrReady() completed
[18:11:35.424] [DEBUG] [ASRService] Starting transcription with 36800 samples (2.3 seconds)
[18:11:35.424] [DEBUG] [ASRService] stop(): starting full transcription (samples: 36800) using FluidAudio (Apple Silicon Optimized)
[18:11:35.424] [DEBUG] [ASRService] ๐ Starting transcription executor...
[18:11:35.424] [DEBUG] [ASRService] ๐ Inside transcription executor closure
[CRASH] Fatal signal SIGTRAP