HISE Logo Forum
    • Categories
    • Register
    • Login

    Scrolling a Viewport crashes compiled plugin....

    Scheduled Pinned Locked Moved General Questions
    70 Posts 5 Posters 2.8k 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 @Lindon
      last edited by

      @Lindon can you dumb it down to a minimal example or is it only happening with your project?

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

        @Christoph-Hart said in Scrolling a Viewport crashes compiled plugin....:

        @Lindon can you dumb it down to a minimal example or is it only happening with your project?

        Ill try and get it down to something manageable...

        HISE Development for hire.
        www.channelrobot.com

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

          @Lindon said in Scrolling a Viewport crashes compiled plugin....:

          @Christoph-Hart said in Scrolling a Viewport crashes compiled plugin....:

          @Lindon can you dumb it down to a minimal example or is it only happening with your project?

          Ill try and get it down to something manageable...

          Well frustratingly I cant reproduce the problem in a simplified project....

          HISE Development for hire.
          www.channelrobot.com

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

            @Lindon said in Scrolling a Viewport crashes compiled plugin....:

            @Lindon said in Scrolling a Viewport crashes compiled plugin....:

            @Christoph-Hart said in Scrolling a Viewport crashes compiled plugin....:

            @Lindon can you dumb it down to a minimal example or is it only happening with your project?

            Ill try and get it down to something manageable...

            Well frustratingly I cant reproduce the problem in a simplified project....

            its maddening.... I can open the UI, open the viewport and scroll away, and select items... and everything works correctly... I play a note, open the viewport , scroll any amount - and the system gives me the "circling- busy mouse icon" and it crashes...

            HISE Development for hire.
            www.channelrobot.com

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

              @Christoph-Hart - there is no event taking place on the viewport scroll is there? There's nothing happening in the HISEScript...

              HISE Development for hire.
              www.channelrobot.com

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

                @Lindon said in Scrolling a Viewport crashes compiled plugin....:

                there is no event taking place on the viewport scroll is there? There's nothing happening in the HISEScript...

                Yes it communicates to the audio thumbnail class which range to create a path for and spawns the waveform calculation on a background thread.

                Alright, send me over this bad boy and I'll try to reproduce it. If you can limit the amount of samples I have to download or remove some parts that don't affect the functionality it would be great.

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

                  @Christoph-Hart said in Scrolling a Viewport crashes compiled plugin....:

                  @Lindon said in Scrolling a Viewport crashes compiled plugin....:

                  there is no event taking place on the viewport scroll is there? There's nothing happening in the HISEScript...

                  Yes it communicates to the audio thumbnail class which range to create a path for and spawns the waveform calculation on a background thread.

                  Alright, send me over this bad boy and I'll try to reproduce it. If you can limit the amount of samples I have to download or remove some parts that don't affect the functionality it would be great.

                  found it I think --- the viewport works fine for a hundred items, but crashes everytime when I add in all 1500 items.....

                  HISE Development for hire.
                  www.channelrobot.com

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

                    @Lindon said in Scrolling a Viewport crashes compiled plugin....:

                    found it I think --- the viewport works fine for a hundred items, but crashes everytime when I add in all 1500 items.....

                    nope now its working fine... grrr...hang on chasing down a couple of other possibilities - if they dont pan out it will be over to you...

                    HISE Development for hire.
                    www.channelrobot.com

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

                      @Lindon said in Scrolling a Viewport crashes compiled plugin....:

                      @Lindon said in Scrolling a Viewport crashes compiled plugin....:

                      found it I think --- the viewport works fine for a hundred items, but crashes everytime when I add in all 1500 items.....

                      nope now its working fine... grrr...hang on chasing down a couple of other possibilities - if they dont pan out it will be over to you...

                      sigh oh dear - I've got it a bit more reliable - pretty much in the end all I did was replace the viewport with another and copied over the code from the CB....so its over to you I'm afraid.... I PM you the download URL....

                      HISE Development for hire.
                      www.channelrobot.com

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

                        Ok yet more testing...

                        Now I added a viewport, and put a panel in it.. and wrote the sample map names --- no on mouse callback - its doing nothing

                        -- compile, load in reaper, play a note - go to the browser - scroll the new viewport - ---- crash.

                        HISE Development for hire.
                        www.channelrobot.com

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

                          @Lindon Ok got some debug info. out of VS, again Im just moving the viewport scroll bar..

                          ..and its still telling me there are problems in the SamplerSoundWaveform::paint

                          d23c60ee-8c0d-4a7d-9421-6333bc830ad4-image.png

                          HISE Development for hire.
                          www.channelrobot.com

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

                            bump bump?

                            HISE Development for hire.
                            www.channelrobot.com

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

                              @Lindon Fixed here:

                              Link Preview Image
                              - fixed uninitialised sampler start mod display value · christophhart/HISE@cb40b21

                              The open source framework for sample based instruments - - fixed uninitialised sampler start mod display value · christophhart/HISE@cb40b21

                              favicon

                              GitHub (github.com)

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

                                @Christoph-Hart great! Thanks.

                                HISE Development for hire.
                                www.channelrobot.com

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

                                34

                                Online

                                1.7k

                                Users

                                11.8k

                                Topics

                                102.7k

                                Posts