bugGNU Octave - Bugs: bug #40044, *** glibc detected *** gnuplot:...


bug #40044: *** glibc detected *** gnuplot: double free or corruption (fasttop): 0x08d72878 ***

Submitted by:  None
Submitted on:  Mon 16 Sep 2013 05:10:27 PM UTC  
Category: Plotting with gnuplotSeverity: 4 - Important
Priority: 5 - NormalItem Group: Crash
Status: ConfirmedAssigned to: None
Originator Name: Originator Email: -unavailable-
Open/Closed: OpenRelease: dev
Operating System: GNU/Linux

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

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


Mon 02 Feb 2015 04:46:42 AM UTC, comment #3:

Confirmed that the bug is still present with gnuplot version 4.6.6 and a development branch from 2/1/2015.

Rik <rik5>
Project Administrator
Mon 16 Sep 2013 06:53:44 PM UTC, comment #2:

It's probably a bug in gnuplot, but I can't confirm 100%. In testing with Octave versions 3.2.4, 3.4.3, 3.6.4, and development versions I can always reliably produce a crash. My version of gnuplot is 4.6.2.

Interestingly, If I vary the final plot I don't get a crash. I tried a 2-D plot [plot (1:10)], and the other 3-D plots that didn't use plot3 (mesh, surf, surfc).

Also, if I throw a line

after the first subplot, just to create the axes, then everything works.

Rik <rik5>
Project Administrator
Mon 16 Sep 2013 05:39:08 PM UTC, comment #1:

I can confirm this. At first blush, this might be a bug in gnuplot, not in Octave. As a workaround, you can try using Octave's own native plotting system. Before doing any plot commands, do

Jordi GutiƩrrez Hermoso <jordigh>
Project Administrator
Mon 16 Sep 2013 05:10:27 PM UTC, original submission:

I am trying to plot 8 graphs in one plot with Ubuntu 12.04.3 LTS but I allways get the error:

      • glibc detected *** gnuplot: double free or corruption (fasttop): 0x08d72878 ***

======= Backtrace: =========
======= Memory map: ========
(full message: see file below)
It also occured in other versions (I've tried 3.2.? (ubuntu standard and 3.4.?)

A minimal example is given below (try.m); if I remove one or more of the subplots, the error doesn't occur anymore

I hope, this is all information required.
Best regards,



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

Attach File(s):

Attached Files
file #29150:  error.dat added by None (14kB - application/x-ns-proxy-autoconfig)
file #29151:  try.m added by None (395B - text/x-objcsrc)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by mtmiller (Updated the item)
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by jordigh (Posted a comment)
  • -unavailable- added by None (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
    Fri 01 Jul 2016 05:25:32 PM UTCrik5Severity3 - Normal=>4 - Important
    Sun 27 Oct 2013 03:50:30 PM UTCmtmillerCategoryPlotting=>Plotting with gnuplot
    Mon 16 Sep 2013 05:39:08 PM UTCjordighStatusNone=>Confirmed
    Mon 16 Sep 2013 05:10:27 PM UTCNoneAttached File-=>Added error.dat, #29150
      Attached File-=>Added try.m, #29151

    Back to the top

    Powered by Savane 3.1-cleanup