bugGNU Octave - Bugs: bug #52487, When plotting, Octave crashes


bug #52487: When plotting, Octave crashes

Submitted by:  None
Submitted on:  Thu 23 Nov 2017 03:59:35 PM UTC  
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Segfault, Bus Error, etc.
Status:  Fixed Assigned to:  None
Originator Name:  Christopher Lukas Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  4.2.1
Operating System:  Microsoft Windows

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)

Tue 23 Oct 2018 02:23:43 PM UTC, comment #8:

Thanks Christopher. I'll close this report as fixed.

Pantxo Diribarne <pantxo>
Project Member
Tue 23 Oct 2018 02:11:14 PM UTC, comment #7:

>> graphics_toolkit fltk
>> plot (1)

These commands are working now. Release: 4.4.1.

Christopher Lukas <cjl4hd>
Mon 22 Oct 2018 03:41:13 PM UTC, comment #6:

@Christopher: Octave now ships with a software opengl driver for Windows. Could you check if this bug is still present with your graphics card?

Pantxo Diribarne <pantxo>
Project Member
Fri 01 Dec 2017 07:10:20 PM UTC, comment #5:

@mmuetzel: Awesome, thanks for the fix. gnuplot should be fine. I currently have the most up to date drivers.

Shouldn't there be a handler for when OpenGL crashes instead of having Octave crash as well? I would still categorize this as a bug.

Christopher Lukas <cjl4hd>
Fri 01 Dec 2017 01:41:41 PM UTC, comment #4:

If the gnuplot toolkit is working but the OpenGL based toolkits are not, this might point to a graphics card drivers issue.
@cjl4hd: Are your drivers up-to-date? Can you re-try after updating them?
In the mean time, I hope you are OK with using the gnuplot toolkit. You could set that to your default in .octaverc (see [1]).

@all: Is there a bug report, wiki page or something else that lists the graphics cards / drivers that seem to be affected by OpenGL bugs?

[1] https://www.gnu.org/software/octave/doc/v4.2.1/Startup-Files.html

Markus Mützel <mmuetzel>
Project Member
Wed 29 Nov 2017 10:28:43 PM UTC, comment #3:

The fltk toolkit fails, while the gnuplot toolkit seems to work just fine for plot(1). After trying this I ran graphics_toolkit gnuplot, followed by 2D figures with subplots, lines, and points. All worked as expected.

Christopher Lukas <cjl4hd>
Thu 23 Nov 2017 08:40:53 PM UTC, comment #2:

Thank you for your answer. Please use the bug tracker for replying so that others can see your answer, too.

Can you try with other graphics toolkits?


Christopher Lukas wrote:
When running the script, it shows a window: "octave-gui.exe has stopped working" and windows closes the program.

Markus Mützel <mmuetzel>
Project Member
Thu 23 Nov 2017 07:52:45 PM UTC, comment #1:

Are you sure that Octave really crashed?
Did you see any error messages? Or did it "block" the GUI? If the latter, how long did you wait? Octave can take veeeery long when plotting for the first time. Especially if you have many installed fonts.

Markus Mützel <mmuetzel>
Project Member
Thu 23 Nov 2017 03:59:35 PM UTC, original submission:

Plotting something as simple as plot(1); causes Octave to crash in Windows 7 Professional. Running on Core i7 6600, with Intel HD graphics 520.



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

Attach Files:

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 pantxo (Posted a comment)
  • -email is unavailable- added by cjl4hd (Posted a comment)
  • -email is unavailable- added by mmuetzel (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)

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

    Only project members can vote.




    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-10-23 pantxo StatusNeed Info => Fixed
        Open/ClosedOpen => Closed
    2018-10-22 pantxo CategoryPlotting => Plotting with OpenGL
    2017-11-23 mmuetzel StatusNone => Need Info

    Back to the top

    Powered by Savane 3.4