Mac build can't find the GTK theme?

Hello all,

I’m able to build and link on the Mac now (after starting from scratch without homebrew), but now the system can’t find the GTK themes.
The same happens for Ardour or Mixbus builds.
The pre-compiled Ardour demo works fine, as does commercial Mixbus.

I build the gtk-engines-2.21.0 library with several themes explicitly enabled, i.e.,
./configure --enable-clearlooks --enable-crux --enable-industrial --enable-animation

and it appears to install the files in /usr/local/lib/gtk-2.0/2.10.0/engines
I remove all the temp conf files from /Users/stp/Library/Preferences/Ardour8, etc.

I’m running on a MacStudio M1 Max with Sonoma 14.2.1
This never used to happen…

Any tips?

Many thanks in advance, and Happy New Year!

Stephen in Ojai/CA


Here’s what I do to build

configure & build

./waf configure -vk --with-backends=coreaudio --no-carbon --no-lrdf --backtrace --keepflags --arch=arm64 --arm64 --boost-include=/usr/local/include --cxx1 --debug-symbols
./waf clean
./waf build -k --with-backends=coreaudio --no-carbon --no-lrdf --backtrace --keepflags --arch=arm64 --arm64 --boost-include=/usr/local/include --debug-symbols
./waf i18n

fix install locations (not sure why this is necessary, but it fails to find several libs if I skip it)

export A_BINARY=/Users/stp/Code/Audio/Ardour8/ardour/build/gtk2_ardour/ardour-8.2.12
install_name_tool -add_rpath /usr/local $A_BINARY
install_name_tool -add_rpath /usr/local/lib $A_BINARY
install_name_tool -change lib/librubberband.so /usr/local/lib/librubberband.so $A_BINARY
install_name_tool -change libvamp-sdk.so /usr/local/lib/libvamp-sdk.so $A_BINARY
install_name_tool -change libvamp-hostsdk.so /usr/local/lib/libvamp-hostsdk.so $A_BINARY
install_name_tool -change libc++.1.dylib /usr/local/lib/libc++.1.dylib $A_BINARY
install_name_tool -change libobjc.A.dylib /usr/local/lib/libobjc.A.dylib $A_BINARY

install

sudo ./waf install


RUN IT

ardour8 --lldb # or call the local version as build/gtk2_ardour/ardour8 --lldb

WARNING: Could not check your glib-2.0 for mutex locking atomic operations.

(lldb) target create “/usr/local/lib/ardour8/ardour-8.2.12”
Current executable set to ‘/usr/local/lib/ardour8/ardour-8.2.12’ (arm64).
(lldb) r
Process 17379 launched: ‘/usr/local/lib/ardour8/ardour-8.2.12’ (arm64)
Disabling MacOS AppNap
bind txt domain [gtk2_ardour8] to /usr/local/share/ardour8/locale
Ardour8.2.12 (built using 8.2-12-g128278c75f and GCC version Apple LLVM 15.0.0 (clang-1500.1.0.2.5))
Ardour: [INFO]: Your system is configured to limit Ardour to 10240 open files
Ardour: [INFO]: Loading system configuration file /usr/local/etc/ardour8/system_config
Ardour: [INFO]: Apple VecLib H/W specific optimizations in use
Ardour: [INFO]: Set Clip Library directory to ‘/Users/stp/Library/Audio/Sounds/Clips’
Ardour: [INFO]: Loading plugin meta data file /usr/local/share/ardour8/plugin_metadata/plugin_tags
Ardour: [INFO]: Loading default ui configuration file /usr/local/etc/ardour8/default_ui_config
Ardour: [INFO]: Loading 457 MIDI patches from /usr/local/share/ardour8/patchfiles
2024-01-03 17:29:02.892619-0800 ardour-8.2.12[17379:22078680] *** WARNING: Method userSpaceScaleFactor in class NSView is deprecated on 10.7 and later. It should not be used in new applications. Use convertRectToBacking: instead.
Ardour: [INFO]: Loading color file /usr/local/share/ardour8/themes/dark-ardour.colors
Ardour: [INFO]: Loading ui configuration file /usr/local/etc/ardour8/clearlooks.rc

(ardour-8.2.12:17379): Gtk-WARNING **: 17:29:03.047: Unable to locate theme engine in module_path: “clearlooks”,

(ardour-8.2.12:17379): Gtk-WARNING **: 17:29:03.047: Unable to locate theme engine in module_path: “clearlooks”,

(ardour-8.2.12:17379): Gtk-WARNING **: 17:29:03.049: Unable to locate theme engine in module_path: “clearlooks”,

(ardour-8.2.12:17379): Gtk-WARNING **: 17:29:03.049: Unable to locate theme engine in module_path: “clearlooks”,

(ardour-8.2.12:17379): GLib-GIO-CRITICAL **: 17:29:03.052: g_loadable_icon_load: assertion ‘G_IS_LOADABLE_ICON (icon)’ failed

(ardour-8.2.12:17379): Gtk-WARNING **: 17:29:03.053: Error loading theme icon ‘dialog-information’ for stock: Failed to load icon

[lots of these…]

(ardour-8.2.12:17379): Gtk-CRITICAL **: 17:29:11.377: render_fallback_image: assertion ‘pixbuf != NULL’ failed

(ardour-8.2.12:17379): GLib-GObject-CRITICAL **: 17:29:11.377: g_object_ref: assertion ‘G_IS_OBJECT (object)’ failed

(ardour-8.2.12:17379): GLib-GObject-CRITICAL **: 17:29:11.377: g_object_unref: assertion ‘G_IS_OBJECT (object)’ failed
start clocking
Ardour: [INFO]: Loading bindings from /usr/local/etc/ardour8/ardour.keys
Loading ui configuration file /usr/local/etc/ardour8/clearlooks.rc

(ardour-8.2.12:17379): Gtk-WARNING **: 17:29:11.481: Unable to locate theme engine in module_path: “clearlooks”,

(ardour-8.2.12:17379): Gtk-WARNING **: 17:29:11.482: Unable to locate theme engine in module_path: “clearlooks”,
2024-01-03 17:29:11.522185-0800 ardour-8.2.12[17379:22078680] [plugin] AddInstanceForFactory: No factory registered for id <CFUUID 0x6000027ab0c0> F8BB1C28-BAE8-11D6-9C31-00039315CD46
CoreAudio Device: #0 (id:116) ‘Acer T272HUL’ in:0 out:2
CoreAudio Device: #1 (id:92) ‘Display Audio’ in:1 out:2
CoreAudio Device: #2 (id:131) ‘Realtek USB2.0 MIC’ in:2 out:0
CoreAudio Device: #3 (id:135) ‘ADI-2 DAC (52052584)’ in:2 out:2
CoreAudio Device: #4 (id:79) ‘Mac Studio Speakers’ in:0 out:2
CoreAudio Device: #5 (id:86) ‘MMAudio Device’ in:2 out:2
CoreAudio Device: #6 (id:101) ‘MMAudio Device (UI Sounds)’ in:2 out:2
CoreAudio Device: #7 (id:112) ‘OrionStudio_III’ in:32 out:32
CoreAudio Device: #8 (id:105) ‘ZoomAudioDevice’ in:2 out:2
2024-01-03 17:29:11.574292-0800 ardour-8.2.12[17379:22078680] [Window] Warning: -[NSWindow makeKeyWindow] called on GdkQuartzWindow 0x15a797f90 which returned NO from -[NSWindow canBecomeKeyWindow].

