Forum
    • Categories
    • Register
    • Login

    Exported VST causing Access Violations

    Scheduled Pinned Locked Moved Bug Reports
    62 Posts 4 Posters 5.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.
    • Adam_GA
      Adam_G
      last edited by

      @d-healey still seems to be hanging on 299 of 302 steps :(

      Christoph HartC David HealeyD 2 Replies Last reply Reply Quote 0
      • Christoph HartC
        Christoph Hart @Adam_G
        last edited by

        can i get the same info from doing this process on windows?

        Sure, if it also crashes on Windows, you can debug it there, no need to run a VM.

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

          @Christoph-Hart thanks Christoph :)

          1 Reply Last reply Reply Quote 0
          • David HealeyD
            David Healey @Adam_G
            last edited by

            @Adam_G said in Exported VST causing Access Violations:

            @d-healey still seems to be hanging on 299 of 302 steps :(

            How long did you wait?

            Free HISE Bootcamp Full Course for beginners.
            YouTube Channel - Public HISE tutorials
            My Patreon - HISE tutorials

            Adam_GA 1 Reply Last reply Reply Quote 0
            • Adam_GA
              Adam_G @David Healey
              last edited by

              @d-healey its still running right now 😵

              David HealeyD 1 Reply Last reply Reply Quote 0
              • David HealeyD
                David Healey @Adam_G
                last edited by

                @Adam_G Yeah that's not right

                Free HISE Bootcamp Full Course for beginners.
                YouTube Channel - Public HISE tutorials
                My Patreon - HISE tutorials

                Adam_GA 1 Reply Last reply Reply Quote 0
                • Adam_GA
                  Adam_G @David Healey
                  last edited by

                  @d-healey i shut it down, but now im struggling to complete the process in visual studio as the instructions are for xcode. i can compile the .vcxproj but i cant see where to set the daw to open it with

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

                    @Adam_G VS Menu -> Project -> Properties (last item) -> Debugging -> Command -> Browse.

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

                      @Christoph-Hart thank you! on windows vsts dont compile directly to the vst folder. do i need to set that for my working directory ? im using Reaper and the vst isnt showing up when i start debugging

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

                        anybody out there familiar with debugging in visual studio?

                        1 Reply Last reply Reply Quote 0
                        • David HealeyD
                          David Healey
                          last edited by

                          This should get you started (it's what I used)

                          https://youtu.be/aPMTYlMpbj0

                          Free HISE Bootcamp Full Course for beginners.
                          YouTube Channel - Public HISE tutorials
                          My Patreon - HISE tutorials

                          Adam_GA 1 Reply Last reply Reply Quote 0
                          • Adam_GA
                            Adam_G @David Healey
                            last edited by

                            @d-healey thank you very much

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

                              i think i managed to make it work thanks to everyones help. no crash in reaper but i replicated it in FL studio. is this what im after?

                              Exception thrown at 0x00007FFD4CA49F35 (myVST.vst3) in FL64.exe: 0xC0000005: Access violation reading location 0xFFFFFFFFFFFFFFFF.
                              
                              
                              Christoph HartC 1 Reply Last reply Reply Quote 0
                              • Christoph HartC
                                Christoph Hart @Adam_G
                                last edited by

                                @Adam_G No it seems that you're still using the release build in FL Studio - it should break in MSVS with the exact line that causes the crash. Make sure you load the correct plugin version (it should have a Debug postfix).

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

                                  @Christoph-Hart hmm i compiled the vst with the debug version of hise standalone. i must be missing a step, ill try again

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

                                    @Adam_G no you must compile the plugin as debug build from within VS. Open the solution youā€˜ve creates after exporting from HISE, then switch the configuration to Debug and build.

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

                                      @Christoph-Hart i just realized 😁 thank you Christoph

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

                                        @Christoph-Hart is this what im after?alt text

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

                                          @Adam_G nope jasserts are fine, keep on clicking on continue until you hit a access violation ;)

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

                                            @Christoph-Hart took forever to get a crash for some reason haha, this? alt text

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

                                            15

                                            Online

                                            2.1k

                                            Users

                                            13.1k

                                            Topics

                                            113.3k

                                            Posts