FluidVoice icon indicating copy to clipboard operation
FluidVoice copied to clipboard

[🐞 BUG] V1.5.8 Intel Mac crash after 'stop recording' is pressed

Open erdeha-g2g opened this issue 9 months ago • 2 comments

Analysis by Claude.

Describe the bug FluidVoice crashes with EXC_CRASH (SIGABRT) shortly after stopping a recording. A failed assertion in FluidVoice's own audio/voice processing code triggers abort(), killing the process. The crash occurs on a background dispatch queue (com.apple.root.user-initiated-qos) approximately 17 seconds after launch.

To Reproduce Steps to reproduce the behavior:

  1. Go to the test playground
  2. Press Start recording
  3. Say something
  4. Press Stop recording
  5. App crashes

Expected behavior The app processes the recording and returns to a normal state without crashing.

Screenshots N/A

Environment:

  • macOS Version: macOS 26.3 (25D125)
  • App Version: 1.5.8 (build 8)
  • Architecture: Intel (x86_64)

Additional context The crash originates entirely within FluidVoice's own binary — no system framework is at fault. All other threads (main thread, audio session, UI) were healthy at the time of the crash. The faulting thread's call stack contains 6 frames within FluidVoice code before reaching the assertion failure.

Crash Logs

FluidVoice crash log – 2026-02-19 17:21:00
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------
Process:             FluidVoice [20371]
Path:                /Applications/FluidVoice.app/Contents/MacOS/FluidVoice
Identifier:          com.FluidApp.app
Version:             1.5.8 (8)
Code Type:           X86-64 (Native)
Role:                Foreground
Parent Process:      launchd [1]
Coalition:           com.FluidApp.app [2220]
User ID:             501

Date/Time:           2026-02-19 17:21:00.5567 +0100
Launch Time:         2026-02-19 17:20:43.3379 +0100
Hardware Model:      MacBookPro16,1
OS Version:          macOS 26.3 (25D125)
Release Type:        User
Bridge OS Version:   10.3 (23P3120)

Crash Reporter Key:  AF9A42EF-6F29-5AA9-5587-7904C5049FE3
Incident Identifier: 0ADDB04F-2608-4C71-8446-581A732FC04D

Sleep/Wake UUID:     4535CEFD-C3A6-41E0-A8CE-FC2083BC28C9

Time Awake Since Boot: 13000 seconds
Time Since Wake:       929 seconds

System Integrity Protection: enabled

Triggered by Thread: 11, Dispatch Queue: com.apple.root.user-initiated-qos

Exception Type:    EXC_CRASH (SIGABRT)
Exception Codes:   0x0000000000000000, 0x0000000000000000


Thread 0:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib          0x7ff807af5b4e mach_msg2_trap + 10
1   libsystem_kernel.dylib          0x7ff807b03f4c mach_msg2_internal + 83
2   libsystem_kernel.dylib          0x7ff807afcba3 mach_msg_overwrite + 574
3   libsystem_kernel.dylib          0x7ff807af5e47 mach_msg + 19
4   QuartzCore                      0x7ff811ad81d0 CA::Render::Context::wait_for_synchronize(unsigned int, unsigned int*, unsigned int*, unsigned int*, int) + 128
5   QuartzCore                      0x7ff811b2d7b0 CA::Context::synchronize(unsigned int, int, bool) + 620
6   QuartzCore                      0x7ff81199ce88 CABackingStoreSynchronize(CABackingStore*, CA::GenericContext*, unsigned int, int) + 76
7   QuartzCore                      0x7ff811983972 CABackingStorePrepareUpdates_(CABackingStore*, unsigned long, unsigned long, unsigned int, unsigned int, unsigned int, unsigned long long, CA::GenericContext*, UpdateState*) + 1859
8   QuartzCore                      0x7ff811982f44 CABackingStoreUpdate_ + 660
9   QuartzCore                      0x7ff8119d2317 invocation function for block in CA::Layer::display_() + 64
10  QuartzCore                      0x7ff8119823b7 -[CALayer _display] + 2596
11  QuartzCore                      0x7ff811981704 CA::Layer::display_if_needed(CA::Transaction*) + 926
12  QuartzCore                      0x7ff811b2e4cb CA::Context::commit_transaction(CA::Transaction*, double, double*) + 809
13  QuartzCore                      0x7ff81196802e CA::Transaction::commit() + 748
14  QuartzCore                      0x7ff811b6be98 CA::Transaction::flush_as_runloop_observer(bool) + 128
15  AppKit                          0x7ff80c16033f stepTransactionFlush + 225
16  UpdateCycle                     0x7ffd1d97f366 UC::DriverCore::continueProcessing() + 68
17  CoreFoundation                  0x7ff807bd7af2 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
18  CoreFoundation                  0x7ff807bd7a14 __CFRunLoopDoObservers + 563
19  CoreFoundation                  0x7ff807c898bf _CFRunLoopRunSpecificWithOptions + 447
20  HIToolbox                       0x7ff8145a346f RunCurrentEventLoopInMode + 287
21  HIToolbox                       0x7ff8145a654b ReceiveNextEventCommon + 606
22  HIToolbox                       0x7ff81472eec7 _BlockUntilNextEventMatchingListInMode + 37
23  AppKit                          0x7ff80bf212dc _DPSBlockUntilNextEventMatchingListInMode + 172
24  AppKit                          0x7ff80ba2867d _DPSNextEvent + 800
25  AppKit                          0x7ff80c5c6d1a -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1268
26  AppKit                          0x7ff80c5c67ed -[NSApplication(NSEventRouting) nextEventMatchingMask:untilDate:inMode:dequeue:] + 67
27  AppKit                          0x7ff80ba1fd04 -[NSApplication run] + 472
28  AppKit                          0x7ff80ba0b3ec NSApplicationMain + 800
29  SwiftUI                         0x7ff91a4d183b 0x7ff91a404000 + 841787
30  SwiftUI                         0x7ff91a7a4d11 0x7ff91a404000 + 3804433
31  SwiftUI                         0x7ff91a9c750b 0x7ff91a404000 + 6042891
32  FluidVoice                         0x10166b1d6 0x10138c000 + 3011030
33  dyld                            0x7ff807761781 start + 3457

Thread 1:

Thread 2:

Thread 3:: com.apple.NSEventThread
0   libsystem_kernel.dylib          0x7ff807af5b4e mach_msg2_trap + 10
1   libsystem_kernel.dylib          0x7ff807b03f4c mach_msg2_internal + 83
2   libsystem_kernel.dylib          0x7ff807afcba3 mach_msg_overwrite + 574
3   libsystem_kernel.dylib          0x7ff807af5e47 mach_msg + 19
4   CoreFoundation                  0x7ff807bd86cf __CFRunLoopServiceMachPort + 145
5   CoreFoundation                  0x7ff807bd71b6 __CFRunLoopRun + 1354
6   CoreFoundation                  0x7ff807c898f0 _CFRunLoopRunSpecificWithOptions + 496
7   AppKit                          0x7ff80bace121 _NSEventThread + 158
8   libsystem_pthread.dylib         0x7ff807b38e4d _pthread_start + 115
9   libsystem_pthread.dylib         0x7ff807b34857 thread_start + 15

Thread 4:

Thread 5:

Thread 6:: caulk.messenger.shared:17
0   libsystem_kernel.dylib          0x7ff807af5aca semaphore_wait_trap + 10
1   caulk                           0x7ff814067b1e caulk::semaphore::timed_wait(double) + 158
2   caulk                           0x7ff814067a3e caulk::concurrent::details::worker_thread::run() + 30
3   caulk                           0x7ff814067772 void* caulk::thread_proxy<...>(void*) + 41
4   libsystem_pthread.dylib         0x7ff807b38e4d _pthread_start + 115
5   libsystem_pthread.dylib         0x7ff807b34857 thread_start + 15

Thread 7:: caulk.messenger.shared:high
0   libsystem_kernel.dylib          0x7ff807af5aca semaphore_wait_trap + 10
1   caulk                           0x7ff814067b1e caulk::semaphore::timed_wait(double) + 158
2   caulk                           0x7ff814067a3e caulk::concurrent::details::worker_thread::run() + 30
3   caulk                           0x7ff814067772 void* caulk::thread_proxy<...>(void*) + 41
4   libsystem_pthread.dylib         0x7ff807b38e4d _pthread_start + 115
5   libsystem_pthread.dylib         0x7ff807b34857 thread_start + 15

Thread 8:: caulk::deferred_logger
0   libsystem_kernel.dylib          0x7ff807af5aca semaphore_wait_trap + 10
1   caulk                           0x7ff814067b1e caulk::semaphore::timed_wait(double) + 158
2   caulk                           0x7ff814067a3e caulk::concurrent::details::worker_thread::run() + 30
3   caulk                           0x7ff814067772 void* caulk::thread_proxy<...>(void*) + 41
4   libsystem_pthread.dylib         0x7ff807b38e4d _pthread_start + 115
5   libsystem_pthread.dylib         0x7ff807b34857 thread_start + 15

Thread 9:: AudioSession - RootQueue
0   libsystem_kernel.dylib          0x7ff807af5ae2 semaphore_timedwait_trap + 10
1   libdispatch.dylib               0x7ff8079ad023 _dispatch_sema4_timedwait + 52
2   libdispatch.dylib               0x7ff80798009e _dispatch_semaphore_wait_slow + 58
3   libdispatch.dylib               0x7ff80798dab2 _dispatch_worker_thread + 322
4   libsystem_pthread.dylib         0x7ff807b38e4d _pthread_start + 115
5   libsystem_pthread.dylib         0x7ff807b34857 thread_start + 15

Thread 10:: com.apple.audio.toolbox.AUScheduledParameterRefresher
0   libsystem_kernel.dylib          0x7ff807af5aca semaphore_wait_trap + 10
1   caulk                           0x7ff814067b1e caulk::semaphore::timed_wait(double) + 158
2   caulk                           0x7ff814067a3e caulk::concurrent::details::worker_thread::run() + 30
3   caulk                           0x7ff814067772 void* caulk::thread_proxy<...>(void*) + 41
4   libsystem_pthread.dylib         0x7ff807b38e4d _pthread_start + 115
5   libsystem_pthread.dylib         0x7ff807b34857 thread_start + 15