(ardour-8.2.12:17379): GLib-GIO-CRITICAL **: 17:29:11.593: g_loadable_icon_load: assertion ‘G_IS_LOADABLE_ICON (icon)’ failed

(ardour-8.2.12:17379): Gtk-WARNING **: 17:29:11.593: Error loading theme icon ‘edit-find’ for stock: Failed to load icon

(ardour-8.2.12:17379): Gtk-CRITICAL **: 17:29:11.593: render_fallback_image: assertion ‘pixbuf != NULL’ failed

(ardour-8.2.12:17379): GLib-GObject-CRITICAL **: 17:29:11.593: g_object_ref: assertion ‘G_IS_OBJECT (object)’ failed

[…]

(ardour-8.2.12:17379): GLib-GIO-CRITICAL **: 17:29:11.680: g_loadable_icon_load: assertion ‘G_IS_LOADABLE_ICON (icon)’ failed

(ardour-8.2.12:17379): Gtk-WARNING **: 17:29:11.680: Could not find the icon ‘stock_unknown’. The ‘hicolor’ theme
was not found either, perhaps you need to install it.
You can get a copy from:
Index of /releases

(ardour-8.2.12:17379): GLib-GIO-CRITICAL **: 17:29:11.681: g_loadable_icon_load: assertion ‘G_IS_LOADABLE_ICON (icon)’ failed

[…]

(ardour-8.2.12:17379): GLib-GIO-CRITICAL **: 17:29:11.683: g_loadable_icon_load: assertion ‘G_IS_LOADABLE_ICON (icon)’ failed
pingback: No Error
2024-01-03 17:29:17.844101-0800 ardour-8.2.12[17379:22078680] [Window] Warning: -[NSWindow makeKeyWindow] called on GdkQuartzWindow 0x15a797f90 which returned NO from -[NSWindow canBecomeKeyWindow].
2024-01-03 17:29:17.844342-0800 ardour-8.2.12[17379:22078680] [Window] Warning: -[NSWindow makeKeyWindow] called on GdkQuartzWindow 0x15a797f90 which returned NO from -[NSWindow canBecomeKeyWindow].
2024-01-03 17:29:17.844428-0800 ardour-8.2.12[17379:22078680] [Window] Warning: -[NSWindow makeKeyWindow] called on GdkQuartzWindow 0x15a797f90 which returned NO from -[NSWindow canBecomeKeyWindow].

(ardour-8.2.12:17379): GLib-GIO-CRITICAL **: 17:29:17.862: g_loadable_icon_load: assertion ‘G_IS_LOADABLE_ICON (icon)’ failed

(ardour-8.2.12:17379): Gtk-WARNING **: 17:29:17.862: Error loading theme icon ‘edit-find’ for stock: Failed to load icon

(ardour-8.2.12:17379): Gtk-CRITICAL **: 17:29:17.863: render_fallback_image: assertion ‘pixbuf != NULL’ failed

(ardour-8.2.12:17379): GLib-GObject-CRITICAL **: 17:29:17.863: g_object_ref: assertion ‘G_IS_OBJECT (object)’ failed

[…]

(ardour-8.2.12:17379): GLib-GIO-CRITICAL **: 17:29:18.011: g_loadable_icon_load: assertion ‘G_IS_LOADABLE_ICON (icon)’ failed

(ardour-8.2.12:17379): GLib-GIO-CRITICAL **: 17:29:18.011: g_loadable_icon_load: assertion ‘G_IS_LOADABLE_ICON (icon)’ failed

(ardour-8.2.12:17379): GLib-GIO-CRITICAL **: 17:29:18.011: g_loadable_icon_load: assertion ‘G_IS_LOADABLE_ICON (icon)’ failed

(ardour-8.2.12:17379): GLib-GIO-CRITICAL **: 17:29:18.016: g_loadable_icon_load: assertion ‘G_IS_LOADABLE_ICON (icon)’ failed
2024-01-03 17:29:20.837643-0800 ardour-8.2.12[17379:22078680] [Window] Warning: -[NSWindow makeKeyWindow] called on GdkQuartzWindow 0x15a797f90 which returned NO from -[NSWindow canBecomeKeyWindow].
2024-01-03 17:29:20.837920-0800 ardour-8.2.12[17379:22078680] [Window] Warning: -[NSWindow makeKeyWindow] called on GdkQuartzWindow 0x15a797f90 which returned NO from -[NSWindow canBecomeKeyWindow].
2024-01-03 17:29:20.838016-0800 ardour-8.2.12[17379:22078680] [Window] Warning: -[NSWindow makeKeyWindow] called on GdkQuartzWindow 0x15a797f90 which returned NO from -[NSWindow canBecomeKeyWindow].

(ardour-8.2.12:17379): GLib-GIO-CRITICAL **: 17:29:20.864: g_loadable_icon_load: assertion ‘G_IS_LOADABLE_ICON (icon)’ failed


Sample Rate:44100.00 Format ID:mcpl
Format Flags:29
Bytes per Packet:4
Frames per Packet:1
Bytes per Frame:4
Channels per Frame:2
Bits per Channel:32



Sample Rate:44100.00 Format ID:mcpl
Format Flags:29
Bytes per Packet:4
Frames per Packet:1
Bytes per Frame:4
Channels per Frame:2
Bits per Channel:32


