[GiNaC-list] Goncharov polylog. leads to Segmentation Fault

Richard B. Kreckel kreckel at in.terlu.de
Fri Jul 24 20:54:38 CEST 2015


Hi Alexander,

On 07/23/2015 01:27 PM, Alexander Hasselhuhn wrote:
> when trying to evaluate G(I,sqrt(2)) I get "Segmentation fault", both in
> ginsh as well as in a program:
> --- begin code ---
> #include <ginac/ginac.h>
> using namespace GiNaC;
> int main () {
>         ex two = 2;
>         ex res = G (lst (I), sqrt(two));
>         return 0;
> }
> --- end code ---
> 
> Not sure whether this is a different issue, but if instead use try to
> evaluate G(I,1/sqrt(2)), I get the error-message from cln:
> --- begin output ---
> terminate called after throwing an instance of 'cln::notreached_exception'
>   what():  Internal error: statement in file float/conv/cl_F_from_RA.cc,
> line 27 has been reached!!
> Please send the authors of the program a description how you produced
> this error!
> Aborted
> --- end output ---
> 
> I'm using GiNaC v1.6.4 with cln v1.3.3 on OpenSuse 13.2. I compiled
> GiNaC with gcc v4.8.3.
> Does this happen on other machines also?

Indeed, there was a bug in GiNaC. A patch that fixes it was provided by
Stefan Weinzierl and applied to the repository.

Could you, please, check it out from git and confirm that it works for
your cases?

   -richard.
-- 
Richard B. Kreckel
<http://in.terlu.de/~kreckel/>


More information about the GiNaC-list mailing list