Thread 11 Crashed:: Dispatch queue: com.apple.root.user-initiated-qos
0   libsystem_kernel.dylib          0x7ff807afc82e __pthread_kill + 10
1   libsystem_pthread.dylib         0x7ff807b38b5a pthread_kill + 259
2   libsystem_c.dylib               0x7ff807a493a6 abort + 126
3   libsystem_c.dylib               0x7ff807a485c8 __assert_rtn + 314
4   FluidVoice                         0x101785820 0x10138c000 + 4167712
5   FluidVoice                         0x101764a3b 0x10138c000 + 4033083
6   FluidVoice                         0x101766234 0x10138c000 + 4039220
7   FluidVoice                         0x101767619 0x10138c000 + 4044313
8   FluidVoice                         0x10173b7e6 0x10138c000 + 3864550
9   FluidVoice                         0x1015c54b9 0x10138c000 + 2331833
10  libdispatch.dylib               0x7ff80797e6b9 _dispatch_call_block_and_release + 12
11  libdispatch.dylib               0x7ff807994bee _dispatch_client_callout + 6
12  libdispatch.dylib               0x7ff8079af973 _dispatch_root_queue_drain.cold.3 + 788
13  libdispatch.dylib               0x7ff80798db90 _dispatch_root_queue_drain + 98
14  libdispatch.dylib               0x7ff80798e02a _dispatch_worker_thread2 + 174
15  libsystem_pthread.dylib         0x7ff807b35828 _pthread_wqthread + 233
16  libsystem_pthread.dylib         0x7ff807b34843 start_wqthread + 15

Thread 12:
Thread 13:
Thread 14:
Thread 15:
Thread 16:
Thread 17:
Thread 18:

Thread 11 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x0000000000000006  rcx: 0x000070000af7e6d8  rdx: 0x0000000000000000
  rdi: 0x0000000000028503  rsi: 0x0000000000000006  rbp: 0x000070000af7e700  rsp: 0x000070000af7e6d8
   r8: 0x00007ff84868eb90   r9: 0x0000000000000000  r10: 0x00007ff8488d39b0  r11: 0x0000000000000246
  r12: 0x00000001092ca000  r13: 0x0000000101a53106  r14: 0x0000000000028503  r15: 0x0000000000000016
  rip: 0x00007ff807afc82e  rfl: 0x0000000000000246  cr2: 0x0000000000000000

Logical CPU:     0
Error Code:      0x020000b8
Trap Number:     133

Binary Images:
       0x10138c000 -        0x101b72fff com.FluidApp.app (1.5.8) /Applications/FluidVoice.app/Contents/MacOS/FluidVoice
       0x101deb000 -        0x101dfefff mediaremote-adapter.MediaRemoteAdapter (1.0) /Applications/FluidVoice.app/Contents/Frameworks/MediaRemoteAdapter.framework/Versions/A/MediaRemoteAdapter
    0x7ff807af5000 -     0x7ff807b32917 libsystem_kernel.dylib /usr/lib/system/libsystem_kernel.dylib
    0x7ff811966000 -     0x7ff811d560e9 com.apple.QuartzCore (1194.10.15) /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
    0x7ff80ba07000 -     0x7ff80d2006c6 com.apple.AppKit (6.9) /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
    0x7ffd1d97e000 -     0x7ffd1d97fe9a com.apple.UpdateCycle (1) /System/Library/PrivateFrameworks/UpdateCycle.framework/Versions/A/UpdateCycle
    0x7ff807b79000 -     0x7ff808034e02 com.apple.CoreFoundation (6.9) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x7ff8144fd000 -     0x7ff8147db227 com.apple.HIToolbox (2.1.1) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
    0x7ff91a404000 -     0x7ff91b66c386 com.apple.SwiftUI (7.3.2) /System/Library/Frameworks/SwiftUI.framework/Versions/A/SwiftUI
    0x7ff80775b000 -     0x7ff8077f8627 dyld /usr/lib/dyld
    0x7ff807b33000 -     0x7ff807b3f027 libsystem_pthread.dylib /usr/lib/system/libsystem_pthread.dylib
    0x7ff814066000 -     0x7ff81408aab7 com.apple.audio.caulk (1.0) /System/Library/PrivateFrameworks/caulk.framework/Versions/A/caulk
    0x7ff80797d000 -     0x7ff8079c4921 libdispatch.dylib /usr/lib/system/libdispatch.dylib
    0x7ff8079c8000 -     0x7ff807a518f7 libsystem_c.dylib /usr/lib/system/libsystem_c.dylib

erdeha-g2g avatar Feb 19 '26 16:02 erdeha-g2g

if you're still using it - is it still crashing ? Would like to fix it if so. Thank you

altic-dev avatar Apr 05 '26 22:04 altic-dev

I just tested it with 1.5.10 and it no longer crashes. So bug solved.

erdeha-g2g avatar Apr 06 '26 09:04 erdeha-g2g