[GiNaC-list] Crash with zeta({7, 3}), and performance difference with G(...)

Vitaly Magerya vmagerya at gmail.com
Wed May 22 15:11:19 CEST 2019


Note that G is not without fail itself:

     > evalf(G({1/2,1/2,1/2},1));
     -5.1677127800499700295*I
     > Digits=2000;
     2000
     > evalf(G({1/2,1/2,1/2},1));

     Program received signal SIGSEGV, Segmentation fault.
     0x00007ffff786c3ca in cln::operator*(cln::cl_N const&, cln::cl_N const&) () from /usr/lib/libcln.so.6
     (gdb) bt
     #0  0x00007ffff786c3ca in cln::operator*(cln::cl_N const&, cln::cl_N const&) () from /usr/lib/libcln.so.6
     #1  0x00005555556402c1 in GiNaC::(anonymous namespace)::crandall_Y_loop(cln::cl_N const&, std::vector<cln::cl_N, std::allocator<cln::cl_N> > const&) ()
     #2  0x0000555555658ab9 in GiNaC::zeta1_evalf(GiNaC::ex const&) ()
     #3  0x00005555555f5697 in GiNaC::function::evalf() const ()
     #4  0x00005555556920bd in GiNaC::mul::evalf() const ()
     #5  0x00005555555a4e71 in GiNaC::evalf_map_function::operator()(GiNaC::ex const&) ()
     #6  0x00005555555c7aa1 in GiNaC::expairseq::map(GiNaC::map_function&) const ()
     #7  0x00005555555a150e in GiNaC::basic::evalf() const ()
     #8  0x000055555565f346 in GiNaC::(anonymous namespace)::G_numeric(std::vector<cln::cl_N, std::allocator<cln::cl_N> > const&, std::vector<int, std::allocator<int> > const&, cln::cl_N const&) ()
     #9  0x000055555566429b in GiNaC::G2_evalf(GiNaC::ex const&, GiNaC::ex const&) ()
     #10 0x00005555555f5682 in GiNaC::function::evalf() const ()
     #11 0x0000555555586023 in f_evalf(GiNaC::container<std::vector> const&) ()
     #12 0x000055555558d7c7 in yyparse() ()
     #13 0x0000555555577087 in main ()
     (gdb)


More information about the GiNaC-list mailing list