Ask Your Question

jun1234's profile - activity

2018-07-29 00:35:59 -0600 received badge  Self-Learner (source)
2018-07-29 00:35:59 -0600 received badge  Teacher (source)
2018-07-29 00:26:21 -0600 answered a question sage test image.py causes sagmentation fault

When I rebuiild sage 8.2 from source using sage's gcc 7.2.0 compiler, all test passed. Thank you.

2018-07-28 11:49:55 -0600 received badge  Student (source)
2018-07-28 11:42:43 -0600 asked a question 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
2018-07-28 11:42:43 -0600 asked a question sage test image.py causes sagmemtation 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