Menu

#2402 Gnuplot 5.4.1, Terminal windows not working (crashes)

None
closed-fixed
nobody
Windows (118)
2021-12-25
2021-01-19
Anonymous
No

Gnuplot 5.4.1 on Windows 10 will crash when terminal is set to 'windows' and trying to plot anything.
This happens both with gnuplot.exe and wgnuplot.exe

Typing the following commands on the gnuplot/wgnuplot command line will lead to a crash:
set terminal windows
plot sin(x)

A white plot window will appear (with nothing being plotted), the mouse cursor changes to the 'wait' cursor and after about 30 seconds gnuplot terminates fatally.
Testing on Windows 7 in Virtualbox also leads to a crash.

Related

Bugs: #2286

Discussion

  • Bastian Märkisch

    This might be a duplicate of [#2304 ], which is fixed in the git master and 5.4 branches. The cause there was a failure to correctly initialize if the ini file %APPDATA%\wgnuplot.ini was missing. You can try to create one with the following content (untested) to work around that problem.

    [WGNUPLOT]
    GraphOrigin=156 156
    GraphSize=944 384
    
     

    Related

    Bugs: #2304

  • Bastian Märkisch

    • status: open --> pending-duplicate
    • Group: -->
    • Priority: -->
     
  • Bastian Märkisch

    Related: [#2223] and [#2286]
    All of these are potentially related to initialization issues discussed in [#2304].

     

    Related

    Bugs: #2223
    Bugs: #2286
    Bugs: #2304

  • Brian Hammill

    Brian Hammill - 2021-05-28

    I can verify that on Windows 10 20H2, the crash happens just as explained using Gnuplot 5.4.1, the current release from December 2020. I reverted back to the previous stable release 5.2.8 from December 2019 and that works. I'm providing a datapoint for those who are good at fixing these things. I'd start by looking at what changed between these two versions.

     
  • Bastian Märkisch

    I'd start by looking at what changed between these two versions.

    @hammill The relevant changes are rather large really, but the I think the issue is fixed in 5.4.2. It would be great if you could test and report back.

     
  • Ethan Merritt

    Ethan Merritt - 2021-12-25
    • Status: pending-duplicate --> closed-fixed
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.