bugGNU Octave - Bugs: bug #45214, Probable dupe of #39936: Error or...

 
 

bug #45214: Probable dupe of #39936: Error or crash when plotting with no fonts installed

Submitter:  Ceral Paquet <octavebugs>
Submitted:  Fri 29 May 2015 01:37:03 PM UTC
   
 
Category:  Plotting Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Segfault, Bus Error, etc.
Status:  Invalid / Not an Octave Bug Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 4.0.0 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Fri 26 Feb 2016 06:31:00 AM UTC, comment #7: 

Any progress with this bug? Is it still relevant to your use case? If not then we might as well close it as won't fix. The hydra build of Octave is still succeeding by installing one font and setting the FONTCONFIG_FILE environment variable to a config file pointing to that font. This should be enough to allow fontconfig to work. It seems like requiring Octave or mxe to automatically do anything more is out of scope.

Mike Miller <mtmiller>
Group Member
Thu 11 Jun 2015 02:23:26 PM UTC, comment #6: 

Just to clarify, I compiled MXE with the following:

./configure --enable-64 --enable-native-build --enable-pic-flag host_alias=gnu-linux --enable-openblas --enable-jit

I've tried a bunch of things with fontconfig which appears to be installed along with some fonts. It's a bit of a show-stopper bug for me. I wonder if someone could test it on their system - Linux Debian Jessie with XFCE desktop.

Ceral Paquet <octavebugs>
Tue 02 Jun 2015 04:50:16 PM UTC, comment #5: 

Retagging release from 4.0.0-rc4 to 4.0.0.

John W. Eaton <jwe>
Group administrator
Mon 01 Jun 2015 11:55:43 PM UTC, comment #4: 

I tried

export FONTCONFIG_FILE=/etc/fonts/fonts.conf

The file exists and fontconfig is installed but I still see the crash.

I went to the mxe directory and ran "make fontconfig" and it compiled and I pointed FONTCONFIG_FILE to the fonts.conf file in the mex subdirectory but it still crashes.


Ceral Paquet <octavebugs>
Sun 31 May 2015 01:16:58 AM UTC, comment #3: 

If this is the same error/crash I was seeing when trying to build Octave with Hydra, the solution was to create a valid FontConfig configuration file and set the environment variable FONTCONFIG_FILE to point to the file.

When using FontConfig supplied by your distro, this file is typically /etc/fonts/fonts.conf. You could try setting FONTFONTIG_FILE=/etc/fonts/fonts.conf and see if that fixes it.

Mike Miller <mtmiller>
Group Member
Sun 31 May 2015 01:01:08 AM UTC, comment #2: 

Yes all three fail on the title('test') command. The first and third make octave wink out of existence and the second hangs octave. BTW I'm on MXE 4rc4.

Ceral Paquet <octavebugs>
Fri 29 May 2015 09:02:39 PM UTC, comment #1: 

This fails for all three toolkits?

graphics_toolkit('qt');
graphics_toolkit('gnuplot');
graphics_toolkit('fltk');

Dan Sebald <sebald>
Fri 29 May 2015 01:37:03 PM UTC, original submission:  

Sorry for the re-post - this issue is crashing all my programs and I can't really get anywhere.

---

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>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by sebald (Posted a comment)
  • -email is unavailable- added by octavebugs (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-03-21 mtmiller StatusNeed Info Invalid / Not an Octave Bug
        Open/ClosedOpen Closed
    2015-06-02 jwe Release4.0.0-rc4 4.0.0
    2015-05-31 mtmiller CategoryNone Plotting
        Item GroupNone Segfault, Bus Error, etc.
        StatusNone Need Info

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code