#13211: Upgrade GAP to 4.5.6
-----------------------------------------------------------+----------------
       Reporter:  kini                                     |         Owner:  
tbd              
           Type:  enhancement                              |        Status:  
needs_work       
       Priority:  major                                    |     Milestone:  
sage-5.5         
      Component:  packages                                 |    Resolution:     
              
       Keywords:  orphaned processes                       |   Work issues:     
              
Report Upstream:  Completely fixed; Fix reported upstream  |     Reviewers:  
Dmitrii Pasechnik
        Authors:  Volker Braun                             |     Merged in:     
              
   Dependencies:  #13123, #13579                           |      Stopgaps:     
              
-----------------------------------------------------------+----------------

Comment (by jdemeyer):

 When running Sage '''interactively''' (as opposed to `sage -c`), `gap`
 gets closed properly because it gets sent {{{"quit;\n"}}}
 {{{
 write(4, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\201\20\0\0\0\0"...,
 91115) = 91115
 close(4)                                = 0
 write(1, "@n", 2)                       = 2
 write(1, "true@J", 6)                   = 6
 getrusage(RUSAGE_SELF, {ru_utime={2, 790000}, ru_stime={0, 170000}, ...})
 = 0
 getrusage(RUSAGE_SELF, {ru_utime={2, 790000}, ru_stime={0, 170000}, ...})
 = 0
 write(1, "@n", 2)                       = 2
 write(1, "gap> ", 5)                    = 5
 write(1, "@i", 2)                       = 2
 getrusage(RUSAGE_SELF, {ru_utime={2, 790000}, ru_stime={0, 170000}, ...})
 = 0
 read(0, "q", 1)                         = 1
 write(1, "q", 1)                        = 1
 read(0, "u", 1)                         = 1
 write(1, "u", 1)                        = 1
 read(0, "i", 1)                         = 1
 write(1, "i", 1)                        = 1
 read(0, "t", 1)                         = 1
 write(1, "t", 1)                        = 1
 read(0, ";", 1)                         = 1
 write(1, ";", 1)                        = 1
 read(0, "\n", 1)                        = 1
 write(1, "\r", 1)                       = 1
 write(1, "\n", 1)                       = 1
 write(1, "@r", 2)                       = 2
 write(1, "quit;@J", 7)                  = 7
 getrusage(RUSAGE_SELF, {ru_utime={2, 790000}, ru_stime={0, 170000}, ...})
 = 0
 read(3, "", 20000)                      = 0
 close(3)                                = 0
 exit_group(0)                           = ?
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13211#comment:121>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to