Hello,
under WinXP fork() inherited lock of open files.
Following Scenario:
WinPrg1 open file with lock and exec the bash.
The Bash start "cmd /c start WinPrg2" and exits without wait for WinPrg2.
WinPrg1 close its files.
All files opend by WinProg1 locked (access --> permission denied) until
he running; gdb using the close button of the "Source Window" or
task manager
at this point the windows of a.exe and gdb are frozen and a reset is
necessary.
Dominik Jänicke
SOFTEC Daten- und Kommunikationssysteme GmbH
Promenade 17
D-89073 Ulm
Tel: +49-(0)-731-96600-22
Fax: +49-(0)-731-966
a typically client/server application
looks like
To:
Subject: Cygwin handle leak in net.cc
From: "Joe Hagen"
Date: Sun, 3 Jun 2001 14:50:12 -0500
using of read/write instead of recv/send fix the problem
Cygnus version cygwin-1.3.6-1
Dominik Jänicke
--
Unsubscribe info:
3 matches
Mail list logo