[GRASS5] [bug #762] (grass) r.mapcalc crashes when using @

Request Tracker grass-bugs at intevation.de
Wed Jul 4 11:31:26 EDT 2001


this bug's URL: http://intevation.de/rt/webrt?serial_num=762
-------------------------------------------------------------------------

Subject: r.mapcalc crashes when using @

Platform: Linux/Intel
Linux distro: RedHat
linux cpu: Intel (i486, i586, pentium ...)
Xwindows version: Xfree 4.0.x
Xwindows manager: KDE 2.x
grass downloaded at: Hannover site
grass binary for platform: I compiled the sources myself
grass sources source: no, I got a source code package from the server, 5.0.0pre1
c compiler name: gcc

I have a raster file with floating point number as labels, and I want to translate
these labels into values. r.report on the original file provides something like:
|-----------------------------------------------------------------------------|
|                            Category Information                             |
|   #|description                                                             |
|-----------------------------------------------------------------------------|
|   1|76.200000                                                               |
|   2|77.700000                                                               |
|   3|76.700000                                                               |
|   4|76.400000                                                               |
|   5|77.700000                                                               |
|   6|77.300000                                                               |
|   7|80.600000                                                               |
|   8|53.500000                                                               |
|   9|78.000000                                                               |
|  10|76.300000                                                               |
|  11|49.600000                                                               |
|  12|57.700000                                                               |
|  13|48.500000                                                               |
|  14|63.200000                                                               |
|  15|51.400000                                                               |
|  16|69.100000                                                               |
|  17|79.200000                                                               |
...

and I use the following expression in r.mapcalc:
result = @inputfile

and I get an immediate segmentation fault. I tried to trace the bug,
and it seems to me that it crashes while processing the very first cell,
but I've found no fix... :-(

-------------------------------------------- Managed by Request Tracker



More information about the grass-dev mailing list