Forum

    • Register
    • Login
    • Search
    • Categories

    develop crashes my project

    Bug Reports
    5
    15
    57
    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.
    • iamlamprey
      iamlamprey 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?

      Music - Instruments

      1 Reply Last reply Reply Quote 0
      • Christoph Hart
        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.

        iamlamprey 1 Reply Last reply Reply Quote 0
        • iamlamprey
          iamlamprey @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 😲

          Music - Instruments

          Matt_SF 1 Reply Last reply Reply Quote 0
          • Matt_SF
            Matt_SF @iamlamprey 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 - Build : may 14
            Win10 / Monterrey & Xcode 13

            iamlamprey 1 Reply Last reply Reply Quote 0
            • iamlamprey
              iamlamprey @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

              Music - Instruments

              Matt_SF 1 Reply Last reply Reply Quote 0
              • Matt_SF
                Matt_SF @iamlamprey 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 - Build : may 14
                Win10 / Monterrey & Xcode 13

                iamlamprey 1 Reply Last reply Reply Quote 0
                • iamlamprey
                  iamlamprey @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 🙂

                  Music - Instruments

                  Matt_SF 1 Reply Last reply Reply Quote 0
                  • Matt_SF
                    Matt_SF @iamlamprey 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 - Build : may 14
                    Win10 / Monterrey & Xcode 13

                    Christoph Hart 1 Reply Last reply Reply Quote 1
                    • Christoph Hart
                      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

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

                        @christoph-hart

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

                        Music - Instruments

                        d.healey 1 Reply Last reply Reply Quote 0
                        • d.healey
                          d.healey @iamlamprey 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 😛

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

                          iamlamprey 1 Reply Last reply Reply Quote 1
                          • iamlamprey
                            iamlamprey @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

                            Music - Instruments

                            1 Reply Last reply Reply Quote 0
                            • iamlamprey
                              iamlamprey 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

                              Music - Instruments

                              Christoph Hart 1 Reply Last reply Reply Quote 0
                              • Christoph Hart
                                Christoph Hart @iamlamprey 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.

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

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

                                  Music - Instruments

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

                                  5
                                  Online

                                  740
                                  Users

                                  5.4k
                                  Topics

                                  50.4k
                                  Posts