STATE: 0
Output Latency systemic+safetyoffset = 68 + 69
^ Stream 0 latency: 136
MIDI IN DEVICE: MIDIPLUS TBOX 2x2 Midi In 1
MIDI IN DEVICE: Faders
MIDI IN DEVICE: IAC Driver Bus 1
MIDI IN DEVICE: ADI-2 DAC (52052584) Port 1
MIDI OUT DEVICE: Nord Stage 3
MIDI OUT DEVICE: MIDIPLUS TBOX 2x2 Midi Out 2
MIDI OUT DEVICE: IAC Driver Bus 1
MIDI OUT DEVICE: ADI-2 DAC (52052584) Port 1
register MIDI Input: system:midi_capture_1103053145
register MIDI Input: system:midi_capture_2272221936
register MIDI Input: system:midi_capture_1762362652
register MIDI Input: system:midi_capture_1624254133
register MIDI OUT: system:midi_playback_361657725
register MIDI OUT: system:midi_playback_458128096
register MIDI OUT: system:midi_playback_2980103469
register MIDI OUT: system:midi_playback_712833156
Output Latency systemic+safetyoffset = 68 + 69
^ Stream 0 latency: 136
COREAUDIO LATENCY: i:0, o:137
2024-01-03 17:29:36.281502-0800 ardour-8.2.12[17379:22078680] [Window] Warning: -[NSWindow makeKeyWindow] called on GdkQuartzWindow 0x15a797f90 which returned NO from -[NSWindow canBecomeKeyWindow].
2024-01-03 17:29:36.281725-0800 ardour-8.2.12[17379:22078680] [Window] Warning: -[NSWindow makeKeyWindow] called on GdkQuartzWindow 0x15a797f90 which returned NO from -[NSWindow canBecomeKeyWindow].
2024-01-03 17:29:36.281839-0800 ardour-8.2.12[17379:22078680] [Window] Warning: -[NSWindow makeKeyWindow] called on GdkQuartzWindow 0x15a797f90 which returned NO from -[NSWindow canBecomeKeyWindow].
Mach Thread(0x170977000) set timeshare: 0 OK: 1
Mach Thread(0x170977000) set precedence: 63 OK: 1
Mach Thread(0x170977000) get: period=0 comp=120000 constraint=240000 preemt=1 OK: 1
period_ns=23219954.648526 period_clk=557278.911565 timebase.num=125 timebase_den=3 ticks_per_ns=0.024000
Mach Thread(0x170977000) request: period=557278 comp=501551 constraint=529414 preemt=1
Mach Thread(0x170977000) set: period=557278 comp=501551 constraint=529414 preemt=1 OK: 1
2024-01-03 17:29:36.832798-0800 ardour-8.2.12[17379:22078680] [carc] CAReportingClient.mm:532 Attempted to remove a reporter not created by this client { careporter_id=74642236637186 }
2024-01-03 17:29:37.386875-0800 ardour-8.2.12[17379:22078680] [Window] Warning: -[NSWindow makeKeyWindow] called on GdkQuartzWindow 0x15a797f90 which returned NO from -[NSWindow canBecomeKeyWindow].
2024-01-03 17:29:37.386962-0800 ardour-8.2.12[17379:22078680] [Window] Warning: -[NSWindow makeKeyWindow] called on GdkQuartzWindow 0x15a797f90 which returned NO from -[NSWindow canBecomeKeyWindow].
2024-01-03 17:29:37.386993-0800 ardour-8.2.12[17379:22078680] [Window] Warning: -[NSWindow makeKeyWindow] called on GdkQuartzWindow 0x15a797f90 which returned NO from -[NSWindow canBecomeKeyWindow].

(ardour-8.2.12:17379): GLib-GIO-CRITICAL **: 17:29:37.405: g_loadable_icon_load: assertion ‘G_IS_LOADABLE_ICON (icon)’ failed

(ardour-8.2.12:17379): Gtk-WARNING **: 17:29:37.406: Error loading theme icon ‘edit-find’ for stock: Failed to load icon

(ardour-8.2.12:17379): Gtk-CRITICAL **: 17:29:37.406: render_fallback_image: assertion ‘pixbuf != NULL’ failed

(ardour-8.2.12:17379): GLib-GObject-CRITICAL **: 17:29:37.406: g_object_ref: assertion ‘G_IS_OBJECT (object)’ failed

[…]

(ardour-8.2.12:17379): GLib-GObject-CRITICAL **: 17:29:37.569: g_object_unref: assertion ‘G_IS_OBJECT (object)’ failed

(ardour-8.2.12:17379): GLib-GIO-CRITICAL **: 17:29:37.570: g_loadable_icon_load: assertion ‘G_IS_LOADABLE_ICON (icon)’ failed
Set cursor set to default

(ardour-8.2.12:17379): GLib-GIO-CRITICAL **: 17:29:38.452: g_loadable_icon_load: assertion ‘G_IS_LOADABLE_ICON (icon)’ failed

(ardour-8.2.12:17379): Gtk-WARNING **: 17:29:38.452: Error loading theme icon ‘edit-find’ for stock: Failed to load icon

(ardour-8.2.12:17379): Gtk-CRITICAL **: 17:29:38.452: render_fallback_image: assertion ‘pixbuf != NULL’ failed

[…]

(ardour-8.2.12:17379): Gtk-CRITICAL **: 17:29:38.623: render_fallback_image: assertion ‘pixbuf != NULL’ failed

(ardour-8.2.12:17379): GLib-GObject-CRITICAL **: 17:29:38.623: g_object_ref: assertion ‘G_IS_OBJECT (object)’ failed
start clocking

(ardour-8.2.12:17379): GLib-GIO-CRITICAL **: 17:29:38.727: g_loadable_icon_load: assertion ‘G_IS_LOADABLE_ICON (icon)’ failed

[…]

(ardour-8.2.12:17379): GLib-GIO-CRITICAL **: 17:29:38.755: g_loadable_icon_load: assertion ‘G_IS_LOADABLE_ICON (icon)’ failed

(ardour-8.2.12:17379): GLib-GIO-CRITICAL **: 17:29:38.755: g_loadable_icon_load: assertion ‘G_IS_LOADABLE_ICON (icon)’ failed

(ardour-8.2.12:17379): GLib-GIO-CRITICAL **: 17:29:38.755: g_loadable_icon_load: assertion ‘G_IS_LOADABLE_ICON (icon)’ failed
Mach Thread(0x1753d3000) set timeshare: 0 OK: 1
Mach Thread(0x1753d3000) set precedence: 62 OK: 1
Mach Thread(0x1753d3000) get: period=0 comp=120000 constraint=240000 preemt=1 OK: 1
Mach Thread(0x1754eb000) set timeshare: 0 OK: 1
period_ns=23219954.648526 period_clk=557278.911565 timebase.num=125 timebase_den=3 ticks_per_ns=0.024000

[…]

