[GRASS-dev] [GRASS GIS] #1736: wxNVIZ volume display crashes Mac

GRASS GIS trac at osgeo.org
Mon Feb 4 09:51:34 PST 2013


#1736: wxNVIZ volume display crashes Mac
-----------------------+----------------------------------------------------
 Reporter:  cmbarton   |       Owner:  grass-dev@…              
     Type:  defect     |      Status:  new                      
 Priority:  critical   |   Milestone:  6.4.3                    
Component:  wxGUI      |     Version:  svn-releasebranch64      
 Keywords:             |    Platform:  MacOSX                   
      Cpu:  OSX/Intel  |  
-----------------------+----------------------------------------------------

Comment(by cmbarton):

 There are never any error messages because this is not a normal GRASS
 module that goes through the GRASS error system. It simply crashes then
 entire interface. The native error system says that the crash starts at
 gvl_write_char. In the GRASS debug output, the second case crashes after
 the "initialize OK" line.

 If you compare the two debug outputs above, gvl_align_char allocates
 enough memory for a resolution of 2 (1000000 > 349308) but runs twice and
 allocates 2 chunks in the second case.

 gvl_align_data correctly allocates the needed memory in both cases now.

 I'm hoping that this is enough to suggest a fix.

 Michael

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



More information about the grass-dev mailing list