RE: :Xerces and Apache::Registry problems
"Garrett, Philip (MAN-Corporate)" <[email protected]> Tue, 30 Aug 2005 10:31:30 -0400
| Newsgroups | gmane.text.xml.xerces-p.devel |
|---|---|
| Message-ID | <[email protected]> |
I haven't used it under Apache::Registry directly, but I do use it in a
PerlHandler with no ill effects. I reuse the same parser over and over, as
opposed to creating new ones. After each parse, I call this (although it
probably won't help you):
eval { $parser->resetDocumentPool() };
-----Original Message-----
From: Stephen Collyer [mailto:[email protected]]
Sent: Tuesday, August 30, 2005 5:50 AM
To: Perl Xerces Mailing List
Subject: XML::Xerces and Apache::Registry problems
Has anyone got these to play together nicely ?
I'm having problems getting a CGI script using XML::Xerces to run
consistently under Apache::Registry. I suspect either some kind of
initialization or clean-up problem, as I can create and call a parser once,
but thereafter the process dies with this message:
>httpd: XMemory.cpp:102: static void* xercesc_2_5::XMemory::operator
>new(unsigned int, xercesc_2_5::MemoryManager*): Assertion `manager != >0'
failed.
I've tried adding calls to XML::Xerces::XMLPlatformUtils::Initialize()
and XML::Xerces::XMLPlatformUtils::Terminate() but it doesn't improve
things.
Any ideas ?
--
Regards
Stephen Collyer
Netspinner Ltd
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]