period_ns=23219954.648526 period_clk=557278.911565 timebase.num=125 timebase_den=3 ticks_per_ns=0.024000
Mach Thread(0x17571b000) request: period=557278 comp=501551 constraint=529414 preemt=1
Mach Thread(0x17571b000) set: period=557278 comp=501551 constraint=529414 preemt=1 OK: 1
Mach Thread(0x17568f000) set: period=557278 comp=501551 constraint=529414 preemt=1 OK: 1
Process 17379 stopped

  • thread #1, queue = ‘com.apple.main-thread’, stop reason = EXC_BAD_ACCESS (code=1, address=0x48)
    frame #0: 0x00000001069f67a0 libcairo.2.dylib_cairo_surface_release_source_image + 112 libcairo.2.dylib:
    → 0x1069f67a0 <+112>: ldr x8, [x8, #0x48]
    0x1069f67a4 <+116>: subs x8, x8, #0x0
    0x1069f67a8 <+120>: cset w8, eq
    0x1069f67ac <+124>: tbnz w8, #0x0, 0x1069f67d4 ; <+164>
    Target 0: (ardour-8.2.12) stopped.
    (lldb) thread backtrace
  • thread #1, queue = ‘com.apple.main-thread’, stop reason = EXC_BAD_ACCESS (code=1, address=0x48)
    • frame #0: 0x00000001069f67a0 libcairo.2.dylib_cairo_surface_release_source_image + 112 frame #1: 0x0000000106a48d1c libcairo.2.dylibDataProviderReleaseCallback + 60
      frame #2: 0x000000018cd60b34 CoreGraphicsdata_release_info + 40 frame #3: 0x000000018cd22044 CoreGraphicsdata_provider_finalize + 64
      frame #4: 0x000000018ccf0b4c CoreGraphicsdata_provider_retain_count + 96 frame #5: 0x00000001872f5fa0 CoreFoundation_CFRelease + 1324
      frame #6: 0x000000018cd43d7c CoreGraphicsimage_finalize + 100 frame #7: 0x00000001872f5b98 CoreFoundation_CFRelease + 292
      frame #8: 0x000000018cd7fc94 CoreGraphicsCG::DisplayListResourceImage::~DisplayListResourceImage() + 56 frame #9: 0x000000018cd7fc44 CoreGraphicsCG::DisplayListResourceImage::~DisplayListResourceImage() + 16
      frame #10: 0x000000018cf8d964 CoreGraphicsstd::__1::__shared_weak_count::__release_shared[abi:v160006]() + 84 frame #11: 0x000000018d16343c CoreGraphicsstd::__1::__tree<std::__1::shared_ptrCG::DisplayListResourceImage, CG::CompareResourceImage, std::__1::allocator<std::__1::shared_ptrCG::DisplayListResourceImage>>::destroy(std::__1::__tree_node<std::__1::shared_ptrCG::DisplayListResourceImage, void*>*) + 60
      frame #12: 0x000000018cd7fb64 CoreGraphicsCG::DisplayList::~DisplayList() + 308 frame #13: 0x00000001872f5b98 CoreFoundation_CFRelease + 292
      frame #14: 0x0000000186d835f8 libobjc.A.dylibobject_cxxDestructFromClass(objc_object*, objc_class*) + 116 frame #15: 0x0000000186d7ae7c libobjc.A.dylibobjc_destructInstance + 80
      frame #16: 0x0000000186d7ae24 libobjc.A.dylib_objc_rootDealloc + 80 frame #17: 0x000000018b21173c AppKit-[NSViewBackingStoreImage dealloc] + 44
      frame #18: 0x000000018f2f3104 QuartzCoreCA::release_objects(X::List<void const*>*) + 32 frame #19: 0x000000018f2e50fc QuartzCoreCA::Transaction::commit() + 1256
      frame #20: 0x000000018ab26ec8 AppKit__62+[CATransaction(NSCATransaction) NS_setFlushesWithDisplayLink]_block_invoke + 272 frame #21: 0x000000018b4cc558 AppKit___NSRunLoopObserverCreateWithHandler_block_invoke + 64
      frame #22: 0x0000000187222df0 CoreFoundation__CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 36 frame #23: 0x0000000187222cdc CoreFoundation__CFRunLoopDoObservers + 532
      frame #24: 0x000000018722230c CoreFoundation__CFRunLoopRun + 776 frame #25: 0x00000001872219ac CoreFoundationCFRunLoopRunSpecific + 608
      frame #26: 0x00000001917d0448 HIToolboxRunCurrentEventLoopInMode + 292 frame #27: 0x00000001917d00d8 HIToolboxReceiveNextEventCommon + 220
      frame #28: 0x00000001917cffdc HIToolbox_BlockUntilNextEventMatchingListInModeWithFilter + 76 frame #29: 0x000000018a9fe8a4 AppKit_DPSNextEvent + 660
      frame #30: 0x000000018b1d8980 AppKit-[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 716 frame #31: 0x00000001064ad990 libgdk-quartz-2.0.0.dylibpoll_func + 296
      frame #32: 0x0000000106663c54 libglib-2.0.0.dylibg_main_context_poll + 120 frame #33: 0x0000000106661604 libglib-2.0.0.dylibg_main_context_iterate + 460
      frame #34: 0x000000010666141c libglib-2.0.0.dylibg_main_context_pending + 88 frame #35: 0x0000000106e8f088 libgtk-quartz-2.0.0.dylibgtk_events_pending + 76
      frame #36: 0x00000001000681a0 ardour-8.2.12`ARDOUR_UI::gui_idle_handler(this=0x0000000140110000) at ardour_ui.cc:2976:9

[…]

Make sure you make the dependencies like libcairo.dylib visible to $LD_LIBRARY_PATH before running the Ardour8 binary.
or:
Create your own Mac App bundle. If you do this you might need to use libtool so it can find libcairo.dylib and its friends in your own app bundle.

Ardour’s source contains everything required to create a .app bundle assuming you have the dependency stack available.

However, this is not necessary if you run Ardour via ardev, a script in the gtk2_ardour folder/directory.

AFAIK, nobody has ever tried ./waf install for macOS. It is not likely to work.

Skip the waf install step and use ardev from inside the gtk2_ardour folder.

Yeah, this sounds way better :grin:

I did way back… as suspected it did not work:)

Seablade

Thanks for the assistance, fellows (Paul et al.) !

I fixed my $LD_LIBRARY_PATH (I had commented it out at some point…)

After a fresh config/build pass, running the app (either Ardour or Mixbus) with the ardev script (modified to call lldb) results in similar behavior (see below).

Do any of the warnings make any sense to any of you?

stp


(Remove the stored prefs from ~/Library/Preferences)

[ardour] ./gtk2_ardour/ardev

(lldb) target create “/Users/stp/Code/Audio/Ardour8/ardour/build/gtk2_ardour/ardour-8.2.12”
Current executable set to ‘/Users/stp/Code/Audio/Ardour8/ardour/build/gtk2_ardour/ardour-8.2.12’ (arm64).

(lldb) r

Process 36722 launched: ‘/Users/stp/Code/Audio/Ardour8/ardour/build/gtk2_ardour/ardour-8.2.12’ (arm64)
Disabling MacOS AppNap
bind txt domain [gtk2_ardour8] to /usr/local/share/ardour8/locale
Ardour8.2.12 (built using 8.2-12-g128278c75f and GCC version Apple LLVM 15.0.0 (clang-1500.1.0.2.5))
Ardour: [INFO]: Your system is configured to limit Ardour to 10240 open files
Ardour: [INFO]: Loading system configuration file /Users/stp/Code/Audio/Ardour8/ardour/system_config
Ardour: [INFO]: Apple VecLib H/W specific optimizations in use
Ardour: [INFO]: Set Clip Library directory to ‘/Users/stp/Library/Audio/Sounds/Clips’
Ardour: [INFO]: Loading plugin meta data file /Users/stp/Code/Audio/Ardour8/ardour/share/plugin_metadata/plugin_tags
Ardour: [INFO]: Loading 457 MIDI patches from /Users/stp/Code/Audio/Ardour8/ardour/share/patchfiles
Ardour: [INFO]: Loading default ui configuration file /Users/stp/Code/Audio/Ardour8/ardour/build/gtk2_ardour/default_ui_config

2024-01-04 17:32:38.115304-0800 ardour-8.2.12[36722:549630] *** WARNING: Method userSpaceScaleFactor in class NSView is deprecated on 10.7 and later. It should not be used in new applications. Use convertRectToBacking: instead.

