Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: peltz@jaka.ece.uiuc.edu (Steve Peltz)
Subject: problem with locked mapped memory
Date: 1998/11/30	[thread overview]
Message-ID: <73uocd$p8g$1@vixen.cso.uiuc.edu> (raw)

I'm still having problems with an SX164 machine, 64MB RAM, with a set of
processes that map a couple of files (up to the limit of half, or 32MB).
Some of the segments are being locked (and by multiple processes),
some aren't. After running for a while, the process gets a segmentation
fault trying to access the mapped memory (this can take a day or more
before it happens). There's not much else happening on the machine.

If I gdb the process and trap the segfault, when I go to look at what
it is accessing, the pointer is valid and the memory is there. This
last time I got an invalid address return from a call to gettimeofday()
with a pointer to one of the mapped segments (in this case, not one of
the locked segments).

I've also had it fail when returning from a usleep() call, as if the
program text segment it was returning to wasn't there...

This has always been a problem, with both 2.0.x kernels and 2.1.x kernels
up to the latest I've tried, 2.1.130, and has happened on more than one
machine (both SX164). Anyone have any ideas?



                 reply	other threads:[~1998-11-30  5:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox