[GRASS-dev] [GRASS GIS] #746: v.out.ascii with column parameter: segfault

GRASS GIS trac at osgeo.org
Wed Sep 9 15:22:47 EDT 2009


#746: v.out.ascii with column parameter: segfault
---------------------+------------------------------------------------------
 Reporter:  neteler  |       Owner:  grass-dev at lists.osgeo.org
     Type:  defect   |      Status:  new                      
 Priority:  normal   |   Milestone:  6.4.0                    
Component:  Vector   |     Version:  6.4.0 RCs                
 Keywords:           |    Platform:  Linux                    
      Cpu:  x86-64   |  
---------------------+------------------------------------------------------
 I get a Heisenbug when exporting points from v.out.ascii with attributes
 (Scientific Linux 5, 64bit):

 {{{
 GRASS 6.4.0svn (patUTM32):~ > v.out.ascii phd_area_main_cities column=name
 Segmentation fault

 GRASS 6.4.0svn (patUTM32):~ > gdb v.out.ascii
 GNU gdb Red Hat Linux (6.5-37.el5_2.2rh)
 ...
 This GDB was configured as "x86_64-redhat-linux-gnu"...(no debugging
 symbols found)
 Using host libthread_db library "/lib64/libthread_db.so.1".

 (gdb) r phd_area_main_cities column=name
 Starting program:
 /home/neteler/binaries/grass-6.4.0svn/bin/v.out.ascii
 phd_area_main_cities column=name
 (no debugging symbols found)
 ...
 (no debugging symbols found)
 [Thread debugging using libthread_db enabled]
 [New Thread 47548720613104 (LWP 7517)]
 (no debugging symbols found)
 [Detaching after fork from child process 7520. (Try `set detach-on-fork
 off'.)]
 664070.15136424|5103723.69345589|1|Trento
 680631.89931785|5152080.37972013|2|Bolzano - Bozen
 748566.88848245|5114436.80436153|3|Belluno
 753217.48877466|5062320.47156408|4|Treviso
 783478.0559796|5095956.26859946|5|Pordenone
 Program exited normally.

 GRASS 6.4.0svn (patUTM32):~ > v.out.ascii phd_area_main_cities column=name
 Segmentation fault
 }}}

 Yes, I didn't compile with -g because it is my production machine but
 since it works in GDB...

 Sample location with small dataset attached.

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/746>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list