delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/10/18/09:13:45

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Date: Mon, 18 Oct 2004 09:12:02 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin-xfree AT cygwin DOT com, cygwin AT cygwin DOT com
To: cygwin-xfree AT cygwin DOT com
cc: cygwin AT cygwin DOT com
Subject: Ignoring IsBadWritePtr in GDB (Was Re: Crash in when running Evolution)
In-Reply-To: <uacukco4l.wl%zakki@peppermint.jp>
Message-ID: <Pine.GSO.4.61.0410180908440.24285@slinky.cs.nyu.edu>
References: <1097787608 DOT 5746 DOT ezmlm AT cygwin DOT com> <1098086132 DOT 18585 DOT 3 DOT camel AT famine> <uacukco4l.wl%zakki AT peppermint DOT jp>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.39
Note-from-DJ: This may be spam

--Multipart_Mon_Oct_18_19:32:58_2004-1
Content-Type: TEXT/PLAIN; CHARSET=ISO-8859-1
Content-Transfer-Encoding: 8BIT
Content-ID: <Pine DOT GSO DOT 4 DOT 61 DOT 0410180908442 DOT 24285 AT slinky DOT cs DOT nyu DOT edu>

On Mon, 18 Oct 2004, Øyvind Harboe wrote:

> Even with -multiwindows disabled, I get too many pointer check
> SEGFAULT's in GDB to do any debugging.
>
> Is this a bug in GDB or CygWin?
>
> (One can fuss over the definition of bug, but ...)

On Mon, 18 Oct 2004, Kensuke Matsuzaki wrote:

> -clipboard uses pthread, and that causes many many SEGV too.
> "(gdb) handle SIGSEGV nostop noprint"
> doesn't let gdb stop and print SEGV.
> But I'm using bit dirty workaround to ignore only IsBadWritePtr.
>
> [GDB patch attached]

Hmm, there's *got* to be a way to do the same using pure GDB macros,
without having to muck with the code...  Does anyone know enough about
macro writing in GDB to answer this off-hand?  Otherwise, I'll do some
digging...
	Igor
P.S. Cc'ing this to the main Cygwin list, as this is of interest to the
general community as well.
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Happiness lies in being privileged to work hard for long hours in doing
whatever you think is worth doing."  -- Dr. Jubal Harshaw
--Multipart_Mon_Oct_18_19:32:58_2004-1
Content-Type: APPLICATION/OCTET-STREAM; TYPE=patch
Content-Transfer-Encoding: BASE64
Content-ID: <Pine DOT GSO DOT 4 DOT 61 DOT 0410180908443 DOT 24285 AT slinky DOT cs DOT nyu DOT edu>
Content-Description: 
Content-Disposition: ATTACHMENT; FILENAME="segv.diff"

T25seSBpbiBnZGItNi4yLjFfOiBidWlsZApkaWZmIC1ydSBnZGItNi4yLjEv
Z2RiL2luZnJ1bi5jIGdkYi02LjIuMV8vZ2RiL2luZnJ1bi5jCi0tLSBnZGIt
Ni4yLjEvZ2RiL2luZnJ1bi5jCTIwMDQtMDctMTcgMDQ6NDI6NTcuMDAwMDAw
MDAwICswOTAwCisrKyBnZGItNi4yLjFfL2dkYi9pbmZydW4uYwkyMDA0LTA5
LTIyIDA0OjA0OjU5LjI4ODE1MzcwMCArMDkwMApAQCAtMTk0NCw2ICsxOTQ0
LDE2IEBACiAgICAgewogICAgICAgLyogU2lnbmFsIG5vdCBmb3IgZGVidWdn
aW5nIHB1cnBvc2VzLiAgKi8KICAgICAgIGludCBwcmludGVkID0gMDsKKyAg
ICAgIGNoYXIqIGZ1bmNfbmFtZTsKKworICAgICAgZmluZF9wY19wYXJ0aWFs
X2Z1bmN0aW9uIChzdG9wX3BjLCAmZnVuY19uYW1lLCAoQ09SRV9BRERSICop
IE5VTEwsCisJCQkJKENPUkVfQUREUiAqKSBOVUxMKTsKKworICAgICAgaWYo
c3RyY21wKGZ1bmNfbmFtZSwgIktFUk5FTDMyIUlzQmFkV3JpdGVQdHIiKSA9
PSAwKQorCXsKKwkgIGtlZXBfZ29pbmcgKGVjcyk7CisJICByZXR1cm47CisJ
fQogCiAgICAgICBzdG9wcGVkX2J5X3JhbmRvbV9zaWduYWwgPSAxOwogCk9u
bHkgaW4gZ2RiLTYuMi4xXy9nZGI6IGluZnJ1bi5jfgo=


--Multipart_Mon_Oct_18_19:32:58_2004-1
Content-Type: text/plain; charset=us-ascii

--
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/
--Multipart_Mon_Oct_18_19:32:58_2004-1--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019