[xmlsec] FW: Free/Destroy versus Memory Leak
Edward Shallow
ed.shallow at rogers.com
Tue May 2 18:45:49 PDT 2006
Hi Aleksey,
This is why I avoid this like the plague ...
As you directed I setup bin, include, and lib sub-dirs of xmlsec_prefix and
copied dependent dirs in from Igor's site
I installed nmake and Visual Studio C++ 2003 (cl.exe) and updated the
ENVIRONMENT variables
I slightly edited mycfg.bat and ran it ... All looks good
I get his when running nmake from the win32 sub-dir ???
Ideas ...
Output follows ...
C:\XMLSec\xmlsec1-1.2.9\win32>nmake
Microsoft (R) Program Maintenance Utility Version 1.50
Copyright (c) Microsoft Corp 1988-94. All rights reserved.
makefile(571) : fatal error U1088: invalid separator '::' on inference rule
Stop.
-----Original Message-----
From: xmlsec-bounces at aleksey.com [mailto:xmlsec-bounces at aleksey.com] On
Behalf Of Aleksey Sanin
Sent: May 2, 2006 10:44 AM
To: ed.shallow at rogers.com
Cc: xmlsec at aleksey.com; igor at zlatkovic.com
Subject: Re: [xmlsec] FW: Free/Destroy versus Memory Leak
> You do not see it with the sign ?
I do see memory growth with both sign and verify... but I don't see anything
in Purify.
> Do you think it could be the environment around xmlsec ?
I highly doubt that.
> Might this not leak on a freshly installed XP machine ?
Same. It *might* depend on Service Pack though but it definitely leaks on
SP2 I have.
> Has the CVS been updated with this patch ?
Yes.
> Is it in the daily snapshot ?
I need to update my script to generate snapshots... Unfortunately it is
broken after some changes on GNOME CVS server.
>
> I will have to wait for Igor to recompile and re-post.
>
Well, you can try to compile xmlsec yourself... it is very simple:
1) Get libxml2/libxslt binaries from Igor's website. Unpack them somewhere,
say into c:\sdk\ folder so you get something like this:
c:\sdk\
bin\
include\
lib\
2) Get xmlsec sources from CVS.
3) Go to the xmlsec\win32 folder and edit the mycfg.bat file. Main thing to
change is to put the "c:\sdk" path from 1) into XMLSEC_PREFIX variable. Then
adjust other parameters as needed (e.g. check the list of enabled crypto
engines).
4) Run mycfg.bat, check output.
5) Run nmake, check output. Run 'nmake check' to execute xmlsec unit tests.
6) Pickup binaries from xmlsec\win32\binaries folder.
Aleksey
_______________________________________________
xmlsec mailing list
xmlsec at aleksey.com
http://www.aleksey.com/mailman/listinfo/xmlsec
More information about the xmlsec
mailing list