delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/01/04/10:49:11

X-Spam-Check-By: sourceware.org
Date: Wed, 4 Jan 2006 10:49:01 -0500
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: running gdb in cygwin
Message-ID: <20060104154901.GD25512@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
References: <8256ea950601040521w69b57cdbmf7cdf64254ebcfa5 AT mail DOT gmail DOT com>
Mime-Version: 1.0
In-Reply-To: <8256ea950601040521w69b57cdbmf7cdf64254ebcfa5@mail.gmail.com>
User-Agent: Mutt/1.5.11
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 Wed, Jan 04, 2006 at 02:21:33PM +0100, Krisakorn Rerkrai wrote:
>I have a problem with running gdb in the cygwin.
>I searched in the archive and found some descriptions
>but not really solve my problem.
>
>This is my result:
>
>(gdb) run 2
>Starting program: /opt/tinyos- 1.x/apps/Oscilloscope/build/pc/main.exe 2
>SIM: Random seed is 828125
>1: LEDS: Yellow off.
>1: LEDS: Red off.
>1: LEDS: Green off.
>
>Program received signal SIGSEGV, Segmentation fault.
>0x7c809f62 in KERNEL32!IsBadWritePtr ()
>   from /cygdrive/c/WINDOWS/system32/kernel32.dll
>(gdb)
>
>One solution refers to
>http://www.cygwin.com/ml/cygwin/2004-04/msg00569.html
>I have tried to "continue" the process. I have to type "continue"
>at least 3 times each time it is stuck with this fault. This is
>quite annoying. Is there any other clean solution for this?

Since cygwin no longer uses "IsBadWritePtr", it sounds like you are
using an older DLL version.  Using the guidelines mentioned at
http://cygwin.com/problems.html would allow us to know this for sure.


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