<div dir="ltr">Thanks for the help, Bborie,<div><br></div><div>Based on your comment about nulls, I dove into the queries and discovered that, in fact, it was due to an unexpected null shape in a call to st_clip. Thanks for that. It really helped me to narrow down the issue.</div><div><br></div><div>It still feels like there's a but in postgresql server since that assertion shouldn't cause the perma-recovery mode that ends up happening when lots of those assertions occur every second. It's almost like a race condition in the recovery process.</div><div><br></div><div>Anyway, if i can get the time, i'll post that question to the pgsql group.</div><div><br></div><div>Thanks again<br><div><br>On Monday, March 31, 2014 12:44:00 PM UTC-4, Robert Nix wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir="ltr">After 1001 of these errors:<div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><font face="courier new, monospace">2014-03-31 15:50:51 UTC ERROR:  rt_band_load_offline_data: Cannot open offline raster: /...</font></div></blockquote><div><br></div><div>I get:</div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div><font face="courier new, monospace">SELECT: rt_api.c:8659: rt_raster_from_band: Assertion `((void *)0) != raster' failed.</font></div></div><div><div><font face="courier new, monospace">2014-03-31 15:50:52 UTC LOG:  server process (PID 8385) was terminated by signal 6: Aborted</font></div></div></blockquote><div><br></div><div>Eventually resulting in:</div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div><font face="courier new, monospace">2014-03-31 15:50:52 UTC FATAL:  the database system is in recovery mode</font></div></div></blockquote><div><br></div><div>Requiring bouncing the postgres service.</div><div><br></div><div>I'm not sure if this is an issue with PostGIS or PostgreSQL itself.</div><div><br></div><div>I'm accessing the rasters from within a sql function, essentially:</div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div><font face="courier new, monospace">st_setbandnodatavalue(</font></div></div><div><div><font face="courier new, monospace">  st_snaptogrid(</font></div></div><div><div><font face="courier new, monospace">    st_setsrid(_rast,4326),</font></div></div><div><div><font face="courier new, monospace">    gridx:=st_upperleftx(_rast),</font></div></div><div><div><font face="courier new, monospace">    gridy:=st_upperlefty(_rast)</font></div></div><div><div><font face="courier new, monospace">  ),</font></div></div><div><div><font face="courier new, monospace">  0.0</font></div></div><div><div><font face="courier new, monospace">)</font></div></div></blockquote><div><br></div></div></blockquote></div></div></div>