<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>I’m trying to rebuild my i386(RHEL5) database (PostGIS-2.0.1SVN) on x86_64 (CentOS). I’ve managed to build all of the libraries and I believe they are all installed correctly, but when I attempt to load postgis.sql, I get a seg-fault and the postmaster restarts wth:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>…LANGUAGE 'plpgsql' IMMUTABLE STRICT;<o:p></o:p></p><p class=MsoNormal>ERROR: current transaction is aborted, commands ignored until end of transaction block<o:p></o:p></p><p class=MsoNormal>STATEMENT: CREATE OR REPLACE FUNCTION _ST_AsX3D(int4, geometry, int4, int4, text)<o:p></o:p></p><p class=MsoNormal> RETURNS TEXT<o:p></o:p></p><p class=MsoNormal> AS '$libdir/postgis-2.0','LWGEOM_asX3D'<o:p></o:p></p><p class=MsoNormal> LANGUAGE 'C' IMMUTABLE;<o:p></o:p></p><p class=MsoNormal>ERROR: current transaction is aborted, commands ignored until end of transaction block<o:p></o:p></p><p class=MsoNormal>STATEMENT: CREATE OR REPLACE FUNCTION ST_AsX3D(geom geometry, maxdecimaldigits integer DEFAULT 15, options integer DEFAULT 0)<o:p></o:p></p><p class=MsoNormal> RETURNS TEXT<o:p></o:p></p><p class=MsoNormal> AS $$SELECT _ST_AsX3D(3,$1,$2,$3,'');$$<o:p></o:p></p><p class=MsoNormal> LANGUAGE 'sql' IMMUTABLE;<o:p></o:p></p><p class=MsoNormal>LOG: received fast shutdown request<o:p></o:p></p><p class=MsoNormal>LOG: aborting any active transactions<o:p></o:p></p><p class=MsoNormal>LOG: autovacuum launcher shutting down<o:p></o:p></p><p class=MsoNormal>LOG: shutting down<o:p></o:p></p><p class=MsoNormal>LOG: database system is shut down<o:p></o:p></p><p class=MsoNormal>LOG: database system was shut down at 2012-05-10 20:42:21 UTC<o:p></o:p></p><p class=MsoNormal>LOG: autovacuum launcher started<o:p></o:p></p><p class=MsoNormal>LOG: database system is ready to accept connections<o:p></o:p></p><p class=MsoNormal>LOG: server process (PID 8543) was terminated by signal 11: Segmentation fault<o:p></o:p></p><p class=MsoNormal>LOG: terminating any other active server processes<o:p></o:p></p><p class=MsoNormal>WARNING: terminating connection because of crash of another server process<o:p></o:p></p><p class=MsoNormal>DETAIL: The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.<o:p></o:p></p><p class=MsoNormal>HINT: In a moment you should be able to reconnect to the database and repeat your command.<o:p></o:p></p><p class=MsoNormal>LOG: all server processes terminated; reinitializing<o:p></o:p></p><p class=MsoNormal>LOG: database system was interrupted; last known up at 2012-05-10 20:42:22 UTC<o:p></o:p></p><p class=MsoNormal>LOG: database system was not properly shut down; automatic recovery in progress<o:p></o:p></p><p class=MsoNormal>LOG: record with zero length at 0/2A9A0F0<o:p></o:p></p><p class=MsoNormal>LOG: redo is not required<o:p></o:p></p><p class=MsoNormal>LOG: autovacuum launcher started<o:p></o:p></p><p class=MsoNormal>LOG: database system is ready to accept connections<o:p></o:p></p><p class=MsoNormal>LOG: server process (PID 8572) was terminated by signal 11: Segmentation fault<o:p></o:p></p><p class=MsoNormal>LOG: terminating any other active server processes<o:p></o:p></p><p class=MsoNormal>WARNING: terminating connection because of crash of another server process<o:p></o:p></p><p class=MsoNormal>DETAIL: The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.<o:p></o:p></p><p class=MsoNormal>HINT: In a moment you should be able to reconnect to the database and repeat your command.<o:p></o:p></p><p class=MsoNormal>LOG: all server processes terminated; reinitializing<o:p></o:p></p><p class=MsoNormal>LOG: database system was interrupted; last known up at 2012-05-10 20:42:28 UTC<o:p></o:p></p><p class=MsoNormal>LOG: database system was not properly shut down; automatic recovery in progress<o:p></o:p></p><p class=MsoNormal>LOG: record with zero length at 0/2A9A148<o:p></o:p></p><p class=MsoNormal>LOG: redo is not required<o:p></o:p></p><p class=MsoNormal>LOG: autovacuum launcher started<o:p></o:p></p><p class=MsoNormal>LOG: database system is ready to accept connections<o:p></o:p></p><p class=MsoNormal>LOG: server process (PID 8581) was terminated by signal 11: Segmentation fault<o:p></o:p></p><p class=MsoNormal>LOG: terminating any other active server processes<o:p></o:p></p><p class=MsoNormal>WARNING: terminating connection because of crash of another server process<o:p></o:p></p><p class=MsoNormal>DETAIL: The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.<o:p></o:p></p><p class=MsoNormal>HINT: In a moment you should be able to reconnect to the database and repeat your command.<o:p></o:p></p><p class=MsoNormal>LOG: all server processes terminated; reinitializing<o:p></o:p></p><p class=MsoNormal>LOG: database system was interrupted; last known up at 2012-05-10 20:42:33 UTC<o:p></o:p></p><p class=MsoNormal>LOG: database system was not properly shut down; automatic recovery in progress<o:p></o:p></p><p class=MsoNormal>LOG: record with zero length at 0/2A9A1A0<o:p></o:p></p><p class=MsoNormal>LOG: redo is not required<o:p></o:p></p><p class=MsoNormal>LOG: autovacuum launcher started<o:p></o:p></p><p class=MsoNormal>LOG: database system is ready to accept connections<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I’m looking around for more detail, but I’m not seeing anything. Any ideas where I should look next?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>--Jack Gold<o:p></o:p></p></div></body></html>