* problem with locked mapped memory
@ 1998-11-30 5:00 Steve Peltz
0 siblings, 0 replies; only message in thread
From: Steve Peltz @ 1998-11-30 5:00 UTC (permalink / 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?
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1998-11-30 5:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-11-30 5:00 problem with locked mapped memory Steve Peltz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox