Re: segmentation fault while writing apache modules using xerces

2003-12-05 Thread Hugo Kotsubo
:[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

RE: segmentation fault while writing apache modules using xerces

2003-12-05 Thread Peter Guyatt
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

Re: segmentation fault while writing apache modules using xerces

2003-12-04 Thread Hugo Kotsubo
tation fault while writing apache modules using xerces 12/04/2003 10:48

Re: segmentation fault while writing apache modules using xerces

2003-12-04 Thread david_n_bertoni
TED] .com.br> cc: (bcc: David N Bertoni/Cambridge/IBM) Subject: Re: segmentation fault while writing apache modules using

RE: segmentation fault while writing apache modules using xerces

2003-12-04 Thread Jesse Pelton
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

Re: segmentation fault while writing apache modules using xerces

2003-12-04 Thread Hugo Kotsubo
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

Re: segmentation fault while writing apache modules using xerces

2003-12-04 Thread Hugo Kotsubo
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

RE: segmentation fault while writing apache modules using xerces

2003-12-04 Thread Scott Cantor
> 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

Re: segmentation fault while writing apache modules using xerces

2003-12-04 Thread Hugo Kotsubo
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

RE: segmentation fault while writing apache modules using xerces

2003-12-03 Thread Scott Cantor
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 -