[GiNaC-list] Crash Ginsh when trying to solve equation involving integral numerically

Joerg Arndt arndt at jjj.de
Tue Aug 17 12:30:08 CEST 2010


* Ernst Moritz Hahn <emh at cs.uni-sb.de> [Aug 17. 2010 09:46]:
> Hi,
> 
> I tried to solve an equation numerically, using Ginsh from the git
> repository. When entering
> 
>   fsolve((1/(sqrt(2*Pi)))*integral(t,0,x,exp(-1/2*t^2))==0.5,x,0,100)
> 
> into Ginsh, it crashes, see below. I got the same problem with the
> version shipped with the latest stable Ubuntu Linux.
> [...]

I can reproduces this.

AMD64
openSUSE 11.3
gcc version 4.5.0 20100604 [gcc-4_5-branch revision 160292] (SUSE Linux) 

gmp-5.0.1
cln-1.3.1
ginac-1.5.8

Type ?? for a list of help topics.
>  fsolve((1/(sqrt(2*Pi)))*integral(t,0,x,exp(-1/2*t^2))==0.5,x,0,100)
*** glibc detected *** ginsh: malloc(): memory corruption (fast): 0x000000000071517f ***
======= Backtrace: =========
[etc.]




More information about the GiNaC-list mailing list