X-Spam-Check-By: sourceware.org Date: Wed, 20 Sep 2006 10:34:38 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: REG : Program received signal SIGSEGV, Segmentation fault Message-ID: <20060920143438.GA26535@trixie.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.11 Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: 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 On Wed, Sep 20, 2006 at 08:00:50PM +0530, Syam Prasad Nagabairu wrote: > > >HI to ALL, > >I am working on HP system with XP OS.The problem is, while running a gdb >debugger the following error occured. >Program received signal SIGSEGV, Segmentation fault. >0x77c47631 in msvcrt!memset () > > >Generally the previous errors of the same kind will display the source file >and the location where it is occuring. But this is a specific issue with >which i am facing trouble. If you're receiving this error, then you probably are not debugging a cygwin program since Cygwin doesn't use msvcrt. It is possible that the 'bt' command will provide you with a stack trace. However, in Windows, stack traces are often problematic since most of the system DLLs do not preserve the frame pointer and gdb does not deal with that very well. So, you can't always trust a back trace when it originates in a system function like memset. cgf -- 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/