delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/08/17/19:30:35

X-Spam-Check-By: sourceware.org
Date: Thu, 17 Aug 2006 18:30:04 -0500
From: Brian Ford <Brian DOT Ford AT flightsafety DOT com>
Reply-To: cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
Subject: Re: Snapshot uploaded, please try
In-Reply-To: <Pine.CYG.4.58.0608171720060.2408@PC1163-8460-XP.flightsafety.com>
Message-ID: <Pine.CYG.4.58.0608171827080.2408@PC1163-8460-XP.flightsafety.com>
References: <20060810142651 DOT GA32470 AT trixie DOT casa DOT cgf DOT cx> <82k65gp9v0 DOT fsf AT vzell-de DOT de DOT oracle DOT com> <20060810212525 DOT GA11554 AT trixie DOT casa DOT cgf DOT cx> <Pine DOT CYG DOT 4 DOT 58 DOT 0608171720060 DOT 2408 AT PC1163-8460-XP DOT flightsafety DOT com>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

---559023410-599575650-1155857404=:2408
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Thu, 17 Aug 2006, Brian Ford wrote:
> On Thu, 10 Aug 2006, Christopher Faylor wrote:
> > On Thu, Aug 10, 2006 at 11:19:15PM +0200, Dr. Volker Zell wrote:
> > >Starting xterm from an rxvt window gives:
> > >In the Xterm window
> > > 587214 [main] xterm 296 modify_handle: virtual void fhandler_pipe::set_close_on_exec(bool):175 handle guard<0x680> not found
> >
> > That one *could* be responsible.  I was suspecting something in the pipe
> > code since it has often been the cause of handle closing confusion.
>
> Just in case anyone wants another simple test case:
>
> $ cat makefile
> all:
>         echo hi
>
> $ make
> echo hi
>    7486 [main] make 2648 modify_handle: virtual void
> fhandler_pipe::set_close_on_exec(bool):175 handle guard<0x734> not found
> hi

Attached is a simpler C test case distilled from the make code causing
the problem.

$ gcc -g -O2 -Wall pipe.c -o pipe.exe

$ ./pipe.exe
    788 [main] pipe 2332 modify_handle: virtual void
fhandler_pipe::set_close_on_exec(bool):175 handle guard<0x738> not found

-- 
Brian Ford
Lead Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
the best safety device in any aircraft is a well-trained crew...
.


---559023410-599575650-1155857404=:2408
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="pipe.c"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine DOT CYG DOT 4 DOT 58 DOT 0608171830040 DOT 2408 AT PC1163-8460-XP DOT flightsafety DOT com>
Content-Description: 
Content-Disposition: attachment; filename="pipe.c"

I2luY2x1ZGUgPHN5cy90eXBlcy5oPg0KI2luY2x1ZGUgPHVuaXN0ZC5oPg0K
I2luY2x1ZGUgPHN0ZGlvLmg+DQojaW5jbHVkZSA8c3RkbGliLmg+DQojaW5j
bHVkZSA8ZmNudGwuaD4NCg0KaW50DQptYWluKHZvaWQpDQp7DQogICAgaW50
IGZkc1syXSwgZmxhZ3M7DQoNCiAgICAvKiBNYWtlIGEgZmlsZSBkZXNjcmlw
dG9yIHRoYXQgaXMgdGhlIHJlYWQgZW5kIG9mIGEgYnJva2VuIHBpcGUuDQog
ICAgICAgVGhpcyB3aWxsIGJlIHVzZWQgZm9yIHRoZSBjaGlsZHMgc3RhbmRh
cmQgaW5wdXQuICAqLw0KDQogICAgaWYgKHBpcGUoZmRzKSA8IDApDQogICAg
ew0KCXBlcnJvcigicGlwZSIpOw0KCXJldHVybiAtMTsNCiAgICB9DQoNCiAg
ICAvKiBDbG9zZSB0aGUgd3JpdGUgc2lkZS4gKi8NCiAgICBjbG9zZSAoZmRz
WzFdKTsNCg0KICAgIC8qIFNldCBjbG9zZSBvbiBleGVjLCBzbyBpdCBkb2Vz
IG5vdCBsaXR0ZXIgdGhlIGNoaWxkJ3MgZGVzY3JpcHRvciB0YWJsZS4NCiAg
ICAgICBXaGVuIGl0IGlzIGR1cDInZCBvbnRvIGRlc2NyaXB0b3IgMCwgdGhh
dCBkZXNjcmlwdG9yIHdpbGwgbm90IGNsb3NlDQogICAgICAgb24gZXhlYy4g
Ki8NCg0KICAgIGZsYWdzID0gZmNudGwoZmRzWzBdLCBGX0dFVEZELCAwKTsN
Cg0KICAgIGlmIChmbGFncyA8IDAgfHwgZmNudGwoZmRzWzBdLCBGX1NFVEZE
LCBmbGFnc3xGRF9DTE9FWEVDKSA8IDApDQogICAgew0KCXBlcnJvcigiY2xv
c2Ugb24gZXhlYyIpOw0KCXJldHVybiAtMTsNCiAgICB9DQoNCiAgICBzd2l0
Y2ggKGZvcmsoKSkNCiAgICB7DQogICAgY2FzZSAocGlkX3QpLTE6DQoJcGVy
cm9yKCJmb3JrIGZhaWxlZCIpOw0KCXJldHVybiAtMTsNCg0KICAgIGNhc2Ug
MDogLy8gY2hpbGQNCiAgICAgICAgaWYgKGR1cDIoZmRzWzBdLCAwKSA8IDAp
IC8qIG1ha2Ugc3RkaW4gYSBicm9rZW4gcGlwZSAqLw0KCXsNCgkgICAgcGVy
cm9yKCJkdXAyIGluIik7DQoJICAgIF9leGl0KC0xKTsNCgl9DQoNCiAgICAg
ICAgZXhlY2xwKCJscyIsICJscyIsIE5VTEwpOw0KCXBlcnJvcigiZXhlYyBs
cyIpOw0KCV9leGl0KC0xKTsNCg0KICAgIGRlZmF1bHQ6IC8vIHBhcmVudA0K
ICAgICAgICBjbG9zZShmZHNbMF0pOw0KICAgIH0NCg0KICAgIHJldHVybiAw
Ow0KfQ0K


---559023410-599575650-1155857404=:2408
Content-Type: text/plain; charset=us-ascii

--
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/
---559023410-599575650-1155857404=:2408--

- Raw text -


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