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: Sat, 03 Oct 2015 10:13:03 +0200 Message-ID: <87twq8gyk0.fsf@gnu.org> References: <877foo4nkd.fsf@gnu.org> <87wpvzs4r3.fsf@gnu.org> <87bnd9cf7g.fsf@gnu.org> <831te53zbq.fsf@gnu.org> <871te5cdg7.fsf@gnu.org> <83wpvx2h16.fsf@gnu.org> <87r3lziti9.fsf@gnu.org> <83zj0n7jtl.fsf@gnu.org> <87wpvjovfu.fsf@gnu.org> <877fnikhms.fsf@gmail.com> <87oaguq2yw.fsf@gnu.org> <8737xtt8wt.fsf@gnu.org> <834mi95bx1.fsf@gnu.org> <87twq9roxn.fsf@gnu.org> <83wpv53rjn.fsf@gnu.org> <87h9m9rmgk.fsf@gmx.de> <87wpv4qzm2.fsf@gnu.org> <87a8s0v1lp.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1443860063 9391 80.91.229.3 (3 Oct 2015 08:14:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 3 Oct 2015 08:14:23 +0000 (UTC) Cc: rpluim@gmail.com, 21313@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 03 10:14:11 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 1ZiHxK-0003Mj-Hn for geb-bug-gnu-emacs@m.gmane.org; Sat, 03 Oct 2015 10:14:10 +0200 Original-Received: from localhost ([::1]:37390 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZiHxJ-0005nm-Vk for geb-bug-gnu-emacs@m.gmane.org; Sat, 03 Oct 2015 04:14:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43301) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZiHxG-0005ng-7w for bug-gnu-emacs@gnu.org; Sat, 03 Oct 2015 04:14:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZiHxC-0000LE-Tk for bug-gnu-emacs@gnu.org; Sat, 03 Oct 2015 04:14:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:35529) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZiHxC-0000LA-QO for bug-gnu-emacs@gnu.org; Sat, 03 Oct 2015 04:14:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZiHxC-0001v5-Cv for bug-gnu-emacs@gnu.org; Sat, 03 Oct 2015 04:14: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: Sat, 03 Oct 2015 08:14: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.14438599907308 (code B ref 21313); Sat, 03 Oct 2015 08:14:02 +0000 Original-Received: (at 21313) by debbugs.gnu.org; 3 Oct 2015 08:13:10 +0000 Original-Received: from localhost ([127.0.0.1]:52733 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZiHwM-0001tn-1c for submit@debbugs.gnu.org; Sat, 03 Oct 2015 04:13:10 -0400 Original-Received: from out4-smtp.messagingengine.com ([66.111.4.28]:44844) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZiHwJ-0001tf-Go for 21313@debbugs.gnu.org; Sat, 03 Oct 2015 04:13:07 -0400 Original-Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 724072014A for <21313@debbugs.gnu.org>; Sat, 3 Oct 2015 04:13:07 -0400 (EDT) Original-Received: from frontend2 ([10.202.2.161]) by compute6.internal (MEProxy); Sat, 03 Oct 2015 04:13:07 -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=pPBIAKSpOi/pdu5hS9IA5Z2PYWY=; b=cyteV nTGSfQgydJW3THTz+HyAXeA0Dl5ATKYK1r35RcjxA9vsU6snqoUEKA6aSheY8Ilx 1y51BTZtbheAX871Vk/r93Gk7EiawH2UkHKn8CDJ+d4uasApRPJhwu1jrVV73ISa 8Vd5qa1M9yMOMTvfwF911LP5IbsFtum6QHMtgk= X-Sasl-enc: 8ctyczfBpgUwTN4Cx/gxvCDMzJYrhEy3mqVr/M7tUiw+ 1443859986 Original-Received: from thinkpad-t440p (unknown [2.160.114.254]) by mail.messagingengine.com (Postfix) with ESMTPA id 150F9680166; Sat, 3 Oct 2015 04:13:05 -0400 (EDT) In-Reply-To: <87a8s0v1lp.fsf@gmx.de> (Michael Albinus's message of "Sat, 03 Oct 2015 09:43:30 +0200") 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:107244 Archived-At: Michael Albinus writes: >>> From the backtrace I have the feeling that it was created as another >>> event, and the marker `dbus-event' has been pushed there later. But I >>> cannot prove this. >> >> I have the same feeling as Michael. xd_read_message_1 and >> inotify_callback / inotifyevent_to_event are the only functions creating >> dbus and file-notify events here, and they'd all barf if the data they >> read was screwed. >> >> And keep in mind that it's not only about these kinds events. Sometimes >> keyboard events also get screwed, e.g., in the case where view-lossage >> tells me that I've typed a key which I actually didn't. Or in the case >> where I get a crash where probably the event is handled on the C-level >> where a broken event causes a segfault instead of being gracefully put >> in the debugger. > > `unread-command-events' comes to mind. It is used to push events back > which have been read, but which shall be handled later. Maybe something > is broken in that mechanism. > > Commit 5022e27dac4c13651941e425dbec5b3a2cecdae4 has made heavy changes > here. I do not say that it has broken things, but it was pushed about 2 > weeks prior your bug report. Timing matters. Indeed, the timing would be perfect. I'll try that out. Bye, Tassilo