Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <20041012165842.37385.qmail@web60802.mail.yahoo.com> Date: Tue, 12 Oct 2004 09:58:42 -0700 (PDT) From: Peter Xiaochuan Huang Subject: gcc exception handling To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii I don't know if this a known issue. But I encounter this problem when using gcc 3.3.3 on cygwin. The code similar to below core dumps me. try { obj->dothis(); } catch ( myexception& e) { return true; } It core dumps on the return statement in gdb. But when I make a simplified test including only above code, the core dump doesn't happen any more. My program that gets core dumped links pthread and uses mutex. Actually the return statement should invoke stack unwinding that will do mutex locking and unlocking. Though I don't know if that is related or not. Anybody else has similar problem ? Any suggestion? -Peter X Huang -- 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/