Hi! If this is not the right place to post this, let me know and I’ll post it to the relevant place ![]()
Subject: Crash on Subsequent File Opening with Accessibility / UI Element Attribute Fetching or Polling (QAccessibleCache)
SpectraLayers Version: 12.0.40.433
macOS Version: 15.7.3 (24G419) ← seems to have started with this build?
Hardware: MacBook Pro M1 Max
Problem: SpectraLayers crashes consistently when opening a second file after closing the first, but only when SoundFlow (third-party automation software) has previously fetched or polled accessibility elements / UI element accessibility attributes
Steps to Reproduce:
-
Open SpectraLayers 12
-
Open an audio file → works fine
-
Use a SoundFlow script that fetches or polls element attributes (.exists, .isEnabled, isMenuChecked, etc)
-
Close the file
-
Open a second audio file → crash
Does NOT crash when:
- SoundFlow is not used to fetch / poll element attributes
Technical Details: The crash occurs in SpectraLayers’ Qt accessibility system during UI updates:
Thread 0 Crashed (main thread): objc_msgSend + 32 QAccessibleCache::removeAccessibleElement(unsigned int) + 144QAccessibleCache::deleteInterface(unsigned int, QObject*) + 516QAccessibleTable::modelChange(QAccessibleTableModelChangeEvent*) + 1244 → Triggered by QListModel::clear() during tab switching Exception: EXC_BAD_ACCESS (SIGSEGV) Invalid memory address: 0x000059191f50fa60