#7377: Symbolic Ring to Maxima via EclObject
-----------------------------------------------------------------------+----
Reporter: nbruin |
Owner: nbruin
Type: enhancement |
Status: needs_work
Priority: major |
Milestone: sage-feature
Component: symbolics |
Keywords:
Author: Nils Bruin, Jean-Pierre Flori |
Upstream: N/A
Reviewer: Jean-Pierre Flori, François Bissey, Karl-Dieter Crisman |
Merged:
Work_issues: |
-----------------------------------------------------------------------+----
Comment(by nbruin):
Replying to [comment:55 fbissey]:
> But I also get a lot of SIGFPE all over the place from seemingly
unrelated components
ECL does normally install SIG handlers, but we try to put them back (at
the time Juanjo said this should be basically safe). The responsible code
is in {{{sage.libs.ecl.init_ecl()}}},
{{{sage/libs/ecl.pyx:131}}}.
{{{
#get all the signal handlers (does any system have signal numbers
above 32?)
for i in range(1,33):
sigaction(i,NULL,&(act[i]))
#initialize ECL
cl_boot(0, argv)
#and put the signal handlers back
for i in range(1,33):
sigaction(i,&(act[i]),NULL)
}}}
To see if this is the culprit, take a pristine sage and ensure that
sage.libs.ecl_init() gets called upon initialization (i.e., insert a call
into some module to ensure this gets called. Normally it doesn't)
Now run the SIGFPE producing doctests. Do they offend again? Perhaps you
can improve ecllib's initialization?
Other things to watch out for:
- Your Boehm-Weiser GC might be built with different options
- Make sure that ecl.so links against the same MPIR/GMP library. Having
two GMPs hang around will definitely wreak havoc.
(I think I saw the pickling error too. Some gherkin expert can probably
easily pinpoint what's wrong and how to fix it)
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7377#comment:56>
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.