FluidVoice icon indicating copy to clipboard operation
FluidVoice copied to clipboard

[🐞 BUG] v1.5.9 crashes on launch on macOS 14.8.4 (Sonoma) β€” EXC_BAD_ACCESS in AttributeGraph/SwiftUI

Open stormrider1 opened this issue 8 months ago β€’ 10 comments

Description

FluidVoice v1.5.9 crashes immediately on launch on macOS 14.8.4 (Sonoma). The app starts, begins SwiftUI view initialization, then hits a null pointer dereference and terminates. 100% reproducible β€” 7 consecutive crash reports in a single session.

System Info

  • macOS: 14.8.4 (23J319) β€” Sonoma
  • Hardware: MacBook Air M1 (MacBookAir10,1), arm64
  • App version: FluidVoice 1.5.9 (build 8)
  • Code signing: Notarized Developer ID, Gatekeeper passes (spctl -a β†’ accepted)

Crash Details

Exception: EXC_BAD_ACCESS (SIGSEGV) β€” KERN_INVALID_ADDRESS at 0x0000000000000000

Faulting thread: 0 (main thread, com.apple.main-thread)

Key stack frames (thread 0):

swift_getTypeByMangledNodeImpl  β†’  null pointer
swift_getTypeByMangledNameImpl
AG::swift::metadata::mangled_type_name_ref
AGTypeApplyFields2::Visitor::visit_field
AG::swift::metadata::visit
AGTypeApplyFields2
AG::Graph::UpdateStack::update
AG::Graph::update_attribute
AG::Graph::input_value_ref_slow
AGGraphGetValue
...
-[NSWindow setContentViewController:]
NSApplicationMain

The crash occurs during setContentViewController: β†’ SwiftUI AttributeGraph trying to resolve type metadata via swift_getTypeByMangledNameImpl, which returns/dereferences a null pointer.

Thread 1 also shows the same pattern β€” swift_getTypeByMangledNameImpl β†’ swift_conformsToProtocolCommon recursion in AG::LayoutDescriptor::make_layout.

Analysis

The app binary shows Runtime Version 26.0.0 (built with Xcode 18 / macOS 15+ SDK). The SwiftUI type metadata it references during view initialization does not exist in the macOS 14 runtime, causing the null pointer crash.

Prior Fix

This appears to be a regression of the same class of issue fixed in v1.5.1: "Fixed crash-on-launch issue related to AttributeGraph race condition". The v1.5.1 fix may have been lost or the deployment target was raised in a later version.

Expected Behavior

App should launch normally on macOS 14.0+ as stated in system requirements.

Steps to Reproduce

  1. Install FluidVoice v1.5.9 on macOS 14.8.4 (Sonoma)
  2. Launch the app
  3. App window never appears; crash report generated immediately

Workaround

None found yet. Upgrading to macOS 15 (Sequoia) would likely resolve it, but that shouldn't be required given the stated minimum of macOS 14.0.

stormrider1 avatar Mar 25 '26 12:03 stormrider1

Update β€” additional testing:

Tested multiple older versions on the same system (macOS 14.8.4, M1):

Version Result
v1.5.9 Crash on launch
v1.5.5 Crash on launch
v1.5.1 Crash on launch
v1.4.2 Works

The regression was introduced in v1.5.0. v1.4.2 is the last version that launches successfully on macOS 14.8.4 Sonoma.

stormrider1 avatar Mar 25 '26 12:03 stormrider1

Correction β€” v1.4.2 also crashes with the identical stack trace.

Tested v1.4.2 (November 2025) β€” same EXC_BAD_ACCESS in swift_getTypeByMangledNameImpl β†’ AG::LayoutDescriptor::make_layout on Thread 3 (com.apple.root.utility-qos). The crash is in Apple's system frameworks (AttributeGraph, libswiftCore, SwiftUI), not in FluidVoice's own code.

This appears to be a macOS 14 (Sonoma) system-level AttributeGraph bug that FluidVoice's SwiftUI views trigger. No app version resolves it on macOS 14.8.4.

Likely requires macOS 15 (Sequoia) to run. If so, it may be worth updating the system requirements on the README from "macOS 14.0 (Sonoma)" to "macOS 15.0 (Sequoia)".

stormrider1 avatar Mar 25 '26 12:03 stormrider1

Seems like https://github.com/altic-dev/FluidVoice/issues/62#issuecomment-4105044339 more or less confirms this

evansendra avatar Mar 25 '26 16:03 evansendra

