Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

sage test image.py causes sagmentation fault

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

sage test image.py causes sagmentation fault

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

sage test image.py causes sagmentation fault

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
click to hide/show revision 4
retagged

sage test image.py causes sagmentation fault

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