[postgis-tickets] [PostGIS] #2203: [raster]: Can't read out_db jpg in some cases

PostGIS trac at osgeo.org
Sat Feb 16 07:05:30 PST 2013


#2203: [raster]: Can't read out_db jpg in some cases
---------------------+------------------------------------------------------
  Reporter:  robe    |       Owner:  dustymugs    
      Type:  defect  |      Status:  reopened     
  Priority:  medium  |   Milestone:  PostGIS 2.1.0
 Component:  raster  |     Version:  trunk        
Resolution:          |    Keywords:  history      
---------------------+------------------------------------------------------

Comment(by robe):

 Okay I just reloaded -- here is what I found:


 {{{
 SELECT ST_SummaryStats(rast) FROM armory_outdb limit 1;

 (27000000,2665449805,98.7203631481482,81.4870806656832,0,255)
 }}}

 Run the above a second time KABOOM server instance crashes and comes
 toppling down :)

 Resize still doesn't work and to rule out the folder, I added another
 image to it and registered that file as an out db and that one works fine.


 If it helps when I run resize I get this extra info in the database logs:


 {{{
 ERROR 1: libjpeg: Failed to create temporary file
 ERROR 1: C:/pics/back.jpg, band 2: IReadBlock failed at X offset 0, Y
 offset 0
 ERROR 1: GetBlockRef failed at X block offset 0, Y block offset 0
 }}}

 I'm going to try next on my mingw instance to see if its an EDB windows
 instance issue.  haven't tried on my 32-bit instance yet either.  I have
 5GB of disk space left so I assume that is not the issue.  I think I'm
 running with default postgres.conf for my development instance.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2203#comment:9>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list