From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#21337: 25.0.50; inotify error message Date: Mon, 24 Aug 2015 20:18:05 +0300 Message-ID: <836144hagi.fsf@gnu.org> References: <87k2skyjf2.fsf@gmail.com> <83d1ychefg.fsf@gnu.org> <87oahw8xmv.fsf@gmail.com> <83a8tghcgr.fsf@gnu.org> <87twrobpet.fsf@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1440436775 14610 80.91.229.3 (24 Aug 2015 17:19:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 24 Aug 2015 17:19:35 +0000 (UTC) Cc: 21337@debbugs.gnu.org To: Robert Pluim Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Aug 24 19:19:26 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZTvP3-000408-Bp for geb-bug-gnu-emacs@m.gmane.org; Mon, 24 Aug 2015 19:19:25 +0200 Original-Received: from localhost ([::1]:55719 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZTvP2-0002Hu-QS for geb-bug-gnu-emacs@m.gmane.org; Mon, 24 Aug 2015 13:19:24 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36575) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZTvOj-0001xt-KA for bug-gnu-emacs@gnu.org; Mon, 24 Aug 2015 13:19:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZTvOg-00037U-DD for bug-gnu-emacs@gnu.org; Mon, 24 Aug 2015 13:19:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:44952) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZTvOg-00037O-Ax for bug-gnu-emacs@gnu.org; Mon, 24 Aug 2015 13:19:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZTvOf-00052F-W4 for bug-gnu-emacs@gnu.org; Mon, 24 Aug 2015 13:19:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 24 Aug 2015 17:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21337 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21337-submit@debbugs.gnu.org id=B21337.144043670119302 (code B ref 21337); Mon, 24 Aug 2015 17:19:01 +0000 Original-Received: (at 21337) by debbugs.gnu.org; 24 Aug 2015 17:18:21 +0000 Original-Received: from localhost ([127.0.0.1]:37162 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZTvO1-00051F-47 for submit@debbugs.gnu.org; Mon, 24 Aug 2015 13:18:21 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:46167) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZTvNy-000516-Qk for 21337@debbugs.gnu.org; Mon, 24 Aug 2015 13:18:19 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NTL00M00JZNM300@a-mtaout20.012.net.il> for 21337@debbugs.gnu.org; Mon, 24 Aug 2015 20:18:17 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NTL00MQ7K2GIX20@a-mtaout20.012.net.il>; Mon, 24 Aug 2015 20:18:17 +0300 (IDT) In-reply-to: <87twrobpet.fsf@gmail.com> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:105777 Archived-At: > From: Robert Pluim > Cc: 21337@debbugs.gnu.org > Date: Mon, 24 Aug 2015 18:51:38 +0200 > > Eli Zaretskii writes: > > >> '(dired-auto-revert-buffer (quote dired-directory-changed-p)) > >> '(global-auto-revert-mode t) > >> '(global-auto-revert-non-file-buffers t) > >> > >> although disabling those 3 makes no difference to the behaviour. > > > > Then I guess the next step is to set debug-on-error non-nil and show > > the backtrace, so that we see what Lisp code errors out. > > > > I hadn't considered that, however it's not very enlightening: > > Debugger entered--Lisp error: (file-notify-error "Error while trying to read file system events") > > That error is coming from the inotify_callback function. From gdb the > c-backtrace is: > > #0 inotify_callback (fd=16, _=) at inotify.c:139 > #1 0x000000000059e3a0 in wait_reading_process_output (time_limit=, nsecs=, read_kbd=-1, > do_display=true, wait_for_cell=0, wait_proc=0x0, just_wait_proc=0) at process.c:5085 > #2 0x0000000000422672 in sit_for (timeout=30, reading=112, display_option=0) at dispnew.c:5756 > #3 0x00000000004fa6dd in read_char (commandflag=0, commandflag@entry=1, map=13674864, map@entry=99582755, prev_event=-11, > used_mouse_menu=0xfffffffffffffea8, used_mouse_menu@entry=0x7fffffffd7db, end_time=0xd0a990, end_time@entry=0x0) > at keyboard.c:2786 > #4 0x00000000004fb469 in read_key_sequence (keybuf=keybuf@entry=0x7fffffffd8b0, prompt=prompt@entry=0, > dont_downcase_last=dont_downcase_last@entry=false, can_return_switch_frame=can_return_switch_frame@entry=true, > fix_current_buffer=fix_current_buffer@entry=true, prevent_redisplay=prevent_redisplay@entry=false, bufsize=30) at keyboard.c:9188 > #5 0x00000000004fd171 in command_loop_1 () at keyboard.c:1406 > #6 0x000000000055fbd7 in internal_condition_case (bfun=bfun@entry=0x4fcf30 , handlers=handlers@entry=18912, > hfun=hfun@entry=0x4f3a30 ) at eval.c:1356 > #7 0x00000000004ef00c in command_loop_2 (ignore=ignore@entry=0) at keyboard.c:1138 > #8 0x000000000055fab3 in internal_catch (tag=tag@entry=45168, func=func@entry=0x4eeff0 , arg=arg@entry=0) > at eval.c:1116 > #9 0x00000000004eefc9 in command_loop () at keyboard.c:1117 > #10 0x00000000004f363b in recursive_edit_1 () at keyboard.c:723 > #11 0x00000000004f3960 in Frecursive_edit () at keyboard.c:794 > #12 0x00000000004187d6 in main (argc=1, argv=0x7fffffffdc38) at emacs.c:1629 Strange. Does auto-revert-mode work in "emacs -Q"? Do the related tests in the test suite pass? Can you use strace to see what error is that and what directory is being watched?