Ardour: [INFO]: Loading color file /Users/stp/Code/Audio/Ardour8/ardour/gtk2_ardour/themes/dark-ardour.colors
Ardour: [INFO]: Loading ui configuration file /Users/stp/Code/Audio/Ardour8/ardour/build/gtk2_ardour/clearlooks.rc
start clocking
Ardour: [INFO]: Loading bindings from /Users/stp/Code/Audio/Ardour8/ardour/build/gtk2_ardour/ardour.keys
Loading ui configuration file /Users/stp/Code/Audio/Ardour8/ardour/build/gtk2_ardour/clearlooks.rc
2024-01-04 17:32:38.339059-0800 ardour-8.2.12[36722:549630] [plugin] AddInstanceForFactory: No factory registered for id <CFUUID 0x600001c717a0> F8BB1C28-BAE8-11D6-9C31-00039315CD46
CoreAudio Device: #0 (id:116) ‘Acer T272HUL’ in:0 out:2
CoreAudio Device: #1 (id:56) ‘Display Audio’ in:1 out:2
CoreAudio Device: #2 (id:131) ‘ADI-2 DAC (52052584)’ in:2 out:2
CoreAudio Device: #3 (id:88) ‘Mac Studio Speakers’ in:0 out:2
CoreAudio Device: #4 (id:95) ‘MMAudio Device’ in:2 out:2
CoreAudio Device: #5 (id:105) ‘MMAudio Device (UI Sounds)’ in:2 out:2
CoreAudio Device: #6 (id:101) ‘OrionStudio_III’ in:32 out:32
CoreAudio Device: #7 (id:109) ‘ZoomAudioDevice’ in:2 out:2

2024-01-04 17:32:38.434030-0800 ardour-8.2.12[36722:549630] [Window] Warning: -[NSWindow makeKeyWindow] called on GdkQuartzWindow 0x1388747f0 which returned NO from -[NSWindow canBecomeKeyWindow].

(ardour-8.2.12:36722): GLib-GIO-CRITICAL **: 17:32:38.524: g_loadable_icon_load: assertion ‘G_IS_LOADABLE_ICON (icon)’ failed

(ardour-8.2.12:36722): Gtk-WARNING **: 17:32:38.524: Error loading theme icon ‘edit-find’ for stock: Failed to load icon

(ardour-8.2.12:36722): Gtk-CRITICAL **: 17:32:38.524: render_fallback_image: assertion ‘pixbuf != NULL’ failed

(ardour-8.2.12:36722): GLib-GObject-CRITICAL **: 17:32:38.524: g_object_ref: assertion ‘G_IS_OBJECT (object)’ failed

(ardour-8.2.12:36722): GLib-GIO-CRITICAL **: 17:32:38.524: g_loadable_icon_load: assertion ‘G_IS_LOADABLE_ICON (icon)’ failed

[…]

(ardour-8.2.12:36722): GLib-GIO-CRITICAL **: 17:32:38.539: g_loadable_icon_load: assertion ‘G_IS_LOADABLE_ICON (icon)’ failed
set default folder to /Users/stp/Music

(ardour-8.2.12:36722): GLib-GIO-CRITICAL **: 17:32:38.543: g_loadable_icon_load: assertion ‘G_IS_LOADABLE_ICON (icon)’ failed

[…]

(ardour-8.2.12:36722): GLib-GIO-CRITICAL **: 17:32:38.591: g_loadable_icon_load: assertion ‘G_IS_LOADABLE_ICON (icon)’ failed

(ardour-8.2.12:36722): GLib-GIO-CRITICAL **: 17:32:38.592: g_loadable_icon_load: assertion ‘G_IS_LOADABLE_ICON (icon)’ failed

2024-01-04 17:32:38.600861-0800 ardour-8.2.12[36722:549630] [miscellany] CLIENT ERROR: TUINSRemoteViewController does not override -viewServiceDidTerminateWithError: and thus cannot react to catastrophic errors beyond logging them
2024-01-04 17:32:38.600986-0800 ardour-8.2.12[36722:549630] [CursorUI] -[TUINSCursorUIController activate:]_block_invoke: Can’t communicate with CursorUIViewService: Error Domain=NSCocoaErrorDomain Code=4099 “The connection to service created from an endpoint was invalidated from this process.” UserInfo={NSDebugDescription=The connection to service created from an endpoint was invalidated from this process.}
2024-01-04 17:32:38.633385-0800 ardour-8.2.12[36722:549649] Unable to open mach-O at path: default.metallib Error:2

2024-01-04 17:32:44.690883-0800 ardour-8.2.12[36722:549630] [Window] Warning: -[NSWindow makeKeyWindow] called on GdkQuartzWindow 0x1388747f0 which returned NO from -[NSWindow canBecomeKeyWindow].
2024-01-04 17:32:44.691140-0800 ardour-8.2.12[36722:549630] [Window] Warning: -[NSWindow makeKeyWindow] called on GdkQuartzWindow 0x1388747f0 which returned NO from -[NSWindow canBecomeKeyWindow].
2024-01-04 17:32:44.691227-0800 ardour-8.2.12[36722:549630] [Window] Warning: -[NSWindow makeKeyWindow] called on GdkQuartzWindow 0x1388747f0 which returned NO from -[NSWindow canBecomeKeyWindow].

(ardour-8.2.12:36722): GLib-GIO-CRITICAL **: 17:32:44.704: g_loadable_icon_load: assertion ‘G_IS_LOADABLE_ICON (icon)’ failed

(ardour-8.2.12:36722): Gtk-WARNING **: 17:32:44.705: Error loading theme icon ‘edit-find’ for stock: Failed to load icon

(ardour-8.2.12:36722): Gtk-CRITICAL **: 17:32:44.705: render_fallback_image: assertion ‘pixbuf != NULL’ failed

[…]

(ardour-8.2.12:36722): GLib-GIO-CRITICAL **: 17:32:44.735: g_loadable_icon_load: assertion ‘G_IS_LOADABLE_ICON (icon)’ failed
Found nothing along /Users/stp/Library/Preferences/Ardour8/templates:/Users/stp/Code/Audio/Ardour8/ardour/share/templates:/Users/stp/Code/Audio/Ardour8/ardour/build/templates:/Users/stp/Code/Audio/Ardour8/ardour/gtk2_ardour/templates:/Users/stp/Code/Audio/Ardour8/ardour/build/gtk2_ardour/templates

(ardour-8.2.12:36722): GLib-GIO-CRITICAL **: 17:32:44.790: g_loadable_icon_load: assertion ‘G_IS_LOADABLE_ICON (icon)’ failed

(ardour-8.2.12:36722): GLib-GIO-CRITICAL **: 17:32:44.812: g_loadable_icon_load: assertion ‘G_IS_LOADABLE_ICON (icon)’ failed

[…]

(ardour-8.2.12:36722): GLib-GIO-CRITICAL **: 17:32:44.818: g_loadable_icon_load: assertion ‘G_IS_LOADABLE_ICON (icon)’ failed

(ardour-8.2.12:36722): GLib-GIO-CRITICAL **: 17:32:44.822: g_loadable_icon_load: assertion ‘G_IS_LOADABLE_ICON (icon)’ failed

2024-01-04 17:32:44.837683-0800 ardour-8.2.12[36722:549630] [miscellany] CLIENT ERROR: TUINSRemoteViewController does not override -viewServiceDidTerminateWithError: and thus cannot react to catastrophic errors beyond logging them
2024-01-04 17:32:44.837794-0800 ardour-8.2.12[36722:549630] [CursorUI] -[TUINSCursorUIController activate:]_block_invoke: Can’t communicate with CursorUIViewService: Error Domain=NSCocoaErrorDomain Code=4099 “The connection to service created from an endpoint was invalidated from this process.” UserInfo={NSDebugDescription=The connection to service created from an endpoint was invalidated from this process.}

