HISE Logo Forum
    • Categories
    • Register
    • Login

    Reaper VSTi

    Scheduled Pinned Locked Moved General Questions
    36 Posts 4 Posters 5.1k 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.
    • Dan KorneffD
      Dan Korneff @Christoph Hart
      last edited by

      @christoph-hart u da man! Gonna check it now.

      Dan Korneff - Producer / Mixer / Audio Nerd

      1 Reply Last reply Reply Quote 0
      • Dan KorneffD
        Dan Korneff @Christoph Hart
        last edited by

        @christoph-hart Back to square one. Debug version loads okay. Release crashes. ☹

        Dan Korneff - Producer / Mixer / Audio Nerd

        1 Reply Last reply Reply Quote 0
        • Dan KorneffD
          Dan Korneff
          last edited by

          I don't know if it's useful, but here's what happens when I debug the release version:
          0_1524583677703_release debug.png

          Dan Korneff - Producer / Mixer / Audio Nerd

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

            Can you post the exact state before you export (as HISE snippet) then I try to reproduce it.

            1 Reply Last reply Reply Quote 0
            • Dan KorneffD
              Dan Korneff
              last edited by

              HiseSnippet 1254.3oc4W07baSDEeUbT.GJeTldfYfC9.vjNjlwJMeTldnNwNtMD6XOVId5MOakWauSj1UypUNX5zANxeNbmCv+LbO+G.uUqUzphSH5PBc.cvi22W526812Gpqf6Qhh3BjU4SlERPV2y1cFSNo9DLkgNrAxZEaIIRh1eVHNJhLDYYU54JdVkWFk7bwy1G6iYdjLRHTeN0izhFPkYTCqcD02uIdH4DZfgzaU6PONqN2mGC3njcUTH16L7XxwXkXKYirrOXHUxEtRL.Fj0x6yGNycB+blV99zH5q7IpCNHWvPZxM49CUHVQEUeB0eX2T+MBAFsal2WR68OvtMcH8R5YQgOIgQkLMLiGVKccvywDdUu4vyx.dKqg28sc8DzPYFGE19.6CYRhXDFRAlvRKKx5WsqyAAXxMBvmQZJfCWpvZ6Ts55U1tZ0G9zQwLOIkypvYGykjNr0d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9Tu4uv6jRf.rmfOvS+s3pBg2OgBbMjkbUqrca04JNnjuOWW5F.aAMvyS0i8QPw6h0XyBqwiKrFaUXM1tvZrSg0X2BqwStFMTqbtWrjGnm3hP+00lLQY

              Dan Korneff - Producer / Mixer / Audio Nerd

              1 Reply Last reply Reply Quote 0
              • Dan KorneffD
                Dan Korneff
                last edited by

                hopefully I did that correctly

                Dan Korneff - Producer / Mixer / Audio Nerd

                1 Reply Last reply Reply Quote 0
                • Dan KorneffD
                  Dan Korneff
                  last edited by

                  @Christoph-Hart any luck with this?

                  Dan Korneff - Producer / Mixer / Audio Nerd

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

                    Unfortunately no, I can't reproduce the crash. Debugging the release version is the right way, but you need to manually enable the debug symbols, then it should point you to the faulty spot (it's a bit less verbose and accurate because of compiler optimisations though):

                    1. Export the plugin from HISE, but abort the command line compilation
                    2. Open the autogenerated projucer file with the Projucer
                    3. Go to the Exporter tab, select the Visual Studio Exporter -> Release Configuration (there are two of them, one for 32bit, one for 64bit). Do the next step for both.
                    4. Tick the box that says ("Force generation of debug symbols")
                    5. Press Save and open in IDE
                    6. Switch the configuration in VS to Release 64bit (it's a drop down in the top bar).
                    7. Repeat these steps from above:
                    • Go to Project -> Properties and change the Debug executable to the AudioPlugin host binary (In the Debug tab it's called something like Target path)
                    • Now compile the plugin from within Visual Studio. When it's finished, it should open the plugin host. Now drag the TEST x64.dll file to the host and it should point you to the crash location.
                    • Please post a screenshot of the stack trace as well as the crash location, this is the most helpful information.
                    Dan KorneffD 1 Reply Last reply Reply Quote 1
                    • Dan KorneffD
                      Dan Korneff @Christoph Hart
                      last edited by

                      @christoph-hart compiling release via VS2017 works 🤔

                      Dan Korneff - Producer / Mixer / Audio Nerd

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

                        And can you run the plugin outside of Visual Studio (not having attached it)?

                        Dan KorneffD 1 Reply Last reply Reply Quote 0
                        • Dan KorneffD
                          Dan Korneff @Christoph Hart
                          last edited by

                          @christoph-hart yup. What's the difference between compiling in HISE and VS?

                          Dan Korneff - Producer / Mixer / Audio Nerd

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

                            Actually, nothing that should matter. HISE is calling the command line version of the compiler used by Visual Studio.

                            Can you post the batchCompile.bat file, maybe you're calling an deprecated version of msbuild (there are multiple versions of this and maybe you call the one belonging to an old VS2015 install.

                            1 Reply Last reply Reply Quote 0
                            • Dan KorneffD
                              Dan Korneff
                              last edited by

                              Maybe I spoke too soon. It worked for my simple test project, but not for my more involved design. Investigating further...

                              Dan Korneff - Producer / Mixer / Audio Nerd

                              1 Reply Last reply Reply Quote 0
                              • Dan KorneffD
                                Dan Korneff
                                last edited by Dan Korneff

                                just in case... here's the .bat file

                                @echo off
                                set project=BACK TO SCHOOL
                                set build_path=C:\Users\BasicDrumCo\Documents\BACK TO SCHOOL VST\Binaries
                                set msbuild="C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\MsBuild.exe"
                                set vs_args=/p:Configuration="Release" /verbosity:minimal
                                set PreferredToolArchitecture=x64
                                set VisualStudioVersion=15.0
                                
                                "C:\Program Files\HISE-master\tools\Projucer\Projucer.exe" --resave "%build_path%\AutogeneratedProject.jucer"
                                
                                echo Compiling 64bit Instrument plugin %project% ...
                                set Platform=X64
                                %msbuild% "%build_path%\Builds\VisualStudio2017\%project%.sln" %vs_args%
                                
                                
                                
                                pause
                                

                                Dan Korneff - Producer / Mixer / Audio Nerd

                                1 Reply Last reply Reply Quote 0
                                • Dan KorneffD
                                  Dan Korneff
                                  last edited by

                                  Here we go:

                                  0_1525187134224_release debug call stack.png

                                  Dan Korneff - Producer / Mixer / Audio Nerd

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

                                    I've just pushed some changes which try to make the calls around this area more robust. Can you check if the problem persists?

                                    Also, if you can give me a little bit more information, I might be able to clear things up:

                                    • The exception type (a screenshot of the exception popup). The adress where it crashed is also important (something like 0x0000000e8 would point to a null pointer access, while an adress like 0xFFEEEEFEEE means accesses a deleted object, which is harder to track down.
                                    • The exact line in the code
                                    Dan KorneffD 1 Reply Last reply Reply Quote 0
                                    • Dan KorneffD
                                      Dan Korneff @Christoph Hart
                                      last edited by

                                      @christoph-hart Here's the errors with the updated HISE.

                                      0_1525219804958_ERROR 1.png

                                      Dan Korneff - Producer / Mixer / Audio Nerd

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

                                        Getting there slowly but steady :)

                                        Can you expand the items in the Auto tab (c and this), make the tab wider and post a screenshot of it?

                                        There's something weird going on in the Sample Loading.

                                        1 Reply Last reply Reply Quote 0
                                        • Dan KorneffD
                                          Dan Korneff
                                          last edited by

                                          expanded pic of autos:
                                          0_1525273095044_autos.png

                                          Dan Korneff - Producer / Mixer / Audio Nerd

                                          1 Reply Last reply Reply Quote 0
                                          • Dan KorneffD
                                            Dan Korneff
                                            last edited by Dan Korneff

                                            I was also able to export the object data from debugger.

                                            It's over 64000 lines, so I have to attach at text doc.
                                            https://we.tl/C4HE2BQKVf

                                            Dan Korneff - Producer / Mixer / Audio Nerd

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

                                            47

                                            Online

                                            1.7k

                                            Users

                                            11.7k

                                            Topics

                                            101.8k

                                            Posts