X-Spam-Check-By: sourceware.org Message-ID: <447F0783.46F21891@dessent.net> Date: Thu, 01 Jun 2006 08:28:03 -0700 From: Brian Dessent X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: debug information References: <195b3f1f0605312333y190434a6maed975cb152f4f93 AT mail DOT gmail DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com 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 Wynfield Henman wrote: > If anyone would give me a lead as to how to get a more meaningful > backtrace from gdb, I would appreciate it. Please search the archives for the many recent threads on this topic. What you are seeing is not an actual SIGSEGV, it is a bug/limitation in gdb related to how Cygwin works internally. Here is a starting point: > I was wandering if I have to build a new cygwin.dll (using cygwin) > with symbol information or it that is even possible. Debug symbols for the Cygwin DLL are in a separate .dbg file, and you can just download them from the snapshot page. However, the real cause of your problem is that the gdb you are using is too old to contain the fix to this problem. To effectively debug Cygwin apps at the moment requires both a CVS build of gdb and a recent Cygwin snapshot. The current release binaries of both are not sufficient. In fact the first step of debugging any Cygwin problem is to use the latest snapshot, as the problem may already be fixed. As a workaround you can type "continue" (or just "c") at the gdb prompt whenever you see one of these spurious SIGSEGVs in any of the pthread_* functions. This can get extremely tedious though. Brian -- 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/