2024-01-04 17:32:49.866635-0800 ardour-8.2.12[36722:549630] [Window] Warning: -[NSWindow makeKeyWindow] called on GdkQuartzWindow 0x1388747f0 which returned NO from -[NSWindow canBecomeKeyWindow].
2024-01-04 17:32:49.866869-0800 ardour-8.2.12[36722:549630] [Window] Warning: -[NSWindow makeKeyWindow] called on GdkQuartzWindow 0x1388747f0 which returned NO from -[NSWindow canBecomeKeyWindow].
2024-01-04 17:32:49.866954-0800 ardour-8.2.12[36722:549630] [Window] Warning: -[NSWindow makeKeyWindow] called on GdkQuartzWindow 0x1388747f0 which returned NO from -[NSWindow canBecomeKeyWindow].

(ardour-8.2.12:36722): GLib-GIO-CRITICAL **: 17:32:49.887: g_loadable_icon_load: assertion ‘G_IS_LOADABLE_ICON (icon)’ failed
2024-01-04 17:32:49.969962-0800 ardour-8.2.12[36722:549630] [miscellany] CLIENT ERROR: TUINSRemoteViewController does not override -viewServiceDidTerminateWithError: and thus cannot react to catastrophic errors beyond logging them
2024-01-04 17:32:49.970072-0800 ardour-8.2.12[36722:549630] [CursorUI] -[TUINSCursorUIController activate:]_block_invoke: Can’t communicate with CursorUIViewService: Error Domain=NSCocoaErrorDomain Code=4099 “The connection to service created from an endpoint was invalidated from this process.” UserInfo={NSDebugDescription=The connection to service created from an endpoint was invalidated from this process.}


Sample Rate:44100.00 Format ID:mcpl
Format Flags:29
Bytes per Packet:4
Frames per Packet:1
Bytes per Frame:4
Channels per Frame:2
Bits per Channel:32



Sample Rate:44100.00 Format ID:mcpl
Format Flags:29
Bytes per Packet:4
Frames per Packet:1
Bytes per Frame:4
Channels per Frame:2
Bits per Channel:32


STATE: 0
Output Latency systemic+safetyoffset = 68 + 69
^ Stream 0 latency: 132
MIDI IN DEVICE: MIDIPLUS TBOX 2x2 Midi In 1
MIDI IN DEVICE: Faders
MIDI IN DEVICE: IAC Driver Bus 1
MIDI IN DEVICE: ADI-2 DAC (52052584) Port 1
MIDI OUT DEVICE: Nord Stage 3
MIDI OUT DEVICE: MIDIPLUS TBOX 2x2 Midi Out 2
MIDI OUT DEVICE: IAC Driver Bus 1
MIDI OUT DEVICE: ADI-2 DAC (52052584) Port 1
register MIDI Input: system:midi_capture_1103053145
register MIDI Input: system:midi_capture_2272221936
register MIDI Input: system:midi_capture_1762362652
register MIDI Input: system:midi_capture_1624254133
register MIDI OUT: system:midi_playback_361657725
register MIDI OUT: system:midi_playback_458128096
register MIDI OUT: system:midi_playback_2980103469
register MIDI OUT: system:midi_playback_712833156
Output Latency systemic+safetyoffset = 68 + 69
^ Stream 0 latency: 132
COREAUDIO LATENCY: i:0, o:137

2024-01-04 17:33:01.572484-0800 ardour-8.2.12[36722:549630] [Window] Warning: -[NSWindow makeKeyWindow] called on GdkQuartzWindow 0x1388747f0 which returned NO from -[NSWindow canBecomeKeyWindow].
2024-01-04 17:33:01.572812-0800 ardour-8.2.12[36722:549630] [Window] Warning: -[NSWindow makeKeyWindow] called on GdkQuartzWindow 0x1388747f0 which returned NO from -[NSWindow canBecomeKeyWindow].
2024-01-04 17:33:01.572923-0800 ardour-8.2.12[36722:549630] [Window] Warning: -[NSWindow makeKeyWindow] called on GdkQuartzWindow 0x1388747f0 which returned NO from -[NSWindow canBecomeKeyWindow].

Mach Thread(0x1707d3000) set timeshare: 0 OK: 1
Mach Thread(0x1707d3000) set precedence: 63 OK: 1
Mach Thread(0x1707d3000) get: period=0 comp=120000 constraint=240000 preemt=1 OK: 1
period_ns=23219954.648526 period_clk=557278.911565 timebase.num=125 timebase_den=3 ticks_per_ns=0.024000
Mach Thread(0x1707d3000) request: period=557278 comp=501551 constraint=529414 preemt=1
Mach Thread(0x1707d3000) set: period=557278 comp=501551 constraint=529414 preemt=1 OK: 1

2024-01-04 17:33:01.641504-0800 ardour-8.2.12[36722:549630] [exceptions] FAULT: <NSRemoteViewControllerAuxiliary: 0x600008093a80> encountered Error Domain=NSCocoaErrorDomain Code=4097 “connection to service with pid 730 created from an endpoint” UserInfo={NSDebugDescription=connection to service with pid 730 created from an endpoint}
2024-01-04 17:33:01.641568-0800 ardour-8.2.12[36722:549630] [exceptions] FAULT: <TUINSRemoteViewController: 0x6000028cad00> terminated following Error Domain=NSCocoaErrorDomain Code=4097 “connection to service with pid 730 created from an endpoint” UserInfo={NSDebugDescription=connection to service with pid 730 created from an endpoint}
2024-01-04 17:33:01.641588-0800 ardour-8.2.12[36722:549630] [miscellany] CLIENT ERROR: TUINSRemoteViewController does not override -viewServiceDidTerminateWithError: and thus cannot react to catastrophic errors beyond logging them

2024-01-04 17:33:01.641679-0800 ardour-8.2.12[36722:549630] [CursorUI] -[TUINSCursorUIController activate:]_block_invoke: Can’t communicate with CursorUIViewService: Error Domain=NSCocoaErrorDomain Code=4097 “connection to service with pid 730 created from an endpoint” UserInfo={NSDebugDescription=connection to service with pid 730 created from an endpoint}
2024-01-04 17:33:02.070992-0800 ardour-8.2.12[36722:549630] [carc] CAReportingClient.mm:532 Attempted to remove a reporter not created by this client { careporter_id=157719789043714 }

2024-01-04 17:33:02.542896-0800 ardour-8.2.12[36722:549630] [Window] Warning: -[NSWindow makeKeyWindow] called on GdkQuartzWindow 0x1388747f0 which returned NO from -[NSWindow canBecomeKeyWindow].
2024-01-04 17:33:02.542979-0800 ardour-8.2.12[36722:549630] [Window] Warning: -[NSWindow makeKeyWindow] called on GdkQuartzWindow 0x1388747f0 which returned NO from -[NSWindow canBecomeKeyWindow].
2024-01-04 17:33:02.543010-0800 ardour-8.2.12[36722:549630] [Window] Warning: -[NSWindow makeKeyWindow] called on GdkQuartzWindow 0x1388747f0 which returned NO from -[NSWindow canBecomeKeyWindow].

