delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/03/07/01:03:06

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE
X-Spam-Check-By: sourceware.org
X-Mail-Handler: Dyn Standard SMTP by Dyn
X-Report-Abuse-To: abuse AT dyndns DOT com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information)
X-MHO-User: U2FsdGVkX19t/xRvE464VD5m1N37vNPw
Date: Thu, 7 Mar 2013 00:44:26 -0500
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: emacs-X11 crashes under gdb in recent snapshots
Message-ID: <20130307054426.GB8145@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <5137B57A DOT 2020204 AT cornell DOT edu>
MIME-Version: 1.0
In-Reply-To: <5137B57A.2020204@cornell.edu>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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, Mar 06, 2013 at 04:30:34PM -0500, Ken Brown wrote:
>Starting with the 20130102 snapshot, I get a SEGV if I run emacs-X11 
>under gdb.  The same thing happens with emacs-w32, but not with 
>emacs-nox.  In the case of emacs-X11, it doesn't matter whether I run it 
>in mintty or under an X server.  It happens with emacs-24.2-1 as well as 
>with later test versions (and builds from the emacs trunk).
>
>To reproduce:
>
>1. Install emacs-X11-24.2-1 and emacs-debuginfo-24.2-1.
>
>2. Start emacs under mintty.
>
>3. In a separate mintty, attach gdb to it and try to continue:
>
>$ ps | grep emacs
>      5328   10484    5328      10188  pty0    1003 16:16:33 
>/usr/bin/emacs-X11
>
>$ gdb -p 5328
>GNU gdb (GDB) 7.5.50.20120815-cvs (cygwin-special)
>Copyright (C) 2012 Free Software Foundation, Inc.
>License GPLv3+: GNU GPL version 3 or later 
><http://gnu.org/licenses/gpl.html>
>This is free software: you are free to change and redistribute it.
>There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
>and "show warranty" for details.
>This GDB was configured as "i686-cygwin".
>For bug reporting instructions, please see:
><http://www.gnu.org/software/gdb/bugs/>.
>Attaching to process 10188
>[New Thread 10188.0x2a88]
>[New Thread 10188.0x1e64]
>[New Thread 10188.0xaec]
>[New Thread 10188.0x21a8]
>[New Thread 10188.0x2990]
>[New Thread 10188.0xbbc]
>Reading symbols from /usr/bin/emacs-X11.exe...Reading symbols from 
>/usr/lib/debug/usr/bin/emacs-X11.exe.dbg...done.
>done.
>(gdb) c
>Continuing.
>
>Program received signal SIGSEGV, Segmentation fault.
>[Switching to Thread 10188.0x1e64]
>0x00000030 in ?? ()
>
>
>In the 20130102 snapshot, it takes a few seconds after typing `c' before 
>the crash occurs.  In more recent snapshots, it happens immediately.

Thanks for the explicit instructions.

I can reproduce this.  Investigating.

cgf

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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