#12985: Possible future issues with ECL build with unicode enabled
------------------------------------------------------------------+---------
       Reporter:  pcpa                                            |         
Owner:  was            
           Type:  enhancement                                     |        
Status:  needs_review   
       Priority:  minor                                           |     
Milestone:  sage-5.3       
      Component:  interfaces                                      |    
Resolution:                 
       Keywords:                                                  |   Work 
issues:                 
Report Upstream:  Reported upstream. Developers deny it's a bug.  |     
Reviewers:  François Bissey
        Authors:  Paulo César Pereira de Andradet                 |     Merged 
in:                 
   Dependencies:                                                  |      
Stopgaps:                 
------------------------------------------------------------------+---------

Comment (by pcpa):

 I noticed later I submitted a patch with tabs instead of spaces in a few
 places but left it as an exercise for the reader to correct :-)

 It appears to work in my current Fedora build

 {{{
 $ rpm -q sagemath ecl
 sagemath-5.2-1.fc18.x86_64
 ecl-12.2.1-4.fc18.x86_64
 }}}
 Running it I see:

 {{{
 $ sage -t -long -force_lib "devel/sage/sage/libs/ecl.pyx"
 sage -t -long -force_lib "devel/sage/sage/libs/ecl.pyx"
 **********************************************************************
 File "/usr/share/sagemath/devel/sage/sage/libs/ecl.pyx", line 247:
     sage: inf_loop()
 Expected:
     Traceback (most recent call last):
     ...
     RuntimeError: ECL says: Console interrupt
 Got:
     Traceback (most recent call last):
       File "/usr/share/sagemath/local/bin/ncadoctest.py", line 1231, in
 run_one_test
         self.run_one_example(test, example, filename, compileflags)
       File "/usr/share/sagemath/local/bin/sagedoctest.py", line 38, in
 run_one_example
         OrigDocTestRunner.run_one_example(self, test, example, filename,
 compileflags)
       File "/usr/share/sagemath/local/bin/ncadoctest.py", line 1172, in
 run_one_example
         compileflags, 1) in test.globs
       File "<doctest __main__.example_6[7]>", line 1, in <module>
         inf_loop()###line 247:
     sage: inf_loop()
       File "ecl.pyx", line 712, in sage.libs.ecl.EclObject.__call__
 (sage/libs/ecl.c:5042)
       File "ecl.pyx", line 285, in sage.libs.ecl.ecl_safe_apply
 (sage/libs/ecl.c:3047)
     RuntimeError: ECL says: Console interrupt.
 **********************************************************************
 1 items had failures:
    1 of   9 in __main__.example_6
 ***Test Failed*** 1 failures.
 For whitespace errors, see the file /home/pcpa/.sage/tmp/ecl_1962.py
          [7.1 s]

 ----------------------------------------------------------------------
 The following tests failed:


         sage -t -long -force_lib "devel/sage/sage/libs/ecl.pyx"
 Total time for all tests: 7.2 seconds
 }}}
 Also takes 2.8s in the second run...

 I suspect it should be ecl-2.7.1, but there may be a few other variables
 involving gc and glibc version.

 I did not look at ecl-2.7.1 yet, but maybe need a patch equivalent to

 
http://pkgs.fedoraproject.org/cgit/ecl.git/tree/ecl-12.2.1-signal_handling_thread.patch

 Should not be required as sagemath should already have an equivalent
 patch, and the above patch was required to make maxima ecl backend not
 hang.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12985#comment:13>
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