Still having problems selecting monitors
Markus Neteler
neteler at geog.uni-hannover.de
Thu Jul 27 06:30:50 EDT 2000
Scott and Jeff,
unfortunately we could not find the bug yet and fix it.
>From tests we found that it is a bug only occuring on
Linux systems (no problem on SGI).
We keep it in mind and try to fix it for the next
release of GRASS 5 (late summer).
Markus Neteler
On Fri, Jul 21, 2000 at 03:21:31PM -0700, Jeff P. Hollenbeck wrote:
> Scott,
>
> I had a problem like this, too. It happened with both v5.0b6 and b7. I
> fixed it by copying the $GRASS/etc/mon.select file from my old v4.2
> installation into my new v5.0 /etc directory (overwriting the v5.0
> mon.select) and all works great. I can't remember how or why I arrived at
> that solution, but it did fix my problem.
>
> BTW, I use linux 2.2.13 (redhat 6.1), and compile GRASS from source.
> Perhaps your setup and problem are different.
>
> Good luck,
>
> Jeff P. Hollenbeck
> Dept. of Forest Resources
> Oregon State University
> Corvallis, OR 97331
> hollenbj at ucs.orst.edu
>
> On Thu, 20 Jul 2000, Scott Smith wrote:
>
> > I am still having problems selecting monitors in grass. As before,
> > starting a monitor without selecting it is no problem. However, when it
> > tries to select, it just hangs. Following is the output of strace from
> > when I tried to select the monitor.
> >
> > Scott Smith
> >
> > execve("/opt/grass5/bin/d.mon", ["d.mon", "select=x0"], [/* 58 vars */]) = 0
> > brk(0) = 0x8081f50
> > open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory)
> > open("/etc/ld.so.cache", O_RDONLY) = 4
> > fstat(4, {st_mode=S_IFREG|0644, st_size=24965, ...}) = 0
> > mmap(NULL, 24965, PROT_READ, MAP_PRIVATE, 4, 0) = 0x40015000
> > close(4) = 0
> > open("/lib/libm.so.6", O_RDONLY) = 4
> > fstat(4, {st_mode=S_IFREG|0755, st_size=543826, ...}) = 0
> > read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0>\0\000"..., 4096) = 4096
> > mmap(NULL, 118488, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x4001c000
> > mprotect(0x40038000, 3800, PROT_NONE) = 0
> > mmap(0x40038000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0x1b000) = 0x40038000
> > close(4) = 0
> > open("/lib/libnsl.so.1", O_RDONLY) = 4
> > fstat(4, {st_mode=S_IFREG|0755, st_size=376092, ...}) = 0
> > read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\3009\0"..., 4096) = 4096
> > mmap(NULL, 89032, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x40039000
> > mprotect(0x4004b000, 15304, PROT_NONE) = 0
> > mmap(0x4004b000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0x11000) = 0x4004b000
> > mmap(0x4004d000, 7112, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4004d000
> > close(4) = 0
> > open("/lib/libc.so.6", O_RDONLY) = 4
> > fstat(4, {st_mode=S_IFREG|0755, st_size=4223971, ...}) = 0
> > read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\204"..., 4096) = 4096
> > mmap(NULL, 1025596, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x4004f000
> > mprotect(0x40142000, 30268, PROT_NONE) = 0
> > mmap(0x40142000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0xf2000) = 0x40142000
> > mmap(0x40146000, 13884, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40146000
> > close(4) = 0
> > mprotect(0x4004f000, 995328, PROT_READ|PROT_WRITE) = 0
> > mprotect(0x4004f000, 995328, PROT_READ|PROT_EXEC) = 0
> > munmap(0x40015000, 24965) = 0
> > personality(PER_LINUX) = 0
> > getpid() = 350
> > brk(0) = 0x8081f50
> > brk(0x8081f70) = 0x8081f70
> > brk(0x8082000) = 0x8082000
> > umask(022) = 022
> > ioctl(0, TCGETS, {B9600 opost isig icanon echo ...}) = 0
> > access("/opt/grass5/etc/bin/main/cmd/d.mon", F_OK) = 0
> > ioctl(0, TCGETS, {B9600 opost isig icanon echo ...}) = 0
> > execve("/opt/grass5/etc/bin/main/cmd/d.mon", ["d.mon", "select=x0"], [/* 58 vars */]) = 0
> > brk(0) = 0x80854cc
> > open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory)
> > open("/etc/ld.so.cache", O_RDONLY) = 4
> > fstat(4, {st_mode=S_IFREG|0644, st_size=24965, ...}) = 0
> > mmap(NULL, 24965, PROT_READ, MAP_PRIVATE, 4, 0) = 0x40015000
> > close(4) = 0
> > open("/lib/libnsl.so.1", O_RDONLY) = 4
> > fstat(4, {st_mode=S_IFREG|0755, st_size=376092, ...}) = 0
> > read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\3009\0"..., 4096) = 4096
> > mmap(NULL, 89032, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x4001c000
> > mprotect(0x4002e000, 15304, PROT_NONE) = 0
> > mmap(0x4002e000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0x11000) = 0x4002e000
> > mmap(0x40030000, 7112, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40030000
> > close(4) = 0
> > open("/lib/libm.so.6", O_RDONLY) = 4
> > fstat(4, {st_mode=S_IFREG|0755, st_size=543826, ...}) = 0
> > read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0>\0\000"..., 4096) = 4096
> > mmap(NULL, 118488, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x40032000
> > mprotect(0x4004e000, 3800, PROT_NONE) = 0
> > mmap(0x4004e000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0x1b000) = 0x4004e000
> > close(4) = 0
> > open("/lib/libc.so.6", O_RDONLY) = 4
> > fstat(4, {st_mode=S_IFREG|0755, st_size=4223971, ...}) = 0
> > read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\204"..., 4096) = 4096
> > mmap(NULL, 1025596, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x4004f000
> > mprotect(0x40142000, 30268, PROT_NONE) = 0
> > mmap(0x40142000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0xf2000) = 0x40142000
> > mmap(0x40146000, 13884, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40146000
> > close(4) = 0
> > mprotect(0x4004f000, 995328, PROT_READ|PROT_WRITE) = 0
> > mprotect(0x4004f000, 995328, PROT_READ|PROT_EXEC) = 0
> > munmap(0x40015000, 24965) = 0
> > personality(PER_LINUX) = 0
> > getpid() = 350
> > brk(0) = 0x80854cc
> > brk(0x80854ec) = 0x80854ec
> > brk(0x8086000) = 0x8086000
> > open("/users/smit/.grassrc5", O_RDONLY) = 4
> > fstat(4, {st_mode=S_IFREG|0666, st_size=119, ...}) = 0
> > mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40015000
> > read(4, "GISDBASE: /users/smit/gis\nLOCATI"..., 4096) = 119
> > read(4, "", 4096) = 0
> > close(4) = 0
> > munmap(0x40015000, 4096) = 0
> > access("/users/smit/gis/Boston", F_OK) = 0
> > stat("/users/smit/gis/Boston/PERMANENT", {st_mode=S_IFDIR|0777, st_size=1024, ...}) = 0
> > getuid() = 18369
> > geteuid() = 18369
> > stat("/users/smit/gis/Boston/PERMANENT", {st_mode=S_IFDIR|0777, st_size=1024, ...}) = 0
> > getuid() = 18369
> > geteuid() = 18369
> > umask(022) = 022
> > open("/users/smit/.grassrc5", O_RDONLY) = 4
> > fstat(4, {st_mode=S_IFREG|0666, st_size=119, ...}) = 0
> > mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40015000
> > read(4, "GISDBASE: /users/smit/gis\nLOCATI"..., 4096) = 119
> > read(4, "", 4096) = 0
> > close(4) = 0
> > munmap(0x40015000, 4096) = 0
> > rt_sigaction(SIGINT, {SIG_IGN}, {SIG_DFL}, 8) = 0
> > rt_sigaction(SIGQUIT, {SIG_IGN}, {SIG_DFL}, 8) = 0
> > rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
> > vfork() = 351
> > wait4(351,
> >
> >
>
--
Dipl.-Geogr. Markus Neteler * University of Hannover
Institute of Physical Geography and Landscape Ecology
Schneiderberg 50 * D-30167 Hannover * Germany
Tel: ++49-(0)511-762-4494 Fax: -3984
More information about the grass-user
mailing list