Hi yeah! I'll update the readme as well. But 14 is causing issues and is not easily fixable at this point. Please update to 15 or 26. Thanks

altic-dev avatar Mar 26 '26 04:03 altic-dev

closing this as #62 tracks this. but moving support from 14 to 15 for now until I get more time to fix this or someone else can please take it and fix it for me. I do not have a 14x mac to debug this. Thanks and sorry for the inconvenience.

altic-dev avatar Mar 27 '26 03:03 altic-dev

Hi Jonathan,

I'm a macOS Sonoma user as well. I plan to carry on on Sonoma (surprisingly stable and bug-free in its final iteration, no silly UI corner games or transparent nonsense) for another six months or year, but use voice to text all the time. How can I help you get a macOS 14 build working?

AlecKinnear avatar Jul 05 '26 17:07 AlecKinnear

I would to support 14 but theres a lot of intertwined changes that I cannot fix without having physical access to a device.. thats why i had to push the support to 15 :( its possible to fix but not without a device

On Sun, Jul 5, 2026 at 10:56β€―AM AlecKinnear @.***> wrote:

AlecKinnear left a comment (altic-dev/FluidVoice#226) https://github.com/altic-dev/FluidVoice/issues/226#issuecomment-4887047371

Hi Jonathan,

I'm a macOS Sonoma user as well. I plan to carry on on Sonoma (surprisingly stable and bug-free in its final iteration, no silly UI corner games or transparent nonsense) for another six months or year, but use voice to text all the time. How can I help you get a macOS 14 build working?

β€” Reply to this email directly, view it on GitHub https://github.com/altic-dev/FluidVoice/issues/226?email_source=notifications&email_token=BVSOW2QUSRVNWZZW7D7M65D5DKJDFA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTIOBYG4YDINZTG4Y2M4TFMFZW63VMON2GC5DFL5RWQYLOM5S2KZLWMVXHJLDGN5XXIZLSL5RWY2LDNM#issuecomment-4887047371, or unsubscribe https://github.com/notifications/unsubscribe-auth/BVSOW2TXCYDXVCHGUDJOIBD5DKJDFAVCNFSNUABGKJSXA33TNF2G64TZHMYTANRRGMZDOMZRGE5US43TOVSTWNBRGM2TANRQGU3TRILWAI . You are receiving this because you modified the open/close state.Message ID: @.***>

altic-dev avatar Jul 05 '26 17:07 altic-dev

Thanks for the quick answer. It's possible to set up a Mac to boot from external disks (not all that easy these days, thanks Apple), in which case you could dual boot.

Cutting off macOS 14 is a pretty severe step.

Where are you located? Perhaps we could work on getting you at least temporary access to a macOS Sonoma Mac.

AlecKinnear avatar Jul 05 '26 18:07 AlecKinnear

Best way would be to have someone with 14.0 and wants to work on a fix w me and i can merge it in. We’re in California USA

On Sun, Jul 5, 2026 at 11:05β€―AM AlecKinnear @.***> wrote:

AlecKinnear left a comment (altic-dev/FluidVoice#226) https://github.com/altic-dev/FluidVoice/issues/226#issuecomment-4887072924

Thanks for the quick answer. It's possible to set up a Mac to boot from external disks (not all that easy these days, thanks Apple), in which case you could dual boot.

Cutting off macOS 14 is a pretty severe step.

Where are you located? Perhaps we could work on getting you at least temporary access to a macOS Sonoma Mac.

β€” Reply to this email directly, view it on GitHub https://github.com/altic-dev/FluidVoice/issues/226?email_source=notifications&email_token=BVSOW2UZK4KVFZF3I4ZF4FD5DKKFFA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTIOBYG4YDOMRZGI2KM4TFMFZW63VMON2GC5DFL5RWQYLOM5S2KZLWMVXHJLDGN5XXIZLSL5RWY2LDNM#issuecomment-4887072924, or unsubscribe https://github.com/notifications/unsubscribe-auth/BVSOW2QCIB5JICVQSMLG2PT5DKKFFAVCNFSNUABGKJSXA33TNF2G64TZHMYTANRRGMZDOMZRGE5US43TOVSTWNBRGM2TANRQGU3TRILWAI . You are receiving this because you modified the open/close state.Message ID: @.***>

altic-dev avatar Jul 05 '26 18:07 altic-dev

Hi Jonathan,

We're in Europe so the time-difference with the West Coast is very difficult. Hopefully someone closer by will see this thread.

Thanks.

AlecKinnear avatar Jul 13 '26 14:07 AlecKinnear