HISE Logo Forum
    • Categories
    • Register
    • Login

    develop crashes my project

    Scheduled Pinned Locked Moved Bug Reports
    15 Posts 5 Posters 462 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.
    • ?
      A Former User
      last edited by

      hello friends :) I just got my Mac setup and compiled develop branch, but when i open the NEAT player project (developed on master) it crashes instantly. I just tested it on my windows machine as well and get the same result

      how can I start to debug this master -> develop transition?

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

        Run HISE in the debugger and report the stacktrace of the crashes - or subsequently remove elements from your project to isolate the problem.

        ? 1 Reply Last reply Reply Quote 0
        • ?
          A Former User @Christoph Hart
          last edited by

          @christoph-hart said in develop crashes my project:

          Run HISE in the debugger

          How does one do this? Sorry I'm new to debugging, been lucky so far I think...

          I built HISE for debug in VS, I assume that's step one 😲

          Matt_SFM 1 Reply Last reply Reply Quote 0
          • Matt_SFM
            Matt_SF @A Former User
            last edited by

            @iamlamprey just open HISE in VS (file>open project/solution) and launch debuggin process (new to this too but i do it like this)

            Develop branch
            Win10 & VS17 / Ventura & Xcode 14. 3

            ? 1 Reply Last reply Reply Quote 0
            • ?
              A Former User @Matt_SF
              last edited by

              @matt_sf Yes that works thank you!

              @Christoph-Hart What should I be posting here? Something like...

              Exception thrown: read access violation.
              __that was 0x20.
              

              Line 494 of the MacroControlBroadcaster.h file

              Matt_SFM 1 Reply Last reply Reply Quote 0
              • Matt_SFM
                Matt_SF @A Former User
                last edited by

                @iamlamprey the error message gives you info about what is making everything crash. What you can try is opening the script in an external editor and remove/comment the parts where you're using macro controls an reopen the project (obviously you want to backup your project first 😁)

                Just throwing an idea here, but the point is to isolate the problem so you can load your project and see what you can do to fix it.

                Develop branch
                Win10 & VS17 / Ventura & Xcode 14. 3

                ? 1 Reply Last reply Reply Quote 0
                • ?
                  A Former User @Matt_SF
                  last edited by

                  @matt_sf Yeah it seems like it's a macro problem, which is unfortunate because the player relies on them pretty heavily... Thanks for your help :)

                  Matt_SFM 1 Reply Last reply Reply Quote 0
                  • Matt_SFM
                    Matt_SF @A Former User
                    last edited by

                    @iamlamprey But when you'll isolate the function which is making hise crash, you can rewrite it so you won't loose everything. Maybe it's the whole thing, maybe it's just a tiny function...
                    Of course regarding your NEAT project it wont be easy 😩 (nice one btw!)
                    Maybe one of our HISE gurus will have more knowledge about how to proceed...

                    Develop branch
                    Win10 & VS17 / Ventura & Xcode 14. 3

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

                      Line 494 of the MacroControlBroadcaster.h file

                      That doesn't exist. Can you make a screenshot of the stack trace at the crash?

                      496b95a1-f3a6-4e4c-98ea-8e6f915b2826-image.png

                      ? 1 Reply Last reply Reply Quote 0
                      • ?
                        A Former User @Christoph Hart
                        last edited by

                        @christoph-hart

                        57f6904c-57a1-41af-94fd-9cb266d02450-image.png

                        d.healeyD 1 Reply Last reply Reply Quote 0
                        • d.healeyD
                          d.healey @A Former User
                          last edited by

                          @iamlamprey How many copies of the HISE source do you have on your system?

                          Your thread title is wrong, develop doesn't crash your project, your project crashes develop :p

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

                          ? 1 Reply Last reply Reply Quote 0
                          • ?
                            A Former User @d.healey
                            last edited by

                            @d-healey Just the one, the mac was a clean install as well

                            Your thread title is wrong, develop doesn't crash your project, your project crashes develop 😛

                            touche

                            1 Reply Last reply Reply Quote 0
                            • ?
                              A Former User
                              last edited by

                              this probably could have been avoided if i was up to date on the develop/new layout and squashed this weeks ago, i was holding off using it in case it caused an error but now I regret it lol

                              Christoph HartC 1 Reply Last reply Reply Quote 0
                              • Christoph HartC
                                Christoph Hart @A Former User
                                last edited by

                                @iamlamprey It crashes somewhere in scriptnode, so I would recommend removing all modules that use scriptnode to isolate the one that is faulty.

                                ? 1 Reply Last reply Reply Quote 0
                                • ?
                                  A Former User @Christoph Hart
                                  last edited by

                                  @christoph-hart Okay I'll give that a try, thanks for taking a look :)

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

                                  26

                                  Online

                                  1.8k

                                  Users

                                  12.0k

                                  Topics

                                  104.6k

                                  Posts