Talk About Network

Google





Graphics > Gnuplot interactive function plotter > gnuplot cra****...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 3498 of 3655
Post > Topic >>

gnuplot cra****ng with "double free or corruption (fasttop)"

by "H.S." <hs.saDELETEMEmix@[EMAIL PROTECTED] > Sep 5, 2008 at 05:05 PM

Hello,

This is on Ubuntu Hardy running gnuplot ver. gnuplot 4.2 patchlevel 2.

I have a data file that I am plotting. Here is an exampe:
$> cat inputdata.txt
1.83691e-16 3.00000e+00 -2.00000e+00 1.00000e+00
-2.12132e+00 2.12132e+00 -2.92893e-01 1.12500e+00
-3.00000e+00 3.67382e-16 -1.00000e+00 1.25000e+00
-2.12132e+00 -2.12132e+00 -1.70711e+00 1.37500e+00
-5.00000e+00 2.00000e+00 7.07963e-02 2.00000e+00
-2.50000e+00 -2.33013e+00 5.94395e-01 2.16667e+00
2.50000e+00 -2.33013e+00 1.11799e+00 2.33333e+00
-7.85398e-01 -7.00000e+00 2.26171e+00 3.00000e+00
0.00000e+00 -2.00000e+00 2.26171e+00 3.25000e+00

And I am using the following gnuplot file to plot the above data:
######################## 3curves.gplt ###########################
set parametric

#set multiplot
set palette rgb 33,13,10
#set view map
set xrange [-10:10]
set yrange [-10:10]
set cbrange [1:4]
#set colorbox vertical
set noxtics
set noytics
set title
set cblabel "cl*****"
set pointsize 0.8
unset key
#splot "< ./3curves" with points palette pt 7
splot "inputdata.txt" with points palette pt 7
unset multiplot
#################################################################



If I give the following command on the terminal to plot that datafile:
$>  gnuplot  -persist 3curves.gplt

I notice that if I give the above command one or two times, it mostly
works, but then the second or third time I get apparent memory
corruption error:
###############################################################
me@[EMAIL PROTECTED]
 16:59:58{data-3d}$> gnuplot  -persist 3curves.gplt
me@[EMAIL PROTECTED]
 17:02:43{data-3d}$>
