X-Spam-Check-By: sourceware.org
Date: Wed, 25 Jan 2006 13:37:36 -0500 (EST)
From: Igor Peshansky <pechtcha@cs.nyu.edu>
Reply-To: cygwin@cygwin.com
To: Dave Korn <dave.korn@artimi.com>
cc: cygwin@cygwin.com
Subject: RE: Cygwin Setup: Fatal Error: Uncaught Exception
In-Reply-To: <001501c621dc$0229e6a0$a501a8c0@CAM.ARTIMI.COM>
Message-ID: <Pine.GSO.4.63.0601251336510.2078@access1.cims.nyu.edu>
References: <001501c621dc$0229e6a0$a501a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Wed, 25 Jan 2006, Dave Korn wrote:

> Igor wrote:
>
> > 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.
>
>   That's because the io_stream code throws an invalid_argument, which is
> derived from std::exception, but our code only catches Exception, which
> is our custom exception type.

Nope.  It's the same old Exception, and it is indeed uncaught -- I just
missed one use.  See the rest of the thread, plus the patch on
cygwin-apps.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha@cs.nyu.edu | igor@watson.ibm.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/

