---
From: Berin Lautenbach [mailto:[EMAIL PROTECTED]
Sent: Monday, March 15, 2004 11:30 AM
To: [EMAIL PROTECTED]
Subject: Re: Janitor
Milan,
THey should not be throwing an exception - that's really basic stuff!
What version of Xerces are you using? I know there were some
problem
--
OK
---
Best regards,
Milan
> -Original Message-
> From: Berin Lautenbach [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 15, 2004 11:30 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Janitor
>
>
> Milan,
>
> THey should not be throwing an ex
Milan,
THey should not be throwing an exception - that's really basic stuff!
What version of Xerces are you using? I know there were some problems
with 2.4?
Cheers,
Berin
Milan Tomic wrote:
Berin,
I belive I've found it. :-)
I've copied those three lines of code:
DOMNode *x509Nod
Berin,
I belive I've found it. :-)
I've copied those three lines of code:
DOMNode *x509Node = findDSIGNode(doc, "X509Certificate");
XMLString::transcode(x509Node->getTextContent());
XMLString::transcode(x509Node->getTextContent());//exception
After this line:
sig->load(
Berin,
> Are you able to provide a small piece of code that reproduces the
> problem? Happy to have a look-see!
Thank you, I'll try to make small example and to send it to you.
I've done some debugging and found out that under Debug mode it fails to
allocate memory. This is one example (DOMDocu
atic MFC link, because
of smaller deployment binaries size.
However, I've built my app with "Multithreaded DLL" option and still
same errors persists. My app crashes (exe diseapear from the screen,
try/catch block doesn't help) on this line:
delete parser; //delete Xerces
The same thi
ded DLL" option and still
same errors persists. My app crashes (exe diseapear from the screen,
try/catch block doesn't help) on this line:
delete parser; //delete Xerces
The same thing is when I use Janitor to delete Xerces. I've found only
few XML documents that "causes" thi
confused)
Cheers,
Berin
Milan Tomic wrote:
Berin,
Thank you very much for your help.
3. I am used a different memory model in my app from Xerces
(Runtime in
a DLL) as the Janitor then uses it's runtime library to
delete an object
created by a different runtime library.
I b
Berin,
Thank you very much for your help.
> 3. I am used a different memory model in my app from Xerces
> (Runtime in
> a DLL) as the Janitor then uses it's runtime library to
> delete an object
> created by a different runtime library.
I belive this is a problem
Milan,
I've seen crashes like this when :
1. I had had forgotten about the Janitor and deleted the parser
instance previously in the code.
2. When I had deleted something the parser owned, and thus when the
parser was deleted it tried to re-delete whatever I had already done.
3. I am
Title: Janitor
I had this code:
try {
//more code here...
XercesDOMParser * parser = new XercesDOMParser;
Janitor j_parser(parser);
//more code here...
//my app crashes here
} catch (...) {
//never come here
}
//never come here
My app crashes (not allways
11 matches
Mail list logo