[GRASS-dev] r.resamp.stats bus error

Jamie Adams jaadfoo at gmail.com
Mon Oct 20 19:07:33 EDT 2008


Here's the output:

This GDB was configured as "x86_64-linux"...
(gdb) run -w input=W080N50 output=temp
Starting program: /usr/local/grass-6.4.svn/bin/r.resamp.stats -w
input=W080N50 output=temp
   0%
Program received signal SIGSEGV, Segmentation fault.
0x00007f8c4f2682a8 in transfer_to_cell_id (fd=<value optimized out>,
cell=0xa1) at get_row.c:571
571             ((DCELL *) cell)[i] = ((CELL *) G__.work_buf)[i];
(gdb) where
#0  0x00007f8c4f2682a8 in transfer_to_cell_id (fd=<value optimized out>,
cell=0xa1) at get_row.c:571
#1  0x00007f8c4f26899d in get_map_row_nomask (fd=6, rast=0xa1, row=<value
optimized out>, data_type=<value optimized out>) at get_row.c:633
#2  0x00007f8c4f269279 in get_map_row (fd=6, rast=0xa1, row=6, data_type=2,
null_is_zero=0, with_mask=1) at get_row.c:646
#3  0x0000000000402256 in main (argc=<value optimized out>, argv=<value
optimized out>) at main.c:192


On Mon, Oct 20, 2008 at 4:03 PM, Glynn Clements <glynn at gclements.plus.com>wrote:

>
> Jamie Adams wrote:
>
> > I'm running grass 6.4, revision 33922, on Ubuntu 8.04 and keep getting a
> bus
> > error when running r.resamp.stats with the -w flag.  I couldn't find any
> > recent mentions of this type of error in trac, and none regarding
> > r.resamp.stats.  Any ideas?
>
> Nope. Can you get a backtrace from gdb? E.g.:
>
>        $ gdb r.resamp.stats
>        > run -w input=W080N50 output=temp
>        [error message]
>        > where
>
> --
> Glynn Clements <glynn at gclements.plus.com>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-dev/attachments/20081020/a48b7a9d/attachment.html


More information about the grass-dev mailing list