(ardour-8.2.12:36722): GLib-GIO-CRITICAL **: 17:33:02.561: g_loadable_icon_load: assertion ‘G_IS_LOADABLE_ICON (icon)’ failed

(ardour-8.2.12:36722): Gtk-WARNING **: 17:33:02.562: Error loading theme icon ‘edit-find’ for stock: Failed to load icon

(ardour-8.2.12:36722): Gtk-CRITICAL **: 17:33:02.562: render_fallback_image: assertion ‘pixbuf != NULL’ failed

(ardour-8.2.12:36722): GLib-GObject-CRITICAL **: 17:33:02.562: g_object_ref: assertion ‘G_IS_OBJECT (object)’ failed

[…]

(ardour-8.2.12:36722): GLib-GIO-CRITICAL **: 17:33:02.702: g_loadable_icon_load: assertion ‘G_IS_LOADABLE_ICON (icon)’ failed
Set cursor set to default

(ardour-8.2.12:36722): GLib-GIO-CRITICAL **: 17:33:03.571: g_loadable_icon_load: assertion ‘G_IS_LOADABLE_ICON (icon)’ failed

[…]

(ardour-8.2.12:36722): GLib-GObject-CRITICAL **: 17:33:03.748: g_object_ref: assertion ‘G_IS_OBJECT (object)’ failed
start clocking

[…]

(ardour-8.2.12:36722): GLib-GIO-CRITICAL **: 17:33:03.870: g_loadable_icon_load: assertion ‘G_IS_LOADABLE_ICON (icon)’ failed

(ardour-8.2.12:36722): GLib-GIO-CRITICAL **: 17:33:03.870: g_loadable_icon_load: assertion ‘G_IS_LOADABLE_ICON (icon)’ failed
Mach Thread(0x16ff13000) set timeshare: 0 OK: 1
Mach Thread(0x16ff13000) set precedence: 62 OK: 1
Mach Thread(0x170ba7000) set timeshare: 0 OK: 1
Mach Thread(0x16ff13000) get: period=0 comp=120000 constraint=240000 preemt=1 OK: 1
period_ns=23219954.648526 period_clk=557278.911565 timebase.num=125 timebase_den=3 ticks_per_ns=0.024000
Mach Thread(0x16ff13000) request: period=557278 comp=501551 constraint=529414 preemt=1
Mach Thread(0x170ba7000) set precedence: 62 OK: 1
Mach Thread(0x16ff13000) set: period=557278 comp=501551 constraint=529414 preemt=1 OK: 1
Mach Thread(0x170ba7000) get: period=0 comp=120000 constraint=240000 preemt=1 OK: 1
period_ns=23219954.648526 period_clk=557278.911565 timebase.num=125 timebase_den=3 ticks_per_ns=0.024000
Mach Thread(0x170c33000) set timeshare: 0 OK: 1
Mach Thread(0x170ba7000) request: period=557278 comp=501551 constraint=529414 preemt=1
Mach Thread(0x170ba7000) set: period=557278 comp=501551 constraint=529414 preemt=1 OK: 1
Mach Thread(0x170c33000) set precedence: 62 OK: 1
Mach Thread(0x170e63000) set timeshare: 0 OK: 1
Mach Thread(0x170c33000) get: period=0 comp=120000 constraint=240000 preemt=1 OK: 1
period_ns=23219954.648526 period_clk=557278.911565 timebase.num=125 timebase_den=3 ticks_per_ns=0.024000
Mach Thread(0x170dd7000) set timeshare: 0 OK: 1
Mach Thread(0x170eef000) set timeshare: 0 OK: 1
Mach Thread(0x170f7b000) set timeshare: 0 OK: 1
Mach Thread(0x170f7b000) set precedence: 62 OK: 1
Mach Thread(0x170eef000) set precedence: 62 OK: 1
Mach Thread(0x170f7b000) get: period=0 comp=120000 constraint=240000 preemt=1 OK: 1
period_ns=23219954.648526 period_clk=557278.911565 timebase.num=125 timebase_den=3 ticks_per_ns=0.024000
Mach Thread(0x170cbf000) set timeshare: 0 OK: 1
Mach Thread(0x170f7b000) request: period=557278 comp=501551 constraint=529414 preemt=1
Mach Thread(0x170eef000) get: period=0 comp=120000 constraint=240000 preemt=1 OK: 1
period_ns=23219954.648526 period_clk=557278.911565 timebase.num=125 timebase_den=3 ticks_per_ns=0.024000
Mach Thread(0x170cbf000) set precedence: 62 OK: 1
Mach Thread(0x170e63000) set precedence: 62 OK: 1
Mach Thread(0x170e63000) get: period=0 comp=120000 constraint=240000 preemt=1 OK: 1
period_ns=23219954.648526 period_clk=557278.911565 timebase.num=125 timebase_den=3 ticks_per_ns=0.024000
Mach Thread(0x170e63000) request: period=557278 comp=501551 constraint=529414 preemt=1
Mach Thread(0x170eef000) request: period=557278 comp=501551 constraint=529414 preemt=1
Mach Thread(0x170eef000) set: period=557278 comp=501551 constraint=529414 preemt=1 OK: 1
Mach Thread(0x170cbf000) get: period=0 comp=120000 constraint=240000 preemt=1 OK: 1
Mach Thread(0x170d4b000) set timeshare: 0 OK: 1
Mach Thread(0x170f7b000) set: period=557278 comp=501551 constraint=529414 preemt=1 OK: 1
Mach Thread(0x170e63000) set: period=557278 comp=501551 constraint=529414 preemt=1 OK: 1
period_ns=23219954.648526 period_clk=557278.911565 timebase.num=125 timebase_den=3 ticks_per_ns=0.024000
Mach Thread(0x170cbf000) request: period=557278 comp=501551 constraint=529414 preemt=1
Mach Thread(0x170c33000) request: period=557278 comp=501551 constraint=529414 preemt=1
Mach Thread(0x170dd7000) set precedence: 62 OK: 1
Mach Thread(0x170d4b000) set precedence: 62 OK: 1
Mach Thread(0x170cbf000) set: period=557278 comp=501551 constraint=529414 preemt=1 OK: 1
Mach Thread(0x170d4b000) get: period=0 comp=120000 constraint=240000 preemt=1 OK: 1
period_ns=23219954.648526 period_clk=557278.911565 timebase.num=125 timebase_den=3 ticks_per_ns=0.024000
Mach Thread(0x170d4b000) request: period=557278 comp=501551 constraint=529414 preemt=1
Mach Thread(0x170dd7000) get: period=0 comp=120000 constraint=240000 preemt=1 OK: 1
Mach Thread(0x170c33000) set: period=557278 comp=501551 constraint=529414 preemt=1 OK: 1
period_ns=23219954.648526 period_clk=557278.911565 timebase.num=125 timebase_den=3 ticks_per_ns=0.024000
Mach Thread(0x170dd7000) request: period=557278 comp=501551 constraint=529414 preemt=1
Mach Thread(0x170d4b000) set: period=557278 comp=501551 constraint=529414 preemt=1 OK: 1
Mach Thread(0x170dd7000) set: period=557278 comp=501551 constraint=529414 preemt=1 OK: 1

