[xmlsec] Order of shutdown calls?

Erwann Abalea erwann.abalea at certplus.com
Mon Sep 20 09:17:55 PDT 2004


On Mon, 20 Sep 2004, Aleksey Sanin wrote:

> This is the order of shutdown calls in all my xmlsec programs:


>  > Nevertheless, I attempted several things, and I always get the same
>  > result:
>  >
> func=xmlSecPtrListFinalize:file=list.c:line=130:obj=unknown:subj=xmlSecPtrListIsValid(list):error=100:assertion:
>  > (3 times)
> Do you get any other errors? Usually xmlsec prints the whole stack
> and it would be nice to know which xmlSecPtrList has problems.

No, I don't have any other error message. These error messages are
generated at the xmlSecShutdown() call, with the *Shutdown() order calls
as you sent them.

[... a few minutes later, after a step by step run with gdb ...]

Blame on me... Strangely, I read an XML file before having initialized the
libxml and xmlsec libraries... :(
I moved the initialization calls before any other libxml and xmlsec
function calls, and it works perfectly.

Sorry to bother everybody with my f*cking newbie bugs... ;)

Erwann ABALEA <eabalea at certplus.com> - RSA PGP Key ID: 0x2D0EABD5
Créons donc un groupe spécial pour les cons et les connes. Tu seras la
modératrice en chef.
-+- C in Guide du Neuneu d'Usenet-Je veux être le premier à y poster -+-

More information about the xmlsec mailing list