#11935: Make parent/element classes independent of base rings
-----------------------------------------------------------------+----------
Reporter: SimonKing |
Owner:
Type: enhancement |
Status: needs_review
Priority: major |
Milestone: sage-5.0
Component: categories |
Resolution:
Keywords: parent class, element class, category | Work
issues:
Report Upstream: N/A |
Reviewers:
Authors: Simon King | Merged
in:
Dependencies: #9138, #11900, #11943, #12875, #12876, #12877 |
Stopgaps:
-----------------------------------------------------------------+----------
Comment (by SimonKing):
Apart from the strange glibc problem (that is not reported at the end of
the test suite), I get one timeout, namely `sage -t --long -force_lib
devel/sage/sage/crypto/mq/mpolynomialsystem.py`.
Aha! And it turns out that the glibc comes from that test!! Here is what I
get in detail:
{{{
king@mpc622:/mnt/local/king/SAGE/stable/sage-5.0.beta13$ ./sage -t
--verbose -force_lib devel/sage/sage/crypto/mq/mpolynomialsystem.py
sage -t --verbose -force_lib
"devel/sage/sage/crypto/mq/mpolynomialsystem.py"
Trying:
set_random_seed(0L)
Expecting nothing
ok
Trying:
change_warning_output(sys.stdout)
Expecting nothing
ok
Trying:
sr =
mq.SR(Integer(2),Integer(1),Integer(2),Integer(4),gf2=True,polybori=True)###line
26:_sage_ >>> sr = mq.SR(2,1,2,4,gf2=True,polybori=True)
Expecting nothing
ok
Trying:
sr###line 27:_sage_ >>> sr
Expecting:
SR(2,1,2,4)
ok
Trying:
set_random_seed(Integer(1))###line 33:_sage_ >>> set_random_seed(1)
Expecting nothing
ok
Trying:
F,s = sr.polynomial_system()###line 34:_sage_ >>> F,s =
sr.polynomial_system()
Expecting nothing
*** glibc detected *** python: double free or corruption (fasttop):
0x0000000003b79b40 ***
^CAborting further tests.
KeyboardInterrupt -- interrupted after 2.3 seconds!
}}}
So, these are very few commands. That should be reproducible (trying it a
bit later).
For reference: The problem does not occur with
{{{
trac_12808-classcall_speedup-fh.patch
trac_12808_nested_class_cython.patch
trac_12808-classcall_cdef.patch
trac12215_weak_cached_function.patch
trac12215_segfault_fixes.patch
trac_715_combined.patch
trac_11521_homset_weakcache_combined.patch
trac_12875-category-fix_abvar_homspace-nt.patch
trac_12877-category-for_more_rings_and_schemes-nt.patch
trac_12876_category-fix_abstract_class-nt-rel11521.patch
trac_12876-reviewer.patch
trac_12876_category-fix_abstract_class-nt-rel11521-review-nt.patch
trac9107_nesting_nested_classes.patch
trac11768_source_of_dynamic_class.patch
trac11768_docfix.patch
trac11817_question_mark_using_sage_getdoc.patch
trac11791_dynamic_metaclass_introspection.patch
trac11943_mro_for_all_super_categories_combined.patch
}}}
but does occur if one adds
[attachment:trac11935_weak_pickling_by_construction_rel11943-nt.patch].
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11935#comment:61>
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.