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

      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
                                • StraticahS
                                  Straticah @HISEnberg
                                  last edited by

                                  @HISEnberg i had this issue aswell when saving scriptnodes.

                                  I think i fixed it by deleting the saved scriptnode and recompiling without the saved node again.

                                  I guess you tried that already but there is definitely some error potential when saving scriptnodes instead of them being saved by HISE project.

                                  building user interfaces in HISE :)
                                  web: www.vst-design.com

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

                                    @Straticah Right, interesting. Is this causing the plugins to crash, or the HISE project to fail? Everything works fine for me inside of HISE, it's just compiled plugins that won't work

                                    This is a pretty serious issue for me at the moment, I was surprised to find the issue has only come up for a few developers so far.

                                    @Christoph-Hart I hate to bug you without having more information for you, but I thought you should be aware that I am experiencing consistent crashes across platforms/DAWs with scriptnode based projects. The hardcoded slot seems to be somewhat more stable but I haven't looked into this too much.

                                    This is true on both the develop and master branch, I've rebuilt hise quite a number of times today.

                                    David was kind enough to lead me in debugging in XCode but I couldn't find much useful information past what I have posted above. I'll post more if I can find anything.

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

                                      @HISEnberg the HISE compilation worked fine. Its just when you open it in your DAW it gets an error and shows no UI at all. Cleaning build directory, deleting all saved scriptnodes (if there are any inside the DspNetworks\Networks folder) and compiling dlls (without saving nodes - only project).

                                      Usually this fixed it for me most of the time. I only had this issue when using multiple saved or compiled nodes inside other nodes or when going from hardcodedFX back to scriptnode.

                                      Question, do you save the scriptnode before compiling and this might cause the error?

                                      building user interfaces in HISE :)
                                      web: www.vst-design.com

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

                                        @HISEnberg super weird. i'm trying a few experiments with the scriptnodes turned off, on, different nodes and report back, but so far it looks like whenever there is scriptfx it crashes... I remember weeks ago I read somewhere that scriptnodes always have to be compiled into a DLL and used as hardcoded in order to work properly but I could be mistaken as many people stated it would work just as fine without... is there an official statement from christoph somewhere?

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

                                        LindonL 1 Reply Last reply Reply Quote 0
                                        • LindonL
                                          Lindon @Morphoice
                                          last edited by

                                          @Morphoice said in HISE plugins crasshing DAWs:

                                          @HISEnberg super weird. i'm trying a few experiments with the scriptnodes turned off, on, different nodes and report back, but so far it looks like whenever there is scriptfx it crashes... I remember weeks ago I read somewhere that scriptnodes always have to be compiled into a DLL and used as hardcoded in order to work properly but I could be mistaken as many people stated it would work just as fine without... is there an official statement from christoph somewhere?

                                          if this were the case then routing.global_send would be a pointless node to have added, as it wont work inside a compiled network/hardcodedFX -- no you cna leave your scriptnode network uncompiled - its just a less efficient that way, or if you are using the global send/receive nodes then - well- cause you have to...

                                          HISE Development for hire.
                                          www.channelrobot.com

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

                                            @Straticah Hmm yes, I will resave a Scriptnode if I make any changes to the network then recompile, and I usually leave the "Enable Compile" flag on. Typically this should just overwrite any existing of the .cpp and .h files.

                                            So you have been removing the networks from your project once you are done editing them? I've never done this before and haven't had this issue, but if it works it works.

                                            @Morphoice I am not sure Christoph has made a statement about it, but for some context I have released several products with just the Script_Fx before. Also hardcoded slots only came about some time after Scriptnode was introduce, so that you can dynamically switch networks. So @Lindon makes a valid point but I can see why you are skeptical if you only started using scriptnode recently.

                                            I am going to spend some time migrating some projects to Hardcoded Slot Fx today to see if it resolves the issue, will report back here.

                                            Thanks for all your input in the meantime!

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

                                            36

                                            Online

                                            1.8k

                                            Users

                                            12.1k

                                            Topics

                                            105.1k

                                            Posts