From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#21313: 25.0.50; Strange errors from dbus-handle-event Date: Fri, 02 Oct 2015 23:26:35 +0200 Message-ID: <87h9m9rmgk.fsf@gmx.de> 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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1443821473 317 80.91.229.3 (2 Oct 2015 21:31:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 2 Oct 2015 21:31:13 +0000 (UTC) Cc: rpluim@gmail.com, 21313@debbugs.gnu.org To: Tassilo Horn Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 02 23:31:00 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 1Zi7us-00085G-IT for geb-bug-gnu-emacs@m.gmane.org; Fri, 02 Oct 2015 23:30:58 +0200 Original-Received: from localhost ([::1]:35280 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zi7ur-0002Oc-V1 for geb-bug-gnu-emacs@m.gmane.org; Fri, 02 Oct 2015 17:30:57 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59626) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zi7r8-0008KM-Ke for bug-gnu-emacs@gnu.org; Fri, 02 Oct 2015 17:27:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zi7r4-0003gm-Di for bug-gnu-emacs@gnu.org; Fri, 02 Oct 2015 17:27:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:35315) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zi7r4-0003fP-31 for bug-gnu-emacs@gnu.org; Fri, 02 Oct 2015 17:27:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Zi7r3-0003c8-Pw for bug-gnu-emacs@gnu.org; Fri, 02 Oct 2015 17:27:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 02 Oct 2015 21:27:01 +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.144382120113864 (code B ref 21313); Fri, 02 Oct 2015 21:27:01 +0000 Original-Received: (at 21313) by debbugs.gnu.org; 2 Oct 2015 21:26:41 +0000 Original-Received: from localhost ([127.0.0.1]:52519 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zi7qi-0003bX-O0 for submit@debbugs.gnu.org; Fri, 02 Oct 2015 17:26:40 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:55150) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zi7qh-0003bP-0z for 21313@debbugs.gnu.org; Fri, 02 Oct 2015 17:26:39 -0400 Original-Received: from detlef.gmx.de ([87.146.40.216]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0Lt1yI-1aejmo30bC-012ZKQ; Fri, 02 Oct 2015 23:26:36 +0200 In-Reply-To: <83wpv53rjn.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 03 Oct 2015 00:10:36 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-Provags-ID: V03:K0:t5F+lfHfEi0PnbEy9PU1AyU4/odsUg0pvksXUauCiQrRk0072Fx WMcPMzbjQOMIUj+VKcys9MkStXGl3DikPYMEk9ayVjFLMT9qGXY9HTfl0tAjbj5OLRMGloc hlBVAzm9HCMc3wsL5J2Js3KYCsPCCcDMpoXtNhaTBASP3oWqx0szyCGyB+AWUYkWrBsZcDw pNiIJSLoQ9Okf3UogrETg== X-UI-Out-Filterresults: notjunk:1;V01:K0:p+hpa6aBpXc=:IhGT0d97f3xd1ejeOUXqc3 zMx+oUVpRfErp6CuongawLFEQ54LV/Le0YilqVtiu4whjJxcv54QorXmBu8KkZ2Oq4oEi+kwI bN/v5VL3hEG2Qr9UToY6muahUm86sQnqnc7KVDKxgVIep+1Xqf+sVI7JiVEMrFXdvwQmyX/aU nplTsW3ZNahlBjpsGMBTsNtI1uLWo1oNaRIFnSpscnPyvwxLfdd1hlH4TscNvEEdXW9xipQhu g/riA5vK4jjbTtanbFu6Ltyb/QC8/cx15fLdao5jAvbufFF21JzTkE4mOtFVoHwyyFHJiSvJK 4VnM2Jgkatb5wMCypeZ6ibrfBTgAnVBNL+mbxUrp65n344m14wCFzVLwOvQq9EHn0QtrcM7e1 jv4p65gImF/5+EUb00OGQq6CUCCYGvF6zHoVwWs2vs6RI0BXn6Vr9cqlCIdHsSnOdCD30dmDa wfDsrXiyEtjfre/cKxBX/m+pe56QXZKuE/ePrwgsrNAAbdgxJEWcfWSna352S/SHMBP1Pk9zt IsFejTUt3UJrTjUVnro5r3IC/iMqGIw1OJe6n+CPNZ9+gMXMRJ8G+GmlxH7ZBps0he5Bdkzkv 4qO3h7ezL6BHp749JaoMZmfpcNuj8H7IEGUg11bqkkzVa/Ij1sxMxsbGIzsiePytJG5Aia1uB sblWZ2Mnr5PRHOZAyc3FIQFbfZnwx5syrf39T6mCW8nmf/kdZdbPlNjvU/dNhYGzbQqjNmSCH 7xORKFI41XJVGtmnZKOVT0nuVb/C4kVyyEmUbMDs7UIqKYPPMPxoy9jJwhjKB9g8JCJ72S0E 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:107231 Archived-At: Eli Zaretskii writes: >> the thing passed to `dbus-handle-event' looks like a dbus event except >> that its contents are bogus. These events are created by >> xd_read_message_1 in dbusbind.c, however that function is reasonable >> strict and could not create the bogus event above, e.g., it calls >> make_number on the event type which becomes the second item in a >> dbus-event, i.e., the CHARACTER_POSITION above which is no number. >> >> So what should that tell us? > > Either that the event was not a valid D-Bus event, or that it weasn't > created by that function? >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. > Btw, dbusbind.c seems to have its own debugging facilities, so another > idea would be to turn them on. Yes. Compiling dbusbind.c with the setting MYCPPFLAGS=-DDBUS_DEBUG enables traces to emacs' STDOUT. Don't hesitate to ask if you need more information for interpretation of them. You can also add more traces in dbusbind.c using the macro XD_DEBUG_MESSAGE. Well ... starting next Monday, I'm offline for about a week. Best regards, Michael.