faust icon indicating copy to clipboard operation
faust copied to clipboard

FPE_remNode

Open qhjchc opened this issue 3 years ago • 0 comments

System info

Ubuntu 16.04 xenial, gcc (Ubuntu 5.5.0-12ubuntu1), faust (latest master fa15b59)

Command line

faust -lang ocpp -e -lcc -exp10 -lb -rb -mem -sd @@

AddressSanitizer Output

ASAN:DEADLYSIGNAL
=================================================================
==27397==ERROR: AddressSanitizer: FPE on unknown address 0x55da4e1b6f7a (pc 0x55da4e1b6f7a bp 0x7fb2dc3efbf0 sp 0x7fb2dc3ef990 T1)
    #0 0x55da4e1b6f79 in remNode(Node const&, Node const&) (../results/crashes/faust/faust-asan+0x9abf79)
    #1 0x55da4e0ba946 in BinOp::compute(Node const&, Node const&) (../results/crashes/faust/faust-asan+0x8af946)
    #2 0x55da4e0a9941 in simplification(CTree*) (../results/crashes/faust/faust-asan+0x89e941)
    #3 0x55da4e0a8de6 in traced_simplification(CTree*) (../results/crashes/faust/faust-asan+0x89dde6)
    #4 0x55da4e0ab0ed in sigMap(CTree*, CTree* (*)(CTree*), CTree*) (../results/crashes/faust/faust-asan+0x8a00ed)
    #5 0x55da4e0a9062 in simplify(CTree*) (../results/crashes/faust/faust-asan+0x89e062)
    #6 0x55da4e19083d in realPropagate(CTree*, CTree*, CTree*, std::vector<CTree*, std::allocator<CTree*> > const&) (../results/crashes/faust/faust-asan+0x98583d)
    #7 0x55da4e18d124 in propagate(CTree*, CTree*, CTree*, std::vector<CTree*, std::allocator<CTree*> > const&) (../results/crashes/faust/faust-asan+0x982124)
    #8 0x55da4e1977c8 in boxPropagateSig(CTree*, CTree*, std::vector<CTree*, std::allocator<CTree*> > const&) (../results/crashes/faust/faust-asan+0x98c7c8)
    #9 0x55da4dc81971 in realeval(CTree*, CTree*, CTree*) (../results/crashes/faust/faust-asan+0x476971)
    #10 0x55da4dc80ab8 in eval(CTree*, CTree*, CTree*) (../results/crashes/faust/faust-asan+0x475ab8)
    #11 0x55da4dc81aae in realeval(CTree*, CTree*, CTree*) (../results/crashes/faust/faust-asan+0x476aae)
    #12 0x55da4dc80ab8 in eval(CTree*, CTree*, CTree*) (../results/crashes/faust/faust-asan+0x475ab8)
    #13 0x55da4dc817d7 in realeval(CTree*, CTree*, CTree*) (../results/crashes/faust/faust-asan+0x4767d7)
    #14 0x55da4dc80ab8 in eval(CTree*, CTree*, CTree*) (../results/crashes/faust/faust-asan+0x475ab8)
    #15 0x55da4dc81822 in realeval(CTree*, CTree*, CTree*) (../results/crashes/faust/faust-asan+0x476822)
    #16 0x55da4dc80ab8 in eval(CTree*, CTree*, CTree*) (../results/crashes/faust/faust-asan+0x475ab8)
    #17 0x55da4dc8b9d9 in revEvalList(CTree*, CTree*, CTree*) (../results/crashes/faust/faust-asan+0x4809d9)
    #18 0x55da4dc84432 in realeval(CTree*, CTree*, CTree*) (../results/crashes/faust/faust-asan+0x479432)
    #19 0x55da4dc80ab8 in eval(CTree*, CTree*, CTree*) (../results/crashes/faust/faust-asan+0x475ab8)
    #20 0x55da4dc848fc in realeval(CTree*, CTree*, CTree*) (../results/crashes/faust/faust-asan+0x4798fc)
    #21 0x55da4dc80ab8 in eval(CTree*, CTree*, CTree*) (../results/crashes/faust/faust-asan+0x475ab8)
    #22 0x55da4dc8c2a5 in evalIdDef(CTree*, CTree*, CTree*) (../results/crashes/faust/faust-asan+0x4812a5)
    #23 0x55da4dc842bf in realeval(CTree*, CTree*, CTree*) (../results/crashes/faust/faust-asan+0x4792bf)
    #24 0x55da4dc80ab8 in eval(CTree*, CTree*, CTree*) (../results/crashes/faust/faust-asan+0x475ab8)
    #25 0x55da4dc7ef32 in evalprocess(CTree*) (../results/crashes/faust/faust-asan+0x473f32)
    #26 0x55da4e03b8ad in evaluateBlockDiagram(CTree*, int&, int&) (../results/crashes/faust/faust-asan+0x8308ad)
    #27 0x55da4e02e864 in threadEvaluateBlockDiagram(void*) (../results/crashes/faust/faust-asan+0x823864)
    #28 0x7fb2e01bd6da in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x76da)
    #29 0x7fb2df5a7a3e in __clone (/lib/x86_64-linux-gnu/libc.so.6+0x121a3e)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: FPE (../results/crashes/faust/faust-asan+0x9abf79) in remNode(Node const&, Node const&)
Thread T1 created by T0 here:
    #0 0x7fb2e040cd2f in __interceptor_pthread_create (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x37d2f)
    #1 0x55da4e02e495 in callFun(void* (*)(void*)) (../results/crashes/faust/faust-asan+0x823495)
    #2 0x55da4e043ba6 in compileFactoryAux(int, char const**, char const*, char const*, bool) (../results/crashes/faust/faust-asan+0x838ba6)
    #3 0x55da4e0451e9 in compileFactory(int, char const**, char const*, char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, bool) (../results/crashes/faust/faust-asan+0x83a1e9)
    #4 0x55da4e0591f4 in main (../results/crashes/faust/faust-asan+0x84e1f4)
    #5 0x7fb2df4a7b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

==27397==ABORTING

POC

FPE_remNode.zip

qhjchc avatar Oct 04 '21 13:10 qhjchc