How do you handle shared memory corruption issues? (contrib/xml2) - Mailing list pgsql-general

From CG
Subject How do you handle shared memory corruption issues? (contrib/xml2)
Date
Msg-id 114707.82780.qm@web37911.mail.mud.yahoo.com
Whole thread Raw
List pgsql-general
Postgresql 8.1

I made a simple modification to contrib/xml2 to include the ability to process exslt tags... On the production side,
thepostmaster crashes when I try to process my exslt stylesheet. On my development machine, everything runs without
crashing.There's a number of differences there... There's little or no load. It has far less memory, and its PostgreSQL
memoryconfiguration reflects that. It has a different processor (P4 versus x86_64 on production). There are other
differencesat the compiler and library level I'm sure. Any of these things could be contributing to the crashes. 

They are both using the same version of PsotgreSQL, compiled with the same options. They are both using the same
versionof libxml2 and libxslt. 

Incidently, I installed the Perl bindings for libxml2 and libxslt. I created a plperlu function which uses those
librariesto do the xml transformations. It blows up in the same way. 

So, I suspect that there is an issue with libxslt, but I have no idea how to nail it down. Please advise...

I'm up against a deadline, so my main goal is to get this working. Timelines and paychecks being as they are, I'm not
nearlyas concerned about fixing the larger problem. Is there a different way to process xml and (e)xslt at the database
notusing contrib/xml2 or XML::LibXSLT ? 



____________________________________________________________________________________
Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games.
http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow

pgsql-general by date:

Previous
From: Erik Jones
Date:
Subject: Re: COPY to/from non-local file
Next
From: Martijn van Oosterhout
Date:
Subject: Re: COPY to/from non-local file