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 Sep 16 17:10:27 2013  
 
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 Aug 8 03:10:48 2016, comment #5:

With dev and gnuplot 5.0.3 i see no plot window and get:

line 0: out of memory for pm3d_plot->quadrangles

line 0: out of memory for pm3d_plot->quadrangles

      • Error in `/usr/bin/gnuplot': double free or corruption (out): 0x0000561967f31de0 ***

======= Backtrace: =========
/lib64/libc.so.6(+0x755fb)[0x7f74007bf5fb]
/lib64/libc.so.6(+0x7dd4a)[0x7f74007c7d4a]
/lib64/libc.so.6(cfree+0x4c)[0x7f74007cb2ac]
/usr/bin/gnuplot(+0x8bfd5)[0x561966068fd5]
/usr/bin/gnuplot(+0x4bf60)[0x561966028f60]
/usr/bin/gnuplot(+0x8aae9)[0x561966067ae9]
/usr/bin/gnuplot(+0x2ccc9)[0x561966009cc9]
/usr/bin/gnuplot(+0x2ce3d)[0x561966009e3d]
/usr/bin/gnuplot(+0x1cd1c)[0x561965ff9d1c]
/lib64/libc.so.6(__libc_start_main+0xf1)[0x7f740076a731]
/usr/bin/gnuplot(+0x1d059)[0x561965ffa059]
======= Memory map: ========
561965fdd000-561966148000 r-xp 00000000 08:02 1442514 /usr/bin/gnuplot-qt
(etc...)

With octave 4.0.3 I get
line 0: out of memory for pm3d_plot->quadrangles

line 0: out of memory for pm3d_plot->quadrangles
and no memory dump and I see a gnuplot window with
5 plots (partially rendered).

Dmitri.

on a screen

Dmitri A. Sergatskov <dasergatskov>
Mon Aug 8 01:26:08 2016, comment #4:

Confirmed that bug is still present with gnuplot 5.0.1 and the development branch from 8/7/16.

Rik <rik5>
Project Administrator
Mon Feb 2 04:46:42 2015, 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 Sep 16 18:53:44 2013, 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 Sep 16 17:39:08 2013, 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 Sep 16 17:10:27 2013, original submission:

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

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

======= Backtrace: =========
/lib/i386-linux-gnu/libc.so.6(+0x75ee2)[0xb6d3fee2]
/lib/i386-linux-gnu/libc.so.6(realloc+0x21a)[0xb6d4452a]
gnuplot[0x8058e61]
gnuplot[0x80b9a69]
gnuplot[0x807e88d]
gnuplot[0x80b6916]
gnuplot[0x8062207]
gnuplot[0x806245f]
gnuplot[0x8058079]
/lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0xb6ce34d3]
gnuplot[0x8058ced]
======= Memory map: ========
-verbose-
(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,
Hubert

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

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 dasergatskov (Posted a comment)
  • -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 Jul 1 17:25:32 2016rik5Severity3 - Normal=>4 - Important
    Sun Oct 27 15:50:30 2013mtmillerCategoryPlotting=>Plotting with gnuplot
      Release3.6.3=>dev
    Mon Sep 16 17:39:08 2013jordighStatusNone=>Confirmed
    Mon Sep 16 17:10:27 2013NoneAttached File-=>Added error.dat, #29150
      Attached File-=>Added try.m, #29151

    Back to the top


    Powered by Savane 3.1-cleanup