Lee Thompson | 1 Aug 04:50 2003
Picon

cygwin rrdtool pkg

SUMMARY
-------
Patch accomplishes addition of --enable-local-libpng
and --enable-local-zlib allowing packagers of rrdtool
to either use libpng and zlib code included with
RRDtool (default) or use local OS's installed shared
libraries.  Also a cygwin package is created using
local OS zlib and libpng.  I consider this change
experimental.

ATTACHMENTS
-----------
rrdtool-1.0.45-1.patch : proposed changes
patch.sh : created patch file before a manual edit
bad_hunk.patch : ltmain.sh has a problematic ^M 

MODIFIED FILES
-------------
/rrdtool.spec
/CHANGES
/CONTRIBUTORS
/configure.in
/Makefile.am
/perl-shared/Makefile.PL.in
/tcl/Makefile.am
/src/Makefile.am
/doc/Makefile.am

NEW FILES
---------
(Continue reading)

Tobias Oetiker | 6 Aug 21:25 2003
Picon
Picon

dump/restore has issues on win32

Folks,

I just had this exchange with Daniel Dulac on rrd-users. It seems
that either the way the binaries are compiled is giving problems or
there is some issue with the way scanf works on win. I can not
replroduce this on unix ...

any ideas
tobi

> Hi guys,
>
> I have included a small section of the diff file generated between the two
> xml files.  As you can see, the data is getting corrupted with extremely
> large positive and negative values....We tested with 1.0.45 on windows and
> still see this issue.  We are currently going to try 1.0.42 and we confirmed
> that 1.0.33 works fine...
>
> 132,133c132,133
> < 		<last_ds>  </last_ds>			 (new)
> < 		<value> -6.2491389989e+024 </value>  (new)
> ---
> > 		<last_ds> 32959751 </last_ds>		 (original)
> > 		<value> 1.0793353333e+004 </value>   (original)
> 145,146c145,146
> < 		<last_ds>  </last_ds>			 (new)
> < 		<value> -1.7249051319e-097 </value>  (new)
> ---
> > 		<last_ds> 15247934 </last_ds> 	 (original)
> > 		<value> 3.5637900000e+003 </value>   (original)
(Continue reading)

Mario Schubert | 20 Aug 11:40 2003
Picon

Current version does not work, but I want to add a feature

Hello,

I am trying to add a thumbnail feature to rrdtool, but have problems in 
getting the cvs version started.

I fetched the cvs sources configured; compiled and installed it on my RedHat 
7.2 machine, but there are no letters at all in my plot. The same command 
work with the current release perfectly. Do I have a problem with freetype?

My rpm is freetype-2.1.2.

Thank you for your help.

Ciao,
    Mario
---------------------------------------------
Maier-Leibnitz-Laboratorium/Beschleunigerlabor der LMU und TU München
Dipl. Phys. Mario Schubert
Email: mario.schubert <at> physik.uni-muenchen.de
Phone: (+49 89)289 14283
FAX:   (+49 89)289 14280
Am Coulombwall 6, D-85748 Garching, Germany

--
Unsubscribe mailto:rrd-developers-request <at> list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-developers-request <at> list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-developers
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

(Continue reading)

Peter Stamfest | 20 Aug 11:54 2003
Picon

Re: Current version does not work, but I want to add a feature


You might have to specify the font explicitly, use --font for this. IIRC
you need a TTF for it to work...

peter

On Wed, 20 Aug 2003, Mario Schubert wrote:

> Date: Wed, 20 Aug 2003 11:40:19 +0200
> From: Mario Schubert <Mario.Schubert <at> physik.uni-muenchen.de>
> To: rrd-developers <at> list.ee.ethz.ch
> Subject: [rrd-developers] Current version does not work,
>      but I want to add a feature
> 
> Hello,
> 
> I am trying to add a thumbnail feature to rrdtool, but have problems in 
> getting the cvs version started.
> 
> I fetched the cvs sources configured; compiled and installed it on my RedHat 
> 7.2 machine, but there are no letters at all in my plot. The same command 
> work with the current release perfectly. Do I have a problem with freetype?
> 
> My rpm is freetype-2.1.2.
> 
> Thank you for your help.
> 
> Ciao,
>     Mario

(Continue reading)

Mario Schubert | 22 Aug 15:19 2003
Picon

Testset for all types of graphs?

Hello,

I'am experimenting around in the graph_size_location() function, to optimize 
for small images. But maybe my changes are usefull for normal graphs. ;-)
To test this I'am asking, if there is a test set which generates many 
different graphs (e.g. a script for Linux with the corresponding *.rrd 
files), to check how the changes affect the graphs. Thank you for your help.

Ciao,
    Mario
---------------------------------------------
Maier-Leibnitz-Laboratorium/Beschleunigerlabor der LMU und TU München
Dipl. Phys. Mario Schubert
Email: mario.schubert <at> physik.uni-muenchen.de
Phone: (+49 89)289 14283
FAX:   (+49 89)289 14280
Am Coulombwall 6, D-85748 Garching, Germany

--
Unsubscribe mailto:rrd-developers-request <at> list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-developers-request <at> list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-developers
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

Chris Turbeville | 27 Aug 16:32 2003
Picon

current CVS SEGV

I am seeing an occasional SEGV from the 1.1.0 current CVS.  It appears
here:
#0  0xfefc1be4 in _smalloc () from /usr/lib/libc.so.1
#1  0xfefc2114 in realloc () from /usr/lib/libc.so.1
#2  0xfe319b20 in data_calc (im=0xfe0f9210) at rrd_graph.c:871
#3  0xfe31d894 in graph_paint (im=0xfe0f9210, calcpr=0xfe386a40)
	at rrd_graph.c:2222
#4  0xfe31ec70 in rrd_graph (argc=27, argv=0xfe0fa418,
	prdata=0xfe386a40, 
		xsize=0xfe0f9a8c, ysize=0xfe0f9a88) at rrd_graph.c:2600

AFAIK SEGV in a realloc usually implies a previously freed or somesuch.  Has
anyone else experianced this?  This is a Solaris9 Sparc doing rrds for
ntop.
Thanks
-Chris

--

-- 
cturbeville <at> verio.net           Chris Turbeville                       NTT/VERIO
       Send mail with subject "send PGP Key" for PGP 6.5.2 Public key

--
Unsubscribe mailto:rrd-developers-request <at> list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-developers-request <at> list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-developers
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

Tobias Oetiker | 27 Aug 16:38 2003
Picon
Picon

Re: current CVS SEGV

Today Chris Turbeville wrote:

> I am seeing an occasional SEGV from the 1.1.0 current CVS.  It appears
> here:
> #0  0xfefc1be4 in _smalloc () from /usr/lib/libc.so.1
> #1  0xfefc2114 in realloc () from /usr/lib/libc.so.1
> #2  0xfe319b20 in data_calc (im=0xfe0f9210) at rrd_graph.c:871
> #3  0xfe31d894 in graph_paint (im=0xfe0f9210, calcpr=0xfe386a40)
> 	at rrd_graph.c:2222
> #4  0xfe31ec70 in rrd_graph (argc=27, argv=0xfe0fa418,
> 	prdata=0xfe386a40,
> 		xsize=0xfe0f9a8c, ysize=0xfe0f9a88) at rrd_graph.c:2600
>
> AFAIK SEGV in a realloc usually implies a previously freed or somesuch.  Has
> anyone else experianced this?  This is a Solaris9 Sparc doing rrds for
> ntop.

Chris,

compile rrdtool/ntop with -g and not -O then load the resulting
core with ddd, this should point out which line it fails in ...

another option is to compile with purify and then run, it will tell
you where the memory alocations or freeing is broken ...

cheers
tobi
> Thanks
> -Chris
>
(Continue reading)

Stanislav Sinyagin | 27 Aug 17:35 2003
Picon

Re: current CVS SEGV


