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#21313: 25.0.50; Strange errors from dbus-handle-event Date: Sat, 03 Oct 2015 12:53:18 +0300 Message-ID: <83k2r446sx.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> <877fn4ihrb.fsf@gnu.org> <83twq84e5r.fsf@gnu.org> <87y4fkgynh.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1443866062 27353 80.91.229.3 (3 Oct 2015 09:54:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 3 Oct 2015 09:54:22 +0000 (UTC) Cc: rpluim@gmail.com, michael.albinus@gmx.de, 21313@debbugs.gnu.org To: Tassilo Horn Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 03 11:54: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 1ZiJW5-0001cB-ML for geb-bug-gnu-emacs@m.gmane.org; Sat, 03 Oct 2015 11:54:09 +0200 Original-Received: from localhost ([::1]:37634 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZiJW5-0002ty-6f for geb-bug-gnu-emacs@m.gmane.org; Sat, 03 Oct 2015 05:54:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59799) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZiJW1-0002tq-NH for bug-gnu-emacs@gnu.org; Sat, 03 Oct 2015 05:54:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZiJVy-0001pU-FW for bug-gnu-emacs@gnu.org; Sat, 03 Oct 2015 05:54:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:35580) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZiJVy-0001pQ-CW for bug-gnu-emacs@gnu.org; Sat, 03 Oct 2015 05:54:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZiJVy-0004F2-5X for bug-gnu-emacs@gnu.org; Sat, 03 Oct 2015 05:54: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: Sat, 03 Oct 2015 09:54: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.144386600916266 (code B ref 21313); Sat, 03 Oct 2015 09:54:02 +0000 Original-Received: (at 21313) by debbugs.gnu.org; 3 Oct 2015 09:53:29 +0000 Original-Received: from localhost ([127.0.0.1]:52784 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZiJVQ-0004EI-Tx for submit@debbugs.gnu.org; Sat, 03 Oct 2015 05:53:29 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:63498) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZiJVO-0004E8-FV for 21313@debbugs.gnu.org; Sat, 03 Oct 2015 05:53:27 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NVN00I001N6EW00@a-mtaout20.012.net.il> for 21313@debbugs.gnu.org; Sat, 03 Oct 2015 12:53:24 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NVN00I712502290@a-mtaout20.012.net.il>; Sat, 03 Oct 2015 12:53:24 +0300 (IDT) In-reply-to: <87y4fkgynh.fsf@gnu.org> 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:107248 Archived-At: > From: Tassilo Horn > Cc: michael.albinus@gmx.de, rpluim@gmail.com, 21313@debbugs.gnu.org > Date: Sat, 03 Oct 2015 10:10:58 +0200 > > In toplevel form: > notifications.el:37:1:Error: Wrong type argument: number-or-marker-p, [(dbus-event :system 2 2 "org.freedesktop.DBus" nil nil nil dbus-call-method-handler) nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil] > Makefile:269: recipe for target 'notifications.elc' failed > make[2]: *** [notifications.elc] Error 1 You need to run this under GDB to see what's going on. > I guess that naive approach won't work because make_lispy_event is not > free of side-effects. It actually modifies the event so calling it > twice per event has negative consequences. Indeed, you probably should construct the Lisp object from the event by hand. Especially since we suspect some events might be invalid. > Well, I now try following Michaels suggesting of reverting this one > commit about `unread-command-events'. That's okay, but only as a means of switching your attention to the alternative source of those bogus events (like unread-command-events). The commit mentioned by Michael is not going to go away, as it fixes a bad problem. However, it might need some adjustments to prevent adverse side effects, if indeed reverting it will solve these problems.