This is the mail archive of the
cygwin-developers@cygwin.com
mailing list for the Cygwin project.
Re: possible mmap() problems
- From: Joe Buehler <jbuehler at hekimian dot com>
- To: cygwin-developers at cygwin dot com
- Date: Wed, 16 Apr 2003 16:02:22 -0400
- Subject: Re: possible mmap() problems
- Organization: Spirent Communications, Inc.
- References: <3E9DB197.30900@hekimian.com> <20030416194725.GE32484@redhat.com>
- Reply-to: jbuehler at hekimian dot com
Christopher Faylor wrote:
If it's predictable where the page is, then I wonder if you could set a
hardware watchpoint to catch when it is happening? Or maybe even strace
would tell you.
It's a hard one. I have a build that fails randomly. On one run,
out of 51 errors (handle_exceptions) caught by strace, 49 of them
happened right after a pipe close. I believe that they all did happen
at the same address. Adding strace printfs for Virtual* calls caused
the problem to (apparently) go away (sigh).
I assume I can't use hardware watchpoints because there are lots and lots
of processes coming and going while the build is going on, and no apparent
rhyme or reason to the problem.
--
Joe Buehler