[gl2ps] valgrind and gl2ps

Olivier Couet couet at mail.cern.ch
Wed Apr 6 09:18:45 CEST 2005


On Tue, 5 Apr 2005, Christophe Geuzaine wrote:

> Olivier Couet wrote:
> > Hi,
> > 
> >  I ran valgrind on our program using gl2ps. I got the follwoing:
> > 
> > .....
> > 
> > ==19505== Conditional jump or move depends on uninitialised value(s)
> > ==19505==    at 0x4E359D50: gl2psAddInBspImageTree (gl/src/gl2ps.c:1670)
> > ==19505==    by 0x4E359E80: gl2psAddInBspImageTree (gl/src/gl2ps.c:1688)
> > ==19505==    by 0x4E359E33: gl2psAddInBspImageTree (gl/src/gl2ps.c:1684)
> > ==19505==    by 0x4E359E80: gl2psAddInBspImageTree (gl/src/gl2ps.c:1688)
> 
> Hi Olivier - Which version of gl2ps are you using? (I don't have access to a
> machine with valgrind at the moment, but I'd like to check what the offending
> lines correspond to.)
> 
> Thanks,
> 
> Christophe
> 

 Hello Christophe - In gl2ps.h I see:

/* Version number */

#define GL2PS_MAJOR_VERSION 1
#define GL2PS_MINOR_VERSION 2
#define GL2PS_PATCH_VERSION 3

I think it is the latest. 

 Cheers,         Olivier
-- 
Org:    CERN - European Laboratory for Particle Physics.
Mail:   1211 Geneve 23 - Switzerland                     Mailbox: J25910      
E-Mail: Olivier.Couet at cern.ch                            Phone:   +41 22 7676522
WWW:    http://cern.ch/Olivier.Couet/                    Fax:     +41 22 7670300