faust icon indicating copy to clipboard operation
faust copied to clipboard

FPE_divExtendedNode

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
=================================================================
==27976==ERROR: AddressSanitizer: FPE on unknown address 0x56130f40697b (pc 0x56130f40697b bp 0x7f9b53fee2a0 sp 0x7f9b53fee030 T1)
    #0 0x56130f40697a in divExtendedNode(Node const&, Node const&) (../results/crashes/faust/faust-asan+0x9ab97a)
    #1 0x56130f30a946 in BinOp::compute(Node const&, Node const&) (../results/crashes/faust/faust-asan+0x8af946)
    #2 0x56130f2f9941 in simplification(CTree*) (../results/crashes/faust/faust-asan+0x89e941)
    #3 0x56130f2f8de6 in traced_simplification(CTree*) (../results/crashes/faust/faust-asan+0x89dde6)
    #4 0x56130f2fb0ed in sigMap(CTree*, CTree* (*)(CTree*), CTree*) (../results/crashes/faust/faust-asan+0x8a00ed)
    #5 0x56130f2f9062 in simplify(CTree*) (../results/crashes/faust/faust-asan+0x89e062)
    #6 0x56130f3e083d in realPropagate(CTree*, CTree*, CTree*, std::vector<CTree*, std::allocator<CTree*> > const&) (../results/crashes/faust/faust-asan+0x98583d)
    #7 0x56130f3dd124 in propagate(CTree*, CTree*, CTree*, std::vector<CTree*, std::allocator<CTree*> > const&) (../results/crashes/faust/faust-asan+0x982124)
    #8 0x56130f3e77c8 in boxPropagateSig(CTree*, CTree*, std::vector<CTree*, std::allocator<CTree*> > const&) (../results/crashes/faust/faust-asan+0x98c7c8)
    #9 0x56130eed1971 in realeval(CTree*, CTree*, CTree*) (../results/crashes/faust/faust-asan+0x476971)
    #10 0x56130eed0ab8 in eval(CTree*, CTree*, CTree*) (../results/crashes/faust/faust-asan+0x475ab8)
    #11 0x56130eed1af5 in realeval(CTree*, CTree*, CTree*) (../results/crashes/faust/faust-asan+0x476af5)
    #12 0x56130eed0ab8 in eval(CTree*, CTree*, CTree*) (../results/crashes/faust/faust-asan+0x475ab8)
    #13 0x56130eed17d7 in realeval(CTree*, CTree*, CTree*) (../results/crashes/faust/faust-asan+0x4767d7)
    #14 0x56130eed0ab8 in eval(CTree*, CTree*, CTree*) (../results/crashes/faust/faust-asan+0x475ab8)
    #15 0x56130eed1af5 in realeval(CTree*, CTree*, CTree*) (../results/crashes/faust/faust-asan+0x476af5)
    #16 0x56130eed0ab8 in eval(CTree*, CTree*, CTree*) (../results/crashes/faust/faust-asan+0x475ab8)
    #17 0x56130eed17d7 in realeval(CTree*, CTree*, CTree*) (../results/crashes/faust/faust-asan+0x4767d7)
    #18 0x56130eed0ab8 in eval(CTree*, CTree*, CTree*) (../results/crashes/faust/faust-asan+0x475ab8)
    #19 0x56130eedb9d9 in revEvalList(CTree*, CTree*, CTree*) (../results/crashes/faust/faust-asan+0x4809d9)
    #20 0x56130eed4432 in realeval(CTree*, CTree*, CTree*) (../results/crashes/faust/faust-asan+0x479432)
    #21 0x56130eed0ab8 in eval(CTree*, CTree*, CTree*) (../results/crashes/faust/faust-asan+0x475ab8)
    #22 0x56130eed48fc in realeval(CTree*, CTree*, CTree*) (../results/crashes/faust/faust-asan+0x4798fc)
    #23 0x56130eed0ab8 in eval(CTree*, CTree*, CTree*) (../results/crashes/faust/faust-asan+0x475ab8)
    #24 0x56130eedc2a5 in evalIdDef(CTree*, CTree*, CTree*) (../results/crashes/faust/faust-asan+0x4812a5)
    #25 0x56130eed42bf in realeval(CTree*, CTree*, CTree*) (../results/crashes/faust/faust-asan+0x4792bf)
    #26 0x56130eed0ab8 in eval(CTree*, CTree*, CTree*) (../results/crashes/faust/faust-asan+0x475ab8)
    #27 0x56130eecef32 in evalprocess(CTree*) (../results/crashes/faust/faust-asan+0x473f32)
    #28 0x56130f28b8ad in evaluateBlockDiagram(CTree*, int&, int&) (../results/crashes/faust/faust-asan+0x8308ad)
    #29 0x56130f27e864 in threadEvaluateBlockDiagram(void*) (../results/crashes/faust/faust-asan+0x823864)
    #30 0x7f9b57da76da in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x76da)
    #31 0x7f9b57191a3e 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+0x9ab97a) in divExtendedNode(Node const&, Node const&)
Thread T1 created by T0 here:
    #0 0x7f9b57ff6d2f in __interceptor_pthread_create (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x37d2f)
    #1 0x56130f27e495 in callFun(void* (*)(void*)) (../results/crashes/faust/faust-asan+0x823495)
    #2 0x56130f293ba6 in compileFactoryAux(int, char const**, char const*, char const*, bool) (../results/crashes/faust/faust-asan+0x838ba6)
    #3 0x56130f2951e9 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 0x56130f2a91f4 in main (../results/crashes/faust/faust-asan+0x84e1f4)
    #5 0x7f9b57091b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

==27976==ABORTING

POC

FPE_divExtendedNode.zip

qhjchc avatar Oct 04 '21 13:10 qhjchc