bzr emacs(24.4.50.1) crashes when using auto-revert-tail-mode

Ken Brown kbrown@cornell.edu
Wed Jun 18 17:47:00 GMT 2014


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



More information about the Cygwin mailing list