delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2001/07/13/12:12:35

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-developers-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com
Date: Fri, 13 Jul 2001 12:12:29 -0400
From: Jason Tishler <Jason DOT Tishler AT dothill DOT com>
To: Cygwin-Developers <cygwin-developers AT sources DOT redhat DOT com>
Subject: Cygwin CVS breaks PostgreSQL drop table
Message-ID: <20010713121229.A402@dothill.com>
Mail-Followup-To: Cygwin-Developers <cygwin-developers AT sources DOT redhat DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.3.18i
Organization: Dot Hill Systems Corp.

The following commit:

    http://www.cygwin.com/ml/cygwin-cvs/2001-q2/msg00276.html

causes PostgreSQL to hang when it tries to drop a table.  Note that the
hang occurs on both NT 4.0 SP5 and 2000 SP1.  I did not test on 9X/Me.

The specific part of the commit that causes the hang is:

    http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/syscalls.cc.diff?cvsroot=uberbaum&r1=1.122&r2=1.123

which has the corresponding ChangeLog entry:

    * syscalls.cc (_unlink): Reorganize to try harder to delete file with
    DeleteFile and to recover more gracefully if FILE_FLAG_DELETE_ON_CLOSE
    doesn't work properly.

When I back out the this patch the hang is prevented.

I will try to dig some more and devise a patch (if I can), but I wanted
to at least give a heads up in the meantime.

Thanks,
Jason

-- 
Jason Tishler
Director, Software Engineering       Phone: 732.264.8770 x235
Dot Hill Systems Corp.               Fax:   732.264.8798
82 Bethany Road, Suite 7             Email: Jason DOT Tishler AT dothill DOT com
Hazlet, NJ 07730 USA                 WWW:   http://www.dothill.com

- Raw text -


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