#12103: Use MeatAxe as an optional back end for dense matrices over `GF(p^n)`, p
odd, n>1, `p^n<255`
-------------------------------------+-------------------------------------
Reporter: SimonKing | Owner: jason, was
Type: defect | Status: needs_work
Priority: major | Milestone: sage-6.4
Component: packages: | Resolution:
experimental | Merged in:
Keywords: linear algebra, | Reviewers:
MeatAxe | Work issues:
Authors: Simon King | Commit:
Report Upstream: None of the above | 191477e697d5fb02c0e6bf7f8b80850e1092d4f6
- read trac for reasoning. | Stopgaps:
Branch: |
u/SimonKing/meataxe |
Dependencies: #19240 |
-------------------------------------+-------------------------------------
Comment (by SimonKing):
I think it is the default error handler doing the following:
{{{
#!C
static void DefaultHandler(const MtxErrorRecord_t *e)
{
static int count = 0;
if (LogFile == NULL)
LogFile = stderr;
if (e->FileInfo != NULL)
fprintf(LogFile,"%s(%d):",e->FileInfo->BaseName,e->LineNo);
fprintf(LogFile,"%s\n",e->Text);
if (--count <= 0)
exit(255);
}
}}}
Apparently Sage's sig_on()/sig_off() cannot deal with the line
`exit(255);`, right?
So, should I patch the default error handler, making it signal something
that sig_on()/off() can deal with? What would that be?
Or perhaps I know something better: I think the usual !MeatAxe binaries
could very well keep using the current error handler. However, in my
wrapper, I could instead define a new error handler and set it with
`MtxSetErrorHandler`.
--
Ticket URL: <http://trac.sagemath.org/ticket/12103#comment:116>
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 http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.