Ask Your Question
1

sage test image.py causes sagmentation fault

asked 2018-07-28 10:04:25 +0200

jun1234 gravatar image

updated 2018-12-29 19:47:04 +0200

FrédéricC 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 18:54:12 +0200 )edit

1 Answer

Sort by » oldest newest most voted
1

answered 2018-07-29 07:26:21 +0200

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 10:04:25 +0200

Seen: 428 times

Last updated: Jul 29 '18