[GRASS-dev] Re: [GRASS GIS] #970: r.report seg faults on small page
width values
GRASS GIS
trac at osgeo.org
Sun Feb 28 23:06:41 EST 2010
#970: r.report seg faults on small page width values
----------------------+-----------------------------------------------------
Reporter: epatton | Owner: grass-dev at lists.osgeo.org
Type: defect | Status: new
Priority: minor | Milestone: 6.5.0
Component: Raster | Version: svn-develbranch6
Resolution: | Keywords: r.report, page width, segmentation fault
Platform: Linux | Cpu: x86-64
----------------------+-----------------------------------------------------
Comment (by epatton):
Sorry, I forget the actual backtrace. Up late watching Olympics closing
ceremonies.
(gdb) bt full
#0 print_label (s=0x629000 <Address 0x629000 out of bounds>, len=<value
optimized out>, pflag=1, spacing=0, dot=<value optimized out>) at
label.c:46
x = 0x607100 " \205\272\367\377\177"
n = <value optimized out>
i = 0
#1 0x0000000000404f81 in print_report (unit1=<value optimized out>,
unit2=-1) at prt_report.c:221
NS = 0
ns = 0
nl = 0
nx = <value optimized out>
num = "104.966573-105.361675", '\000' <repeats 11 times>,
"@q`\000\000\000\000\000\220\001\271\367\377\177\000\000\001\000\000\000\000\000\000\000`v`",
'\000' <repeats 13 times>"\325,
\065\337\367\377\177\000\000@\334\335\367\377\177\000\000@\334\335\367\377\177\000\000\003\352\274",
<incomplete sequence \367>
len = <value optimized out>
new = 1
cats = <value optimized out>
prev = 0x7fffffffdae0
first = 1
i = <value optimized out>
divider_level = <value optimized out>
after_header = <value optimized out>
cp = 0x607240 "from to "
spacing = <value optimized out>
#2 0x000000000040534c in report () at report.c:11
unit1 = <value optimized out>
unit2 = <value optimized out>
#3 0x0000000000403573 in main (argc=3, argv=0x7fffffffdae8) at main.c:73
module = <value optimized out>
(gdb)
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/970#comment:1>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list