From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.bugs Subject: bug#21313: 25.0.50; Strange errors from dbus-handle-event Date: Fri, 11 Sep 2015 15:06:48 +0200 Message-ID: <871te5cdg7.fsf@gnu.org> References: <877foo4nkd.fsf@gnu.org> <87wpvzs4r3.fsf@gnu.org> <87bnd9cf7g.fsf@gnu.org> <831te53zbq.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1441976860 8457 80.91.229.3 (11 Sep 2015 13:07:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 11 Sep 2015 13:07:40 +0000 (UTC) Cc: 21313@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 11 15:07:27 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 1ZaO2w-0000Qw-3m for geb-bug-gnu-emacs@m.gmane.org; Fri, 11 Sep 2015 15:07:18 +0200 Original-Received: from localhost ([::1]:56239 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZaO2v-0005X9-JK for geb-bug-gnu-emacs@m.gmane.org; Fri, 11 Sep 2015 09:07:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60629) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZaO2m-0005Wm-5L for bug-gnu-emacs@gnu.org; Fri, 11 Sep 2015 09:07:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZaO2h-0006XN-4K for bug-gnu-emacs@gnu.org; Fri, 11 Sep 2015 09:07:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:35843) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZaO2h-0006XA-13 for bug-gnu-emacs@gnu.org; Fri, 11 Sep 2015 09:07:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZaO2g-0007MZ-I5 for bug-gnu-emacs@gnu.org; Fri, 11 Sep 2015 09:07:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tassilo Horn Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 11 Sep 2015 13:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21313 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21313-submit@debbugs.gnu.org id=B21313.144197681428286 (code B ref 21313); Fri, 11 Sep 2015 13:07:02 +0000 Original-Received: (at 21313) by debbugs.gnu.org; 11 Sep 2015 13:06:54 +0000 Original-Received: from localhost ([127.0.0.1]:56286 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZaO2X-0007M9-Rn for submit@debbugs.gnu.org; Fri, 11 Sep 2015 09:06:54 -0400 Original-Received: from out4-smtp.messagingengine.com ([66.111.4.28]:40610) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZaO2V-0007Ly-Jf for 21313@debbugs.gnu.org; Fri, 11 Sep 2015 09:06:52 -0400 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 8C91B20A06 for <21313@debbugs.gnu.org>; Fri, 11 Sep 2015 09:06:51 -0400 (EDT) Original-Received: from frontend1 ([10.202.2.160]) by compute4.internal (MEProxy); Fri, 11 Sep 2015 09:06:51 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=VlQ/9WbGKkKwF9sgCR+xOaNxtbY=; b=dGuVq DPFhhH3nRFHM3N0aJDqIboaEHy+WwhIHkBwWcJUfW77wPB1cJvlKI5PdJK9BNc/B ZQf+vy3hg6IbWcfc5890MuTugL6HrWS7Gcvb911BT+ub3akZZfYhPHo0N99nFLGj Qp3TZU3TCT88N8ek49ULwv1V1hBrokwx46Mc7c= X-Sasl-enc: Cwr7tl8gn5jzueEE3VsDnWic6Dqh/a5onwo74aspyS72 1441976811 Original-Received: from thinkpad-t440p (unknown [2.161.110.122]) by mail.messagingengine.com (Postfix) with ESMTPA id E3B9FC00286; Fri, 11 Sep 2015 09:06:50 -0400 (EDT) In-Reply-To: <831te53zbq.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 11 Sep 2015 15:39:05 +0300") User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux) 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:106417 Archived-At: Eli Zaretskii writes: >> Just now, I had three other strange errors during killing in >> message-mode. The first two were about errors in >> `file-notify-handle-event' which was called with something wrong. >> With the first error, it received a buffer (!) instead of an event, >> with the second error I think it received something else which I >> can't remember. At least it hasn't been a file-notification event. > > I think this is the same problem as the one fixed in bug #21337, > except that the cause for the problem is different: where it was > GnuTLS in that bug, it's something else in yours. Yes, seems so. > So I suggest to read the description of the root cause posted by > Robert Pluim in http://debbugs.gnu.org/cgi/bugreport.cgi?bug=21337#31, > and then look for something very similar, but involving other sources > of input events, perhaps D-Bus. The symptoms you describe exactly > match what he explained there. The problem is that I have almost no idea what that code does and how it is intended to work, so I can't really debug it in a sensible way. And to make things worse, I think this issue also has some timing component in it. That is, it only happens when I press and hold C-k for at least one or two seconds which kills quite a lot of lines given that I use a very fast keyboard repeat rate. When I kill just the lines of a paragraph like this one, then take a short pause, then kill the next one, the issue is much less likely to appear. So emacs needs to be flooded with events in some sense. If you have some ideas where things could go wrong, I'm happy to do whatever may help. Maybe adding some debugging code or conditional breakpoints could narrow down the scope a bit? BTW, the last errors came from `file-notify-handle-event' but I'm reasonably sure that in this emacs session I only had used Gnus so far. I don't use auto-revert-mode, so actually filenotify.el should not even have been loaded so far and no watches should have existed. My current emacs session is the same: only Gnus => (featurep 'filenotify) ;=> nil. Does that give any clue? Bye, Tassilo