HISE Logo Forum
    • Categories
    • Register
    • Login

    Develop branch cannot support more than 19 scripts

    Scheduled Pinned Locked Moved Bug Reports
    58 Posts 4 Posters 2.4k 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.
    • Christoph HartC
      Christoph Hart @d.healey
      last edited by

      function onNoteOn()
      

      that function name is reserved for callbacks, might be a clue why it breaks?

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

        @christoph-hart I think he's showing the code in his callback

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

        LindonL 1 Reply Last reply Reply Quote 0
        • LindonL
          Lindon @d.healey
          last edited by

          @d-healey - yes he is...

          HISE Development for hire.
          www.channelrobot.com

          1 Reply Last reply Reply Quote 0
          • LindonL
            Lindon @d.healey
            last edited by

            @d-healey - no it doesnt so its not the number of scripts then... I will continue to investigate...

            HISE Development for hire.
            www.channelrobot.com

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

              @lindon -- occasionaly I'm getting this:

              8b6f7788-2ebc-4230-bbfd-90a7c3d282ab-image.png

              HISE Development for hire.
              www.channelrobot.com

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

                @lindon Try the visual studio debug, that might help narrow it down a bit

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

                LindonL 1 Reply Last reply Reply Quote 0
                • LindonL
                  Lindon @d.healey
                  last edited by Lindon

                  @d-healey - LOL dont really know how to do that...Google here I come...do I build the debug version and then run it from the Debug menu in Visual studio?

                  HISE Development for hire.
                  www.channelrobot.com

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

                    @lindon

                    OK well clearly I dont know what I'm doing but I ran HIS Ein teh debugger and tried to load my project and got a log (HISE didnt "crash" it just hung so huh...)

                    What do I do with this stuff?

                    'HISE Debug.exe' (Win32): Loaded 'C:\HISE\projects\standalone\Builds\VisualStudio2017\x64\Debug\App\HISE Debug.exe'. Symbols loaded.
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\ntdll.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\kernel32.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Loaded 'C:\Program Files\AVAST Software\Avast\aswhook.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\KernelBase.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\user32.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\win32u.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\gdi32.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\gdi32full.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\msvcp_win.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\ucrtbase.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\comdlg32.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\msvcrt.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\combase.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\rpcrt4.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\SHCore.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\shlwapi.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\shell32.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\advapi32.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.19041.1110_none_60b5254171f9507e\comctl32.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\sechost.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\ole32.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\oleaut32.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\ws2_32.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\imm32.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\wininet.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\winmm.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\version.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\dbghelp.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\opengl32.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\glu32.dll'. Cannot find or open the PDB file.
                    JUCE v6.1.3
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\kernel.appcore.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\bcryptprimitives.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\uxtheme.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\msctf.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\clbcatq.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\twinapi.appcore.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\DataExchange.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\d3d11.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\dcomp.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\dxgi.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\twinapi.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\OneCoreUAPCommonProxyStub.dll'. Cannot find or open the PDB file.
                    onecore\com\combase\dcomrem\resolver.cxx(2299)\combase.dll!00007FFF8B15206D: (caller: 00007FFF8B154F4E) ReturnHr(1) tid(558) 80040154 Class not registered
                    onecore\com\combase\dcomrem\resolver.cxx(2507)\combase.dll!00007FFF8B154F76: (caller: 00007FFF8B151A05) ReturnHr(2) tid(558) 80040154 Class not registered
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\windows.storage.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\wldp.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\ntmarta.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\winmmbase.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\MMDevAPI.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\devobj.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\cfgmgr32.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\wdmaud.drv'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\avrt.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\ksuser.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\AudioSes.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\powrprof.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\umpdc.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\msacm32.drv'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\msacm32.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\midimap.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\dsound.dll'. Cannot find or open the PDB file.
                    JUCE Assertion failure in juce_win32_asio.cpp:1519
                    HISE Debug.exe has triggered a breakpoint.
                    
                    'HISE Debug.exe' (Win32): Loaded 'C:\Program Files\Audient\USBAudioDriver\W10_x64\audientusbaudioasio_x64.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\setupapi.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\bcrypt.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\wintrust.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\crypt32.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\msasn1.dll'. Cannot find or open the PDB file.
                    The thread 0x34b0 has exited with code 0 (0x0).
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\d2d1.dll'. Cannot find or open the PDB file.
                    The thread 0xf54 has exited with code 0 (0x0).
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\DWrite.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\d3d10warp.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\ResourcePolicyClient.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Unloaded 'C:\Windows\System32\ResourcePolicyClient.dll'
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\DriverStore\FileRepository\nvcvwu.inf_amd64_166fee8ea72cb783\nvinitx.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\DXCore.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Unloaded 'C:\Windows\System32\DriverStore\FileRepository\nvcvwu.inf_amd64_166fee8ea72cb783\nvinitx.dll'
                    The thread 0x17c8 has exited with code 0 (0x0).
                    The thread 0x374c has exited with code 0 (0x0).
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\TextInputFramework.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\CoreUIComponents.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\CoreMessaging.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\WinTypes.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\CoreMessaging.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Unloaded 'C:\Windows\System32\CoreMessaging.dll'
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\WinTypes.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Unloaded 'C:\Windows\System32\WinTypes.dll'
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\mscms.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\userenv.dll'. Cannot find or open the PDB file.
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\coloradapterclient.dll'. Cannot find or open the PDB file.
                    The thread 0x16e0 has exited with code 0 (0x0).
                    The thread 0x144 has exited with code 0 (0x0).
                    'HISE Debug.exe' (Win32): Loaded 'C:\Windows\System32\TextShaping.dll'. Cannot find or open the PDB file.
                    The thread 0x1788 has exited with code 0 (0x0).
                    The thread 0x2fa4 has exited with code 0 (0x0).
                    The thread 0xfb0 has exited with code 0 (0x0).
                    The thread 0x2730 has exited with code 0 (0x0).
                    The thread 0x349c has exited with code 0 (0x0).
                    The thread 0x3500 has exited with code 0 (0x0).
                    The thread 0x1f48 has exited with code 0 (0x0).
                    The thread 0x1c68 has exited with code 0 (0x0).
                    JUCE Assertion failure in misctoolclasses.h:191
                    HISE Debug.exe has triggered a breakpoint.
                    
                    JUCE Assertion failure in misctoolclasses.h:191
                    HISE Debug.exe has triggered a breakpoint.
                    
                    JUCE Assertion failure in misctoolclasses.h:191
                    HISE Debug.exe has triggered a breakpoint.
                    
                    JUCE Assertion failure in misctoolclasses.h:191
                    HISE Debug.exe has triggered a breakpoint.
                    
                    JUCE Assertion failure in misctoolclasses.h:191
                    HISE Debug.exe has triggered a breakpoint.
                    
                    JUCE Assertion failure in misctoolclasses.h:191
                    HISE Debug.exe has triggered a breakpoint.
                    
                    JUCE Assertion failure in misctoolclasses.h:191
                    HISE Debug.exe has triggered a breakpoint.
                    
                    JUCE Assertion failure in misctoolclasses.h:191
                    HISE Debug.exe has triggered a breakpoint.
                    
                    JUCE Assertion failure in misctoolclasses.h:191
                    HISE Debug.exe has triggered a breakpoint.
                    
                    JUCE Assertion failure in misctoolclasses.h:191
                    HISE Debug.exe has triggered a breakpoint.
                    
                    JUCE Assertion failure in misctoolclasses.h:191
                    HISE Debug.exe has triggered a breakpoint.
                    
                    JUCE Assertion failure in misctoolclasses.h:191
                    HISE Debug.exe has triggered a breakpoint.
                    
                    JUCE Assertion failure in misctoolclasses.h:191
                    HISE Debug.exe has triggered a breakpoint.
                    
                    HEAP[HISE Debug.exe]: Invalid address specified to RtlValidateHeap( 000001F84FA80000, 000001F85B112950 )
                    HISE Debug.exe has triggered a breakpoint.
                    
                    Debug Assertion Failed!
                    
                    Program: ...andalone\Builds\VisualStudio2017\x64\Debug\App\HISE Debug.exe
                    File: minkernel\crts\ucrt\src\appcrt\heap\debug_heap.cpp
                    Line: 904
                    
                    Expression: _CrtIsValidHeapPointer(block)
                    
                    For information on how your program can cause an assertion
                    failure, see the Visual C++ documentation on asserts.
                    
                    (Press Retry to debug the application)
                    The thread 0x608 has exited with code 0 (0x0).
                    The thread 0x274c has exited with code 0 (0x0).
                    The thread 0x9f8 has exited with code 0 (0x0).
                    The thread 0x2f30 has exited with code 0 (0x0).
                    The thread 0x938 has exited with code 0 (0x0).
                    The thread 0x1ca0 has exited with code 0 (0x0).
                    The thread 0x3010 has exited with code 0 (0x0).
                    The thread 0x2d68 has exited with code 0 (0x0).
                    The thread 0x2cd0 has exited with code 0 (0x0).
                    The thread 0x295c has exited with code 0 (0x0).
                    The thread 0x36d0 has exited with code 0 (0x0).
                    The thread 0x558 has exited with code 0 (0x0).
                    The thread 0x728 has exited with code 0 (0x0).
                    The thread 0x14a8 has exited with code 0 (0x0).
                    The program '[2092] HISE Debug.exe' has exited with code 0 (0x0).
                    
                    

                    It seems theres something wrong in misctoolclasses.h:191

                    HISE Development for hire.
                    www.channelrobot.com

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

                      @lindon said in Develop branch cannot support more than 19 scripts:

                      It seems theres something wrong in misctoolclasses.h:191

                      I also see a mention of juce_win32_asio.cpp.

                      I'm not familiar with the VS debugger but you need to step through the code if possible to see what's causing the issue. If you add a breakpoint to those files and lines that are reported in your output above that might be a good place to start.

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

                      LindonL 1 Reply Last reply Reply Quote 0
                      • LindonL
                        Lindon @d.healey
                        last edited by Lindon

                        @d-healey right well - assigned a breakpoint and here I am (what am I supposed to be looking for?)
                        e5d5f4e5-2422-4626-8d8d-8aa33fb2d784-image.png

                        -- we appear to be in the sample loading thread....

                        HISE Development for hire.
                        www.channelrobot.com

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

                          @lindon Click on the call stack tab, bottom right, and you can go back through the call history to hopefully see where this issue is starting from.

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

                          LindonL 1 Reply Last reply Reply Quote 0
                          • LindonL
                            Lindon @d.healey
                            last edited by

                            @d-healey right did that and it shows me this:

                            764f8bb6-ba09-4127-ac42-4ed9285dd559-image.png

                            HISE Development for hire.
                            www.channelrobot.com

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

                              @lindon Does clicking through that list reveal anything useful to you?

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

                              LindonL 1 Reply Last reply Reply Quote 0
                              • LindonL
                                Lindon @d.healey
                                last edited by

                                @d-healey no.

                                HISE Development for hire.
                                www.channelrobot.com

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

                                  @lindon Then I'd go back to the commenting out lines of code technique. If you want to send the project to me I could take a look at it and see if I can spot anything.

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

                                  ustkU 1 Reply Last reply Reply Quote 0
                                  • ustkU
                                    ustk @d.healey
                                    last edited by ustk

                                    @Lindon Seeing the result, this might be related to a sampler that does wrong audio/buffer access since it seems related to audio write/read lock issue.
                                    Try bypassing your samplers might reveal the culprit

                                    Can't help pressing F5 in the forum...

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

                                      @ustk said in Develop branch cannot support more than 19 scripts:

                                      Try bypassing your samplers might reveal the culprit

                                      You'd need to do that by editing the xml since you can't open the project.

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

                                      LindonL 1 Reply Last reply Reply Quote 0
                                      • LindonL
                                        Lindon @d.healey
                                        last edited by

                                        @d-healey The problem here is made a LOT worse because sometimes it will load and most times it wont.. so I:

                                        • remove a block of code - it loads, I put it back - it works - I remove it again- it works, I add it back again - it fails...

                                        @ustk - I've commented out the sampler loading - that isnt fixing it. sadly.

                                        HISE Development for hire.
                                        www.channelrobot.com

                                        d.healeyD ustkU 2 Replies Last reply Reply Quote 0
                                        • d.healeyD
                                          d.healey @Lindon
                                          last edited by

                                          @lindon Send it over and I'll see if I can debug it, at this point we're all just poking around in the dark.

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

                                          1 Reply Last reply Reply Quote 1
                                          • ustkU
                                            ustk @Lindon
                                            last edited by ustk

                                            @lindon Then someone has to review the code in question, something inside is probably causing instability (huge loops, timers, etc...)
                                            EDIT @d-healey have spoken...

                                            Can't help pressing F5 in the forum...

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

                                            32

                                            Online

                                            1.7k

                                            Users

                                            11.8k

                                            Topics

                                            102.4k

                                            Posts