grame-cncm / faust

Functional programming language for signal processing and sound synthesis
http://faust.grame.fr
Other
2.54k stars 319 forks source link

Compiler crash when slider name is a keyword. #991

Closed magnetophon closed 8 months ago

magnetophon commented 8 months ago

When I compile the following program, I get a crash.

process = 
hslider("pow", 1, 0.001, 10, 0.001);

Here is the stacktrace:

                        start L2 simplification
ASSERT : please report this message, the stack trace, and the failing DSP file to Faust developers (file: powprim.hh, line: 85, version: 2.69.3, options: -lang cpp -ct 1 -es 1 -mcd 16 -single -ftz 0 )
====== stack trace start ======
faust() [0x5a1212]
faust() [0x697fd2]
faust() [0x7e5e12]
faust() [0x7e699c]
faust() [0x7e6964]
faust() [0x7e6964]
faust() [0x7e6964]
faust() [0x7e6a9a]
faust() [0x7e414f]
faust() [0x65f0c1]
faust() [0x65fbaf]
faust() [0x6c1779]
faust() [0x6c3f8c]
/nix/store/9y8pmvk8gdwwznmkzxa6pwyah52xy3nk-glibc-2.38-27/lib/libc.so.6(+0x8b084) [0x7f1e3f060084]
/nix/store/9y8pmvk8gdwwznmkzxa6pwyah52xy3nk-glibc-2.38-27/lib/libc.so.6(+0x10d60c) [0x7f1e3f0e260c]
====== stack trace stop ======

Similar crashes happen with other keywords. I'm running FAUST Version 2.69.3.

sletz commented 8 months ago

Known problem, the name of primitive cannot be use in UI items (should now crash of course but well...)