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: Thu, 15 Oct 2015 22:44:45 +0300 Message-ID: <837fmn9as2.fsf@gnu.org> References: <877foo4nkd.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> <87twq8gyk0.fsf@gnu.org> <87lhbk47hb.fsf@gnu.org> <83d1ww4416.fsf@gnu.org> <878u75rctw.fsf@gnu.org> <836129xtx8.fsf@gnu.org> <876129gs2a.fsf@gnu.org> <83twptw81l.fsf@gnu.org> <87eggwuzvi.fsf@gnu.org> <83d1wg8403.fsf@gnu.org> <87twps9grg.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1444938489 27899 80.91.229.3 (15 Oct 2015 19:48:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 15 Oct 2015 19:48:09 +0000 (UTC) Cc: 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 Thu Oct 15 21:47:57 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 1ZmoVB-0007AL-8O for geb-bug-gnu-emacs@m.gmane.org; Thu, 15 Oct 2015 21:47:49 +0200 Original-Received: from localhost ([::1]:49379 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmoVA-0002Q0-A8 for geb-bug-gnu-emacs@m.gmane.org; Thu, 15 Oct 2015 15:47:48 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45308) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmoUT-0002EI-H9 for bug-gnu-emacs@gnu.org; Thu, 15 Oct 2015 15:47:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZmoUQ-0007rs-AJ for bug-gnu-emacs@gnu.org; Thu, 15 Oct 2015 15:47:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:33688) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmoUQ-0007rk-7N for bug-gnu-emacs@gnu.org; Thu, 15 Oct 2015 15:47:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZmoUQ-0008N7-1S for bug-gnu-emacs@gnu.org; Thu, 15 Oct 2015 15:47: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: Thu, 15 Oct 2015 19:47: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.144493836332104 (code B ref 21313); Thu, 15 Oct 2015 19:47:01 +0000 Original-Received: (at 21313) by debbugs.gnu.org; 15 Oct 2015 19:46:03 +0000 Original-Received: from localhost ([127.0.0.1]:52629 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZmoTS-0008Lk-O1 for submit@debbugs.gnu.org; Thu, 15 Oct 2015 15:46:02 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:40012) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZmoTQ-0008LE-1d for 21313@debbugs.gnu.org; Thu, 15 Oct 2015 15:46:01 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NWA00L001CV0500@a-mtaout20.012.net.il> for 21313@debbugs.gnu.org; Thu, 15 Oct 2015 22:44:45 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NWA00KY91IKTB70@a-mtaout20.012.net.il>; Thu, 15 Oct 2015 22:44:45 +0300 (IDT) In-reply-to: <87twps9grg.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:107656 Archived-At: > From: Tassilo Horn > Cc: michael.albinus@gmx.de, 21313@debbugs.gnu.org > Date: Thu, 15 Oct 2015 19:35:31 +0200 > > > Or it could be that some code that runs as result of this throws to > > higher level and resets the quit flag. > > But how could a GC (or maybe just some small slowdown induced by > printing) reset the quit flag? It can't, and that's not what I meant. I think I found the problem: the call to Fformat eventually calls print_object, which calls QUIT, which resets quit-flag. So you need to change the beginning of read_char like this: ptrdiff_t count = SPECPDL_INDEX (); specbind (Qinhibit_quit, Qt); AUTO_STRING (format, "%S"); printf ("record_char: %s\n", SSDATA (CALLN (Fformat, format, c))); unbind_to (count, Qnil);