On Tue, Jul 7, 2009 at 12:21 PM, John David Anglin<d...@hiauly1.hia.nrc.ca> wrote: >> So if I characterise the problem you think you're seeing: on mmap of a >> file at a memory location to be determined by the kernel, a sequential >> set of reads of the mapped location eventually turns up a zero where >> there should be data? Yes, it does sound like a caching issue. > > Yes. The loop is terminated by a null tag: > > while (dyn->d_tag != DT_NULL) > { > ... > } > > However, the core dump doesn't show a null tag before the STRTAB tag > that caused the segmentation fault.
Do you mean "after" the STRTAB tag? I assume the library on-disk has a DT_NULL, otherwise it would always fail. Cheers, Carlos. -- To UNSUBSCRIBE, email to debian-hppa-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org