HISE Logo Forum
    • Categories
    • Register
    • Login

    Exported VST causing Access Violations

    Scheduled Pinned Locked Moved Bug Reports
    62 Posts 4 Posters 3.6k 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.
    • d.healeyD
      d.healey @Adam_G
      last edited by

      @Adam_G But I'm not the only one who makes videos about debugging with xcode :)

      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 Adam_G

        @d-healey i found one other one! xD ( big thanks to @Dan-Korneff )

        now my mac virtual machine is apparently too slow to build the debug version in xcode without getting out of memory errors smh.

        can i get the same info from doing this process on windows? that question is mostly for @Christoph-Hart

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

          @Adam_G I think you can avoid the memory issue if you reduce the number of compile threads (don't ask me how)

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

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

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • Adam_GA
              Adam_G @d.healey
              last edited by Adam_G

              @d-healey

              defaults write com.apple.Xcode PBXNumberOfParallelBuildSubtasks 8
              

              in terminal to reduce compile threads

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

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

                Christoph HartC d.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
                    • d.healeyD
                      d.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?

                      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 its still running right now 😵

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

                          @Adam_G Yeah that's not right

                          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 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
                                  • d.healeyD
                                    d.healey
                                    last edited by

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

                                    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 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
                                            • First post
                                              Last post

                                            14

                                            Online

                                            1.8k

                                            Users

                                            12.0k

                                            Topics

                                            104.8k

                                            Posts