HISE Logo Forum
    • Categories
    • Register
    • Login

    Unzipping in the plugin crashing the browser

    Scheduled Pinned Locked Moved General Questions
    46 Posts 4 Posters 1.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.
    • LindonL
      Lindon @Lindon
      last edited by

      @Lindon nope crash there too....

      HISE Development for hire.
      www.channelrobot.com

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

        @Lindon Aha so it's something more complicated. Can you share your download/extraction code with me?

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

        LindonL 1 Reply Last reply Reply Quote 0
        • LindonL
          Lindon @d.healey
          last edited by

          okay well more investigation and no resolution - I'm now a bit lost about what to do....

          HISE Development for hire.
          www.channelrobot.com

          DanHD 1 Reply Last reply Reply Quote 0
          • DanHD
            DanH @Lindon
            last edited by

            @Lindon did you make a debug standalone?

            LindonL 1 Reply Last reply Reply Quote 0
            • LindonL
              Lindon @DanH
              last edited by

              @DanH said in Unzipping in the plugin crashing the browser:

              @Lindon did you make a debug standalone?

              nope _ Im not entirely clear how I go about doing that...

              HISE Development for hire.
              www.channelrobot.com

              DanHD 1 Reply Last reply Reply Quote 0
              • DanHD
                DanH @Lindon
                last edited by DanH

                @Lindon open the autogeneratedProject in your build folder so you can open the project in Xcode, then choose to build in Running rather than Profiling.

                When it's built (it should say debug after the app name) run it, then make it crash and look at the crash report. Post findings here...

                LindonL 1 Reply Last reply Reply Quote 0
                • LindonL
                  Lindon @DanH
                  last edited by

                  @DanH said in Unzipping in the plugin crashing the browser:

                  @Lindon open the autogeneratedProject in your build folder so you can open the project in Xcode, then choose to build in Running rather than Profiling.

                  When it's built (it should say debug after the app name) run it, then make it crash and look at the crash report. Post findings here...

                  thanks well Im on windows but Im sure its similar...

                  HISE Development for hire.
                  www.channelrobot.com

                  DanHD 1 Reply Last reply Reply Quote 0
                  • DanHD
                    DanH @Lindon
                    last edited by

                    @Lindon I guess, not so sure where the crash reports are and how readable they are...

                    LindonL 1 Reply Last reply Reply Quote 0
                    • LindonL
                      Lindon @DanH
                      last edited by

                      @DanH said in Unzipping in the plugin crashing the browser:

                      @Lindon I guess, not so sure where the crash reports are and how readable they are...

                      yeah me neither - I'v opened projucer loaded the project into Visual Studio selected

                      Debug - started it - the app has opened, I've run it and its crashed (eventually) but I have no idea what im looking at now...

                      HISE Development for hire.
                      www.channelrobot.com

                      LindonL 1 Reply Last reply Reply Quote 0
                      • LindonL
                        Lindon @Lindon
                        last edited by Lindon

                        @Lindon trying it again and now nothing even starts...can anyone give me a clue how to start debugging this with Visual Studio?

                        HISE Development for hire.
                        www.channelrobot.com

                        DanHD 1 Reply Last reply Reply Quote 0
                        • DanHD
                          DanH @Lindon
                          last edited by

                          @Lindon what happens if you make it crash while it's actually open in VS? It shouldn't crash but might point you in the right direction?

                          LindonL 1 Reply Last reply Reply Quote 0
                          • LindonL
                            Lindon @DanH
                            last edited by Lindon

                            @DanH it wont even open in VS!!!

                            I open projucer File>Save Project and open in IDE

                            VS opens, I select Debug>Start Debugging(F5)

                            I get thisL:
                            8fa59a9d-0e0e-435c-8f4c-560d2345f25d-image.png

                            No sign of the app actually starting..

                            HISE Development for hire.
                            www.channelrobot.com

                            LindonL 1 Reply Last reply Reply Quote 0
                            • LindonL
                              Lindon @Lindon
                              last edited by

                              @Lindon ok I stepped past all these breakpoints got it to loaad and run and got this when it crashes:
                              225c1203-6238-40ce-9408-18ae36179290-image.png

                              some sort of read access violation???

                              HISE Development for hire.
                              www.channelrobot.com

                              DanHD 1 Reply Last reply Reply Quote 0
                              • DanHD
                                DanH @Lindon
                                last edited by DanH

                                @Lindon I’m in the pub (suggest you do the same 😅). But what size is the file you’re trying to unzip?

                                LindonL 1 Reply Last reply Reply Quote 0
                                • LindonL
                                  Lindon @DanH
                                  last edited by

                                  @DanH just back from the pub --- 1.4Gb...

                                  HISE Development for hire.
                                  www.channelrobot.com

                                  DanHD 1 Reply Last reply Reply Quote 0
                                  • DanHD
                                    DanH @Lindon
                                    last edited by

                                    @Lindon ok, unlikely to be that then. Did you send your code to @d-healey to look at? Feel free to send my way as well.

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

                                      @Lindon Follow the call stack

                                      c5c75ca7-5476-4fb9-8898-dcd977fe9bb8-image.png

                                      Click the line that mentions the extractZipFile function and see what's going on.

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

                                      LindonL 1 Reply Last reply Reply Quote 0
                                      • LindonL
                                        Lindon @d.healey
                                        last edited by Lindon

                                        @d-healey ok so doing that shows me this:

                                        e9200574-8ff3-47c4-a743-e8a09de6736c-image.png

                                        So there's a problem with the thread, and I have this in my pre-processors:

                                        24147a9c-a857-4a13-9809-cefd31970331-image.png

                                        Would that make any difference?

                                        HISE Development for hire.
                                        www.channelrobot.com

                                        LindonL 1 Reply Last reply Reply Quote 0
                                        • LindonL
                                          Lindon @Lindon
                                          last edited by

                                          @Christoph-Hart --- -you will want to see this answer I think:

                                          ..aaaaaand the answer is yes. If I set all the preprocessor commands I need to use the unlocker to off(zero) then the unzip code works fine.

                                          So I need the unlocker and I need the unzipper - How do I proceed?

                                          HISE Development for hire.
                                          www.channelrobot.com

                                          DanHD 2 Replies Last reply Reply Quote 0
                                          • DanHD
                                            DanH @Lindon
                                            last edited by

                                            This post is deleted!
                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            47

                                            Online

                                            1.7k

                                            Users

                                            11.7k

                                            Topics

                                            101.9k

                                            Posts