On Sun, Dec 25, 2011 at 8:44 AM, Simon King <simon.k...@uni-jena.de> wrote:
> Hi!
>
> I'm working on #715, #12215 and #11521, which are supposed to use weak
> references, in order to make unused parent structures and coerce maps
> garbage collectible.
>
> The good news is that with #715, all tests pass. The bad news is that
> with either of the two other tickets, some tests in sage/schemes/
> elliptic_curves/ receive signal 11.
>
> The problem is that I have no clue how these crashes could be
> analysed. Namely, when I run the tests with -verbose, then apparently
> all tests pass, and only in the very end the crash occurs, such as:
> 660 tests in 73 items.
> 660 passed and 0 failed.
> Test passed.
> The doctested process was killed by signal 11
>         [15.1 s]
>
> Apparently no doctest crashes, but the test engine crashes.
>
> What is worse: When I run it with -verbose -randorder, there is no
> crash at all, most of the time.
>
> What tool/technique would you recommend for debugging it?

Have you tried "sage -t --gdb ..."?

I just tried this with a fresh build of sage-4.8.alpha5 on my Mint
Linux laptop, and... it doesn't work [1] -- maybe this is some weird
path issue, in my setup.

It works fine in sage-4.7.2 (the systemwide install on sage.math).

It also seems to work fine with my sage-4.8.alpha5 on sage.math.

 -- William

[1] wstein@linux ~/d/sage $ sage -t --gdb all.py
sage -t --gdb "devel/sage-main/sage/all.py"
********************************************************************************
Type r at the (gdb) prompt to run the doctests.
Type bt if there is a crash to see a traceback.
********************************************************************************
ImportError: No module named site
         [0.2 s]

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


        sage -t --gdb "devel/sage-main/sage/all.py"
Total time for all tests: 0.2 seconds
wstein@linux ~/d/sage $


>
> Best regards,
> Simon
>
> --
> To post to this group, send an email to sage-devel@googlegroups.com
> To unsubscribe from this group, send an email to 
> sage-devel+unsubscr...@googlegroups.com
> For more options, visit this group at 
> http://groups.google.com/group/sage-devel
> URL: http://www.sagemath.org



-- 
William Stein
Professor of Mathematics
University of Washington
http://wstein.org

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to