#19845: Random failure in libGAP on ppc64le
---------------------------+----------------------------
   Reporter:  jdemeyer     |            Owner:
       Type:  enhancement  |           Status:  new
   Priority:  major        |        Milestone:  sage-7.0
  Component:  porting      |         Keywords:
  Merged in:               |          Authors:
  Reviewers:               |  Report Upstream:  N/A
Work issues:               |           Branch:
     Commit:               |     Dependencies:
   Stopgaps:               |
---------------------------+----------------------------
 Sometimes a "bad exit 2" happens on ppc64le due to this:
 {{{
 #!c
 /* src/saveload.c:127 */
 libGAP_UInt1 libGAP_LOAD_BYTE_BUF( void )
 {
   libGAP_Int ret;
   ret = read(libGAP_syBuf[libGAP_LoadFile].fp, libGAP_LoadBuffer, 100000);
   if (ret <= 0)
     {
       libGAP_Pr(libGAP_LoadByteErrorMessage, 0L, 0L );
       libGAP_SyExit(2);  /* <------------------------- EXIT HERE */
     }
   libGAP_LBEnd = libGAP_LoadBuffer + ret;
   libGAP_LBPointer = libGAP_LoadBuffer;
   return *libGAP_LBPointer++;
 }
 }}}
 (I know it's this call to `libGAP_SyExit()` because I changed the exit
 codes to debug this)

 This happens for example like this:
 {{{
 sage -t --long --warn-long 92.8 src/sage/homology/simplicial_complex.py
     Bad exit: 2
 **********************************************************************
 Tests run before process (pid=88791) failed:
 sage: SimplicialComplex([[1], [3, 7]]) ## line 76 ##
 [...]
 sage: SimplicialComplex([[]]).connected_component() ## line 3119 ##
 sage: sig_on_count() # check sig_on/off pairings (virtual doctest) ## line
 3123 ##
 0
 sage: S1 = simplicial_complexes.Sphere(1) ## line 3162 ##
 sage: S1.fundamental_group() ## line 3163 ##

 **********************************************************************
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/19845>
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