[GRASS-dev] Re: [GRASS GIS] #1152: d.out.file + cairo: errors writing the image

GRASS GIS trac at osgeo.org
Thu Sep 9 20:35:02 EDT 2010


#1152: d.out.file + cairo: errors writing the image
-------------------------------+--------------------------------------------
 Reporter:  hamish             |       Owner:  grass-dev@…              
     Type:  defect             |      Status:  new                      
 Priority:  major              |   Milestone:  6.4.1                    
Component:  Display            |     Version:  unspecified              
 Keywords:  d,out.file, cairo  |    Platform:  Linux                    
      Cpu:  x86-64             |  
-------------------------------+--------------------------------------------

Comment(by glynn):

 Replying to [comment:1 hamish]:
 > using `sync` instead of `sleep` seems to work
 That's sheer coincidence. "sync" waits for modified blocks to be written
 to disk. This could take several seconds, or it could return immediately.

 In this case, the problem is:
 {{{
 ERROR: Cairo_draw_bitmap: Failed to create source
 }}}

 The monitor process is terminating via G_fatal_error(). Once that happens,
 subsequent d.* commands will fail however long you wait. Using
 GRASS_RENDER_IMMEDIATE=TRUE will prevent this (the command provoking the
 error will fail, but subsequent commands will succeed), but that's a
 workaround. The fix is to sync the cairo driver to 7.0, where the issue
 has been fixed.

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1152#comment:2>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list