sagemath / sage-archive-2023-02-01

This repository used to be the user-facing mirror of the Sage source tree. As Sage development migrated on 2023-02-01 from https://trac.sagemath.org/ to our new repository on GitHub, https://github.com/sagemath/sage, we have renamed and archived this repository.
https://www.sagemath.org
Other
2.01k stars 413 forks source link

sage -t --warn-long 25.2 src/sage/repl/image.py make sagmentation fault #88

Closed pistack closed 6 years ago

pistack commented 6 years ago

I build sage 8.2 from source. using gcc 7.3.0 compiler. [I'm using ubuntu 18.04 LTS] When I test my sage I got "sage -t --warn-long 25.2 src/sage/repl/image.py # Killed due to segmentation fault" message. How can I solve it? Thank you.

ps. when I test image.py manually this error only occurs when I test below example.

   EXAMPLES::

        sage: from sage.repl.image import Image
        sage: img = Image('1', (16, 16), 'white')
        sage: from sage.repl.rich_output import get_display_manager
        sage: dm = get_display_manager()
        sage: img._rich_repr_(dm)
        OutputImagePng container

        sage: img = Image('F', (16, 16), 'white')   # not supported in PNG
        sage: img._rich_repr_(dm) #This causes sagementation fault
        OutputImageGif container

Here is my log file. crash_At5_GT.log