HISE Logo Forum
    • Categories
    • Register
    • Login

    Preset Crashes Standalone MacOS

    Scheduled Pinned Locked Moved General Questions
    51 Posts 6 Posters 3.2k 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.
    • hisefiloH
      hisefilo @Christoph Hart
      last edited by

      @Christoph-Hart Hi sir!! Congrats on 3.5!!!
      I found this commit. It fixes the race condition for preset loading?? Just wondering :)

      Link Preview Image
      - added UserPresetHandler.isCurrentlyLoadingPreset() 路 christophhart/HISE@6535012

      The open source framework for sample based instruments - - added UserPresetHandler.isCurrentlyLoadingPreset() 路 christophhart/HISE@6535012

      favicon

      GitHub (github.com)

      1 Reply Last reply Reply Quote 0
      • hisefiloH
        hisefilo @Christoph Hart
        last edited by hisefilo

        @Christoph-Hart Well, new project, new HISE 3.5.0 and crashed repeatedly on FrontendMacroPanel::getNumRows()

        I added this (cardinal sin) and stoped crashing (by now).
        on https://github.com/christophhart/HISE/blob/2deb09cfc20dbfa80d8db5c9201cc605e27cfd6c/hi_components/floating_layout/FrontendPanelTypes.cpp#L1009

        It's there any other quick way to do it???

        Please tell me you wont kick me out of the forum!!!

        	for (int i = 0; i < 8; i++)
        	{
                Thread::sleep(1); // Forgive me for this!!
                
        		auto d = macroChain->getMacroControlData(i);
        		for (int j = 0; j < d->getNumParameters(); j++)
        		{
                    
        			newList.add(d->getParameter(j));
                    
        		}
        	}
        
        Adam_GA 1 Reply Last reply Reply Quote 0
        • Adam_GA
          Adam_G @hisefilo
          last edited by

          @hisefilo did you make any progress on this? im afraid i now have the same problem.. :(

          Christoph HartC 1 Reply Last reply Reply Quote 0
          • Christoph HartC
            Christoph Hart @Adam_G
            last edited by

            @Adam_G I've rewritten some of the macro control code to reduce the multithreading issues, but I can't guarantee that it solves your problem). You might want to try out the latest state and see if it helps.

            Adam_GA 1 Reply Last reply Reply Quote 0
            • Adam_GA
              Adam_G @Christoph Hart
              last edited by

              @Christoph-Hart thank you oh wise one 馃檱 this resolved my issue with the presets causing crashes. part of my script is now broken though - API call with undefined parameter 2. what was changed?

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

                @Adam_G said in Preset Crashes Standalone MacOS:

                . what was changed?

                Link Preview Image
                Type safety!

                Inb4 Dave says "tell me more"... https://github.com/christophhart/hise_documentation/blob/master/scripting/scripting-in-hise/additions-in-hise.md#type-safety

                favicon

                Forum (forum.hise.audio)

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

                Adam_GA 1 Reply Last reply Reply Quote 0
                • Adam_GA
                  Adam_G @d.healey
                  last edited by

                  @d-healey oh boy

                  Dan KorneffD 1 Reply Last reply Reply Quote 0
                  • Dan KorneffD
                    Dan Korneff @Adam_G
                    last edited by

                    @Adam_G It's been driving me crazy all day :face_with_head-bandage:

                    Dan Korneff - Producer / Mixer / Audio Nerd

                    Adam_GA 1 Reply Last reply Reply Quote 0
                    • Adam_GA
                      Adam_G @Dan Korneff
                      last edited by

                      @Dan-Korneff it doesnt seem like too much is broken in my project lucky for me but im lost trying to figure out how to make what IS broken not be hah

                      ThinkTankT 1 Reply Last reply Reply Quote 0
                      • ThinkTankT
                        ThinkTank @Adam_G
                        last edited by

                        Is this still an issue?

                        I got crashes on macOS, but not on preset loading, it just crashes on start.

                        Without problems that test the limits of your abilities, you can not expand them.

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

                        28

                        Online

                        1.7k

                        Users

                        11.8k

                        Topics

                        102.5k

                        Posts