HISE Logo Forum
    • Categories
    • Register
    • Login

    editorData.json causing segfault with css

    Scheduled Pinned Locked Moved Solved Bug Reports
    csssegfault
    5 Posts 2 Posters 166 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
      last edited by

      I've been trying to solve a segfault all day, I thought it was due to some library that I'd updated on my system.

      Running in a debugger I hit on this line

      addEditor(externalFile->getFileDocument(), isJavascript);

      In PopupEditors.cpp, and I remembered that the last time I had HISE opened I'd been experimenting with external CSS files.

      So then I decided to remove my HISE config folder, and then HISE opened without issue.

      Looking into it further I went into the editorData.json file and found a reference to my external css file. Removing that reference HISE opens.

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

      Christoph HartC 1 Reply Last reply Reply Quote 0
      • Christoph HartC
        Christoph Hart @d.healey
        last edited by

        @d-healey Did that CSS file still exist or was it just not used in the current state? Trying to replicate this here as good as possible

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

          @Christoph-Hart Yeah it still exists. I wonder if it's because I don't destroy all the script editor tabs each time HISE is closed/opened...

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

          Christoph HartC 1 Reply Last reply Reply Quote 0
          • Christoph HartC
            Christoph Hart @d.healey
            last edited by

            @d-healey Good catch, it was indeed crashing when I was opening HISE with a CSS editor in a floating window that will not be cleared on shutdown. Should be fixed now.

            d.healeyD 1 Reply Last reply Reply Quote 1
            • d.healeyD
              d.healey @Christoph Hart
              last edited by

              @Christoph-Hart Yep all fixed now, thanks - you've been a busy bee today!

              🐝

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

              1 Reply Last reply Reply Quote 0
              • d.healeyD d.healey marked this topic as a question on
              • d.healeyD d.healey has marked this topic as solved on
              • First post
                Last post

              18

              Online

              1.7k

              Users

              11.9k

              Topics

              103.4k

              Posts