delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/04/23/13:57:03

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:subject:date:message-id:references
:in-reply-to:content-type:content-transfer-encoding
:mime-version; q=dns; s=default; b=Qu5GA9/FOKXzI8Ap6JEerdE1acclZ
OkX0uxSnISyNbeAyIV5HK3/+bPxJ4i3NFPZkT6DWfXDtWpxVmLLvUjP8cSb/Ctxu
6Bw2CDigm4szl7Fr6oy3aeJRDEElizpUsazKvtWgXxWHb35HPQJMITvedL2ZAxhj
P3l6tnOGSmpkIA=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:subject:date:message-id:references
:in-reply-to:content-type:content-transfer-encoding
:mime-version; s=default; bh=/sgMAydfIs0ElXGJeR33mK9mDHk=; b=xMM
K8eUSC9vb44eGKCvKzqrxbsn26huiXBSA81Xu/Sa736bBYftvK2SHwSeooJInTVn
hoBuvfzX1Zm5Xtw++5hIl/qXtMS6V2CnD5mgXo2ivTDAD/1dKEvmThCkqeLvh+O5
Q3lUJw+Kvs4a7DnmEi4obQZALNmQ2ANOqSINPNDQ=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.4 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: nbfkord-smmo06.seg.att.com
X-MXL-Hash: 5357fedc60af15d9-3ee84341ad7398371ed513ea7693eb08e944625c
From: "KARR, DAVID" <dk068x AT att DOT com>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: RE: Fatal error from Cygwin emacs-w32 every day or so
Date: Wed, 23 Apr 2014 17:56:16 +0000
Message-ID: <B8D164BED956C5439875951895CB4B22266131D4@CAFRFD1MSGUSRIA.ITServices.sbc.com>
References: <B8D164BED956C5439875951895CB4B2225C00EA9 AT WABOTH9MSGUSR8C DOT ITServices DOT sbc DOT com> <534B2EFE DOT 4010509 AT cornell DOT edu> <B8D164BED956C5439875951895CB4B2225C01C84 AT WABOTH9MSGUSR8C DOT ITServices DOT sbc DOT com> <534CB0AF DOT 2040504 AT cornell DOT edu> <83y4z7jcb3 DOT fsf AT gnu DOT org> <534D5AB8 DOT 6030201 AT cornell DOT edu> <535308D8 DOT 1070200 AT cornell DOT edu> <B8D164BED956C5439875951895CB4B222660C8D2 AT CAFRFD1MSGUSRIA DOT ITServices DOT sbc DOT com> <B8D164BED956C5439875951895CB4B222660E6D2 AT CAFRFD1MSGUSRIA DOT ITServices DOT sbc DOT com> <5354FDD8 DOT 9090605 AT cornell DOT edu> <B8D164BED956C5439875951895CB4B222660F77B AT CAFRFD1MSGUSRIA DOT ITServices DOT sbc DOT com> <535564A4 DOT 2020302 AT cornell DOT edu> <B8D164BED956C5439875951895CB4B222661009D AT CAFRFD1MSGUSRIA DOT ITServices DOT sbc DOT com> <B8D164BED956C5439875951895CB4B2226612A34 AT CAFRFD1MSGUSRIA DOT ITServices DOT sbc DOT com> <5357E03B DOT 8060205 AT cornell DOT edu>
In-Reply-To: <5357E03B.8060205@cornell.edu>
MIME-Version: 1.0
X-RSA-Inspected: yes
X-RSA-Classifications: public
X-AnalysisOut: [v=2.0 cv=QZ3RSLnv c=1 sm=1 a=xwOvzTHDVLE4u4nGvK72ag==:17 a]
X-AnalysisOut: [=94PlVXF_xlIA:10 a=ofMgfj31e3cA:10 a=sQVNTnci9XEA:10 a=BLc]
X-AnalysisOut: [eEmwcHowA:10 a=kj9zAlcOel0A:10 a=zQP7CpKOAAAA:8 a=XIqpo32R]
X-AnalysisOut: [AAAA:8 a=v_eIKD0wAAAA:8 a=w_pzkKWiAAAA:8 a=IcM1YT-TRlq8Cq5]
X-AnalysisOut: [ssAMA:9 a=CjuIK1q_8ugA:10 a=2TSDkfqdCjIA:10 a=66msUWWtX2wA]
X-AnalysisOut: [:10]
X-Spam: [F=0.2000000000; CM=0.500; S=0.200(2010122901)]
X-MAIL-FROM: <dk068x AT att DOT com>
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id s3NHuwGe032697

