Hi Jean-Pierre,

On Wed, 1 Sep 2010 08:25:07 -0700 (PDT)
Jean-Pierre Flori <[email protected]> wrote:

> I'm using Sage to do some symbolic computations.
> What I am basically trying to do is to compute sums made of terms of
> the form :
> cst_{i_0,...,i_d)*b_0^{i_0}*...*b_d^{i_d}*2^{-b_0-...-b_d}
> where the b_i are variables
> (i.e. a product of an exponential with b_i in the exponent by a
> multivariate polynomial in b_i)
> using functions (especially symbolic_sum) from sage.calculus.calculus.
> I am regularly calling expand() and simplify() functions as well as
> some custom functions using substitute() to get a more compact
> expression and avoid redundant terms.
> Everything works fine as long as the sums are not too "complicated",
> but Sage segfaults when they become too big.
> Running Sage with the -gdb flag, gives different errors according to
> which of my functions I am calling, but both errors seem to be related
> to a "compare" function in Pynac (SIGSEGV or SIGBUS):
> 
> First error message :
> Program received signal SIGSEGV, Segmentation fault.
> GiNaC::power::compare (this=0x3281c20, other=...) at power.cpp:899
> 899     power.cpp: Aucun fichier ou dossier de ce type.
>         in power.cpp
> 
> Second error message :
> Program received signal SIGBUS, Bus error.
> GiNaC::mul::compare (this=0x83490e0, other=...) at mul.cpp:1174
> 1174    mul.cpp: Aucun fichier ou dossier de ce type.
>         in mul.cpp
> 
<snip>
> I didn't manage to reproduce the bug with a short and simple piece of
> code.
> However I can mail the source code and instructions to reproduce the
> bug to anyone who can help.
> I will also provide any information needed to investigate this
> problem.

Thanks for the report.

If you send me your example, I can take a look at it tomorrow.

Cheers,
Burcin

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to