[GRASS-dev] [GRASS GIS] #347: g.parser terminated when execute
scripts just like g.manual, v.report etc.
GRASS GIS
trac at osgeo.org
Tue Oct 28 03:22:36 EDT 2008
#347: g.parser terminated when execute scripts just like g.manual, v.report etc.
----------------------+-----------------------------------------------------
Reporter: wlx | Owner: grass-dev at lists.osgeo.org
Type: defect | Status: new
Priority: major | Milestone: 6.4.0
Component: default | Version: svn-develbranch6
Keywords: g.parser | Platform: Linux
Cpu: x86-32 |
----------------------+-----------------------------------------------------
Using Ubuntu intrepid with grass 6.4svn version, gdal and grass are
compiled myself with dpkg-buildpackage.
When running g.manual -i, get error:
{{{
*** buffer overflow detected ***: g.parser terminated
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x48)[0xb7f51558]
/lib/tls/i686/cmov/libc.so.6[0xb7f4f680]
/lib/tls/i686/cmov/libc.so.6[0xb7f4ed68]
/lib/tls/i686/cmov/libc.so.6(_IO_default_xsputn+0xc8)[0xb7ec4a18]
/lib/tls/i686/cmov/libc.so.6(_IO_vfprintf+0xf4a)[0xb7e978da]
/lib/tls/i686/cmov/libc.so.6(__vsprintf_chk+0xa7)[0xb7f4ee17]
/lib/tls/i686/cmov/libc.so.6(__sprintf_chk+0x2d)[0xb7f4ed5d]
g.parser(main+0xa2b)[0x804987a]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb7e6d685]
g.parser[0x8048ce1]
======= Memory map: ========
08048000-0804a000 r-xp 00000000 08:01 8831575
/usr/lib/grass64/bin/g.parser
0804a000-0804b000 r--p 00001000 08:01 8831575
/usr/lib/grass64/bin/g.parser
0804b000-0804c000 rw-p 00002000 08:01 8831575
/usr/lib/grass64/bin/g.parser
084b7000-084d8000 rw-p 084b7000 00:00 0 [heap]
b7e42000-b7e4f000 r-xp 00000000 08:01 3440661 /lib/libgcc_s.so.1
b7e4f000-b7e50000 r--p 0000c000 08:01 3440661 /lib/libgcc_s.so.1
b7e50000-b7e51000 rw-p 0000d000 08:01 3440661 /lib/libgcc_s.so.1
b7e51000-b7e53000 rw-p b7e51000 00:00 0
b7e53000-b7e55000 r-xp 00000000 08:01 3458222
/lib/tls/i686/cmov/libdl-2.8.90.so
b7e55000-b7e56000 r--p 00001000 08:01 3458222
/lib/tls/i686/cmov/libdl-2.8.90.so
b7e56000-b7e57000 rw-p 00002000 08:01 3458222
/lib/tls/i686/cmov/libdl-2.8.90.so
b7e57000-b7faf000 r-xp 00000000 08:01 3458219
/lib/tls/i686/cmov/libc-2.8.90.so
b7faf000-b7fb1000 r--p 00158000 08:01 3458219
/lib/tls/i686/cmov/libc-2.8.90.so
b7fb1000-b7fb2000 rw-p 0015a000 08:01 3458219
/lib/tls/i686/cmov/libc-2.8.90.so
b7fb2000-b7fb5000 rw-p b7fb2000 00:00 0
b7fb5000-b7fd9000 r-xp 00000000 08:01 3458223
/lib/tls/i686/cmov/libm-2.8.90.so
b7fd9000-b7fda000 r--p 00023000 08:01 3458223
/lib/tls/i686/cmov/libm-2.8.90.so
b7fda000-b7fdb000 rw-p 00024000 08:01 3458223
/lib/tls/i686/cmov/libm-2.8.90.so
b7fdb000-b7fef000 r-xp 00000000 08:01 8405143 /usr/lib/libz.so.1.2.3.3
b7fef000-b7ff1000 rw-p 00013000 08:01 8405143 /usr/lib/libz.so.1.2.3.3
b7ff1000-b7ff2000 rw-p b7ff1000 00:00 0
b800a000-b8010000 r-xp 00000000 08:01 8659733
/usr/lib/grass64/lib/libgrass_datetime.6.4.svn.so
b8010000-b8011000 r--p 00006000 08:01 8659733
/usr/lib/grass64/lib/libgrass_datetime.6.4.svn.so
b8011000-b8012000 rw-p 00007000 08:01 8659733
/usr/lib/grass64/lib/libgrass_datetime.6.4.svn.so
b8012000-b805b000 r-xp 00000000 08:01 8661461
/usr/lib/grass64/lib/libgrass_gis.6.4.svn.so
b805b000-b805c000 r--p 00048000 08:01 8661461
/usr/lib/grass64/lib/libgrass_gis.6.4.svn.so
b805c000-b805d000 rw-p 00049000 08:01 8661461
/usr/lib/grass64/lib/libgrass_gis.6.4.svn.so
b805d000-b8065000 rw-p b805d000 00:00 0
b8065000-b807f000 r-xp 00000000 08:01 3440663 /lib/ld-2.8.90.so
b807f000-b8080000 r-xp b807f000 00:00 0 [vdso]
b8080000-b8081000 r--p 0001a000 08:01 3440663 /lib/ld-2.8.90.so
b8081000-b8082000 rw-p 0001b000 08:01 3440663 /lib/ld-2.8.90.so
bff6d000-bff82000 rw-p bffeb000 00:00 0 [stack]
Aborted
}}}
running v.report, get a similar error too, both are caused by g.parser.
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/347>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list