> -----Original Message-----
> Of Ken Brown
> Sent: Wednesday, April 23, 2014 8:46 AM
> Subject: Re: Fatal error from Cygwin emacs-w32 every day or so
> 
> On 4/23/2014 10:03 AM, KARR, DAVID wrote:
> >> -----Original Message-----
> >> Of KARR, DAVID
> >> Sent: Monday, April 21, 2014 7:21 PM
> >> Subject: RE: Fatal error from Cygwin emacs-w32 every day or so
> >>
> >> *** Security Advisory: This Message Originated Outside of AT&T ***.
> >> Reference http://cso.att.com/EmailSecurity/IDSP.html for more
> information.
> >>
> >>> -----Original Message-----
> >>> Of Ken Brown
> >>> Sent: Monday, April 21, 2014 11:34 AM
> >>> Subject: Re: Fatal error from Cygwin emacs-w32 every day or so
> >>>
> >>> On 4/21/2014 1:25 PM, KARR, DAVID wrote:
> >>>>> -----Original Message-----
> >>>>> Of Ken Brown
> >>>>> Sent: Monday, April 21, 2014 4:16 AM
> >>>>> Subject: Re: Fatal error from Cygwin emacs-w32 every day or so
> >>>>>
> >>>>> On 4/21/2014 1:14 AM, KARR, DAVID wrote:
> >>>>>>> -----Original Message-----
> >>>>>>> Of KARR, DAVID
> >>>>>>> Sent: Saturday, April 19, 2014 6:19 PM
> >>>>>>> Subject: RE: Fatal error from Cygwin emacs-w32 every day or so
> >>>>>>>
> >>>>>>>> -----Original Message-----
> >>>>>>>> Of Ken Brown
> >>>>>>>> Sent: Saturday, April 19, 2014 4:38 PM
> >>>>>>>> Subject: Re: Fatal error from Cygwin emacs-w32 every day or so
> >>>>>>>>
> >>>>>>>> On 4/15/2014 12:13 PM, Ken Brown wrote:
> >>>>>>>>> On 4/15/2014 12:12 AM, Eli Zaretskii wrote:
> >>>>>>>>>>> Date: Mon, 14 Apr 2014 21:08:15 -0700
> >>>>>>>>>>> From: Ken Brown
> >>>>>>>>>>>
> >>>>>>>>>>>> I just saw it die, and this is the bt I get:
> >>>>>>>>>>>>
> >>>>>>>>>>>> Program received signal SIGSEGV, Segmentation fault.
> >>>>>>>>>>>> 0x0000000100551354 in wait_reading_process_output (
> >>>>>>>>>>>>          time_limit=time_limit AT entry=0, nsecs=nsecs AT entry=0,
> >>>>>>>>>>>>          read_kbd=read_kbd AT entry=-1,
> >>>>> do_display=do_display AT entry=true,
> >>>>>>>>>>>>          wait_for_cell=wait_for_cell AT entry=4304630834,
> >>>>>>>>>>>>          wait_proc=wait_proc AT entry=0x0,
> >>>>>>>>>>>> just_wait_proc=just_wait_proc AT entry=0)
> >>>>>>>>>>>>         @/usr/src/debug/emacs-24.3-7/src/process.c:4677
> >>>>>>>>>>>> 4677                      if (wait_proc->gnutls_p /* Check
> for
> >>>>>>> valid
> >>>>>>>>>>>> process.  */
> >>>>>>>>>>>
> >>>>>>>>>>> This backtrace doesn't make sense.  If you look at the source
> >>> code,
> >>>>>>>>>>> you'll see that if wait_proc is NULL on entry to
> >>>>>>>>>>> wait_reading_process_output, then line 4677 is never reached.
> >>> I'm
> >>>>>>> not
> >>>>>>>>>>> sure what would cause a bogus backtrace like this.  BLODA?
> >>>>>>>>>>> Optimization?
> >>>>>>>>>>>
> >>>>>>>>>>> In any case, I suggest that you wait a week until I have a
> >> chance
> >>>>> to
> >>>>>>>>>>> build a pretest of 24.4 for you to try.  I'll build it without
> >>>>>>>>>>> optimization to make debugging easier.
> >>>>>>>>>>
> >>>>>>>>>> This is a known problem with GnuTLS support, it was solved in
> >> the
> >>>>>>>>>> Emacs repository last November (bzr revision 114956, if someone
> >>>>> wants
> >>>>>>>>>> the diffs), and surely should be solved in the upcoming Emacs
> >>> 24.4.
> >>>>>>>>>
> >>>>>>>>> Thanks, Eli!  In that case I'll make a new release of emacs-24.3
> >>> with
> >>>>>>>>> that patch applied, to see if it resolves the issue for the OP.
> >>>>>>>>
> >>>>>>>> I've rebuilt emacs-24.3 with the gnutls fix.  David and Achim
> (and
> >>>>>>>> anyone else who's been experiencing these crashes), please try
> the
> >>>>>>>> following binary and let me know if it solves the problem:
> >>>>>>>>
> >>>>>>>>        http://sanibeltranquility.com/cygwin/emacs-w32.exe.xz
> >>>>>>>>
> >>>>>>>> You might have to do "chmod +x emacs-w32.exe" after uncompressing
> >>> it.
> >>>>>>>>
> >>>>>>>> If it fixes the problem, I'll issue a new release of emacs-24.3.
> >> If
> >>>>>>>> not, I'll build a pretest of emacs-24.4 for you to try.
> >>>>>>>
> >>>>>>> Ok.  It's running.  As it only fails after random intervals, I'll
> >>> have
> >>>>> to
> >>>>>>> keep it running for a while.  I'll give it a day or so.
> >>>>>>
> >>>>>> I came back to my computer and saw two dialogs, one saying that my
> >> VPN
> >>>>> connection had died (that happens from time to time), and the other
> >> the
> >>>>> Emacs failure dialog.  I started this executable from gdb, but it's
> >>> saying
> >>>>> that it doesn't have symbols, so the stacktrace probably isn't
> >> helpful,
> >>>>> but this is what I saw:
> >>>>>
> >>>>> Right.  I just supplied a stripped binary for a quick test.  It's
> not
> >>>>> suitable for debugging.
> >>>>>
> >>>>>> I've started it again, but not in gdb this time.
> >>>>>
> >>>>> If it crashes again, I'll build a pretest of 24.4 without
> >> optimization
> >>>>> and issue it as a test release.
> >>>>
> >>>> It just failed again while sitting here in my office (no relation to
> >>> VPN/network issues).
> >>>
> >>> Could you try one more thing if you haven't already:  Start emacs with
> >>> the -Q option, in case there's something in your initialization files
> >>> that triggers the problem.
> >>
> >> I started both a regular instance and the "-Q" instance around noon
> today
> >> (7 hours ago).  The regular instance failed once since then, which I
> >> restarted.  The Q instance hasn't failed yet.  That's not a definite,
> but
> >> it's lasted longer so far.  Note that I haven't changed my .emacs in a
> >> very long time.
> >
> > The regular instance has failed several times in the last couple of
> days, whereas the "-Q" one still hasn't failed once.
> 
> OK, we've made progress.  The next step is to bisect your .emacs and
> find what it is that's triggering the failure.  You might have to also
> check your site-lisp directories (/usr/share/emacs/site-lisp and
> /usr/share/emacs/24.3/site-lisp) if you've done any customization in them.

(I really do dislike the spam filter on this list.  Failing because of "cygwin" at "cygwin.com" in the body is really annoying.)

Ok.  This is going to be a long process.  I know I haven't hacked in /usr/share, so that's safe.  

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