Ask Your Question
1

sage test image.py causes sagmentation fault

asked 2018-07-28 03:04:25 -0500

jun1234 gravatar image

updated 2018-07-30 04:06:54 -0500

eric_g gravatar image

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
edit retag flag offensive close merge delete

Comments

Thanks for reporting!

slelievre gravatar imageslelievre ( 2018-07-28 11:54:12 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2018-07-29 00:26:21 -0500

jun1234 gravatar image

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

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2018-07-28 03:04:25 -0500

Seen: 29 times

Last updated: Jul 29