From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#21380: 25.0.50; GTK-induced segfault when scheduling timer from window-configuration-change-hook Date: Sun, 06 Sep 2015 18:22:27 -0400 Message-ID: References: <83mvx8252m.fsf@gnu.org> <83k2sc20k6.fsf@gnu.org> <83h9ng1ryx.fsf@gnu.org> <83a8t71qct.fsf@gnu.org> <83fv2ychbg.fsf@gnu.org> <838u8qcenv.fsf@gnu.org> <55E69F07.9060006@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1441578205 14595 80.91.229.3 (6 Sep 2015 22:23:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 6 Sep 2015 22:23:25 +0000 (UTC) Cc: 21380@debbugs.gnu.org To: Pip Cet Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 07 00:23:14 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 1ZYiL7-0005Dd-BZ for geb-bug-gnu-emacs@m.gmane.org; Mon, 07 Sep 2015 00:23:09 +0200 Original-Received: from localhost ([::1]:51012 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZYiL6-0005fx-Fp for geb-bug-gnu-emacs@m.gmane.org; Sun, 06 Sep 2015 18:23:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60692) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZYiL3-0005fc-Ei for bug-gnu-emacs@gnu.org; Sun, 06 Sep 2015 18:23:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZYiL0-0003xc-8o for bug-gnu-emacs@gnu.org; Sun, 06 Sep 2015 18:23:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:58768) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZYiL0-0003xY-4y for bug-gnu-emacs@gnu.org; Sun, 06 Sep 2015 18:23:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZYiKz-0001DL-TU for bug-gnu-emacs@gnu.org; Sun, 06 Sep 2015 18:23:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 06 Sep 2015 22:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21380 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21380-submit@debbugs.gnu.org id=B21380.14415781514628 (code B ref 21380); Sun, 06 Sep 2015 22:23:01 +0000 Original-Received: (at 21380) by debbugs.gnu.org; 6 Sep 2015 22:22:31 +0000 Original-Received: from localhost ([127.0.0.1]:50978 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZYiKU-0001CZ-O3 for submit@debbugs.gnu.org; Sun, 06 Sep 2015 18:22:31 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:14998) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZYiKS-0001CQ-C5 for 21380@debbugs.gnu.org; Sun, 06 Sep 2015 18:22:28 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0CYDQA731xV/xGkpUVcgxCEAsEVhH6CTQQCAoE8OxIBAQEBAQEBgQpBBYNdAQEDAVYjBQsLNAcLFBgNJIg3CM8jAQEBAQEFAQEBAR6LOoQtWAeELQEEi0STU5IUghSBRSNhgVqBWSKBNYFDAQEB X-IPAS-Result: A0CYDQA731xV/xGkpUVcgxCEAsEVhH6CTQQCAoE8OxIBAQEBAQEBgQpBBYNdAQEDAVYjBQsLNAcLFBgNJIg3CM8jAQEBAQEFAQEBAR6LOoQtWAeELQEEi0STU5IUghSBRSNhgVqBWSKBNYFDAQEB X-IronPort-AV: E=Sophos;i="5.13,465,1427774400"; d="scan'208";a="162693289" Original-Received: from 69-165-164-17.dsl.teksavvy.com (HELO fmsmemgm.homelinux.net) ([69.165.164.17]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 06 Sep 2015 18:22:28 -0400 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 8A2DAAE042; Sun, 6 Sep 2015 18:22:27 -0400 (EDT) In-Reply-To: (Pip Cet's message of "Sat, 5 Sep 2015 16:59:06 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) 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:106197 Archived-At: > I haven't tested this, but I think it would. I still think the underlying > problem here is not having a well-defined rule for when QUIT is allowed to > call Lisp code. Indeed. Tho see below. > (Eli correctly objected to my initial idea that the rule should be > "never", Hmm... "never" does sound enticing, tho clearly debug-on-quit challenges the idea. > but I still think it should be "much less often than we currently do". OTOH, as soon as it's not "never", then it tends to means "be prepared: this can run arbitrary Elisp code". So maybe the issue is not just "when" but also "what": we could limit the kind of Elisp code that's run by QUIT. This is a lot more difficult, tho. > that QUIT shouldn't call hooks, but should be able to call isolated > functions implemented in Lisp, such as those used for relative font sizing). And then someone wants to add an advice on those functions (e.g. debug-on-entry, trace-function, you name it), and suddenly your carefully coded function ends up doing all kinds of other things. Stefan