delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/06/18/13:47:22

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:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=ee75mP+pVwaaZiPuVRm6lQTKZmsyFEdG1zMVDBI0kN3
PbiRbipD9Gjby8VsPW+uULLe47ZDcfCvVfYWobQIq4IfT1XrbbJEdMys96LQXm4o
FLPDgsQaYTNhjH4buIvCTsTyT2AGbwGpkpPM9cz09cOHRrz9uBAbje8eH5hxpObg
=
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:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=RaFh28FpjLbgDKBhHmhPxjLvwuE=; b=CSMJaBk67vUvPepUx
pCw8Ol1AzLLOi4RV6Bdl4EkK7H44iYa8YYrwovIprZCRg6F9tsgcNEX/X/BooSm2
gBJ0sWQcavoO25KD4gvWx4JF5QSaCEbnZEisjG5RCfTGgzJucqQtk+92Z6D2z42z
R2h9nkRb3lo4G59+YNRKRTjiUg=
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.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD,URIBL_BLACK autolearn=no version=3.3.2
X-HELO: limerock04.mail.cornell.edu
X-CornellRouted: This message has been Routed already.
Message-ID: <53A1D076.8090109@cornell.edu>
Date: Wed, 18 Jun 2014 13:46:30 -0400
From: Ken Brown <kbrown AT cornell DOT edu>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: bzr emacs(24.4.50.1) crashes when using auto-revert-tail-mode
References: <86mwda6yv6 DOT fsf AT w2139spb DOT ru DOT yotateam DOT com>
In-Reply-To: <86mwda6yv6.fsf@w2139spb.ru.yotateam.com>
X-IsSubscribed: yes

On 6/18/2014 11:06 AM, Filipp Gunbin wrote:
> I'm not sure whether this is Cygwin-specific, but I'm not able to test
> it on other OS, so here are the steps to reproduce:
>
> emacs -Q
> C-x C-r <some_file>

You mean C-x C-f

> M-x auto-revert-tail-mode
> wait for few seconds -> emacs crashes

I can confirm this, but on 32-bit Cygwin only; there's no crash on 
64-bit Cygwin.  (This is a refreshing change from the emacs crashes 
people have been reporting on 64-bit Cygwin.)

Here's the backtrace:

#0  0x00000000 in ?? ()
No symbol table info available.
#1  0x610f842f in pthread_mutex::lock (this=0x0)
     at /usr/src/debug/cygwin-1.7.30-1/winsup/cygwin/thread.cc:1745
         self = <optimized out>
         result = <optimized out>
         __PRETTY_FUNCTION__ = "int pthread_mutex::lock()"
#2  0x00000201 in ?? ()
No symbol table info available.

Lisp Backtrace:
"gfile-add-watch" (0x288dc8)
"file-notify-add-watch" (0x2890c8)
"byte-code" (0x289340)
"auto-revert-notify-add-watch" (0x289778)
"auto-revert-buffers" (0x289b4c)
"apply" (0x289b48)
"byte-code" (0x289dc0)
"timer-event-handler" (0x28a1fc)

I'll look into this.  In the meantime, you can work around it by 
configuring --with-file-notification=no.

Ken

P.S. Since you're building your own emacs from the bzr sources, it would 
be more useful for you to test the emacs-24 branch rather than the 
trunk; that's where bug fixes for emacs-24.4 are being made.


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