[GRASS-dev] Bug when location does not exist?

Rainer M Krug r.m.krug at gmail.com
Thu Jun 28 00:38:00 PDT 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi

When I start grass 6.4.2 I get the following error cused by a non-existing location:

########
$ grass64
Cleaning up temporary files ...
Starting GRASS ...
access: No such file or directory
ERROR: LOCATION <<
       /media/Results/clusterResults/HakeaLandscape/HakSim.SeedNumberPaper/results/./all.Agulhas
       >> not available
*** buffer overflow detected ***: /home/rkrug/inst/grass-6.4.2/etc/set_data terminated
======= Backtrace: =========
/lib/i386-linux-gnu/libc.so.6(__fortify_fail+0x45)[0x310dd5]
/lib/i386-linux-gnu/libc.so.6(+0xfebaa)[0x30fbaa]
/lib/i386-linux-gnu/libc.so.6(+0xfdedd)[0x30eedd]
/home/rkrug/inst/grass-6.4.2/etc/set_data(main+0xd6)[0x8049756]
/lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0x22a4d3]
/home/rkrug/inst/grass-6.4.2/etc/set_data[0x8049291]
======= Memory map: ========
001c3000-001df000 r-xp 00000000 08:02 787383     /lib/i386-linux-gnu/libgcc_s.so.1
001df000-001e0000 r--p 0001b000 08:02 787383     /lib/i386-linux-gnu/libgcc_s.so.1
001e0000-001e1000 rw-p 0001c000 08:02 787383     /lib/i386-linux-gnu/libgcc_s.so.1
001ef000-0020f000 r-xp 00000000 08:02 787342     /lib/i386-linux-gnu/ld-2.15.so
0020f000-00210000 r--p 0001f000 08:02 787342     /lib/i386-linux-gnu/ld-2.15.so
00210000-00211000 rw-p 00020000 08:02 787342     /lib/i386-linux-gnu/ld-2.15.so
00211000-003b0000 r-xp 00000000 08:02 787362     /lib/i386-linux-gnu/libc-2.15.so
003b0000-003b2000 r--p 0019f000 08:02 787362     /lib/i386-linux-gnu/libc-2.15.so
003b2000-003b3000 rw-p 001a1000 08:02 787362     /lib/i386-linux-gnu/libc-2.15.so
003b3000-003b6000 rw-p 00000000 00:00 0
0054e000-00556000 r-xp 00000000 08:03 10576139
/home/rkrug/inst/grass-6.4.2/lib/libgrass_datetime.6.4.2.so
00556000-00557000 r--p 00007000 08:03 10576139
/home/rkrug/inst/grass-6.4.2/lib/libgrass_datetime.6.4.2.so
00557000-00558000 rw-p 00008000 08:03 10576139
/home/rkrug/inst/grass-6.4.2/lib/libgrass_datetime.6.4.2.so
00770000-00776000 r-xp 00000000 08:03 10576140
/home/rkrug/inst/grass-6.4.2/lib/libgrass_edit.6.4.2.so
00776000-00777000 r--p 00005000 08:03 10576140
/home/rkrug/inst/grass-6.4.2/lib/libgrass_edit.6.4.2.so
00777000-00778000 rw-p 00006000 08:03 10576140
/home/rkrug/inst/grass-6.4.2/lib/libgrass_edit.6.4.2.so
00900000-00914000 r-xp 00000000 08:02 787473     /lib/i386-linux-gnu/libz.so.1.2.3.4
00914000-00915000 r--p 00013000 08:02 787473     /lib/i386-linux-gnu/libz.so.1.2.3.4
00915000-00916000 rw-p 00014000 08:02 787473     /lib/i386-linux-gnu/libz.so.1.2.3.4
009bc000-009bd000 r-xp 00000000 00:00 0          [vdso]
00a71000-00a9b000 r-xp 00000000 08:02 787394     /lib/i386-linux-gnu/libm-2.15.so
00a9b000-00a9c000 r--p 00029000 08:02 787394     /lib/i386-linux-gnu/libm-2.15.so
00a9c000-00a9d000 rw-p 0002a000 08:02 787394     /lib/i386-linux-gnu/libm-2.15.so
00b7a000-00b96000 r-xp 00000000 08:02 787459     /lib/i386-linux-gnu/libtinfo.so.5.9
00b96000-00b98000 r--p 0001b000 08:02 787459     /lib/i386-linux-gnu/libtinfo.so.5.9
00b98000-00b99000 rw-p 0001d000 08:02 787459     /lib/i386-linux-gnu/libtinfo.so.5.9
00c20000-00c40000 r-xp 00000000 08:02 787400     /lib/i386-linux-gnu/libncurses.so.5.9
00c40000-00c41000 r--p 0001f000 08:02 787400     /lib/i386-linux-gnu/libncurses.so.5.9
00c41000-00c42000 rw-p 00020000 08:02 787400     /lib/i386-linux-gnu/libncurses.so.5.9
00e8c000-00e8f000 r-xp 00000000 08:02 787375     /lib/i386-linux-gnu/libdl-2.15.so
00e8f000-00e90000 r--p 00002000 08:02 787375     /lib/i386-linux-gnu/libdl-2.15.so
00e90000-00e91000 rw-p 00003000 08:02 787375     /lib/i386-linux-gnu/libdl-2.15.so
00ed3000-00f29000 r-xp 00000000 08:03 10576084
/home/rkrug/inst/grass-6.4.2/lib/libgrass_gis.6.4.2.so
00f29000-00f2a000 ---p 00056000 08:03 10576084
/home/rkrug/inst/grass-6.4.2/lib/libgrass_gis.6.4.2.so
00f2a000-00f2b000 r--p 00056000 08:03 10576084
/home/rkrug/inst/grass-6.4.2/lib/libgrass_gis.6.4.2.so
00f2b000-00f2c000 rw-p 00057000 08:03 10576084
/home/rkrug/inst/grass-6.4.2/lib/libgrass_gis.6.4.2.so
00f2c000-00f2d000 rw-p 00000000 00:00 0
00f56000-00f5a000 r-xp 00000000 08:03 10576150
/home/rkrug/inst/grass-6.4.2/lib/libgrass_vask.6.4.2.so
00f5a000-00f5b000 r--p 00003000 08:03 10576150
/home/rkrug/inst/grass-6.4.2/lib/libgrass_vask.6.4.2.so
00f5b000-00f5c000 rw-p 00004000 08:03 10576150
/home/rkrug/inst/grass-6.4.2/lib/libgrass_vask.6.4.2.so
00f5c000-00f5d000 rw-p 00000000 00:00 0
08048000-0804c000 r-xp 00000000 08:03 11329733   /home/rkrug/inst/grass-6.4.2/etc/set_data
0804c000-0804d000 r--p 00003000 08:03 11329733   /home/rkrug/inst/grass-6.4.2/etc/set_data
0804d000-0804e000 rw-p 00004000 08:03 11329733   /home/rkrug/inst/grass-6.4.2/etc/set_data
0804e000-0804f000 rw-p 00000000 00:00 0
08d0f000-08d30000 rw-p 00000000 00:00 0          [heap]
b77ce000-b77d1000 rw-p 00000000 00:00 0
b77f8000-b77fc000 rw-p 00000000 00:00 0
bf805000-bf826000 rw-p 00000000 00:00 0          [stack]
Aborted (core dumped)
$
########

Nevertheless,

grass64 -wx

works nicely. Is this a bug or a problem in my local config?

self compiled,

./configure  --prefix=/home/rkrug/inst --with-opengl=x11
'--with-tcltk-includes=/usr/include/tcl8.4/tk-private/generic
/usr/include/tcl8.4/tcl-private/generic' --with-cxx --with-freetype=no --with-ffmpeg=no
- --with-postgres=no --with-sqlite=yes --enable-largefile=yes --with-readline --with-blas=yes
- --with-wxwidgets=yes --with-python=yes --with-lapack=yes --with-odbc=yes
- --with-gdal=/home/rkrug/inst/gdal-1.9.0/bin --with-geos=/usr/bin/geos-config

Ubuntu Precise

Cheers,

Rainer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/sCdgACgkQoYgNqgF2egq4yQCcC/n3fllz+YPJGnZz0d2wZMjb
SuAAnReBk1l5Hzok9xdo7bq1vqUltIr4
=Db/p
-----END PGP SIGNATURE-----


More information about the grass-dev mailing list