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.
    • Adam_GA
      Adam_G @d.healey
      last edited by Adam_G

      @d-healey no it doesnt. in the error "myVST" is the name of the vst by the way

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

        @Adam_G might be related to your audio settings

        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 im afraid this isnt it as its happening across multiple machines with different audio settings. i was sure it was related to my project but i have whittled it down to only elements that i have successfully used before and its still occurring. does that point to hise? i guess not if noone else has seen this behavior in their plugins :(

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

            got this info from the crash report with Logic

            Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
            Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000034
            Exception Note:        EXC_CORPSE_NOTIFY
            
            Termination Signal:    Segmentation fault: 11
            Termination Reason:    Namespace SIGNAL, Code 0xb
            Terminating Process:   exc handler [7985]
            

            "Termination Signal: Segmentation fault: 11" does this mean its related to Xcode? I compiled with 14.3

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

              @Adam_G you have to run the debug build to find out whats happening, these crash reports don‘t contain any information.

              Go into Xcode and select build for testing, then load the plugin with the Debug postfix.

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

                @Christoph-Hart once I compile the debug version of Hise, do I just export the vst normally from it? how do I load the plugin with the Debug postfix?

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

                  Does this only happen when compiled as a plugin not as a standalone?

                  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 haven't tried standalone yet, ill test that now.

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

                      @Adam_G Everything's easier to debug in standalone so if you get the problem there it will help

                      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 no crashes on windows standalone. my Mac vm is very slow so its still currently exporting but I think this may be the same issue. my project too uses the midi overlay panel https://forum.hise.audio/topic/4656/midi-overlay-panels-in-compiled-plugin-crashing-daws/22?_=1684334539180

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

                          @Adam_G said in Exported VST causing Access Violations:

                          @d-healey no crashes on windows standalone. my Mac vm is very slow so its still currently exporting but I think this may be the same issue. my project too uses the midi overlay panel https://forum.hise.audio/topic/4656/midi-overlay-panels-in-compiled-plugin-crashing-daws/22?_=1684334539180

                          nope still crashing on Mac even after implementing this. no problems in standalone but it only happens when I close and reload the plugin. I'm unclear how to use the debug version once its compiled though

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

                            @Adam_G Run it from within xcode. There should be a way to attach it (xcode's debugger) to a DAW instance (I'm not familiar enough with xcode, there is probably a YouTube video for it).

                            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 think you're the only one who makes YouTube videos on hise :crying_face:

                              d.healeyD 1 Reply Last reply Reply Quote 0
                              • 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
                                            • First post
                                              Last post

                                            22

                                            Online

                                            1.8k

                                            Users

                                            12.1k

                                            Topics

                                            105.0k

                                            Posts