On Monday, October 1, 2012 4:19:47 PM UTC+2, Georgi Guninski wrote:
>
> import mpmath 
> mpmath.mp.pretty=True 
> mpmath.mp.dps=30 
> def F(x): 
>         return mpmath.zeta(x)+mpmath.zeta(x,derivative=1) 
>
> r=mpmath.findroot(F,[0.1+mpmath.j],solver="muller") 
>
> ==== 
> Unhandled SIGSEGV: A segmentation fault occurred in Sage. 
> This probably occurred because a *compiled* component of Sage has a bug 
> in it and is not properly wrapped with sig_on(), sig_off(). You might 
> want to run Sage under gdb with 'sage -gdb' to debug this. 
> Sage will now terminate. 
> ===== 
>

I have (hopefully) fixed the the crash in mpmath-git.

You still have a problem with your code: the root finder doesn't seem to be 
converging, so the evaluation points ends up far out in the complex plane. 
If it doesn't crash, it's still fairly soon going to take extremely long 
time or run out of memory. I would add a line to F to raise an exception if 
x doesn't look sane.

Fredrik

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To post to this group, send email to sage-support@googlegroups.com.
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support?hl=en.


Reply via email to