Paul J. Meyer (firstname.lastname@example.org)
Wed, 10 Feb 1999 10:17:01 -0600
Just compiled ht://Dig version 3.1.0 on my Alpha Linux system and had a memory
map error when running htsearch, also dig, merge etc. I had the same problem
with the beta2 release as well. Here is the code I comment in
htdig-3.1.0/db/os/os_map.c to get rid of the annoying error message.
=================== Code snippet ==============================
* I know of no systems that implement the flag to tell the system
* that the region contains semaphores, but it's not an unreasonable
* thing to do, and has been part of the design since forever. I
* don't think anyone will object, but don't set it for read-only
* files, it doesn't make sense.
/* PJM COMMENT 2/10/99
flags |= MAP_HASSEMAPHORE;
prot = PROT_READ | (is_rdonly ? 0 : PROT_WRITE);
========================= END SNIPPET ================================
Red Hat 5.1 Linux 2.0.34 kernel on the Alpha (LX164) platform appears to define
the MAP_HASSEMAPHORE, but does not implement it from what I recall. Anyway,
commenting these lines gets rid of a lot of error messages to the system
console and the messages file.
>From what I can tell, the new code appears to have compiled alright and appears
to dig okay, but I did get a whole bunch of "BAD TAG IN SERIALIZED DATA:"
messages when I did rundig. I'm not sure at this point if it was related to the
mmap problem or something else. I will investigate over the course of the next
week or so.
-- __ Paul J. Meyer Global Hydrology and Climate Center NASA/MSFC code HR20 | email@example.com (SMTP) Huntsville, AL 35812 | firstname.lastname@example.org (X.500) Voice: (256) 922-5892 Fax: (256) 922-5723 http://wwwghcc.msfc.nasa.gov/
------------------------------------ To unsubscribe from the htdig mailing list, send a message to email@example.com containing the single word "unsubscribe" in the SUBJECT of the message.
This archive was generated by hypermail 2.0b3 on Wed Feb 10 1999 - 17:09:06 PST