delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/05/02/09:55:34

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_HOSTKARMA_NO,SPF_NEUTRAL,TW_DF,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4FA13CB9.6000903@cornell.edu>
Date: Wed, 02 May 2012 09:55:05 -0400
From: Ken Brown <kbrown AT cornell DOT edu>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120327 Thunderbird/11.0.1
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
CC: Eli Zaretskii <eliz AT gnu DOT org>
Subject: Re: [ANNOUNCEMENT] Updated: {emacs,emacs-X11,emacs-el}-24.0.96-1 (TEST)
References: <announce DOT 4F9EF137 DOT 7070904 AT cornell DOT edu> <4F9F32ED DOT 3030808 AT cs DOT utoronto DOT ca> <4F9F3751 DOT 6000406 AT cs DOT utoronto DOT ca> <4F9F45A1 DOT 60500 AT cornell DOT edu> <4F9F5DEF DOT 30804 AT cs DOT utoronto DOT ca>
In-Reply-To: <4F9F5DEF.30804@cs.utoronto.ca>
X-PMX-CORNELL-SPAM-CHECKED: Pawpaw
X-Original-Sender: kbrown AT cornell DOT edu - Wed May 2 09:55:06 2012
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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 4/30/2012 11:52 PM, Ryan Johnson wrote:
> On 30/04/2012 10:08 PM, Ken Brown wrote:
>> On 4/30/2012 9:07 PM, Ryan Johnson wrote:
>>> On 30/04/2012 8:48 PM, Ryan Johnson wrote:
>>>> On 30/04/2012 4:08 PM, Ken Brown wrote:
>>>>> Test releases of the emacs, emacs-X11, and emacs-el packages
>>>>> (24.0.96-1) are now available. This is a pretest for the upcoming
>>>>> release of emacs-24.1.
>>>>>
>>>>> Emacs users are encouraged to try it and report any problems to the
>>>>> cygwin mailing list.
>>>> I'm experiencing regular seg faults, often while using gdb but not
>>>> always (switching between buffers is another big offender). I'm not
>>>> sure what other information I can provide, other than the EIP=610CF707
>>>> reported in the .stackdump file...
>>> Caught one in gdb (no symbols, sadly):
>>>
>>> Program received signal SIGSEGV, Segmentation fault.
>>> [Switching to Thread 8128.0x3d0]
>>> 0x0000010c in ?? ()
>>> (gdb) bt
>>> #0 0x0000010c in ?? ()
>>> #1 0x0054b0ac in ?? ()
>>> #2 0x004e4303 in ?? ()
>>> #3 0x0054afbe in ?? ()
>>> #4 0x004e4e96 in ?? ()
>>> #5 0x004e5180 in ?? ()
>>> #6 0x004dfbec in ?? ()
>>> #7 0x610070d8 in _cygwin_exit_return () from /usr/bin/cygwin1.dll
>>> #8 0x00000003 in ?? ()
>>> #9 0x610050dd in _cygtls::call2(unsigned long (*)(void*, void*), void*,
>>> void*)
>>> () from /usr/bin/cygwin1.dll
>>> Backtrace stopped: Not enough registers or memory available to unwind
>>> further
>>>
>>> HTH... I'm reverting for now (I can re-install if you've got specific
>>> ideas to try out)
>>
>> Thanks for testing. I'll try to make debugging symbols available so
>> that you can get a better backtrace. It might be a few days before I
>> get to it.

I can still make debugging symbols available for the version I built if 
you'd like, but you'll get a more reliable backtrace from a build 
without optimization.  Would you like to build it yourself (with 
CFLAGS='-g -O0') and send a backtrace?  If so, you can get the source from

   ftp://alpha.gnu.org/gnu/emacs/pretest/emacs-24.0.96.tar.gz

I'm copying Eli Zaretskii, one of the Emacs developers, who might be 
able to help with debugging if you can get a useful backtrace.  Please 
keep him in the CC if you reply.

By the way, you can find some good hints about debugging emacs in 
etc/DEBUG in the emacs distribution.

>> Do you have a recipe that will reliably produce a segfault for you?
>> I've been using emacs-24 for months without any problems (as long as I
>> build without gsettings support, as I did for emacs-24.0.96-1). But I
>> haven't tested gdb-mi for a while.
>>
>> You said you got segfaults even while not using gdb-mi. But did you
>> get segfaults in an emacs session in which you didn't use gdb-mi at
>> all in the entire session?
> Good point. I probably had used gdb-mi at some point during every
> session that crashed.

I just fooled around with M-x gdb a little and didn't get a crash 
(although I did see some minor annoyances involving I/O synchronization 
that I'll try to debug when I get a chance).  So be sure to let me know 
if you find a reproducible way of getting a crash, preferably starting 
with 'emacs -Q'.

Ken



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