HISE Logo Forum
    • Categories
    • Register
    • Login

    faust segfaults on zorin 17 based off ubuntu os

    Scheduled Pinned Locked Moved Bug Reports
    11 Posts 3 Posters 126 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.
    • ospfeigrpO
      ospfeigrp
      last edited by ospfeigrp

      SO, i build faust as per the instructions here: https://github.com/grame-cncm/faust/wiki/BuildingSimple

      make and make install are run
      typing faust --version in the terminal returns: Screenshot from 2025-03-23 19-15-06.png

      So i proceed to clone davids hise repo with faust
      navigate to hise makefile for faust and build.

      the build completes but i get a seg fault anytime i change the script from the dropdown menus for the faust node

      any help with this or what am i doing wrong

      things i have tried:
      1:compiling faust 2.50 -> compiles fine but not will not compile with hise

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

        @ospfeigrp said in faust segfaults on zorin 17 based off ubuntu os:

        i build faust as per the instructions here

        I'm using the version included in my distro, Debian Testing v2.77.3

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

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

          @d-healey yes just tried: FAUST Version 2.79.3 and it compiles with hise fine however i now get:

          HISE Standalone: /usr/lib/llvm-13/include/llvm/IR/Instructions.h:959: static llvm::GetElementPtrInst* llvm::GetElementPtrInst::Create(llvm::Type*, llvm::Value*, llvm::ArrayRef<llvm::Value*>, const llvm::Twine&, llvm::Instruction*): Assertion `PointeeType && "Must specify element type"' failed.
          Aborted
          
          

          this is only when hise loads and i add faust node and change script.dsp

          i'll try version 2.77.3 now and see

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

            @ospfeigrp Which version of g++ are you using?

            To be clear, is it this action that is causing your crash?

            Peek 2025-03-23 20-19.gif

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

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

              @d-healey yes that's exactly the problem. only on change it crashes to desktop

              g++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
              
              d.healeyD 1 Reply Last reply Reply Quote 0
              • d.healeyD
                d.healey @ospfeigrp
                last edited by

                @ospfeigrp I'm using 11.5 but I don't think that would make a difference. In my gif those test files just contain the default faust code added by HISE when you create a new .dsp file. Do you get the crash under those circumstances?

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

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

                  @d-healey

                  ok so it wont let me create a new file either same llvm error

                  Screencast from 2025-03-23 20-35-58.webm

                  just tried

                  sudo ldconfig
                  

                  and compilling again

                  1 Reply Last reply Reply Quote 0
                  • S
                    sletz
                    last edited by

                    /usr/lib/llvm-13/
                    

                    this LLVM version is too old: use at least LLVM 15.

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

                      @sletz said in faust segfaults on zorin 17 based off ubuntu os:

                      this LLVM version is too old: use at least LLVM 15.

                      I have llvm 13, 14, and 16, so try one of those.

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

                      ospfeigrpO 1 Reply Last reply Reply Quote 1
                      • ospfeigrpO
                        ospfeigrp @d.healey
                        last edited by

                        @d-healey @sletz Thanks for the help it works as normal now

                        FAUST Version 2.77.3
                        Embedded backends: 
                           DSP to C
                           DSP to C++
                           DSP to Cmajor
                           DSP to Codebox
                           DSP to CSharp
                           DSP to DLang
                           DSP to FIR
                           DSP to Interpreter
                           DSP to Java
                           DSP to JAX
                           DSP to Julia
                           DSP to JSFX
                           DSP to LLVM IR
                           DSP to old C++
                           DSP to Rust
                           DSP to SDF3
                           DSP to VHDL
                           DSP to WebAssembly (wast/wasm)
                        Build with LLVM version 15.0.7
                        Copyright (C) 2002-2024, GRAME - Centre National de Creation Musicale. All rights reserved. 
                        

                        and you right 15 is the minimum llvm

                        1 Reply Last reply Reply Quote 1
                        • S
                          sletz
                          last edited by

                          The lastest release is Faust 2.79.3, see https://github.com/grame-cncm/faust/releases

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

                          32

                          Online

                          1.7k

                          Users

                          11.7k

                          Topics

                          102.0k

                          Posts