bugGNU Octave - Bugs: bug #50430, plot function causes...


bug #50430: plot function causes crash/termination of Octave (Windows)

Submitter:  None
Submitted:  Wed 01 Mar 2017 11:00:24 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:  John Mullins Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 4.2.1
Operating System:  * Microsoft Windows Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup

Sat 19 Jan 2019 05:32:55 PM UTC, comment #5: 

This looks like an issue with incompatible graphics card drivers.
Since we now ship with an OpenGL software renderer, the crash should no longer occur.

Closing as fixed.

If you can still crash Octave 4.4.1 or the upcoming Octave 5 with graphics_toolkit qt, please report back here or open a new bug report.

Markus M├╝tzel <mmuetzel>
Group administrator
Thu 02 Mar 2017 02:53:00 PM UTC, comment #4: 

You can add the command

graphics_toolkit gnuplot

to your octaverc file so that it is always executed when starting octave.  That is much more convenient than having to add the command to every m-file you write.

Rik <rik5>
Group administrator
Thu 02 Mar 2017 04:36:47 AM UTC, comment #3: 

Works like a charm.  Thank you for this suggestion.

Thu 02 Mar 2017 02:34:13 AM UTC, comment #2: 

Almost certainly some combination of operating system, OpenGL SW drivers, and video hardware.

Does using a non-GL toolkit work?

graphics_toolkit gnuplot
x = 1:50;
y = x.^2;

Rik <rik5>
Group administrator
Wed 01 Mar 2017 11:04:53 PM UTC, comment #1: 

If I go to Debug in Visual Studio, this is the part of the call stack that caused the exception:

> nvoglv64.dll!000000001ed9eb42() Unknown

Wed 01 Mar 2017 11:00:24 PM UTC, original submission:  

x = 1:50;
y = x.^2;

% or any instance of the use of plot()
% Windows 7 Enterprise 64-bit
% also happened to me in 4.2.0 which prompted install of 4.2.1



(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 mmuetzel (Posted a comment)
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by None (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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-01-19 mmuetzel StatusNone Fixed
        Open/ClosedOpen Closed
    2017-03-02 rik5 CategoryPlotting Plotting with OpenGL
        Summaryplot function causes crash/termination of Octave plot function causes crash/termination of Octave (Windows)

    Back to the top

    Powered by Savane 3.13-3cd0.
    Corresponding source code