HISE Logo Forum
    • Categories
    • Register
    • Login

    Unzipping in the plugin crashing the browser

    Scheduled Pinned Locked Moved General Questions
    46 Posts 4 Posters 1.7k 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.
    • d.healeyD
      d.healey @Lindon
      last edited by

      @Lindon You shouldn't need to do anything special, as long as it's writing to a place the user has permission to write to it should work. You can use File.hasWriteAccess() to check before attempting the write.

      As a test try extracting everything to the downloads folder, if it crashes then it's probably not a permission issue.

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

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

        @d-healey said in Unzipping in the plugin crashing the browser:

        @Lindon When we get to the debugger stage it will be easier if the problem is happening in a standalone build.

        Yep the stand alone is crashing when it gets to the unzipping part...

        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 Good, we have an easier task of debugging. Now try extracting everything to a folder you know has write permission.

          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

            @d-healey ok trying the user download folder

            HISE Development for hire.
            www.channelrobot.com

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

                    DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                    https://dhplugins.com/ | https://dcbreaks.com/
                    London, UK

                    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...

                        DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                        https://dhplugins.com/ | https://dcbreaks.com/
                        London, UK

                        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...

                            DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                            https://dhplugins.com/ | https://dcbreaks.com/
                            London, UK

                            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?

                                  DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                                  https://dhplugins.com/ | https://dcbreaks.com/
                                  London, UK

                                  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?

                                        DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                                        https://dhplugins.com/ | https://dcbreaks.com/
                                        London, UK

                                        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.

                                            DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                                            https://dhplugins.com/ | https://dcbreaks.com/
                                            London, UK

                                            d.healeyD 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            26

                                            Online

                                            1.8k

                                            Users

                                            12.0k

                                            Topics

                                            104.6k

                                            Posts