Thanks Soeren,<br><br>As a side note, it did run on my Mac, using Kygschaos package (6.4.1, I guess)...<br><br>here is the output if g.region -p3: <br><br>GRASS 7.0.svn (santa_catarina@dunas2):~ > g.region -p3<br>projection: 1 (UTM)<br>
zone: -22<br>datum: wgs84<br>ellipsoid: wgs84<br>north: 6901400<br>south: 6899300<br>west: 731900<br>east: 732900<br>top: 60.00000000<br>bottom: 0.00000000<br>nsres: 0.5<br>
nsres3: 0.5<br>ewres: 0.5<br>ewres3: 0.5<br>tbres: 0.5<br>rows: 4200<br>rows3: 4200<br>cols: 2000<br>cols3: 2000<br>depths: 120<br>cells: 8400000<br>cells3: 1008000000<br>
<br><br><br>and here of gdb:<br><br>GRASS 7.0.svn (santa_catarina@dunas2):~ > r.to.rast3elev --overwrite input=mask_volume_garopaba elevation=garopaba_SOLO_bicubic output=garopaba_vol05m lower=1<br>Creating 3D raster map<br>
Segmentation fault<br>GRASS 7.0.svn (santa_catarina@dunas2):~ > gdb `which r.to.rast3elev`<br>GNU gdb (Ubuntu/Linaro 7.2-1ubuntu11) 7.2<br>Copyright (C) 2010 Free Software Foundation, Inc.<br>License GPLv3+: GNU GPL version 3 or later <<a href="http://gnu.org/licenses/gpl.html">http://gnu.org/licenses/gpl.html</a>><br>
This is free software: you are free to change and redistribute it.<br>There is NO WARRANTY, to the extent permitted by law. Type "show copying"<br>and "show warranty" for details.<br>This GDB was configured as "i686-linux-gnu".<br>
For bug reporting instructions, please see:<br><<a href="http://www.gnu.org/software/gdb/bugs/">http://www.gnu.org/software/gdb/bugs/</a>>...<br>Reading symbols from /usr/local/grass-7.0.svn/bin/r.to.rast3elev...(no debugging symbols found)...done.<br>
(gdb) run input=mask_volume_garopaba elevation=garopaba_SOLO_bicubic output=garopaba_vol05m lower=1<br>Starting program: /usr/local/grass-7.0.svn/bin/r.to.rast3elev input=mask_volume_garopaba elevation=garopaba_SOLO_bicubic output=garopaba_vol05m lower=1<br>
Creating 3D raster map<br> 0%<br>Program received signal SIGSEGV, Segmentation fault.<br>0xb7fb5ae4 in Rast_set_d_null_value () from /usr/local/grass-7.0.svn/lib/<a href="http://libgrass_raster.7.0.svn.so">libgrass_raster.7.0.svn.so</a><br>
(gdb) bt full<br>#0 0xb7fb5ae4 in Rast_set_d_null_value ()<br> from /usr/local/grass-7.0.svn/lib/<a href="http://libgrass_raster.7.0.svn.so">libgrass_raster.7.0.svn.so</a><br>No symbol table info available.<br>#1 0xb7fd3611 in Rast3d_set_null_value ()<br>
from /usr/local/grass-7.0.svn/lib/<a href="http://libgrass_g3d.7.0.svn.so">libgrass_g3d.7.0.svn.so</a><br>No symbol table info available.<br>#2 0xb7fd6a92 in Rast3d_set_null_tile_type ()<br> from /usr/local/grass-7.0.svn/lib/<a href="http://libgrass_g3d.7.0.svn.so">libgrass_g3d.7.0.svn.so</a><br>
No symbol table info available.<br>#3 0xb7fd6e3e in Rast3d_read_tile () from /usr/local/grass-7.0.svn/lib/<a href="http://libgrass_g3d.7.0.svn.so">libgrass_g3d.7.0.svn.so</a><br>No symbol table info available.<br>#4 0xb7fc9288 in ?? () from /usr/local/grass-7.0.svn/lib/<a href="http://libgrass_g3d.7.0.svn.so">libgrass_g3d.7.0.svn.so</a><br>
No symbol table info available.<br>#5 0xb7fc89fb in Rast3d_cache_elt_ptr () from /usr/local/grass-7.0.svn/lib/<a href="http://libgrass_g3d.7.0.svn.so">libgrass_g3d.7.0.svn.so</a><br>No symbol table info available.<br>#6 0xb7fd642d in Rast3d_get_tile_ptr () from /usr/local/grass-7.0.svn/lib/<a href="http://libgrass_g3d.7.0.svn.so">libgrass_g3d.7.0.svn.so</a><br>
No symbol table info available.<br>#7 0xb7fd4761 in Rast3d_put_double () from /usr/local/grass-7.0.svn/lib/<a href="http://libgrass_g3d.7.0.svn.so">libgrass_g3d.7.0.svn.so</a><br>No symbol table info available.<br>#8 0x08049880 in elev_raster_to_g3d ()<br>
No symbol table info available.<br>#9 0x08049e6e in main ()<br>No symbol table info available.<br>(gdb) l<br>No symbol table is loaded. Use the "file" command.<br>(gdb) frame 2<br>#2 0xb7fd6a92 in Rast3d_set_null_tile_type ()<br>
from /usr/local/grass-7.0.svn/lib/<a href="http://libgrass_g3d.7.0.svn.so">libgrass_g3d.7.0.svn.so</a><br>(gdb) l<br>No symbol table is loaded. Use the "file" command.<br>(gdb) <br><br><br><br>best,<br><br>
Carlos<br>
<br><br><br><div class="gmail_quote">2011/9/21 Sören Gebbert <span dir="ltr"><<a href="mailto:soerengebbert@googlemail.com">soerengebbert@googlemail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi Carlos,<br>
can you please provide more information about the grass7 segfault?<br>
<br>
Can you please print your region settings (g.region -p3)?<br>
<br>
Can you please use gdb or valgrind to check at which line in the code<br>
the segfault appears?<br>
<br>
I will try to fix this issue in grass7, but i cant reproduce it on my system.<br>
<br>
Best regards<br>
Soeren<br>
<br>
2011/9/20 Carlos Grohmann <<a href="mailto:carlos.grohmann@gmail.com">carlos.grohmann@gmail.com</a>>:<br>
<div><div></div><div class="h5">> Hello all,<br>
><br>
> I'm experiencing some issues with r.to.rast3elev , that I didn't had before.<br>
> I'm trying to reprocess some volume calculation<br>
> on dune fields in southern Brazil (see this:<br>
> <a href="http://geomorphometry.org/Grohmann2011" target="_blank">http://geomorphometry.org/Grohmann2011</a>) so I can evolve what I presented in<br>
> the Geomorphometry Meeting into a full paper, but at this point I can't<br>
> calculate the volumes any more!<br>
><br>
> (BTW, Helena, I'm thinking about comparing the volumes from r.volume and<br>
> r.to.rast3elev, since I think there will be differences..)<br>
><br>
> OS: Linux, Ubuntu 11.04<br>
> In GRASS 6.4.1, installed from Ubuntu repositories, I got this (running<br>
> inside a python session):<br>
><br>
> grass.run_command('r.to.rast3elev', input=clump, elevation=dem,<br>
> output=dem3d, lower=1, overwrite=True)<br>
> Creating 3D raster map<br>
> ERROR: G3d_cache_hash_remove_name: name not in hashtable<br>
><br>
> and in GRASS 7.0svn updated today, I got a segmentation fault.<br>
><br>
> the region is set to match the 'clump' map (which is the same as the mask,<br>
> to limit the calculations to the active dunes).<br>
><br>
> any help is appreciated<br>
><br>
> Carlos<br>
><br>
><br>
><br>
><br>
> --<br>
> Prof. Carlos Henrique Grohmann - Geologist D.Sc.<br>
> Institute of Geosciences - Univ. of São Paulo, Brazil<br>
> ---<br>
> <a href="http://www.igc.usp.br/pessoais/guano" target="_blank">http://www.igc.usp.br/pessoais/guano</a><br>
> <a href="http://digitalelevation.wordpress.com/" target="_blank">http://digitalelevation.wordpress.com/</a><br>
> <a href="http://lattes.cnpq.br/5846052449613692" target="_blank">http://lattes.cnpq.br/5846052449613692</a> (CV)<br>
> ---<br>
> Twitter: @CarlosGrohmann<br>
> <a href="http://carlosgrohmann.tumblr.com/" target="_blank">http://carlosgrohmann.tumblr.com/</a><br>
> Linux User #89721<br>
> ________________<br>
> Can’t stop the signal.<br>
><br>
</div></div>> _______________________________________________<br>
> grass-user mailing list<br>
> <a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a><br>
><br>
><br>
</blockquote></div><br><br clear="all"><br>-- <br>Prof. Carlos Henrique Grohmann - Geologist D.Sc.<br>Institute of Geosciences - Univ. of São Paulo, Brazil<div>---<br><a href="http://www.igc.usp.br/pessoais/guano" target="_blank">http://www.igc.usp.br/pessoais/guano</a><div>
<a href="http://carlosgrohmann.wordpress.com/" target="_blank">http://digitalelevation.wordpress.com/</a><br><a href="http://lattes.cnpq.br/5846052449613692" target="_blank">http://lattes.cnpq.br/5846052449613692</a> (CV)<div>
---</div><div>Twitter: <a href="http://twitter.com/#%21/CarlosGrohmann" target="_blank">@CarlosGrohmann</a><br><a href="http://carlosgrohmann.tumblr.com/" target="_blank">http://carlosgrohmann.tumblr.com/</a></div><div>Linux User #89721<br>
</div><div>________________<br>Can’t stop the signal.</div></div></div><br>