HISE Logo Forum
    • Categories
    • Register
    • Login

    New Dispatcher Issues

    Scheduled Pinned Locked Moved Bug Reports
    54 Posts 4 Posters 3.0k 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 d.healey

      Building HISE on Linux is currently segfaulting. (Using latest commits)

      [Thread debugging using libthread_db enabled]Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".Programreceived signal SIGSEGV, Segmentation fault.juce::CharPointer_UTF8::isEmpty (this=0x2f7e258 <juce::juce_xmltextContentAttributeName>) at ../../../../JUCE/modules/juce_core/text/juce_CharPointer_UTF8.h:7373         bool isEmpty() const noexcept
                    { return *data == 0; }
      

      8f625aca-b7e2-455f-968a-5fa274a4a3b4-image.png

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

      d.healeyD Christoph HartC 2 Replies Last reply Reply Quote 0
      • d.healeyD
        d.healey @d.healey
        last edited by

        @d-healey I just reenabled the Linux Font Handler (I usually have it disabled because it slows down HISE startup). And I get a bit further before the segfault

        6b6d95d6-10c0-4bdc-9ab7-92380343c24f-image.png

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

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

          jupp, that's on me. Weird that it crashes though. Have you changed the HISE_USE_NEW_CODE_EDITOR preprocessor? That would explain it, otherwise...

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

            @Christoph-Hart It seems to be the fix autocomplete commit where the issue started, the commit before that works.

            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
              last edited by

              Develop branch still segfaulting on Linux. Anything I can do to help narrow it down?

              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 @Christoph Hart
                last edited by

                @Christoph-Hart said in New Dispatcher Issues:

                Have you changed the HISE_USE_NEW_CODE_EDITOR preprocessor?

                Oh somehow I totally missed your question. I haven't touched that. I'm just building the unmodified develop branch straight from your repo.

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

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

                  @Christoph-Hart Still segfaulting on Linux with the latest develop branch

                  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
                    last edited by d.healey

                    Maybe this is useful...

                    It's returning a nullptr from juce::Component::findParentComponentOfClass<hise::ComponentWithBackendConnection>()

                    So is there some component not being created when it should be?

                    Segfault occurs on line 95

                    0f071ed0-d5b5-4519-b00c-bf469b1df49b-image.png

                    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
                      last edited by d.healey

                      I've narrowed it down to this commit - https://github.com/christophhart/HISE/commit/b2471b5bbe54fe177ee43eb57a4a7839bcd0aa48

                      Commenting out line 118 in ScriptingPanelTypes.cpp gets rid of the segfault, not sure why though...

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

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

                        @Christoph-Hart Any suggestions??

                        alt text

                        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
                          last edited by

                          Triggered by line 78 too. I think I'm getting close.

                          Shouldn't any here be a component not a mouse listener?

                          eae462ac-af01-4d5a-afa6-cbaf86aebc3f-image.png

                          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 I ran into this now after resetting the layout. It should be fixed now but let me know if it still crashes on Linux.

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

                              @Christoph-Hart WooHoo! Thank you, it's working here.

                              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
                                last edited by

                                I'm seeing these Skipped changed() callback messages each time I hit compile in the latest version. Are they necessary and any way to turn them off?

                                f3d51e6f-4d96-4f81-b614-1f1c85a16b6e-image.png

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

                                Dan KorneffD 1 Reply Last reply Reply Quote 0
                                • Dan KorneffD
                                  Dan Korneff @d.healey
                                  last edited by

                                  @d-healey I noticed this as well. Is it actually a warning we need to be aware of?

                                  Dan Korneff - Producer / Mixer / Audio Nerd

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

                                    I vaguely remember that there was an issue with the changed function not doing anything in the onInit callback.

                                    However I can‘t change this behaviour for backwards compatibility reasons so I‘ve added a warning there to communicate this. So nothing has changed, but now you know what‘s up.

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

                                      @Christoph-Hart said in New Dispatcher Issues:

                                      I vaguely remember that there was an issue with the changed function not doing anything in the onInit callback.

                                      Aha yes, I brought that up a couple of weeks ago. Ok so now I will remove the useless call to changed and the warnings will go away.

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

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

                                      27

                                      Online

                                      1.8k

                                      Users

                                      12.1k

                                      Topics

                                      105.2k

                                      Posts