|
From: Tatjana S. <sk...@si...> - 2006-10-10 11:42:15
|
Dear All, Please, if somebody knows what could I do in order to put my gnuplot in use. I install it properly, and when I start to use it, I obtain the following message: ------------------------------------------------------------- *** buffer overflow detected ***: gnuplot_x11 terminated ======= Backtrace: ========= /lib/i686/libc.so.6(__chk_fail+0x41)[0xb7d92c41] /lib/i686/libc.so.6(__read_chk+0x50)[0xb7d930d0] gnuplot_x11[0x804b7de] ======= Memory map: ======== 08048000-08059000 r-xp 00000000 03:08 1206338 /usr/lib/gnuplot/4.0/gnuplot_x11 08059000-0805b000 rwxp 00010000 03:08 1206338 /usr/lib/gnuplot/4.0/gnuplot_x11 etc ..... ---------------------------------------------------------------- Thanking you in advance for your time and attention, Sincerely yours, Tatjana |
|
From: <br...@ph...> - 2006-10-10 18:10:29
|
Tatjana Skrbic wrote: > Please, if somebody knows what could I do in order to put my gnuplot in > use. I install it properly, How is anybody supposed to believe this, if you don't say what "it" actually is? Please state the exact version number, and how you installed it. |
|
From: Tatjana S. <sk...@si...> - 2006-10-11 07:48:58
|
Dear Hans-Bernhard, Thank you a lot for your reply! My operating system is Mandriva 2007, and a version of gnuplot is: gnuplot-4.0.0-10mdv2007.0 (i586) I installed it from the Mandriva installation CD. Values of my environmental variables DISPLAY and TERM are: DISPLAY=:0.0 TERM=xterm The corresponding error I obtain is the following: ----------------------------------------------------------- Terminal type set to 'x11' gnuplot> p sin(x) *** buffer overflow detected ***: gnuplot_x11 terminated ======= Backtrace: ========= /lib/i686/libc.so.6(__chk_fail+0x41)[0xb7dcac41] /lib/i686/libc.so.6(__read_chk+0x50)[0xb7dcb0d0] gnuplot_x11[0x804b7de] ======= Memory map: ======== 08048000-08059000 r-xp 00000000 03:08 1288313 /usr/lib/gnuplot/4.0/gnuplot_x1 1 08059000-0805b000 rwxp 00010000 03:08 1288313 /usr/lib/gnuplot/4.0/gnuplot_x1 1 0805b000-0809f000 rwxp 0805b000 00:00 0 [heap] b7cbb000-b7cc5000 r-xp 00000000 03:08 5649467 /lib/libgcc_s-4.1.1.so.1 b7cc5000-b7cc6000 rwxp 0000a000 03:08 5649467 /lib/libgcc_s-4.1.1.so.1 b7cc6000-b7cca000 r-xp 00000000 03:08 3978299 /usr/lib/libXfixes.so.3.1.0 b7cca000-b7ccb000 rwxp 00003000 03:08 3978299 /usr/lib/libXfixes.so.3.1.0 b7ccb000-b7cd3000 r-xp 00000000 03:08 3978287 /usr/lib/libXrender.so.1.3.0 b7cd3000-b7cd4000 rwxp 00007000 03:08 3978287 /usr/lib/libXrender.so.1.3.0 b7cd4000-b7cdd000 r-xp 00000000 03:08 3978325 /usr/lib/libXcursor.so.1.0.2 b7cdd000-b7cde000 rwxp 00008000 03:08 3978325 /usr/lib/libXcursor.so.1.0.2 b7cde000-b7cdf000 rwxp b7cde000 00:00 0 b7cdf000-b7ce1000 r-xp 00000000 03:08 5649435 /lib/libdl-2.4.so b7ce1000-b7ce3000 rwxp 00001000 03:08 5649435 /lib/libdl-2.4.so b7ce3000-b7ce8000 r-xp 00000000 03:08 3978271 /usr/lib/libXdmcp.so.6.0.0 b7ce8000-b7ce9000 rwxp 00004000 03:08 3978271 /usr/lib/libXdmcp.so.6.0.0 b7ce9000-b7cea000 rwxp b7ce9000 00:00 0 b7cea000-b7cec000 r-xp 00000000 03:08 3978269 /usr/lib/libXau.so.6.0.0 b7cec000-b7ced000 rwxp 00001000 03:08 3978269 /usr/lib/libXau.so.6.0.0 b7ced000-b7e14000 r-xp 00000000 03:08 5649414 /lib/i686/libc-2.4.so b7e14000-b7e15000 r-xp 00126000 03:08 5649414 /lib/i686/libc-2.4.so b7e15000-b7e17000 rwxp 00127000 03:08 5649414 /lib/i686/libc-2.4.so b7e17000-b7e1a000 rwxp b7e17000 00:00 0 b7e1a000-b7e3d000 r-xp 00000000 03:08 5649416 /lib/i686/libm-2.4.so b7e3d000-b7e3f000 rwxp 00023000 03:08 5649416 /lib/i686/libm-2.4.so b7e3f000-b7f39000 r-xp 00000000 03:08 3978273 /usr/lib/libX11.so.6.2.0 b7f39000-b7f3d000 rwxp 000fa000 03:08 3978273 /usr/lib/libX11.so.6.2.0 b7f51000-b7f52000 rwxp b7f51000 00:00 0 b7f52000-b7f6a000 r-xp 00000000 03:08 5649424 /lib/ld-2.4.so b7f6a000-b7f6b000 r-xp 00017000 03:08 5649424 /lib/ld-2.4.so b7f6b000-b7f6c000 rwxp 00018000 03:08 5649424 /lib/ld-2.4.so bff91000-bffa6000 rw-p bff91000 00:00 0 [stack] bfffe000-bffff000 r-xp bfffe000 00:00 0 ------------------------------------------------------------------------------ Thanking you for your time and attention, Sincerely yours Tatjana. |
|
From: Tatjana S. <sk...@si...> - 2006-10-11 13:35:20
|
Dear Hans-Bernhard,
I am sending you an output of a command:
readelf -s /usr/lib/gnuplot/4.0/gnuplot_x11
because I think that can help in solving the "buffer overflow error"
that appears when gnuplot try to run .
Version of the gnuplot that I try to use is:
gnuplot_4.0.0-10mdv2007, on Mandriva 2007.
The command gives:
-----------------------------------------------------------------------
[tanja@dhpc-5-10 /]$ readelf -s /usr/lib/gnuplot/4.0/gnuplot_x11
Symbol table '.dynsym' contains 147 entries:
Num: Value Size Type Bind Vis Ndx Name
0: 00000000 0 NOTYPE LOCAL DEFAULT UND
1: 00000000 138 FUNC GLOBAL DEFAULT UND XSetInputFocus
2: 00000000 122 FUNC GLOBAL DEFAULT UND XFreePixmap
3: 00000000 375 FUNC GLOBAL DEFAULT UND XCheckWindowEvent
4: 00000000 147 FUNC GLOBAL DEFAULT UND XCreateFontCursor
5: 00000000 11 FUNC GLOBAL DEFAULT UND XResourceManagerString
6: 00000000 38 FUNC GLOBAL DEFAULT UND cos@GLIBC_2.0 (2)
7: 00000000 138 FUNC GLOBAL DEFAULT UND XSetWindowBackground
8: 00000000 549 FUNC GLOBAL DEFAULT UND XDrawString
9: 00000000 222 FUNC GLOBAL DEFAULT UND XSync
10: 00000000 446 FUNC GLOBAL DEFAULT UND strchr@GLIBC_2.0 (3)
11: 00000000 434 FUNC GLOBAL DEFAULT UND XDrawLines
12: 00000000 732 FUNC GLOBAL DEFAULT UND XDrawImageString
13: 00000000 138 FUNC GLOBAL DEFAULT UND XDefineCursor
14: 00000000 336 FUNC GLOBAL DEFAULT UND XDrawPoint
15: 00000000 122 FUNC GLOBAL DEFAULT UND XMapWindow
16: 00000000 101 FUNC GLOBAL DEFAULT UND XStoreName
17: 00000000 971 FUNC GLOBAL DEFAULT UND XGetVisualInfo
18: 00000000 243 FUNC GLOBAL DEFAULT UND XCloseDisplay
19: 00000000 109 FUNC GLOBAL DEFAULT UND
__strcpy_chk@GLIBC_2.3.4 (4)
20: 00000000 163 FUNC GLOBAL DEFAULT UND
__strncpy_chk@GLIBC_2.3.4 (4)
21: 00000000 118 FUNC GLOBAL DEFAULT UND write@GLIBC_2.0 (3)
22: 00000000 107 FUNC GLOBAL DEFAULT UND XPending
23: 00000000 58 FUNC GLOBAL DEFAULT UND fileno@GLIBC_2.0 (3)
24: 00000000 68 FUNC GLOBAL DEFAULT UND strcmp@GLIBC_2.0 (3)
25: 00000000 174 FUNC GLOBAL DEFAULT UND
__fprintf_chk@GLIBC_2.3.4 (4)
26: 00000000 107 FUNC GLOBAL DEFAULT UND close@GLIBC_2.0 (3)
27: 00000000 355 FUNC GLOBAL DEFAULT UND perror@GLIBC_2.0 (3)
28: 00000000 138 FUNC GLOBAL DEFAULT UND XSetSelectionOwner
29: 00000000 212 FUNC GLOBAL DEFAULT UND getenv@GLIBC_2.0 (3)
30: 00000000 218 FUNC GLOBAL DEFAULT UND signal@GLIBC_2.0 (3)
31: 00000000 30 FUNC GLOBAL DEFAULT UND pclose@GLIBC_2.1 (5)
32: 00000000 561 FUNC GLOBAL DEFAULT UND freopen@GLIBC_2.0 (3)
33: 00000000 142 FUNC GLOBAL DEFAULT UND select@GLIBC_2.0 (3)
34: 00000000 459 FUNC GLOBAL DEFAULT UND XCreateImage
35: 00000000 103 FUNC GLOBAL DEFAULT UND XSetForeground
36: 00000000 445 FUNC GLOBAL DEFAULT UND XFillPolygon
37: 00000000 122 FUNC GLOBAL DEFAULT UND XNoOp
38: 00000000 238 FUNC GLOBAL DEFAULT UND __assert_fail@GLIBC_2.0
(3)
39: 00000000 157 FUNC GLOBAL DEFAULT UND XFreeColormap
40: 00000000 117 FUNC GLOBAL DEFAULT UND XGetWindowAttributes
41: 00000000 142 FUNC GLOBAL DEFAULT UND XResizeWindow
42: 00000000 204 FUNC GLOBAL DEFAULT UND XFreeGC
43: 00000000 138 FUNC GLOBAL DEFAULT UND XUndefineCursor
44: 00000000 30 FUNC GLOBAL DEFAULT UND
__errno_location@GLIBC_2.0 (3
)
45: 00000000 504 FUNC GLOBAL DEFAULT UND pow@GLIBC_2.0 (2)
46: 00000000 102 FUNC GLOBAL DEFAULT UND system@GLIBC_2.0 (3)
47: 08049bdc 0 FUNC GLOBAL DEFAULT 10 _init
48: 00000000 121 FUNC GLOBAL DEFAULT UND popen@GLIBC_2.1 (5)
49: 00000000 679 FUNC GLOBAL DEFAULT UND XGetImage
50: 00000000 69 FUNC GLOBAL DEFAULT UND
__strcat_chk@GLIBC_2.3.4 (4)
51: 00000000 375 FUNC GLOBAL DEFAULT UND malloc@GLIBC_2.0 (3)
52: 00000000 28 FUNC GLOBAL DEFAULT UND fscanf@GLIBC_2.0 (3)
53: 00000000 554 FUNC GLOBAL DEFAULT UND XTextWidth
54: 00000000 7 FUNC GLOBAL DEFAULT UND rint@GLIBC_2.0 (2)
55: 0805ace0 4 OBJECT GLOBAL DEFAULT 24 stdout@GLIBC_2.0 (3)
56: 0805ace4 4 OBJECT GLOBAL DEFAULT 24 stderr@GLIBC_2.0 (3)
57: 00000000 237 FUNC GLOBAL DEFAULT UND XDrawArc
58: 00000000 374 FUNC GLOBAL DEFAULT UND XCreateBitmapFromData
59: 00000000 253 FUNC GLOBAL DEFAULT UND XSendEvent
60: 00000000 285 FUNC GLOBAL DEFAULT UND XQueryPointer
61: 00000000 162 FUNC GLOBAL DEFAULT UND XSetWMHints
62: 00000000 381 FUNC GLOBAL DEFAULT UND XGetGCValues
63: 00000000 37 FUNC GLOBAL DEFAULT UND XFree
64: 00000000 245 FUNC GLOBAL DEFAULT UND XFreeColors
65: 00000000 138 FUNC GLOBAL DEFAULT UND XSetErrorHandler
66: 00000000 57 FUNC GLOBAL DEFAULT UND XSetNormalHints
67: 00000000 380 FUNC GLOBAL DEFAULT UND strstr@GLIBC_2.0 (3)
68: 00000000 187 FUNC GLOBAL DEFAULT UND strlen@GLIBC_2.0 (3)
69: 00000000 512 FUNC GLOBAL DEFAULT UND XParseGeometry
70: 00000000 285 FUNC GLOBAL DEFAULT UND XSetDashes
71: 00000000 1010 FUNC GLOBAL DEFAULT UND XChangeProperty
72: 00000000 174 FUNC GLOBAL DEFAULT UND XChangeGC
73: 00000000 122 FUNC GLOBAL DEFAULT UND XDestroyWindow
74: 00000000 174 FUNC GLOBAL DEFAULT UND strcspn@GLIBC_2.0 (3)
75: 00000000 138 FUNC GLOBAL DEFAULT UND XSetWindowColormap
76: 00000000 103 FUNC GLOBAL DEFAULT UND XSetBackground
77: 00000000 58 FUNC GLOBAL DEFAULT UND
__strtol_internal@GLIBC_2.0 (
3)
78: 00000000 137 FUNC GLOBAL DEFAULT UND
__memcpy_chk@GLIBC_2.3.4 (4)
79: 00000000 728 FUNC GLOBAL DEFAULT UND XKeycodeToKeysym
80: 00000000 233 FUNC GLOBAL DEFAULT UND XCreateColormap
81: 00000000 782 FUNC GLOBAL DEFAULT UND XParseColor
82: 00000000 267 FUNC GLOBAL DEFAULT UND XQueryColor
83: 00000000 43 FUNC GLOBAL DEFAULT UND floor@GLIBC_2.0 (2)
84: 0805acd0 0 NOTYPE GLOBAL DEFAULT ABS __bss_start
85: 00000000 138 FUNC GLOBAL DEFAULT UND
XSetWindowBackgroundPixma
86: 00000000 414 FUNC GLOBAL DEFAULT UND
__libc_start_main@GLIBC_2.0 (
3)
87: 00000000 340 FUNC GLOBAL DEFAULT UND XDrawLine
88: 00000000 183 FUNC GLOBAL DEFAULT UND exp@GLIBC_2.0 (2)
89: 00000000 517 FUNC GLOBAL DEFAULT UND XLoadQueryFont
90: 00000000 963 FUNC GLOBAL DEFAULT UND realloc@GLIBC_2.0 (3)
91: 00000000 138 FUNC GLOBAL DEFAULT UND XSetWindowBorder
92: 0805691c 0 FUNC GLOBAL DEFAULT 13 _fini
93: 00000000 182 FUNC GLOBAL DEFAULT UND fcntl@GLIBC_2.0 (3)
94: 00000000 113 FUNC GLOBAL DEFAULT UND memcpy@GLIBC_2.0 (3)
95: 00000000 117 FUNC GLOBAL DEFAULT UND sqrt@GLIBC_2.0 (2)
96: 00000000 357 FUNC GLOBAL DEFAULT UND XListInstalledColormaps
97: 00000000 68 FUNC GLOBAL DEFAULT UND __strdup@GLIBC_2.0 (3)
98: 00000000 196 FUNC GLOBAL DEFAULT UND XFetchName
99: 00000000 315 FUNC GLOBAL DEFAULT UND XInternAtom
100: 00000000 145 FUNC GLOBAL DEFAULT UND gethostname@GLIBC_2.0
(3)
101: 00000000 253 FUNC GLOBAL DEFAULT UND XAllocColor
102: 00000000 54 FUNC GLOBAL DEFAULT UND XStoreBytes
103: 00000000 84 FUNC GLOBAL DEFAULT UND __read_chk@GLIBC_2.4
(6)
104: 00000000 101 FUNC GLOBAL DEFAULT UND XSetIconName
105: 00000000 139 FUNC GLOBAL DEFAULT UND XSetFont
106: 00000000 349 FUNC GLOBAL DEFAULT UND XFillArc
107: 00000000 251 FUNC GLOBAL DEFAULT UND exit@GLIBC_2.0 (3)
108: 00000000 82 FUNC GLOBAL DEFAULT UND XFlush
109: 00000000 300 FUNC GLOBAL DEFAULT UND XCreateWindow
110: 00000000 801 FUNC GLOBAL DEFAULT UND calloc@GLIBC_2.0 (3)
111: 00000000 89 FUNC GLOBAL DEFAULT UND XrmGetStringDatabase
112: 00000000 145 FUNC GLOBAL DEFAULT UND XNextEvent
113: 00000000 60 FUNC GLOBAL DEFAULT UND XrmInitialize
114: 00000000 44 FUNC GLOBAL DEFAULT UND sscanf@GLIBC_2.0 (3)
115: 0805acd0 0 NOTYPE GLOBAL DEFAULT ABS _edata
116: 00000000 387 FUNC GLOBAL DEFAULT UND free@GLIBC_2.0 (3)
117: 0805dd1c 0 NOTYPE GLOBAL DEFAULT ABS _end
118: 00000000 338 FUNC GLOBAL DEFAULT UND XDrawRectangle
119: 00000000 138 FUNC GLOBAL DEFAULT UND XSelectInput
120: 00000000 157 FUNC GLOBAL DEFAULT UND XSetLineAttributes
121: 00000000 144 FUNC GLOBAL DEFAULT UND XrmGetFileDatabase
122: 00000000 103 FUNC GLOBAL DEFAULT UND memset@GLIBC_2.0 (3)
123: 00000000 122 FUNC GLOBAL DEFAULT UND strncasecmp@GLIBC_2.0
(3)
124: 0805ace8 4 OBJECT GLOBAL DEFAULT 24 stdin@GLIBC_2.0 (3)
125: 00000000 525 FUNC GLOBAL DEFAULT UND XDrawSegments
126: 00000000 152 FUNC GLOBAL DEFAULT UND strncpy@GLIBC_2.0 (3)
127: 00000000 49 FUNC GLOBAL DEFAULT UND XrmMergeDatabases
128: 00000000 154 FUNC GLOBAL DEFAULT UND XClearWindow
129: 00000000 333 FUNC GLOBAL DEFAULT UND XFillRectangle
130: 08056944 4 OBJECT GLOBAL DEFAULT 14 _IO_stdin_used
131: 00000000 124 FUNC GLOBAL DEFAULT UND XSetStipple
132: 00000000 181 FUNC GLOBAL DEFAULT UND XWarpPointer
133: 00000000 338 FUNC GLOBAL DEFAULT UND fwrite@GLIBC_2.0 (3)
134: 00000000 38 FUNC GLOBAL DEFAULT UND sin@GLIBC_2.0 (2)
135: 00000000 188 FUNC GLOBAL DEFAULT UND XrmGetResource
136: 00000000 1474 FUNC GLOBAL DEFAULT UND XrmParseCommand
137: 00000000 0 NOTYPE WEAK DEFAULT UND _Jv_RegisterClasses
138: 00000000 36 FUNC GLOBAL DEFAULT UND
__sprintf_chk@GLIBC_2.3.4 (4)
139: 00000000 1197 FUNC GLOBAL DEFAULT UND XPutImage
140: 00000000 224 FUNC GLOBAL DEFAULT UND XCreatePixmap
141: 00000000 106 FUNC GLOBAL DEFAULT UND XSetFillStyle
142: 00000000 430 FUNC GLOBAL DEFAULT UND XCreateGC
143: 00000000 4140 FUNC GLOBAL DEFAULT UND XOpenDisplay
144: 00000000 0 NOTYPE WEAK DEFAULT UND __gmon_start__
145: 00000000 139 FUNC GLOBAL DEFAULT UND strcpy@GLIBC_2.0 (3)
146: 00000000 186 FUNC GLOBAL DEFAULT UND XMapRaised
--------------------------------------------------------------------------------
Thanking you in advance for your time and attention,
Sincerely yours,
Tatjana.
|
|
From: <br...@ph...> - 2006-10-11 19:38:28
|
Tatjana Skrbic wrote: > Thank you a lot for your reply! > > My operating system is Mandriva 2007, and a version of gnuplot is: > > gnuplot-4.0.0-10mdv2007.0 (i586) A binary package, then. Well, in that case I'm afraid you'll have to take this up with Mandriva. This was a bug in version 4.0 which we fixed that quite exactly one year ago. Why Mandriva would distribute packages that don't run on their system is for them to answer. Until then, if you're brave enough, I'd suggest you update to the latest version of gnuplot. We're just gearing up to release 4.2. |