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

Submitted by:  Ceral Paquet <octavebugs>
Submitted on:  Fri 29 May 2015 01:37:03 PM UTC  
 
Category: PlottingSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Segfault, Bus Error, etc.
Status: InvalidAssigned to: None
Originator Name: Open/Closed: Closed
Release: 4.0.0Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

(Jump to the original submission 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>
Project Administrator
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>
Project 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>
Project Administrator
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 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 jwe (Posted a comment)
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by sebald (Posted a comment)
  • -unavailable- added by octavebugs (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 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 21 Mar 2016 07:03:12 PM UTCmtmillerStatusNeed Info=>Invalid
      Open/ClosedOpen=>Closed
    Tue 02 Jun 2015 04:50:16 PM UTCjweRelease4.0.0-rc4=>4.0.0
    Sun 31 May 2015 01:16:58 AM UTCmtmillerCategoryNone=>Plotting
      Item GroupNone=>Segfault, Bus Error, etc.
      StatusNone=>Need Info

    Back to the top


    Powered by Savane 3.1-cleanup1