#18210: Symbolic computation of Gamma related function crashes Sage
-----------------------------+----------------------------
   Reporter:  VivianePons    |            Owner:
       Type:  PLEASE CHANGE  |           Status:  new
   Priority:  major          |        Milestone:  sage-6.7
  Component:  symbolics      |         Keywords:  sd67
  Merged in:                 |          Authors:
  Reviewers:                 |  Report Upstream:  N/A
Work issues:                 |           Branch:
     Commit:                 |     Dependencies:
   Stopgaps:                 |
-----------------------------+----------------------------
 The following code:


 {{{
 sage: var('R k')
 (R, k)
 sage: integrated = -(gamma(1/2*k, 1/2*R*k) - gamma(1/2*k))/gamma(1/2*k)
 sage: plot(integrated.subs(k=41), (R,0,6))
 }}}

 gives a Seg fault error and crashes Sage entirely:

  line 134:  4216 Segmentation fault      (core dumped)

 I believe it comes from the symbolic computation because the following
 code is working:


 {{{
 sage: var('R k')
 (R, k)
 sage: integrated = -(gamma(1/2*k, 1/2*R*k) - gamma(1/2*k))/gamma(1/2*k)
 sage: plot(integrated.subs(k=41.), (R,0,6))
 }}}

 (Note the 41. instead of 41)

 I have no idea where this comes from but it's really bad, because whatever
 is going wrong, crashing Sage is bad!

--
Ticket URL: <http://trac.sagemath.org/ticket/18210>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to