--- Tobias Oetiker <oetiker <at> ee.ethz.ch> wrote:
> Today Chris Turbeville wrote:
> 
> > I am seeing an occasional SEGV from the 1.1.0 current CVS.  It appears
> > here:
> > #0  0xfefc1be4 in _smalloc () from /usr/lib/libc.so.1

> compile rrdtool/ntop with -g and not -O then load the resulting
> core with ddd, this should point out which line it fails in ...
> 
> another option is to compile with purify and then run, it will tell
> you where the memory alocations or freeing is broken ...

For solaris, there's even better solution:
http://docs.sun.com/db/doc/806-0627/6j9vhfnas?a=view

Stan

--
Unsubscribe mailto:rrd-developers-request <at> list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-developers-request <at> list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-developers
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

Chris Turbeville | 28 Aug 16:15 2003
Picon

CVS problem with Solaris9 and libtool

libtool has 3 lines of pic_flag= so configure.ac's:
CFLAGS="$CFLAGS "`grep pic_flag= libtool | sed -e 's/.*pic_flag=//' -e 's/"//g'`
Gets newlines in it.  I've patched it to:
Index: program/configure.ac
===================================================================
RCS file: /usr/cvs/rrdtool/program/configure.ac,v
retrieving revision 1.13
diff -U3 -r1.13 configure.ac
--- program/configure.ac        13 Feb 2003 07:05:27 -0000      1.13
+++ program/configure.ac        28 Aug 2003 14:14:38 -0000
 <at>  <at>  -261,7 +261,7  <at>  <at> 
 fi

 dnl add pic flag in any case this makes sure all our code is relocatable
-CFLAGS="$CFLAGS "`grep pic_flag= libtool | sed -e 's/.*pic_flag=//' -e 's/"//g'`
+CFLAGS="$CFLAGS "`grep pic_flag= libtool | head -1 | sed -e 's/.*pic_flag=//' -e 's/"//g'`

 ZLIB_CFLAGS=$CFLAGS
 dnl it seems that hpux chockes on -fPIC for some reason

its not gracefull but it might help some.
-Chris
--

-- 
cturbeville <at> verio.net           Chris Turbeville                       NTT/VERIO
       Send mail with subject "send PGP Key" for PGP 6.5.2 Public key

--
Unsubscribe mailto:rrd-developers-request <at> list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-developers-request <at> list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-developers
(Continue reading)

Chris Turbeville | 30 Aug 00:09 2003
Picon

Upside down vertical labels

I don't know if this is a bug or a feature but if you want your vertical
labels to read top to bottom as opposed to bottom to top you can do
this:

Index: program/src/rrd_graph.c
===================================================================
RCS file: /usr/cvs/rrdtool/program/src/rrd_graph.c,v
retrieving revision 1.59
diff -U3 -r1.59 rrd_graph.c
--- program/src/rrd_graph.c	16 Jul 2003 23:41:37 -0000	1.59
+++ program/src/rrd_graph.c	29 Aug 2003 22:07:24 -0000
 <at>  <at>  -1905,7 +1905,7  <at>  <at> 
 		for (n=0;n<strlen(im->ylegend);n++) {
 		    s[0]=im->ylegend[n];
 		    s[1]='\0';
-		    gfx_new_text(im->canvas,7,im->text_prop[TEXT_PROP_AXIS].size*(l-n),
+		    gfx_new_text(im->canvas,7,im->text_prop[TEXT_PROP_AXIS].size*(n+1),
 			im->graph_col[GRC_FONT],
 			im->text_prop[TEXT_PROP_AXIS].font,
 			im->text_prop[TEXT_PROP_AXIS].size, im->tabwidth, 270.0,

-Chris
--

-- 
cturbeville <at> verio.net           Chris Turbeville                       NTT/VERIO
       Send mail with subject "send PGP Key" for PGP 6.5.2 Public key

--
Unsubscribe mailto:rrd-developers-request <at> list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-developers-request <at> list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-developers
(Continue reading)


Gmane