[GRASS-dev] Re: [GRASS GIS] #50: g.copy segfaults (debian.gfoss.it package) [and latest SVN]

GRASS GIS trac at osgeo.org
Fri Apr 11 12:19:09 EDT 2008


#50: g.copy segfaults (debian.gfoss.it package) [and latest SVN]
----------------------+-----------------------------------------------------
  Reporter:  steko    |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect   |      Status:  new                      
  Priority:  major    |   Milestone:  6.4.0                    
 Component:  default  |     Version:  6.3.0 RCs                
Resolution:           |    Keywords:  g.copy                   
----------------------+-----------------------------------------------------
Changes (by dylan):

  * summary:  g.copy segfaults (debian.gfoss.it package) => g.copy
              segfaults (debian.gfoss.it package) [and latest
              SVN]

Comment:

 Ouch. This bug has been biting me for a while now. How can optimization
 cause a segfault for {{{g.copy rast=rast1,rast2}}} but not for {{{g.copy
 vect=vect1,vect2}}} ? This sounds like a nasty bug to me.

 I have noticed this problem with the latest SVN on x86 and AMD platforms,
 using the standard compile options:

 {{{
 # options for opteron:
 export CFLAGS="-march=opteron -O2"
 export CXXFLAGS="-march=opteron -O2"
 #optimization for P4:
 export CFLAGS="-march=pentium4 -O2"
 export CXXFLAGS="-march=pentium4 -O2"
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/50#comment:3>
GRASS GIS <http://grass.osgeo.org>
GRASS Geographic Information System (GRASS GIS) - http://grass.osgeo.org/


More information about the grass-dev mailing list