fuzzylogician / gmpy

Automatically exported from code.google.com/p/gmpy
GNU Lesser General Public License v3.0
0 stars 0 forks source link

Segmentation fault on gmpy2.mpfr(1)+0.5 #65

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
>>> gmpy2.mpfr(1)+0.5
Segmentation fault (core dumped)

Workaround:
>>> gmpy2.mpfr(1)+gmpy2.mpfr(0.5)
mpfr('1.5',3000)

What version of the product are you using? On what operating system?
gmpy2-2.0.0b2
gmp-5.0.5
mpc-1.0.1
mpfr-3.1.1
Linux dev2-MDAL 3.2.0-34-generic #53-Ubuntu SMP Thu Nov 15 10:48:16 UTC 2012 
x86_64 x86_64 x86_64 GNU/Linux

Original issue reported on code.google.com by erwan.ha...@gmail.com on 11 Dec 2012 at 2:39

GoogleCodeExporter commented 8 years ago
Thanks for the report. I've fixed it in the source repository. The fix is in 
r742. Can you test it?

Original comment by casevh on 12 Dec 2012 at 2:40

GoogleCodeExporter commented 8 years ago
Problem solved.
Well done ! Thx a lot !

Original comment by erwan.ha...@gmail.com on 12 Dec 2012 at 12:45

GoogleCodeExporter commented 8 years ago
This fix is included in the beta3 release.

Original comment by casevh on 14 Dec 2012 at 7:17