[GRASS5] i.smap problems

Brad Douglas rez at touchofmadness.com
Fri Jul 22 17:21:08 EDT 2005


I've had this issue for some time and am now just looking into it.  I
don't know if this is a 64-bit issue or not.  Can anyone replicate this
under 32-bit architectures?

I'm no expert with gdb, either and use it so rarely I cannot remember
how to probe structures:


GRASS 6.1.cvs (spearfish60):/usr/src/grass6 > gdb --args i.smap gr=b
sub=b sig=b out=b

[snip]

(gdb) run
Starting program: /opt/gis/grass-6.1.cvs/bin/i.smap gr=b sub=b sig=b
out=b
Processing rows 1-128 (of 700), cols=1-128 (of 950)
Processing rows 1-128 (of 700), cols=129-256 (of 950)
Processing rows 1-128 (of 700), cols=257-384 (of 950)
Processing rows 1-128 (of 700), cols=385-512 (of 950)
Processing rows 1-128 (of 700), cols=513-640 (of 950)
Processing rows 1-128 (of 700), cols=641-768 (of 950)
Processing rows 1-128 (of 700), cols=769-896 (of 950)
Processing rows 1-128 (of 700), cols=897-950 (of 950)
Processing rows 129-256 (of 700), cols=1-128 (of 950)
Processing rows 129-256 (of 700), cols=129-256 (of 950)
Processing rows 129-256 (of 700), cols=257-384 (of 950)
Processing rows 129-256 (of 700), cols=385-512 (of 950)
Processing rows 129-256 (of 700), cols=513-640 (of 950)
Processing rows 129-256 (of 700), cols=641-768 (of 950)
Processing rows 129-256 (of 700), cols=769-896 (of 950)
Processing rows 129-256 (of 700), cols=897-950 (of 950)
Processing rows 257-384 (of 700), cols=1-128 (of 950)
Processing rows 257-384 (of 700), cols=129-256 (of 950)
Processing rows 257-384 (of 700), cols=257-384 (of 950)
Processing rows 257-384 (of 700), cols=385-512 (of 950)
Processing rows 257-384 (of 700), cols=513-640 (of 950)
Processing rows 257-384 (of 700), cols=641-768 (of 950)
Processing rows 257-384 (of 700), cols=769-896 (of 950)
Processing rows 257-384 (of 700), cols=897-950 (of 950)
Processing rows 385-512 (of 700), cols=1-128 (of 950)
Processing rows 385-512 (of 700), cols=129-256 (of 950)
Processing rows 385-512 (of 700), cols=257-384 (of 950)
Processing rows 385-512 (of 700), cols=385-512 (of 950)
Processing rows 385-512 (of 700), cols=513-640 (of 950)
Processing rows 385-512 (of 700), cols=641-768 (of 950)
Processing rows 385-512 (of 700), cols=769-896 (of 950)
Processing rows 385-512 (of 700), cols=897-950 (of 950)
Processing rows 513-640 (of 700), cols=1-128 (of 950)
Processing rows 513-640 (of 700), cols=129-256 (of 950)
Processing rows 513-640 (of 700), cols=257-384 (of 950)
Processing rows 513-640 (of 700), cols=385-512 (of 950)
Processing rows 513-640 (of 700), cols=513-640 (of 950)
Processing rows 513-640 (of 700), cols=641-768 (of 950)
Processing rows 513-640 (of 700), cols=769-896 (of 950)
Processing rows 513-640 (of 700), cols=897-950 (of 950)
Processing rows 641-700 (of 700), cols=1-128 (of 950)
Processing rows 641-700 (of 700), cols=129-256 (of 950)
Processing rows 641-700 (of 700), cols=257-384 (of 950)
Processing rows 641-700 (of 700), cols=385-512 (of 950)
Processing rows 641-700 (of 700), cols=513-640 (of 950)
Processing rows 641-700 (of 700), cols=641-768 (of 950)
Processing rows 641-700 (of 700), cols=769-896 (of 950)
Processing rows 641-700 (of 700), cols=897-950 (of 950)
Writing [b] ...
   0%
Program received signal SIGSEGV, Segmentation fault.
0x0000000000402887 in write_img (img=Variable "img" is not available.
) at write_img.c:28
28  files->cellbuf[col] = (CELL)S->ClassSig[class].classnum;
(gdb) bt
#0  0x0000000000402887 in write_img (img=Variable "img" is not
available.
) at write_img.c:28
#1  0x0000000000402eb3 in segment ()
#2  0x000000000040224a in main (argc=5, argv=Variable "argv" is not
available.
) at main.c:27
(gdb)


-- 
Brad Douglas <rez at touchofmadness.com>




More information about the grass-dev mailing list