delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/12/24/16:22:27

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
Message-Id: <3.0.5.32.20031224162037.00832100@incoming.verizon.net>
X-Sender: vze1u1tg AT incoming DOT verizon DOT net
Date: Wed, 24 Dec 2003 16:20:37 -0500
To: cygwin AT cygwin DOT com
From: "Pierre A. Humblet" <Pierre DOT Humblet AT ieee DOT org>
Subject: Re: Please try the latest snapshot -- it is close to cygwin 1.5.6
In-Reply-To: <20031224165934.GA4585@redhat.com>
References: <20031224152951 DOT GA34487383 AT hpn5170x> <20031223222816 DOT GA23935 AT redhat DOT com> <20031224152951 DOT GA34487383 AT hpn5170x>
Mime-Version: 1.0

At 11:59 AM 12/24/2003 -0500, you wrote:
>On Wed, Dec 24, 2003 at 10:29:51AM -0500, Pierre A. Humblet wrote:
>>On Tue, Dec 23, 2003 at 05:28:16PM -0500, Christopher Faylor wrote:
>>> The subject says it all.
>>> 
>>> I'm hoping to release cygwin 1.5.6 shortly after Christmas.
>>
>>On WinMe the queue runner forked by the exim daemon still occasionally 
>>produces a popup indicating an error in Cygwin1.dll
>
>"a popup indicating an error".......?
>
>Not too helpful.

Here are a few more tidbits.
The exact popup text is:

Exim-4 has caused an error in CYGWIN1.DLL
Exim-4 will now close
If you continue to experience problems,
try restarting your computer <Close button>

ps shows the forked process in a normal state.

sysinternals shows it too. There is only one thread handle
and the pinfo mapped file is gone (it is still visible in the
parent). The cygwin & user mapped files are still there.

I tried stracing the child, but got the same popup for strace.
In previous trials I had failed to attach to the child from gdb.

After pushing the close button (on the child), I noticed 
that the parent (daemon) exim showed too many pinfos.
It had 7 pinfos mapped files, although it had no running child.
I then killed -9 it, there was no error message.

The exim log shows a few interesting things:

The last mention of the child pid was 
(that may be misleading, reuse is a possibility)
2003-12-24 13:29:08 Start queue run: pid=159063
2003-12-24 13:29:08 End queue run: pid=159063

At around the time when I started looking into it, I see

2003-12-24 15:35:26 Start queue run: pid=153375
2003-12-24 15:35:26 End queue run: pid=153375
2003-12-24 15:36:26 Start queue run: pid=34403247
2003-12-24 15:36:26 End queue run: pid=34403247

Note a 5 min gap here, then

2003-12-24 15:42:26 daemon: fork of queue-runner process failed: Resource
temporarily unavailable
2003-12-24 15:43:27 Start queue run: pid=176243
2003-12-24 15:43:27 End queue run: pid=176243
2003-12-24 15:44:27 Start queue run: pid=157315
2003-12-24 15:44:27 End queue run: pid=157315
2003-12-24 15:45:27 Start queue run: pid=153375
2003-12-24 15:45:27 End queue run: pid=153375
2003-12-24 15:46:27 Start queue run: pid=34403247
2003-12-24 15:46:27 End queue run: pid=34403247
2003-12-24 15:47:27 Start queue run: pid=178263
2003-12-24 15:47:27 End queue run: pid=178263
There is again a gap here.
Next is normal, I killed -9 the parent.
2003-12-24 15:54:23 50 select() failures: Bad file descriptor

There were no other gaps since 12:36:58, when I had started the
daemon.

Pierre

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019