Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[UDUNITS #JFZ-220995]: memory leaks in udunits2



Sue,

> I sent these before in the Fall
> and just downloaded a new udunits2 package and
> I dont think anything has been fixed.
> 
> Output from valgrind:
> ==5507== Source and destination overlap in strncpy(0xBEC91BB6, 0xBEC91BB6, 256)
> ==5507==    at 0x401EE64: strncpy (mc_replace_strmem.c:116)
> ==5507==    by 0x4088F9E: readXml (in /opt/lib/libudunits2.so.0.0.0)
> ==5507==    by 0x408936E: ut_read_xml (in /opt/lib/libudunits2.so.0.0.0)
> ...
> 
> ==5507==
> ==5507== Source and destination overlap in strncpy(0xBEC8F596, 0xBEC8F596, 256)
> ==5507==    at 0x401EE64: strncpy (mc_replace_strmem.c:116)
> ==5507==    by 0x4088F9E: readXml (in /opt/lib/libudunits2.so.0.0.0)
> ==5507==    by 0x408B543: endElement (in /opt/lib/libudunits2.so.0.0.0)
> ==5507==    by 0x4090EF2: doContent (in /opt/lib/libudunits2.so.0.0.0)
> ==5507==    by 0x40917B9: contentProcessor (in /opt/lib/libudunits2.so.0.0.0)
> ==5507==    by 0x4091BD9: prologProcessor (in /opt/lib/libudunits2.so.0.0.0)
> ==5507==    by 0x4092FC4: prologInitProcessor (in /opt/lib/libudunits2.so.0.0.0)
> ==5507==    by 0x408BB6D: XML_ParseBuffer (in /opt/lib/libudunits2.so.0.0.0)
> ==5507==    by 0x408D781: XML_Parse (in /opt/lib/libudunits2.so.0.0.0)
> ==5507==    by 0x408920A: readXml (in /opt/lib/libudunits2.so.0.0.0)
> ==5507==    by 0x408936E: ut_read_xml (in /opt/lib/libudunits2.so.0.0.0)
> ...

Actually, these have been fixed.  I just haven't gotten around to
making a new release because I need to add two more functions to
the API and I'm currently working on another project.

> Thanks,
> Sue

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: JFZ-220995
Department: Support UDUNITS
Priority: Normal
Status: Closed


 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Office of Programs University Corporation for Atmospheric Research (UCAR)   Unidata is a member of the UCAR Office of Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690