[GRASS-dev] Heisenbug in v.out.ascii with column parameter:
segfault
Soeren Gebbert
soerengebbert at googlemail.com
Wed Sep 9 06:14:49 EDT 2009
Hello,
try valgrind:
valgrind --tool=memcheck v.out.ascii phd_area_main_cities column=name
Sören
2009/9/9 Markus Neteler <neteler at osgeo.org>
> Hi,
>
> I get a Heisenbug [1] when exporting points from v.out.ascii with
> attributes
> (Scientific Linux, 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...
>
> Any idea how to debug this problem?
>
> thanks
> Markus
>
> [1] http://en.wikipedia.org/wiki/Unusual_software_bug#Heisenbug
> _______________________________________________
> grass-dev mailing list
> grass-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-dev/attachments/20090909/164df2f9/attachment-0001.html
More information about the grass-dev
mailing list