faust segfaults on zorin 17 based off ubuntu os
-
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: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 -
@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
-
@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
-
@ospfeigrp Which version of g++ are you using?
To be clear, is it this action that is causing your crash?
-
@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
-
@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?
-
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
-
/usr/lib/llvm-13/
this LLVM version is too old: use at least LLVM 15.
-
@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.
-
@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
-
The lastest release is Faust 2.79.3, see https://github.com/grame-cncm/faust/releases