delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/01/23/10:28:43

X-Spam-Check-By: sourceware.org
Date: Mon, 23 Jan 2006 10:28:29 -0500 (EST)
From: Igor Peshansky <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Yitzchak Scott-Thoennes <sthoenna AT efn DOT org>
cc: cygwin AT cygwin DOT com
Subject: Re: Cygwin Setup: Fatal Error: Uncaught Exception
In-Reply-To: <20060123112502.GB2188@efn.org>
Message-ID: <Pine.GSO.4.63.0601231023040.18707@access1.cims.nyu.edu>
References: <43D467F0 DOT 4020706 AT tlinx DOT org> <43D46B88 DOT FD612AE AT dessent DOT net> <20060123112502 DOT GB2188 AT efn DOT org>
MIME-Version: 1.0
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

On Mon, 23 Jan 2006, Yitzchak Scott-Thoennes wrote:

> On Sun, Jan 22, 2006 at 09:37:12PM -0800, Brian Dessent wrote:
> > Linda Walsh wrote:
> >
> > > Is an application crash the expected behavior when
> > > package validation fails?  Maybe it should mark it unusable
> > > or delete it?
>
> Yuck.  I went through this, too.  It appeared to me that there were a
> large number (a dozen? I no longer remember) of packages uploaded more
> than once, without bumping the version, and if you were so fortunate
> as to get the earlier rather than the later copy, setup won't have
> updated to the later.
>
> It might be easier to blow away your local package directory than
> to run setup over and over, each time identifying one more package
> to rename/delete.
>
> > At the moment, yes.  It's a consequence of a change in the md5
> > checking.  It just means you need to delete the package, as it has the
> > wrong size or checksum.  It's on the todo list to clean this up.
>
> Is there a snapshot that has this fixed?

I've looked at this a bit.  Here's the weird part: the error says
"Uncaught Exception", but all the throws of that exception appear to be
properly wrapped in try/catch blocks.  So a simple "change exception into
an mbox" kind of solution won't work here.  More debugging is needed.

To whomever can reproduce this problem: can you please run setup under gdb
(even if you don't have a debug version -- this is just to get the log
output) and send me the *full* log output and the tarball that setup
claims to be corrupt off-list?  Once I can reproduce this, I'll try to dig
further.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

--
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