bugGNU Octave - Bugs: bug #39936, Error or crash when plotting with...

 
 

bug #39936: Error or crash when plotting with no fonts installed

Submitted by:  Mike Miller <mtmiller>
Submitted on:  Wed 04 Sep 2013 04:33:15 AM UTC  
 
Category: PlottingSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: Wont FixAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 29 May 2015 12:54:16 AM UTC, comment #5:

I am seeing the same thing with mxe-octave 4.0rc4 compiled on linux: a lot of ft_render warnings then a segfault with

imagesc(randn(10))
title('test')

I understand I need to install a font... please can someone tell me how to do that? Thanks.

>> imagesc(randn(10));

warning: ft_render: invalid bounding box, cannot render
warning: called from
axes at line 66 column 10
gca at line 58 column 9
newplot at line 148 column 8
imagesc at line 91 column 11
warning: ft_render: invalid bounding box, cannot render
warning: ft_render: invalid bounding box, cannot render
warning: ft_render: invalid bounding box, cannot render
warning:.....

>> title('test')


At this point octave disappears and leaves a message on the commandline: octave exited with signal 11.

Ceral Paquet <octavebugs>
Wed 04 Sep 2013 02:57:21 PM UTC, comment #4:

I would say that this represents something outside the domain of Octave. If the user has so badly mis-configured their system that not even a single font is available they need to look to a sysadmin, not to to Octave.

Rik <rik5>
Project Administrator
Wed 04 Sep 2013 01:17:42 PM UTC, comment #3:

Ok, that makes sense. It appears the problem was always there and not related to the recent changes for TeX support. I think FLTK just fails to draw the default uimenu.

Not sure there's anything reasonable we can do about it.

Michael Goffioul <goffioul>
Project Member
Wed 04 Sep 2013 11:47:00 AM UTC, comment #2:

Yes, here it is:

Mike Miller <mtmiller>
Project Administrator
Wed 04 Sep 2013 11:11:40 AM UTC, comment #1:

Would you be able to provide a backtrace at the "exit" call?

Michael Goffioul <goffioul>
Project Member
Wed 04 Sep 2013 04:33:15 AM UTC, original submission:

I'm not sure if anything can be done about this in Octave, and maybe this is a completely invalid configuration to test against, feel free to close as invalid if so. But reporting anyway since it could potentially happen on misconfigured systems and results in a variety of errors.

Testing on a system with no fonts installed, simulated by intentionally doing the following as root on my system:

With gnuplot, the following warnings and errors occur, Octave stays running:

Using FLTK, Octave simply exits after the same stream of warnings:

The last error message and call to exit(1) are in the FLTK library itself.

Mike Miller <mtmiller>
Project Administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by octavebugs (Posted a comment)
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by goffioul (Posted a comment)
  • -unavailable- added by mtmiller (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 04 Sep 2013 02:57:21 PM UTCrik5StatusNone=>Wont Fix
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1