But that doesn't explain why it's just started happening. Can you give me a link that tells me what the bug is.<div>Cheers<br><br><div class="gmail_quote">On Thu, Jul 19, 2012 at 6:22 PM, Sandro Santilli <span dir="ltr"><<a href="mailto:strk@keybit.net" target="_blank">strk@keybit.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Sounds like a bad bug recently discovered and already fixed in the<br>
repository. You'll have to upgrade to 1.5.5, but it isn't out yet.<br>
<br>
If you filed a bug it may put some more pressure to the release manager :)<br>
<br>
--strk;<br>
<div><div class="h5"><br>
On Thu, Jul 19, 2012 at 05:37:12PM +0100, Rebecca Clarke wrote:<br>
> Hi there<br>
><br>
> I'm running Postgresql 8.4 with postgis 1.5.<br>
> I have a table that contains roughly 2000 records.<br>
> The geometry in the table is a polygon.<br>
><br>
> I can run the following query with no problems<br>
><br>
> select the_geom from mytable;<br>
><br>
> However when I run something like this:<br>
><br>
> select st_centroid(the_geom) from mytable;<br>
><br>
> or<br>
><br>
> select st_isvalid(the_geom) from mytable;<br>
><br>
> I get the following error everytime:<br>
><br>
> 2012-07-19 17:23:47 BST LOG:  server process (PID 19445) was terminated by<br>
> signal 11: Segmentation fault<br>
> 2012-07-19 17:23:47 BST LOG:  terminating any other active server processes<br>
> 2012-07-19 17:23:47 BST LOG:  all server processes terminated;<br>
> reinitializing<br>
> 2012-07-19 17:23:47 BST LOG:  database system was interrupted; last known<br>
> up at 2012-07-19 17:23:33 BST<br>
> 2012-07-19 17:23:47 BST LOG:  database system was not properly shut down;<br>
> automatic recovery in progress<br>
> 2012-07-19 17:23:47 BST LOG:  record with zero length at 1406/B6388B94<br>
> 2012-07-19 17:23:47 BST LOG:  redo is not required<br>
> 2012-07-19 17:23:47 BST LOG:  autovacuum launcher started<br>
> 2012-07-19 17:23:47 BST LOG:  database system is ready to accept connections<br>
><br>
><br>
> If I limit the query to 100 records it works.<br>
><br>
> In the same table I have another geometry that is a point. When I run the<br>
> st_isvalid against that, it does not error.<br>
><br>
> What is strange is this has only just started happening. I thought it was a<br>
> hardware issue, so I completely dumped the database and recreated it on<br>
> another server but the issue persisted. I'm not sure what I have done wrong.<br>
><br>
><br>
> The data originates from an mdb. The geom's were stored as OLE Objects.<br>
> When I imported them into postgres they were bytea. I converted them with<br>
> st_geomfromewkb(the_geom).<br>
><br>
> Any help or directions on where I can go to figure out how to solve this<br>
> issue would be great.<br>
><br>
> Thanks<br>
><br>
> Rebecca<br>
</div></div>_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>
<a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>
</blockquote></div><br></div>