2024-01-04 17:33:03.888018-0800 ardour-8.2.12[36722:549630] [miscellany] CLIENT ERROR: TUINSRemoteViewController does not override -viewServiceDidTerminateWithError: and thus cannot react to catastrophic errors beyond logging them
2024-01-04 17:33:03.888118-0800 ardour-8.2.12[36722:549630] [CursorUI] -[TUINSCursorUIController activate:]_block_invoke: Can’t communicate with CursorUIViewService: Error Domain=NSCocoaErrorDomain Code=4099 “The connection to service created from an endpoint was invalidated from this process.” UserInfo={NSDebugDescription=The connection to service created from an endpoint was invalidated from this process.}

Process 36722 stopped

  • thread #1, queue = ‘com.apple.main-thread’, stop reason = EXC_BAD_ACCESS (code=1, address=0x1dd10e020800060)
    frame #0: 0x000010e020800060
    error: memory read failed for 0x10e020800000
    Target 0: (ardour-8.2.12) stopped.

(lldb) thread backtrace

  • thread #1, queue = ‘com.apple.main-thread’, stop reason = EXC_BAD_ACCESS (code=1, address=0x1dd10e020800060)
    • frame #0: 0x000010e020800060
      frame #1: 0x00000001069f67d0 libcairo.2.dylib_cairo_surface_release_source_image + 160 frame #2: 0x0000000106a48d1c libcairo.2.dylibDataProviderReleaseCallback + 60
      frame #3: 0x000000018c54cb34 CoreGraphicsdata_release_info + 40 frame #4: 0x000000018c50e044 CoreGraphicsdata_provider_finalize + 64
      frame #5: 0x000000018c4dcb4c CoreGraphicsdata_provider_retain_count + 96 frame #6: 0x0000000186ae1fa0 CoreFoundation_CFRelease + 1324
      frame #7: 0x000000018c52fd7c CoreGraphicsimage_finalize + 100 frame #8: 0x0000000186ae1b98 CoreFoundation_CFRelease + 292
      frame #9: 0x000000018c56bc94 CoreGraphicsCG::DisplayListResourceImage::~DisplayListResourceImage() + 56 frame #10: 0x000000018c56bc44 CoreGraphicsCG::DisplayListResourceImage::~DisplayListResourceImage() + 16
      frame #11: 0x000000018c779964 CoreGraphicsstd::__1::__shared_weak_count::__release_shared[abi:v160006]() + 84 frame #12: 0x000000018c94f43c CoreGraphicsstd::__1::__tree<std::__1::shared_ptrCG::DisplayListResourceImage, CG::CompareResourceImage, std::__1::allocator<std::__1::shared_ptrCG::DisplayListResourceImage>>::destroy(std::__1::__tree_node<std::__1::shared_ptrCG::DisplayListResourceImage, void*>*) + 60
      frame #13: 0x000000018c56bb64 CoreGraphicsCG::DisplayList::~DisplayList() + 308 frame #14: 0x0000000186ae1b98 CoreFoundation_CFRelease + 292
      frame #15: 0x000000018656f5f8 libobjc.A.dylibobject_cxxDestructFromClass(objc_object*, objc_class*) + 116 frame #16: 0x0000000186566e7c libobjc.A.dylibobjc_destructInstance + 80
      frame #17: 0x0000000186566e24 libobjc.A.dylib_objc_rootDealloc + 80 frame #18: 0x000000018a9fd73c AppKit-[NSViewBackingStoreImage dealloc] + 44
      frame #19: 0x000000018eadf104 QuartzCoreCA::release_objects(X::List<void const*>*) + 32 frame #20: 0x000000018ead10fc QuartzCoreCA::Transaction::commit() + 1256
      frame #21: 0x000000018a312ec8 AppKit__62+[CATransaction(NSCATransaction) NS_setFlushesWithDisplayLink]_block_invoke + 272 frame #22: 0x000000018acb8558 AppKit___NSRunLoopObserverCreateWithHandler_block_invoke + 64
      frame #23: 0x0000000186a0edf0 CoreFoundation__CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 36 frame #24: 0x0000000186a0ecdc CoreFoundation__CFRunLoopDoObservers + 532
      frame #25: 0x0000000186a0e30c CoreFoundation__CFRunLoopRun + 776 frame #26: 0x0000000186a0d9ac CoreFoundationCFRunLoopRunSpecific + 608
      frame #27: 0x0000000190fbc448 HIToolboxRunCurrentEventLoopInMode + 292 frame #28: 0x0000000190fbc0d8 HIToolboxReceiveNextEventCommon + 220
      frame #29: 0x0000000190fbbfdc HIToolbox_BlockUntilNextEventMatchingListInModeWithFilter + 76 frame #30: 0x000000018a1ea8a4 AppKit_DPSNextEvent + 660
      frame #31: 0x000000018a9c4980 AppKit-[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 716 frame #32: 0x00000001064ad990 libgdk-quartz-2.0.0.dylibpoll_func + 296
      frame #33: 0x0000000106663c54 libglib-2.0.0.dylibg_main_context_poll + 120 frame #34: 0x0000000106661604 libglib-2.0.0.dylibg_main_context_iterate + 460
      frame #35: 0x000000010666141c libglib-2.0.0.dylibg_main_context_pending + 88 frame #36: 0x0000000106e8f088 libgtk-quartz-2.0.0.dylibgtk_events_pending + 76
      frame #37: 0x00000001000681a0 ardour-8.2.12`ARDOUR_UI::gui_idle_handler(this=0x0000000120030000) at ardour_ui.cc:2976:9

[…]

(lldb)

my first guess for the icon messages is that you did not compile the necessary gdkpixbuf modules required for some of our icons.

Yeah it even looks very verbose. Half of the log is [info] and [warning] messages and there seems to be a followup memory access error as a result of a non availabe image resource.

I also think its a pixbuff only problem.

This looks like a known bug in gtk/cairo. Try

diff --git a/src/cairo-quartz-surface.c b/src/cairo-quartz-surface.c
index 1116ff9..6623ae8 100644
--- a/src/cairo-quartz-surface.c
+++ b/src/cairo-quartz-surface.c
@@ -776,6 +776,7 @@ DataProviderReleaseCallback (void *info, const void *data, size_t size)
 {
     quartz_source_image_t *source_img = info;
     _cairo_surface_release_source_image (source_img->surface, source_img->image_out, source_img->image_extra);
+    cairo_surface_destroy (source_img->surface);
     free (source_img);
 }

@@ -815,7 +816,7 @@ _cairo_surface_to_cgimage (cairo_surface_t       *source,
     if (unlikely (source_img == NULL))
  return _cairo_error (CAIRO_STATUS_NO_MEMORY);

-    source_img->surface = source;
+    source_img->surface = cairo_surface_reference (source);

     if (source->type == CAIRO_SURFACE_TYPE_RECORDING) {
  image_surface = (cairo_image_surface_t *)

Thanks 10**6 ! This did the trick; it still complains about missing icons (under investigation), but at least it runs…

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.