(<unknown>:302): Gtk-CRITICAL **: gtk_im_context_filter_keypress:
assertion `GTK_IS_IM_CONTEXT (context)' failed
The messenger is now down
The messenger is now down
The messenger is now down
gnuplot  -persist 3curves.gplt
me@[EMAIL PROTECTED]
 17:02:45{data-3d}$>
(<unknown>:306): Gtk-CRITICAL **: gtk_im_context_filter_keypress:
assertion `GTK_IS_IM_CONTEXT (context)' failed
The messenger is now down
The messenger is now down
The messenger is now down
gnuplot  -persist 3curves.gplt
Failed to receive messages at scim_bridge_client_read_and_dispatch ()
An IOException occurred at handle_message ()
*** glibc detected *** gnuplot: double free or corruption (fasttop):
0x0820afc0 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0xb73f3a85]
/lib/tls/i686/cmov/libc.so.6(cfree+0x90)[0xb73f74f0]
/usr/lib/gtk-2.0/2.10.0/immodules/im-scim-bridge.so(scim_bridge_free_messenger+0x52)[0xb6ac05c2]
/usr/lib/gtk-2.0/2.10.0/immodules/im-scim-bridge.so(scim_bridge_client_close_messenger+0x3b)[0xb6ac280b]
/usr/lib/gtk-2.0/2.10.0/immodules/im-scim-bridge.so(scim_bridge_client_finalize+0x42)[0xb6ac4cb2]
/usr/lib/gtk-2.0/2.10.0/immodules/im-scim-bridge.so(scim_bridge_client_gtk_finalize+0x41)[0xb6abc391]
/lib/tls/i686/cmov/libc.so.6(exit+0xd4)[0xb73b6084]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe8)[0xb739e458]
gnuplot(gdImagePolygon+0x3d)[0x80581d1]
======= Memory map: ========
08048000-0815d000 r-xp 00000000 08:03 1464070    /usr/bin/gnuplot
0815d000-0816e000 rw-p 00115000 08:03 1464070    /usr/bin/gnuplot
0816e000-08355000 rw-p 0816e000 00:00 0          [heap]
b5b00000-b5b21000 rw-p b5b00000 00:00 0
b5b21000-b5c00000 ---p b5b21000 00:00 0
b5c3d000-b5f55000 rw-p b5c3d000 00:00 0
b5f55000-b5fe6000 r--p 00000000 08:03 1590760
/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf
b5fe6000-b6046000 rw-s 00000000 00:09 67141641   /SYSV00000000 (deleted)
b6046000-b6047000 ---p b6046000 00:00 0
b6047000-b6847000 rw-p b6047000 00:00 0
b6847000-b68a7000 rw-s 00000000 00:09 67108872   /SYSV00000000 (deleted)
b68a7000-b68d6000 r-xp 00000000 08:03 1459853
/usr/lib/libgnomecanvas-2.so.0.2001.0
b68d6000-b68d7000 rw-p 0002f000 08:03 1459853
/usr/lib/libgnomecanvas-2.so.0.2001.0
b68d7000-b6915000 r-xp 00000000 08:03 1459863
/usr/lib/libgnomeprintui-2-2.so.0.1.0
b6915000-b6917000 rw-p 0003d000 08:03 1459863
/usr/lib/libgnomeprintui-2-2.so.0.1.0
b6917000-b6a30000 r-xp 00000000 08:03 1462190   
/usr/lib/libxml2.so.2.6.31
b6a30000-b6a35000 rw-p 00119000 08:03 1462190   
/usr/lib/libxml2.so.2.6.31
b6a35000-b6a36000 rw-p b6a35000 00:00 0
b6a36000-b6a4b000 r-xp 00000000 08:03 1459574
/usr/lib/libart_lgpl_2.so.2.3.20
b6a4b000-b6a4c000 rw-p 00014000 08:03 1459574
/usr/lib/libart_lgpl_2.so.2.3.20
b6a4c000-b6aaf000 r-xp 00000000 08:03 1459861
/usr/lib/libgnomeprint-2-2.so.0.1.0
b6aaf000-b6ab1000 rw-p 00063000 08:03 1459861
/usr/lib/libgnomeprint-2-2.so.0.1.0
b6ab5000-b6ab7000 r-xp 00000000 08:03 1483203
/usr/lib/pango/1.6.0/modules/pango-basic-fc.so
b6ab7000-b6ab8000 rw-p 00001000 08:03 1483203
/usr/lib/pango/1.6.0/modules/pango-basic-fc.so
b6ab8000-b6ac8000 r-xp 00000000 08:03 1483823
/usr/lib/gtk-2.0/2.10.0/immodules/im-scim-bridge.so
b6ac8000-b6ac9000 rw-p 00010000 08:03 1483823
/usr/lib/gtk-2.0/2.10.0/immodules/im-scim-bridge.so
b6ac9000-b6acf000 r-xp 00000000 08:03 1483217
/usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-xpm.so
b6acf000-b6ad0000 rw-p 00005000 08:03 1483217
/usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-xpm.so
b6ad0000-b6ad6000 r--s 00000000 08:03 772586
/var/cache/fontconfig/945677eb7aeaf62f1d50efc3fb3ec7d8-x86.cache-2
b6ad6000-b6ad9000 r--s 00000000 08:03 772579
/var/cache/fontconfig/e383d7ea5fbe662a33d9b44caf393297-x86.cache-2
b6ad9000-b6adc000 r--s 00000000 08:03 772578
/var/cache/fontconfig/a46337af8a0b4c9b317ad981ec3bdf87-x86.cache-2
b6adc000-b6add000 r--s 00000000 08:03 772576
/var/cache/fontconfig/e7071f4a29fa870f4323321c154eba04-x86.cache-2
b6add000-b6ade000 r--s 00000000 08:03 772574
/var/cache/fontconfig/c69f04ab05004e31a6d5e715764f16d8-x86.cache-2
b6ade000-b6ae2000 r--s 00000000 08:03 772566
/var/cache/fontconfig/926e794c3d5e5dffcaf2fa83ef8d36c2-x86.cache-2
b6ae2000-b6ae3000 r--s 00000000 08:03 772560
/var/cache/fontconfig/4c73fe0c47614734b17d736dbde7580a-x86.cache-2
b6ae3000-b6ae6000 r--s 00000000 08:03 772559
/var/cache/fontconfig/a755afe4a08bf5b97852ceb7400b47bc-x86.cache-2
b6ae6000-b6aed000 r--s 00000000 08:03 772555
/var/cache/fontconfig/6d41288fd70b0be22e8c3a91e032eec0-x86.cache-2
b6aed000-b6af0000 r--s 00000000 08:03 772554
/var/cache/fontconfig/de156ccd2eddbdc19d37a45b8b2aac9c-x86.cache-2
b6af0000-b6af8000 r--s 00000000 08:03 772553
/var/cache/fontconfig/e3de0de479f42330eadf588a55fb5bf4-x86.cache-2
b6af8000-b6b00000 r--s 00000000 08:03 772550
/var/cache/fontconfig/0f34bcd4b6ee430af32735b75db7f02b-x86.cache-2
b6b00000-b6b01000 r--s 00000000 08:03 772549
/var/cache/fontconfig/9451a55048e8dbe8633e64d34165fdf2-x86.cache-2
b6b01000-b6b02000 r--s 00000000 08:03 772548
/var/cache/fontconfig/4794a0821666d79190d59a36cb4f44b5-x86.cache-2
b6b02000-b6b24000 r--s 00000000 08:03 772544
/var/cache/fontconfig/365b55f210c0a22e9a19e35191240f32-x86.cache-2
b6b24000-b6b26000 r--s 00000000 08:03 772540
/var/cache/fontconfig/2c5ba8142dffc8bf0377700342b8ca1a-x86.cache-2
b6b2600Aborted
me@[EMAIL PROTECTED]
 17:02:47{data-3d}$>

###############################################################


I suppose I am doing some horribly wrong in my gnuplot file, or
something is the matter with my system though I am not sure where to
start looking. What is it?

Thanks in advance.
->HS
 




 3 Posts in Topic:
gnuplot crashing with "double free or corruption (fasttop)"
"H.S." <hs.s  2008-09-05 17:05:22 
Re: gnuplot crashing with "double free or corruption (fasttop)"
Ethan Merritt <emerrit  2008-09-05 17:29:17 
Re: gnuplot crashing with "double free or corruption (fasttop)"
"H.S." <hs.s  2008-09-06 00:29:20 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Wed Jan 7 23:43:10 PST 2009.