:[EMAIL PROTECTED]]
Sent: 04 December 2003 18:48
To: [EMAIL PROTECTED]
Subject: Re: segmentation fault while writing apache modules using
xerces
Hi!
I guess the problem is not on the apachemodule.
I've just made a program with parts of module code that uses xercestool
Hi
There,
Just a really stupid question are you using the
XMLPlatformUtils::Initialize(); method
Thanks
Pete
-Original Message-From:
Hugo Kotsubo [mailto:[EMAIL PROTECTED]Sent: 04 December 2003
18:48To: [EMAIL PROTECTED]Subject: Re:
segmentation fault while writing
tation fault while writing apache modules using xerces
12/04/2003 10:48
TED]
.com.br> cc: (bcc: David N
Bertoni/Cambridge/IBM)
Subject: Re: segmentation fault while
writing apache modules using
Title: Message
Did
you call XMLPlatformUtils::Initialize() before creating the
parser?
-Original Message-From: Hugo Kotsubo
[mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2003
1:48 PMTo: [EMAIL PROTECTED]Subject: Re:
segmentation fault while writing apache module
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
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
> 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
I'm compiling the module with g++ and installing with 'apxs -i'
Here's the Makefile:
##
# the used tools
APXS=apxs
APACHECTL=apachectl
# Get all of apxs's internal values.
APXS_CC=`$(APXS) -q CC`
APXS_TARGET=`$(APXS) -q TARGE
How are you linking your module, and are there any other modules being
loaded that use C++ that are built with an older libstdc++? The latter will
cause the behavior you're seeing.
mod_php is a common culprit, since it uses C++.
-- Scott
-
10 matches
Mail list logo