#20128: QEPCAD crashes after a few calls
--------------------------+-----------------------------------
   Reporter:  yzh         |            Owner:
       Type:  defect      |           Status:  new
   Priority:  major       |        Milestone:  sage-7.1
  Component:  interfaces  |         Keywords:  QEPCAD, pexpect
  Merged in:              |          Authors:
  Reviewers:              |  Report Upstream:  N/A
Work issues:              |           Branch:
     Commit:              |     Dependencies:
   Stopgaps:              |
--------------------------+-----------------------------------
 Use qepcad to simplify formulas. It works fine on the following simple
 input.
 {{{
 sage: x, y = var('x,y')
 sage: ellipse = 3*x^2 + 2*x*y + y^2 - x + y - 7
 sage: circle = x^2 + y^2 - 3
 sage: qe = qepcad([ellipse < 0, circle < 0])
 sage: qe
 y^2 + 2 x y + y + 3 x^2 - x - 7 < 0 /\ y^2 + x^2 - 3 < 0
 }}}
 However, calling qepcad a few times causes a crash.
 {{{
 sage: qe = qepcad([ellipse < 0, circle < 0])
 sage: for i in range(200):
 ....:     qe = qepcad([ellipse < 0, circle < 0])
 OSError: [Errno 35] Resource temporarily unavailable
 }}}
 One gets the following similar error if `interact=True` option is used.
 {{{
 RuntimeError: unable to start QEPCAD because the command
 'env qe=/Users/yzh/sage/local qepcad' failed:
 Pexpect: pty.fork() failed: [Errno 35] Resource temporarily unavailable
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/20128>
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 https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to