HISE Logo Forum
    • Categories
    • Register
    • Login

    HISE plugins crasshing DAWs

    Scheduled Pinned Locked Moved Unsolved General Questions
    32 Posts 8 Posters 1.1k 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.
    • HISEnbergH
      HISEnberg @d.healey
      last edited by HISEnberg

      @d-healey Same issue, immediate crash.

      HISEnbergH 1 Reply Last reply Reply Quote 0
      • HISEnbergH
        HISEnberg @HISEnberg
        last edited by

        And just to follow up, I am getting immediate crashes across several DAWs, and it doesn't seem to matter what type of project it is (Synth, Fx) or file type (VST, AU, Standalone).

        A simple waveform generator project is behaving just the same, even with no ScriptNode networks.

        HiseSnippet 1330.3oc4X0raabCDlqsYRrraSSQJROtHnGbJLB1c0OVp8PjskTrgisUsTR5kh.pcojHxJxE6x01BAAnuK8EIOB8QHW589FzNjqjEWGkDWgl1DjUm3Lbl4iyv4Gp1wBeZRhHFYUn63HJxZcbmwb4vcGRXbz9MPV2DmnHzf1Kcv.ZLZmwQjjDZ.xxZ4Gp1j0pqfze+4C1gDR39zYjPnmHX9zGwFwjyn1t9ArvvVj.ZW1HicWp999B9thPQJ.nkwNnHh+yICnGQTaaILZORxPj02i8756W0woZwhkcHjhADRIWZwZz9U56W1olSPuxNvuJHqq0LfIEwcjDIMAYsxNhfwcFJNimYfmvRX8BopEtnNfkyH2RDFnNhJpncGxBCZO0SkfPV31y7aKm42tM9PV.6B5y7eeklg8LILcfVKkGdKmCdtlvyw.dyARVFPZkLHcKbG+XVjbFGEdVCuOWRi6Sf3jITx1Kx5U3cEvF3x6Oh7bZqXXwEBrQQGmMscK6buereJ2WxDbaA+HgjdLei6U3EEVsvKKXeYV86OWdJyDKBCowyks5pQ76RvM3oi5Qi2z9TRXJ8hMBG+79T7a2mZFx8yN0FaTv2myjGGQ4usKBnItJk+eBpfsJ0d+ubh2uSHK.RaXfS953C3hdtHMfmbs+0+Vze7.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88Knpi91ovSlxxMfIaZ2T+HMKqrgZzoIn+FFMa.N.
        
        d.healeyD 1 Reply Last reply Reply Quote 0
        • d.healeyD
          d.healey @HISEnberg
          last edited by

          @HISEnberg Does PluginVal offer any insight?

          Libre Wave - Freedom respecting instruments and effects
          My Patreon - HISE tutorials
          YouTube Channel - Public HISE tutorials

          HISEnbergH 2 Replies Last reply Reply Quote 0
          • HISEnbergH
            HISEnberg @d.healey
            last edited by HISEnberg

            @d-healey I have never used it but this seems like a good occasion to set it up. I don't see anything in the Terminal when compiling which can indicate any issues.

            In the meantime I am going to go back to an older version of HISE (I need these projects ready in the next few weeks).

            This may be a useful warning to any Mac users. I will test this out on Windows later to see if I experience the same issues.

            1 Reply Last reply Reply Quote 0
            • HISEnbergH
              HISEnberg @d.healey
              last edited by

              @d-healey PluginVal results, I don't see anything useful just yet:

              pluginval v0.2.7 - JUCE v5.4.7
              Started validating: /Library/Audio/Plug-Ins/Components/HiseDebug.component
              Random seed: 0x721da5
              Validation started: 22 Nov 2024 10:38:36am
              
              Strictness level: 5
              -----------------------------------------------------------------
              Starting test: pluginval / Scan for known types: /Library/Audio/Plug-Ins/Components/HiseDebug.component...
              
              *** FAILED: VALIDATION CRASHED
              
              0   pluginval                           0x0000000100c6a610 _ZN4juce11SystemStats17getStackBacktraceEv + 64
              1   pluginval                           0x0000000100be9836 _ZN12_GLOBAL__N_119getCrashLogContentsEv + 38
              2   pluginval                           0x0000000100be9624 _ZN12_GLOBAL__N_111handleCrashEPv + 20
              3   pluginval                           0x0000000100c6a84d _ZN4juceL11handleCrashEi + 13
              4   libsystem_platform.dylib            0x00007ff8014b3e9d _sigtramp + 29
              5   ???                                 0x0000000109919380 0x0 + 4455502720
              6   HiseDebug                           0x000000011365fcfc DemoProjectAUFactory + 7485244
              7   HiseDebug                           0x000000011373eb39 DemoProjectAUFactory + 8398201
              8   HiseDebug                           0x00000001134f44d6 DemoProjectAUFactory + 5996310
              9   HiseDebug                           0x0000000113605017 DemoProjectAUFactory + 7113303
              10  HiseDebug                           0x000000011300b46c DemoProjectAUFactory + 847532
              11  HiseDebug                           0x000000011300b46c DemoProjectAUFactory + 847532
              12  HiseDebug                           0x00000001130433ad DemoProjectAUFactory + 1076717
              13  HiseDebug                           0x0000000113076f7a DemoProjectAUFactory + 1288634
              14  HiseDebug                           0x00000001132867d0 DemoProjectAUFactory + 3449360
              15  HiseDebug                           0x0000000112f2a8fb DemoProjectAUEntry + 8971
              16  HiseDebug                           0x0000000112f3c64e DemoProjectAUFactory + 142
              17  HiseDebug                           0x0000000112f464ab DemoProjectAUFactory + 40683
              18  AudioToolboxCore                    0x00007ff8036a0f56 _ZN11APComponent11newInstanceEjbU13block_pointerFvP28OpaqueAudioComponentInstanceiE + 2270
              19  AudioToolboxCore                    0x00007ff8037effb3 _ZL11instantiateP20OpaqueAudioComponentjbU13block_pointerFvP28OpaqueAudioComponentInstanceiE + 335
              20  AudioToolboxCore                    0x00007ff8037f05c8 __AudioComponentInstanceNew_block_invoke + 88
              21  AudioToolboxCore                    0x00007ff803617a5d Synchronously + 87
              22  AudioToolboxCore                    0x00007ff8037f039e AudioComponentInstanceNew + 207
              23  pluginval                           0x0000000100c1cbbc _ZN4juce21AudioUnitPluginFormat20createPluginInstanceERKNS_17PluginDescriptionEdiNSt3__18functionIFvNS4_10unique_ptrINS_19AudioPluginInstanceENS4_14default_deleteIS7_EEEERKNS_6StringEEEE + 1180
              24  pluginval                           0x0000000100c0fae9 _ZN4juce17AudioPluginFormat29createInstanceFromDescriptionERKNS_17PluginDescriptionEdiRNS_6StringE + 297
              25  pluginval                           0x0000000100c1c555 _ZN4juce21AudioUnitPluginFormat19findAllTypesForFileERNS_10OwnedArrayINS_17PluginDescriptionENS_20DummyCriticalSectionEEERKNS_6StringE + 261
              26  pluginval                           0x0000000100c1e501 _ZN4juce15KnownPluginList14scanAndAddFileERKNS_6StringEbRNS_10OwnedArrayINS_17PluginDescriptionENS_20DummyCriticalSectionEEERNS_17AudioPluginFormatE + 849
              27  pluginval                           0x0000000100c1ea6d _ZN4juce15KnownPluginList29scanAndAddDragAndDroppedFilesERNS_24AudioPluginFormatManagerERKNS_11StringArrayERNS_10OwnedArrayINS_17PluginDescriptionENS_20DummyCriticalSectionEEE + 765
              28  pluginval                           0x0000000100bf4986 _ZNSt3__110__function6__funcIZN11PluginTests7runTestEvE3$_0NS_9allocatorIS3_EEFvvEEclEv + 70
              29  pluginval                           0x0000000100ca9bc9 _ZN4juce12MessageQueue21runLoopSourceCallbackEPv + 57
              30  CoreFoundation                      0x00007ff8015638a0 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
              31  CoreFoundation                      0x00007ff801563842 __CFRunLoopDoSource0 + 157
              32  CoreFoundation                      0x00007ff801563619 __CFRunLoopDoSources0 + 203
              33  CoreFoundation                      0x00007ff80156223c __CFRunLoopRun + 960
              34  CoreFoundation                      0x00007ff80156184c CFRunLoopRunSpecific + 550
              35  HIToolbox                           0x00007ff80d071ec3 RunCurrentEventLoopInMode + 292
              36  HIToolbox                           0x00007ff80d0778a4 ReceiveNextEventCommon + 646
              37  HIToolbox                           0x00007ff80d077a42 _BlockUntilNextEventMatchingListInModeWithFilter + 66
              38  AppKit                              0x00007ff804de5b7f _DPSNextEvent + 902
              39  AppKit                              0x00007ff80581a6b4 -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1290
              40  AppKit                              0x00007ff804dd6c59 -[NSApplication run] + 610
              41  pluginval                           0x0000000100ca43b0 _ZN4juce19JUCEApplicationBase4mainEv + 144
              42  pluginval                           0x0000000100ca4303 _ZN4juce19JUCEApplicationBase4mainEiPPKc + 83
              43  dyld                                0x00000002011e22cd start + 1805
              
              Binary Images:
              0x100be2000 pluginval
              0x7ff8014b0000 libsystem_platform.dylib
              0x112f26000 HiseDebug
              0x7ff803599000 AudioToolboxCore
              0x7ff8014e8000 CoreFoundation
              0x7ff80cf82000 HIToolbox
              0x7ff804da6000 AppKit
              
              
              d.healeyD 1 Reply Last reply Reply Quote 0
              • d.healeyD
                d.healey @HISEnberg
                last edited by

                @HISEnberg So the next thing is to recompile your project (and networks) as debug builds. Build the standalone version and run it in xcode and use xcode's debugging tools to try and find the source of the issue.

                Libre Wave - Freedom respecting instruments and effects
                My Patreon - HISE tutorials
                YouTube Channel - Public HISE tutorials

                HISEnbergH 1 Reply Last reply Reply Quote 1
                • HISEnbergH
                  HISEnberg @d.healey
                  last edited by

                  Hmm the build succeeded at first, with a warning flag to update the mac deployment target from 10.13 to 15.

                  So i updated this in XCode and I started receiving this error:

                  /Users/ernest/HISE/JUCE/modules/juce_gui_basics/native/juce_mac_Windowing.mm:688:33 'CGWindowListCreateImage' is unavailable: obsoleted in macOS 15.0 - Please use ScreenCaptureKit instead.
                  
                  

                  So I checked the projucer and the macOS deployment target setting is defaulted to 10.13, however apparently the minimum supported version is 10.7

                  I will try to rebuild HISE from 10.7 to see what happens and will reply here with any updates. Thanks for the debugging tips @d-healey .

                  Screenshot 2024-11-22 at 11.20.54 AM.png Screenshot 2024-11-22 at 11.24.24 AM.png

                  d.healeyD 1 Reply Last reply Reply Quote 0
                  • d.healeyD
                    d.healey @HISEnberg
                    last edited by

                    @HISEnberg said in HISE plugins crasshing DAWs:

                    with a warning flag to update the mac deployment target from 10.13 to 15.

                    Ignore warnings.

                    Libre Wave - Freedom respecting instruments and effects
                    My Patreon - HISE tutorials
                    YouTube Channel - Public HISE tutorials

                    HISEnbergH 1 Reply Last reply Reply Quote 0
                    • HISEnbergH
                      HISEnberg @d.healey
                      last edited by

                      @d-healey thanks. Usually I do, but in this scenario the project builds, but the application still crashes when I open it. XCode isnt giving me any errors during the build process

                      d.healeyD 1 Reply Last reply Reply Quote 0
                      • d.healeyD
                        d.healey @HISEnberg
                        last edited by

                        @HISEnberg said in HISE plugins crasshing DAWs:

                        but the application still crashes when I open it

                        Are you opening it within xcode's debugger?

                        Libre Wave - Freedom respecting instruments and effects
                        My Patreon - HISE tutorials
                        YouTube Channel - Public HISE tutorials

                        MorphoiceM HISEnbergH 2 Replies Last reply Reply Quote 0
                        • MorphoiceM
                          Morphoice @d.healey
                          last edited by

                          @HISEnberg All plugins crash for me if scriptnode is involved. Everything I ever did only ever worked when the scriptfx is compiled into a DLL and then removed from the project and used as HardcodedFX.

                          https://instagram.com/morphoice - 80s inspired Synthwave Music, Arcade & Gameboy homebrew!

                          HISEnbergH 1 Reply Last reply Reply Quote 0
                          • HISEnbergH
                            HISEnberg @Morphoice
                            last edited by HISEnberg

                            @Morphoice interesting! It shouldn't matter if it's scriptfx or hardcoded but I am going to try it.

                            @d-healey no I haven't done this before so I will try again 😅

                            MorphoiceM orangeO 2 Replies Last reply Reply Quote 0
                            • MorphoiceM
                              Morphoice @HISEnberg
                              last edited by

                              @HISEnberg I too thought it shouldn't matter, but it was only ever when I kicked the scriptfx node that anything started working at all after compilation... I'm not sure if this is how it's supposed to be but that's the workflow I adapted to get anything done for weeks now

                              https://instagram.com/morphoice - 80s inspired Synthwave Music, Arcade & Gameboy homebrew!

                              HISEnbergH 1 Reply Last reply Reply Quote 0
                              • orangeO
                                orange @HISEnberg
                                last edited by orange

                                @HISEnberg Are you sure that it is macOS specific? What about Windows?

                                Might be related:

                                Link Preview Image
                                Debugging with Reaper

                                The moodycamel queue is being used for communicating between audio and UI. If the queue is full, it means that you are sending too many messages from the aud...

                                favicon

                                Forum (forum.hise.audio)

                                Link Preview Image
                                Multi Instance DAW Crash Issue Guide

                                Hi everyone As you might know from the forum, in some plugins, there are multi-instance crash issues in all DAWs but mostly Cubase, Reaper, Studio One. If th...

                                favicon

                                Forum (forum.hise.audio)

                                develop Branch / XCode 13.1
                                macOS Monterey / M1 Max

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

                                  @HISEnberg said in HISE plugins crasshing DAWs:

                                  So something is buggy, I will start going back a few commits but this very simple delay plugin is causing my DAWs to crash.

                                  If someone is kind enough to take the time to compile this project and let me know their results I will appreciate it!

                                  I compiled this project and I had no problems to load it in to Logic, Ableton Live or Reaper, on Mac OS

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

                                  HISEnbergH 1 Reply Last reply Reply Quote 0
                                  • HISEnbergH
                                    HISEnberg @ulrik
                                    last edited by

                                    @ulrik wonderful thank you very much @ulrik

                                    1 Reply Last reply Reply Quote 0
                                    • HISEnbergH
                                      HISEnberg @d.healey
                                      last edited by

                                      @d-healey Okay now I am running debug standalone builds in XCode and using the debugger. This is based off of the master branch of HISE. Here is what I am seeing:

                                      /Users/.../HISE/JUCE/modules/juce_core/containers/juce_ArrayBase.h
                                      

                                      Screenshot 2024-11-25 at 9.37.52 AM.png

                                      Screenshot 2024-11-25 at 9.35.38 AM.png

                                      d.healeyD 1 Reply Last reply Reply Quote 0
                                      • d.healeyD
                                        d.healey @HISEnberg
                                        last edited by

                                        @HISEnberg Try going back a bit through the stack trace and see if you can find out the function that is calling that function, keep working your way back until you get to something meaningful and then step through the code bit by bit and see if any variables have unexpected values.

                                        Libre Wave - Freedom respecting instruments and effects
                                        My Patreon - HISE tutorials
                                        YouTube Channel - Public HISE tutorials

                                        HISEnbergH 1 Reply Last reply Reply Quote 1
                                        • HISEnbergH
                                          HISEnberg @d.healey
                                          last edited by

                                          @d-healey unfortunately for me I wasn't able to discover much of value. As far as I can tell, numUsed might be pointing to an invalid memory address or uninitialized memory. The ArrayBase object is either improperly constructed or has been corrupted. This is as far as I could get.

                                          1 Reply Last reply Reply Quote 0
                                          • HISEnbergH
                                            HISEnberg @Morphoice
                                            last edited by HISEnberg

                                            @Morphoice I am thinking it could be what you mentioned here, something fishy about using the Script Fx node. I experienced the same issues on Windows.

                                            I just recompiled my wonderful delay example I posted her, moved it into a hardcoded fx node and it actually opened for me and works inside of Ableton.

                                            StraticahS MorphoiceM 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            18

                                            Online

                                            1.7k

                                            Users

                                            11.9k

                                            Topics

                                            103.6k

                                            Posts