Have you called the static initialization routine?
See XMLPlatformUtils::Initialize() and XMLPlatformUtils::Terminate() for
more information. This is well documented.
Dave
Hugo Kotsubo
<[EMAIL PROTECTED] To: [EMAIL PROTECTED]
.com.br> cc: (bcc: David N
Bertoni/Cambridge/IBM)
Subject: Re: segmentation fault while
writing apache modules using xerces
12/04/2003 10:48
AM
Please respond
to xerces-c-dev
Hi!
I guess the problem is not on the apache module.
I've just made a program with parts of module code that uses xerces tools
and
the program also crashes..
I've got a segfault when I try to create a parser with new operator:
XercesDOMParser *parser = new XercesDOMParser;
Why my program is crashing in that line??
The strange is, DOMPrint example uses XercesDOMParser, and creates an
instance the same way I'm trying, but the example doesn't crashes..
What am I doing wrong?
tks
Hugo
Hugo Kotsubo wrote:
Hi!
Scott, thanks for your help.
Well, all modules in my httpd server are using the same version of
libstdc++
So, I still don't know what is happening..
Any clues?
tks
Hugo
Scott Cantor wrote:
I'm compiling the module with g++ and installing with
'apxs -i'
I would skip the apxs stuff until you have it working. But as
long as you're
linking with g++, my guess is the crash is from two versions of
libstdc++
getting loaded into Apache by different modules.
-- Scott
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
- segmentation fault while writing apache modules using xerc... Hugo Kotsubo
- RE: segmentation fault while writing apache modules u... Scott Cantor
- Re: segmentation fault while writing apache modul... Hugo Kotsubo
- RE: segmentation fault while writing apache m... Scott Cantor
- Re: segmentation fault while writing apac... Hugo Kotsubo
- Re: segmentation fault while writing... Hugo Kotsubo
- Re: segmentation fault while wri... david_n_bertoni
- Re: segmentation fault while... Hugo Kotsubo
- RE: segmentation fault while wri... Peter Guyatt
- Re: segmentation fault while... Hugo Kotsubo
- RE: segmentation fault while writing apache modules u... Jesse Pelton
