From monnier@iro.umontreal.ca Fri Mar 14 11:09:05 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=0.1 required=4.0 tests=AWL,FOURLA autolearn=no version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 14 Mar 2008 18:09:05 +0000 Received: from ironport2-out.pppoe.ca (ironport2-out.pppoe.ca [206.248.154.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m2EI8kir020545 for ; Fri, 14 Mar 2008 11:08:48 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEAN5b2kdMCrZs/2dsb2JhbACqNYEI X-IronPort-AV: E=Sophos;i="4.25,502,1199682000"; d="scan'208";a="16064875" Received: from smtp.pppoe.ca ([65.39.196.238]) by ironport2-out.pppoe.ca with ESMTP; 14 Mar 2008 14:08:17 -0400 Received: from pastel.home ([76.10.182.108]) by smtp.pppoe.ca (Internet Mail Server v1.0) with ESMTP id UVW91517 for ; Fri, 14 Mar 2008 14:08:17 -0400 Received: by pastel.home (Postfix, from userid 20848) id B13B48F43; Fri, 14 Mar 2008 14:08:17 -0400 (EDT) Resent-Message-ID: Resent-To: submit@debbugs.gnu.org Resent-From: Stefan Monnier Resent-Date: Fri, 14 Mar 2008 14:08:17 -0400 X-Original-To: monnier@iro.umontreal.ca Received: from perlin.iro.umontreal.ca (perlin.iro.umontreal.ca [132.204.24.51]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id BA2412CF728 for ; Wed, 12 Mar 2008 20:44:55 -0400 (EDT) Received: from mathmail.math.s.chiba-u.ac.jp (ntp.math.s.chiba-u.ac.jp [133.82.132.2]) by perlin.iro.umontreal.ca (Postfix) with ESMTP id 67C8D148219 for ; Wed, 12 Mar 2008 20:44:50 -0400 (EDT) Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id F15372C45; Thu, 13 Mar 2008 09:44:48 +0900 (JST) Date: Thu, 13 Mar 2008 09:44:48 +0900 Message-ID: From: YAMAMOTO Mitsuharu To: rms@gnu.org Cc: jan.h.d@swipnet.se, monnier@iro.umontreal.ca, emacs-devel@gnu.org Subject: Re: SYNC_INPUT and 23.1. In-Reply-To: References: <47CE52B1.3050600@swipnet.se> <47D63FEE.1040807@swipnet.se> User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/23.0.50 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) Organization: Faculty of Science, Chiba University MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-2.599, requis 5, autolearn=not spam, BAYES_00 -2.60) X-DIRO-MailScanner-From: mituharu@math.s.chiba-u.ac.jp >>>>> On Wed, 12 Mar 2008 13:51:35 -0400, Richard Stallman said: > Even with SYNC_INPUT, atimer functions (except poll_for_input) > may still call malloc in the signal handler context. So > emacs_blocked_malloc etc. were actually meaningful even in > SYNC_INPUT environments. > Why is that? Can it be eliminated? Here's the list of atimer functions (the third argument to start_atimer): xg_process_timeouts, poll_for_input, show_hourglass, create_process_1, x_process_timeouts Among them, show_hourglass, x_process_timeouts, and xg_process_timeouts will call async-signal unsafe functions. I think show_hourglass can be deferred until the next QUIT. But not sure about x_process_timeouts and xg_process_timeouts. YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp From monnier@iro.umontreal.ca Wed Apr 9 18:44:20 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=0.0 required=4.0 tests=none autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 55-done) by emacsbugs.donarmstrong.com; 10 Apr 2008 01:44:20 +0000 Received: from ironport2-out.teksavvy.com (ironport2-out.pppoe.ca [206.248.154.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m3A1iFRe025693 for <55-done@emacsbugs.donarmstrong.com>; Wed, 9 Apr 2008 18:44:16 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgoFACZq/EfO+KV8/2dsb2JhbACBXKsL X-IronPort-AV: E=Sophos;i="4.25,629,1199682000"; d="scan'208";a="18206714" Received: from smtp.pppoe.ca (HELO smtp.teksavvy.com) ([65.39.196.238]) by ironport2-out.teksavvy.com with ESMTP; 09 Apr 2008 10:07:34 -0400 Received: from pastel.home ([206.248.165.124]) by smtp.teksavvy.com (Internet Mail Server v1.0) with ESMTP id PSQ80334 for <55-done@emacsbugs.donarmstrong.com>; Wed, 09 Apr 2008 10:07:34 -0400 Received: by pastel.home (Postfix, from userid 20848) id A8A568C24; Wed, 9 Apr 2008 10:07:34 -0400 (EDT) Resent-Message-ID: Resent-To: 55-done@debbugs.gnu.org Resent-From: Stefan Monnier Resent-Date: Wed, 09 Apr 2008 10:07:34 -0400 X-Original-To: monnier@iro.umontreal.ca Received: from perlin.iro.umontreal.ca (perlin.iro.umontreal.ca [132.204.24.51]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 37E9C2CF776 for ; Wed, 9 Apr 2008 02:51:30 -0400 (EDT) Received: from av9-2-sn2.hy.skanova.net (av9-2-sn2.hy.skanova.net [81.228.8.180]) by perlin.iro.umontreal.ca (Postfix) with ESMTP id EE6C614821D for ; Wed, 9 Apr 2008 02:51:19 -0400 (EDT) Received: by av9-2-sn2.hy.skanova.net (Postfix, from userid 502) id 2D04338240; Wed, 9 Apr 2008 08:51:18 +0200 (CEST) Received: from smtp4-2-sn2.hy.skanova.net (smtp4-2-sn2.hy.skanova.net [81.228.8.93]) by av9-2-sn2.hy.skanova.net (Postfix) with ESMTP id DF454380F0; Wed, 9 Apr 2008 08:51:17 +0200 (CEST) Received: from husetbladh.homeip.net (90-231-102-24-no59.tbcn.telia.com [90.231.102.24]) by smtp4-2-sn2.hy.skanova.net (Postfix) with ESMTP id D829E37E44; Wed, 9 Apr 2008 08:51:15 +0200 (CEST) Message-ID: <47FC6729.3070002@swipnet.se> Date: Wed, 09 Apr 2008 08:50:17 +0200 From: =?ISO-8859-1?Q?Jan_Dj=E4rv?= User-Agent: Thunderbird 2.0.0.12 (X11/20080213) MIME-Version: 1.0 To: Stefan Monnier Cc: YAMAMOTO Mitsuharu , emacs-devel@gnu.org Subject: Re: SYNC_INPUT and 23.1. References: <47CE52B1.3050600@swipnet.se> <47D63FEE.1040807@swipnet.se> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-2.599, requis 5, autolearn=not spam, BAYES_00 -2.60) X-DIRO-MailScanner-From: jan.h.d@swipnet.se Stefan Monnier skrev: >>> Sinc there has been no objections, I enabled this by default. You >>> can pass --disable-sync-input to configure if there is problems. >>> But I guess we soon will start take advantage of sync input so the >>> disabled case will become obsolete. When we feel confident that >>> sync input works, I'll remove the non-sync-input code. > >> Even with SYNC_INPUT, atimer functions (except poll_for_input) >> may still call malloc in the signal handler context. > > That needs to be fixed, then. > I've changed atimers so they are not called in signal handler context. Jan D. From unknown Thu Aug 14 18:38:59 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: $requester Subject: Internal Control Message-Id: bug archived. Date: Thu, 08 May 2008 14:24:03 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A log time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator