delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
From: | "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au> |
To: | <pottmi AT lidp DOT com>, <cygwin AT cygwin DOT com> |
Subject: | RE: numerous bugs i've found in cygwin while developing XEmacs |
Date: | Tue, 4 Jun 2002 05:51:46 +1000 |
Message-ID: | <00f101c20b38$18837e20$0200a8c0@lifelesswks> |
MIME-Version: | 1.0 |
X-Priority: | 3 (Normal) |
X-MSMail-Priority: | Normal |
X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2600.0000 |
In-Reply-To: | <20020603132129.H269776@lidp.com> |
Importance: | Normal |
X-OriginalArrivalTime: | 03 Jun 2002 19:51:40.0424 (UTC) FILETIME=[142B2080:01C20B38] |
> -----Original Message----- > From: cygwin-owner AT cygwin DOT com > [mailto:cygwin-owner AT cygwin DOT com] On Behalf Of Michael Potter > Sent: Tuesday, 4 June 2002 4:22 AM > To: cygwin AT cygwin DOT com > Subject: Re: numerous bugs i've found in cygwin while > developing XEmacs > > > > >[1] mmap[] and fork[]. The "pdump" [portable dumper] method of > > > implementing undumping for XEmacs writes out all the data into > > > a large file during building, and then reads it in when the > > > program starts. the file looks like this: > > >-rw-r--r-- 1 Ben Wing None 3280684 Jun 2 02:58 xemacs.dmp > > > > > >if mmap support exists, it's loaded using mmap[]. This fails > > > miserably when a fork[] happens, as the child evidently doesn't > > > get the mmap[]ed data visible in it and thus seg faults occur. > > > > This is obviously not supposed to be the way things work. It > > can't be as simple as "mmap doesn't work across forks". > > It could be as simple as the example I submitted last night. > That submission includes a sample program. > > June 02, 2002 20:32 > cygwin 1.3.10 fork+sockets+shmat/mmap=recreate_mmaps_after_fork_failed > > The sample uses shmat, but if someone is willing to work on it, > I would be happy to submit the example using mmap. You should resubmit as an mmap only bug. Cygipc's shmat support uses mmap, and cygwins 'native' shmat support is in development. Chances are, any shmat bug reports will (unfortunately) end up in /dev/null. Rob -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |