GDB suggests some infinite recursion. The last few lines of the backtrace:
Code:
#16016 0x00007fd53f57bb94 in giac::is_algebraic_program(giac::gen const&, giac::gen&, giac::gen&) () from /usr/lib/libgiac.so.0
#16017 0x00007fd53febff25 in giac::gen::operator()(giac::gen const&, giac::gen const&, giac::context const*) const () from /usr/lib/libgiac.so.0
#16018 0x00007fd53fec0336 in giac::gen::operator()(giac::gen const&, giac::context const*) const () from /usr/lib/libgiac.so.0
#16019 0x00007fd53f57bb94 in giac::is_algebraic_program(giac::gen const&, giac::gen&, giac::gen&) () from /usr/lib/libgiac.so.0
#16020 0x00007fd53febff25 in giac::gen::operator()(giac::gen const&, giac::gen const&, giac::context const*) const () from /usr/lib/libgiac.so.0
#16021 0x00007fd53fec0336 in giac::gen::operator()(giac::gen const&, giac::context const*) const () from /usr/lib/libgiac.so.0
#16022 0x00007fd53f57bb94 in giac::is_algebraic_program(giac::gen const&, giac::gen&, giac::gen&) () from /usr/lib/libgiac.so.0
#16023 0x00007fd53febff25 in giac::gen::operator()(giac::gen const&, giac::gen const&, giac::context const*) const () from /usr/lib/libgiac.so.0
#16024 0x00007fd53fec0336 in giac::gen::operator()(giac::gen const&, giac::context const*) const () from /usr/lib/libgiac.so.0
#16025 0x00007fd53f57bb94 in giac::is_algebraic_program(giac::gen const&, giac::gen&, giac::gen&) () from /usr/lib/libgiac.so.0
#16026 0x00007fd53febff25 in giac::gen::operator()(giac::gen const&, giac::gen const&, giac::context const*) const () from /usr/lib/libgiac.so.0
#16027 0x00007fd53fec0336 in giac::gen::operator()(giac::gen const&, giac::context const*) const () from /usr/lib/libgiac.so.0
#16028 0x00007fd53f57bb94 in giac::is_algebraic_program(giac::gen const&, giac::gen&, giac::gen&) () from /usr/lib/libgiac.so.0
#16029 0x00007fd53febff25 in giac::gen::operator()(giac::gen const&, giac::gen const&, giac::context const*) const () from /usr/lib/libgiac.so.0
#16030 0x00007fd53fec0336 in giac::gen::operator()(giac::gen const&, giac::context const*) const () from /usr/lib/libgiac.so.0
#16031 0x00007fd53f57bb94 in giac::is_algebraic_program(giac::gen const&, giac::gen&, giac::gen&) () from /usr/lib/libgiac.so.0
#16032 0x00007fd53febff25 in giac::gen::operator()(giac::gen const&, giac::gen const&, giac::context const*) const () from /usr/lib/libgiac.so.0
#16033 0x00007fd53fec0336 in giac::gen::operator()(giac::gen const&, giac::context const*) const () from /usr/lib/libgiac.so.0
#16034 0x00007fd53f57bb94 in giac::is_algebraic_program(giac::gen const&, giac::gen&, giac::gen&) () from /usr/lib/libgiac.so.0
#16035 0x00007fd53febff25 in giac::gen::operator()(giac::gen const&, giac::gen const&, giac::context const*) const () from /usr/lib/libgiac.so.0
#16036 0x00007fd53fec0336 in giac::gen::operator()(giac::gen const&, giac::context const*) const () from /usr/lib/libgiac.so.0
#16037 0x00007fd53fe04c32 in giac::_of(giac::gen const&, giac::context const*) () from /usr/lib/libgiac.so.0
#16038 0x00007fd53fdff050 in giac::unary_function_eval::operator()(giac::gen const&, giac::context const*) const () from /usr/lib/libgiac.so.0
#16039 0x00007fd53fed7e3d in giac::gen::in_eval(int, giac::gen&, giac::context const*) const () from /usr/lib/libgiac.so.0
#16040 0x00007fd53f86513d in giac::symbolic::eval(int, giac::context const*) const () from /usr/lib/libgiac.so.0
#16041 0x00007fd53fed7a8a in giac::gen::in_eval(int, giac::gen&, giac::context const*) const () from /usr/lib/libgiac.so.0
#16042 0x00007fd53fed809d in giac::gen::eval(int, giac::context const*) const () from /usr/lib/libgiac.so.0
#16043 0x00007fd53fd6a5dd in giac::protecteval(giac::gen const&, int, giac::context const*) () from /usr/lib/libgiac.so.0
#16044 0x00007fd53fb33683 in ?? () from /usr/lib/libgiac.so.0
#16045 0x00007fd53d6a9e9a in start_thread (arg=0x7fd531df1700) at pthread_create.c:308
#16046 0x00007fd53ac2f2ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112