delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/08/16/04:51:33

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Thu, 16 Aug 2012 10:50:16 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Promote sqlite 3.7.13-1 from test status? (was: Updated: sqlite3-3.7.13-1)
Message-ID: <20120816085016.GB5536@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <announce DOT 5029275C DOT 4040009 AT etr-usa DOT com> <502C0B7D DOT 10909 AT etr-usa DOT com> <loom DOT 20120816T092134-266 AT post DOT gmane DOT org>
MIME-Version: 1.0
In-Reply-To: <loom.20120816T092134-266@post.gmane.org>
User-Agent: Mutt/1.5.21 (2010-09-15)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

On Aug 16 07:41, Achim Gratz wrote:
> Warren Young <warren <at> etr-usa.com> writes:
> > I haven't heard peep one from either side about this release on this 
> > list.  (For contrast, I've gotten several positive responses in my 
> > answer to the question about this on Stack Overflow[1].)
> 
> Sorry, I've been swamped with other stuff...
> 
> > Silence = happiness, then? :)
> 
> The original bug is back, although it behaves even more wierd than before.  The
> error now happens _only_ when run as normal user _and_ not under strace or gdb.
> 
> $ sqlite3
> SQLite version 3.7.13 2012-06-11 02:05:22
> Enter ".help" for instructions
> Enter SQL statements terminated with a ";"
> sqlite> CREATE TEMP TABLE two (id INTEGER NOT NULL, name CHAR(64) NOT NULL );
> Error: unable to open database file
> sqlite>
> 
> Since I can't reproduce the problem in the debugger anymore, it will be
> difficult to impossible to find out what's causing this (at least for me).  Just
> like the problem with TortoiseSVN these are indications IMHO that there's a race
> somewhere between calls from the Cygwin DLL and Windows file locking functions.

Cygwin does not use Windows mandatory locking.  The locking is entirely
implemented within the Cygwin DLL and is only advisory, as is befitting
for a POSIX envionment.  If you try to use the same file with a
non-Cygwin tool using Windows locking in parallel with a Cygwin tool,
you will get into trouble.  The mandatory Windows locking will always
win and the Cygwin tool will fail.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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

- Raw text -


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