From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f5392,cb95c32cd009add0,start X-Google-Attributes: gidf5392,public X-Google-Thread: 111c93,cb95c32cd009add0,start X-Google-Attributes: gid111c93,public From: peltz@jaka.ece.uiuc.edu (Steve Peltz) Subject: problem with locked mapped memory Date: 1998/11/30 Message-ID: <73uocd$p8g$1@vixen.cso.uiuc.edu>#1/1 X-Deja-AN: 417173224 Organization: NovaNET Learning, Inc. Newsgroups: comp.os.linux.alpha,comp.os.linux.development.system 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?