HISE Logo Forum
    • Categories
    • Register
    • Login

    Faust build succeeds but fails to run on macOS 14.2.1

    Scheduled Pinned Locked Moved Bug Reports
    12 Posts 4 Posters 377 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      aaronventure
      last edited by aaronventure

      Xcode 15.2
      M1

      Release and Debug (no Faust) run fine. This builds but fails to run. x86 unticked in Projucer.

      -------------------------------------
      Translated Report (Full Report Below)
      -------------------------------------
      
      Process:               HISE Faust [62455]
      Path:                  /Volumes/NETWORK/*/HISE Faust.app/Contents/MacOS/HISE Faust
      Identifier:            com.hartinstruments.HISEStandalone
      Version:               3.6.2 (3.6.2)
      Code Type:             ARM-64 (Native)
      Parent Process:        launchd [1]
      User ID:               501
      
      Date/Time:             2024-01-23 07:34:24.3379 +0100
      OS Version:            macOS 14.2.1 (23C71)
      Report Version:        12
      Anonymous UUID:        AD6FE5C1-6B67-D2BB-346F-55951969124D
      
      Sleep/Wake UUID:       69D11224-0AC6-418C-BFA4-1D861BE91ACA
      
      Time Awake Since Boot: 61000 seconds
      Time Since Wake:       1666 seconds
      
      System Integrity Protection: enabled
      
      Crashed Thread:        0
      
      Exception Type:        EXC_CRASH (SIGABRT)
      Exception Codes:       0x0000000000000000, 0x0000000000000000
      
      Termination Reason:    Namespace DYLD, Code 1 Library missing
      Library not loaded: @rpath/libfaust.2.dylib
      Referenced from: <021D3B94-CD8D-32E3-9035-E3423F7A50E1> /Volumes/NETWORK/*/HISE Faust.app/Contents/MacOS/HISE Faust
      Reason: tried: '/Volumes/HISE/HISE Source/projects/standalone/Builds/MacOSX/../../../../tools/faust/lib/libfaust.2.dylib' (code signature in <F2748141-1CE1-3CB3-95CA-29BE54B333A9> '/Volumes/HISE/HISE Source/tools/faust/lib/libfaust.2.70.3.dylib' not valid for use in process: library load disallowed by system policy), '/System/Volumes/Preboot/Cryptexes/OS/Volumes/HISE/HISE Source/projects/standalone/Builds/MacOSX/../../../../tools/faust/lib/libfaust.2.dylib' (no such file), '/Volumes/HISE/HISE Source/projects/standalone/Builds/MacOSX/../../../../tools/faust/lib/libfaust.2.dylib' (code signature in <F2748141-1CE1-3CB3-95CA-29BE54B333A9> '/Volumes/HISE/HISE Source/tools/faust/lib/libfaust.2.70.3.dylib' not valid for use in process: library load disallowed by system policy), '/System/Volumes/
      (terminated at launch; ignore backtrace)
      
      Thread 0 Crashed:
      0   dyld                          	       0x18231255c __abort_with_payload + 8
      1   dyld                          	       0x18231eb10 abort_with_payload_wrapper_internal + 104
      2   dyld                          	       0x18231eb44 abort_with_payload + 16
      3   dyld                          	       0x1822a5584 dyld4::halt(char const*, dyld4::StructuredError const*) + 304
      4   dyld                          	       0x1822a2254 dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 3884
      5   dyld                          	       0x1822a0edc start + 1844
      
      
      Thread 0 crashed with ARM Thread State (64-bit):
          x0: 0x0000000000000006   x1: 0x0000000000000001   x2: 0x000000016ae5e8c0   x3: 0x00000000000000a4
          x4: 0x000000016ae5e4c0   x5: 0x0000000000000000   x6: 0x0062696c79642e32   x7: 0x0000000000000a90
          x8: 0x0000000000000020   x9: 0x000000016ae5e434  x10: 0x000000000000000a  x11: 0x0000000000000000
         x12: 0x0000000000000036  x13: 0x1000000000000000  x14: 0x0000000000000004  x15: 0x0000000000008000
         x16: 0x0000000000000209  x17: 0x000000018229e37c  x18: 0x0000000000000000  x19: 0x0000000000000000
         x20: 0x000000016ae5e4c0  x21: 0x00000000000000a4  x22: 0x000000016ae5e8c0  x23: 0x0000000000000001
         x24: 0x0000000000000006  x25: 0x000000016ae5f2f8  x26: 0x000000016ae5f238  x27: 0x0000000000000000
         x28: 0x000000001f070004   fp: 0x000000016ae5e490   lr: 0x000000018231eb10
          sp: 0x000000016ae5e450   pc: 0x000000018231255c cpsr: 0x80001000
         far: 0x0000000000000000  esr: 0x56000080  Address size fault
      
      Binary Images:
             0x104fa0000 -        0x106a7bfff com.hartinstruments.HISEStandalone (3.6.2) <021d3b94-cd8d-32e3-9035-e3423f7a50e1> /Volumes/NETWORK/*/HISE Faust.app/Contents/MacOS/HISE Faust
             0x18229b000 -        0x18232f347 dyld (*) <324e4ad9-e01f-3183-b09f-3e20b326643a> /usr/lib/dyld
                     0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???
      
      External Modification Summary:
        Calls made by other processes targeting this process:
          task_for_pid: 0
          thread_create: 0
          thread_set_state: 0
        Calls made by this process:
          task_for_pid: 0
          thread_create: 0
          thread_set_state: 0
        Calls made by all processes on this machine:
          task_for_pid: 0
          thread_create: 0
          thread_set_state: 0
      
      VM Region Summary:
      ReadOnly portion of Libraries: Total=929.6M resident=0K(0%) swapped_out_or_unallocated=929.6M(100%)
      Writable regions: Total=12.3M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=12.3M(100%)
      
                                      VIRTUAL   REGION 
      REGION TYPE                        SIZE    COUNT (non-coalesced) 
      ===========                     =======  ======= 
      STACK GUARD                       56.0M        1 
      Stack                             8176K        1 
      VM_ALLOCATE                         16K        1 
      __DATA                             139K        3 
      __DATA_CONST                      1414K        2 
      __DATA_DIRTY                         7K        1 
      __LINKEDIT                       902.1M        2 
      __TEXT                            27.4M        2 
      dyld private memory               4384K        4 
      ===========                     =======  ======= 
      TOTAL                            999.4M       17 
      
      
      
      -----------
      Full Report
      -----------
      
      {"app_name":"HISE Faust","timestamp":"2024-01-23 07:34:26.00 +0100","app_version":"3.6.2","slice_uuid":"021d3b94-cd8d-32e3-9035-e3423f7a50e1","build_version":"3.6.2","platform":1,"bundleID":"com.hartinstruments.HISEStandalone","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 14.2.1 (23C71)","roots_installed":0,"name":"HISE Faust","incident_id":"7C2D68E6-1686-431C-8229-B12145B59993"}
      {
        "uptime" : 61000,
        "procRole" : "Background",
        "version" : 2,
        "userID" : 501,
        "deployVersion" : 210,
        "modelCode" : "MacBookAir10,1",
        "coalitionID" : 8203,
        "osVersion" : {
          "train" : "macOS 14.2.1",
          "build" : "23C71",
          "releaseType" : "User"
        },
        "captureTime" : "2024-01-23 07:34:24.3379 +0100",
        "codeSigningMonitor" : 1,
        "incident" : "7C2D68E6-1686-431C-8229-B12145B59993",
        "pid" : 62455,
        "translated" : false,
        "cpuType" : "ARM-64",
        "roots_installed" : 0,
        "bug_type" : "309",
        "procLaunch" : "2024-01-23 07:34:18.6828 +0100",
        "procStartAbsTime" : 1468837012358,
        "procExitAbsTime" : 1468972526461,
        "procName" : "HISE Faust",
        "procPath" : "\/Volumes\/NETWORK\/*\/HISE Faust.app\/Contents\/MacOS\/HISE Faust",
        "bundleInfo" : {"CFBundleShortVersionString":"3.6.2","CFBundleVersion":"3.6.2","CFBundleIdentifier":"com.hartinstruments.HISEStandalone"},
        "storeInfo" : {"deviceIdentifierForVendor":"4E2ABD5F-4378-57EF-A097-A99FE031C074","thirdParty":true},
        "parentProc" : "launchd",
        "parentPid" : 1,
        "coalitionName" : "com.hartinstruments.HISEStandalone",
        "crashReporterKey" : "AD6FE5C1-6B67-D2BB-346F-55951969124D",
        "codeSigningID" : "HISE Faust",
        "codeSigningTeamID" : "",
        "codeSigningFlags" : 570556929,
        "codeSigningValidationCategory" : 10,
        "codeSigningTrustLevel" : 4294967295,
        "instructionByteStream" : {"beforePC":"1AAAABABAAAYAQAAIAEAACgBAAAwAQAAOAEAAFQBAAAwQYDSARAA1A==","atPC":"AwEAVH8jA9X9e7+p\/QMAkUcu\/pe\/AwCR\/XvBqP8PX9bAA1\/WEC2A0g=="},
        "wakeTime" : 1666,
        "sleepWakeUUID" : "69D11224-0AC6-418C-BFA4-1D861BE91ACA",
        "sip" : "enabled",
        "exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGABRT"},
        "termination" : {"code":1,"flags":518,"namespace":"DYLD","indicator":"Library missing","details":["(terminated at launch; ignore backtrace)"],"reasons":["Library not loaded: @rpath\/libfaust.2.dylib","Referenced from: <021D3B94-CD8D-32E3-9035-E3423F7A50E1> \/Volumes\/NETWORK\/*\/HISE Faust.app\/Contents\/MacOS\/HISE Faust","Reason: tried: '\/Volumes\/HISE\/HISE Source\/projects\/standalone\/Builds\/MacOSX\/..\/..\/..\/..\/tools\/faust\/lib\/libfaust.2.dylib' (code signature in <F2748141-1CE1-3CB3-95CA-29BE54B333A9> '\/Volumes\/HISE\/HISE Source\/tools\/faust\/lib\/libfaust.2.70.3.dylib' not valid for use in process: library load disallowed by system policy), '\/System\/Volumes\/Preboot\/Cryptexes\/OS\/Volumes\/HISE\/HISE Source\/projects\/standalone\/Builds\/MacOSX\/..\/..\/..\/..\/tools\/faust\/lib\/libfaust.2.dylib' (no such file), '\/Volumes\/HISE\/HISE Source\/projects\/standalone\/Builds\/MacOSX\/..\/..\/..\/..\/tools\/faust\/lib\/libfaust.2.dylib' (code signature in <F2748141-1CE1-3CB3-95CA-29BE54B333A9> '\/Volumes\/HISE\/HISE Source\/tools\/faust\/lib\/libfaust.2.70.3.dylib' not valid for use in process: library load disallowed by system policy), '\/System\/Volumes\/"]},
        "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
        "faultingThread" : 0,
        "threads" : [{"triggered":true,"id":1059755,"threadState":{"x":[{"value":6},{"value":1},{"value":6088419520},{"value":164},{"value":6088418496},{"value":0},{"value":27700462331637298},{"value":2704},{"value":32},{"value":6088418356},{"value":10},{"value":0},{"value":54},{"value":1152921504606846976},{"value":4},{"value":32768},{"value":521},{"value":6478750588,"symbolLocation":416,"symbol":"__simple_bprintf"},{"value":0},{"value":0},{"value":6088418496},{"value":164},{"value":6088419520},{"value":1},{"value":6},{"value":6088422136},{"value":6088421944},{"value":0},{"value":520552452}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6479276816},"cpsr":{"value":2147487744},"fp":{"value":6088418448},"sp":{"value":6088418384},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6479226204,"matchesCrashFrame":1},"far":{"value":0}},"frames":[{"imageOffset":488796,"symbol":"__abort_with_payload","symbolLocation":8,"imageIndex":1},{"imageOffset":539408,"symbol":"abort_with_payload_wrapper_internal","symbolLocation":104,"imageIndex":1},{"imageOffset":539460,"symbol":"abort_with_payload","symbolLocation":16,"imageIndex":1},{"imageOffset":42372,"symbol":"dyld4::halt(char const*, dyld4::StructuredError const*)","symbolLocation":304,"imageIndex":1},{"imageOffset":29268,"symbol":"dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*)","symbolLocation":3884,"imageIndex":1},{"imageOffset":24284,"symbol":"start","symbolLocation":1844,"imageIndex":1}]}],
        "usedImages" : [
        {
          "source" : "P",
          "arch" : "arm64",
          "base" : 4378460160,
          "CFBundleShortVersionString" : "3.6.2",
          "CFBundleIdentifier" : "com.hartinstruments.HISEStandalone",
          "size" : 28164096,
          "uuid" : "021d3b94-cd8d-32e3-9035-e3423f7a50e1",
          "path" : "\/Volumes\/NETWORK\/*\/HISE Faust.app\/Contents\/MacOS\/HISE Faust",
          "name" : "HISE Faust",
          "CFBundleVersion" : "3.6.2"
        },
        {
          "source" : "P",
          "arch" : "arm64e",
          "base" : 6478737408,
          "size" : 607048,
          "uuid" : "324e4ad9-e01f-3183-b09f-3e20b326643a",
          "path" : "\/usr\/lib\/dyld",
          "name" : "dyld"
        },
        {
          "size" : 0,
          "source" : "A",
          "base" : 0,
          "uuid" : "00000000-0000-0000-0000-000000000000"
        }
      ],
        "sharedCache" : {
        "base" : 6477987840,
        "size" : 4061216768,
        "uuid" : "f9ddd844-7f3f-34bd-be29-f0c72d5e5449"
      },
        "vmSummary" : "ReadOnly portion of Libraries: Total=929.6M resident=0K(0%) swapped_out_or_unallocated=929.6M(100%)\nWritable regions: Total=12.3M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=12.3M(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nSTACK GUARD                       56.0M        1 \nStack                             8176K        1 \nVM_ALLOCATE                         16K        1 \n__DATA                             139K        3 \n__DATA_CONST                      1414K        2 \n__DATA_DIRTY                         7K        1 \n__LINKEDIT                       902.1M        2 \n__TEXT                            27.4M        2 \ndyld private memory               4384K        4 \n===========                     =======  ======= \nTOTAL                            999.4M       17 \n",
        "legacyInfo" : {
        "threadTriggered" : {
      
        }
      },
        "logWritingSignature" : "3001571b84f874f384436ee588c7c845dbc276c0",
        "trialInfo" : {
        "rollouts" : [
          {
            "rolloutId" : "61675b89201f677a9a4cbd65",
            "factorPackIds" : {
      
            },
            "deploymentId" : 240000079
          },
          {
            "rolloutId" : "6246d6a916a70b047e454124",
            "factorPackIds" : {
      
            },
            "deploymentId" : 240000010
          }
        ],
        "experiments" : [
      
        ]
      }
      }
      
      Model: MacBookAir10,1, BootROM 10151.61.4, proc 8:4:4 processors, 16 GB, SMC 
      Graphics: Apple M1, Apple M1, Built-In
      Display: Color LCD, 2560 x 1600 Retina, Main, MirrorOff, Online
      Memory Module: LPDDR4, Hynix
      AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x4378), wl0: Aug 26 2023 17:55:53 version 18.20.439.0.7.8.163 FWID 01-f9b9247b
      AirPort: 
      Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
      Network Service: Wi-Fi, AirPort, en0
      USB Device: USB31Bus
      USB Device: USB31Bus
      Thunderbolt Bus: MacBook Air, Apple Inc.
      Thunderbolt Bus: MacBook Air, Apple Inc.
      
      
      1 Reply Last reply Reply Quote 0
      • A
        aaronventure
        last edited by

        Exporting VSTi or AU on also fails

        Re-saving file: /Volumes/HISE/Projects/Testproject/Binaries/AutogeneratedProject.jucer
        Finished saving: Visual Studio 2017
        Finished saving: Xcode (macOS)
        Finished saving: Xcode (iOS)
        Finished saving: Linux Makefile
        Compiling Instrument plugin Testproject ...
            Building targets in manual order is deprecated - check "Parallelize build for command-line builds" in the project editor, or set DISABLE_MANUAL_TARGET_ORDER_BUILD_WARNING in any of the targets in the current build to suppress this warning
        
        ❌  error: Cycle inside Testproject - VST3; building could produce unreliable results.
        
        
        ** BUILD FAILED **
        
        
        Saving session...
        ...copying shared history...
        ...saving history...truncating history files...
        ...completed.
        
        [Process completed]
        
        
        DanHD 1 Reply Last reply Reply Quote 0
        • DanHD
          DanH @aaronventure
          last edited by

          @aaronventure use xcode 14

          DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
          https://dhplugins.com/ | https://dcbreaks.com/
          London, UK

          A 1 Reply Last reply Reply Quote 0
          • A
            aaronventure @DanH
            last edited by

            @DanH Sonoma says nope.

            DanHD 1 Reply Last reply Reply Quote 0
            • DanHD
              DanH @aaronventure
              last edited by DanH

              @aaronventure https://forum.hise.audio/topic/8871/error-build-failed-on-mac/9

              Always worth giving the forum a good search :)

              DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
              https://dhplugins.com/ | https://dcbreaks.com/
              London, UK

              Christoph HartC A 2 Replies Last reply Reply Quote 1
              • Christoph HartC
                Christoph Hart @DanH
                last edited by

                The crash is because it can‘t find / load the faust dynamic library.

                The build error is a known issue in the JUCE forum and this is one of the suggested workarounds:

                FYI, whilst for sure I should update to a more recent JUCE release, I also had the ‘cycle inside’ issue with Xcode15/Sonoma and JUCE 7.0.3, and the solution was simply to disable the ‘enable plugin copy step’ option in Projucer Xcode exporters.

                Can you check if that‘s the case, then I‘ll update the build pipeline to deactivate this step automatically.

                A 1 Reply Last reply Reply Quote 0
                • A
                  aaronventure @Christoph Hart
                  last edited by

                  @Christoph-Hart said in Faust build succeeds but fails to run on macOS 14.2.1:

                  The crash is because it can‘t find / load the faust dynamic library.

                  That´s about as much as I could gather, yeah. What´s my play here, then?

                  @Christoph-Hart said in Faust build succeeds but fails to run on macOS 14.2.1:

                  Can you check if that‘s the case, then I‘ll update the build pipeline to deactivate this step automatically.

                  This is only available in the plugin HISE.jucer versionm and it´s disabled by default. My attempts were with the standalone version.

                  1 Reply Last reply Reply Quote 0
                  • A
                    aaronventure @DanH
                    last edited by

                    @DanH not working on 14.2.1

                    Info.plist is encrypted. Previewing in Finder and copying the unencrypted preview into the file and changing it doesn't work.

                    Changing in version.plist doesn't work either.

                    eca37e8f-ed37-4609-8ada-71129d9c577e-image.png

                    DanHD ulrikU 2 Replies Last reply Reply Quote 0
                    • DanHD
                      DanH @aaronventure
                      last edited by DanH

                      @aaronventure I'm still on OSX 14.0.0. Haven't got the Xcode installer any more to check if I did anything special. I remember it being super straightforward.

                      Ask @myhomestudio what he did

                      DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                      https://dhplugins.com/ | https://dcbreaks.com/
                      London, UK

                      1 Reply Last reply Reply Quote 0
                      • ulrikU
                        ulrik @aaronventure
                        last edited by

                        @aaronventure try this:
                        https://forum.hise.audio//post/70863

                        Hise Develop branch
                        MacOs 15.3.1, Xcode 16.2
                        http://musikboden.se

                        A 1 Reply Last reply Reply Quote 0
                        • A
                          aaronventure @ulrik
                          last edited by aaronventure

                          @ulrik Yeah I found out about this, too. Launching the terminal version works.

                          However, it prevents Projucer from automatically opening the xcodeproj file, which is annoying when building HISE.

                          VSTi3 and AUi build and run well.

                          There was no fuss about the VST3i or AUi not being signed and notarized, I suppose it's because it was built on the same machine.

                          1 Reply Last reply Reply Quote 0
                          • A
                            aaronventure
                            last edited by

                            Opened the Faust HISE as well, it involved finding the offending libfaust file, opening that first in terminal so that Mac can "verify it".

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post

                            27

                            Online

                            1.7k

                            Users

                            11.7k

                            Topics

                            102.0k

                            Posts