From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: allocate_string_data memory corruption Date: Thu, 19 Jan 2006 22:46:03 -0500 Message-ID: References: <87vewha2zl.fsf@stupidchicken.com> <87wtgxdr9p.fsf@stupidchicken.com> <873bjkha3d.fsf@pacem.orebokech.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1137728789 20665 80.91.229.2 (20 Jan 2006 03:46:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 20 Jan 2006 03:46:29 +0000 (UTC) Cc: Chong Yidong , Romain Francoise , Ken Raeburn , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 20 04:46:28 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EznEI-0006AT-SZ for ged-emacs-devel@m.gmane.org; Fri, 20 Jan 2006 04:46:27 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EznGl-0003Aw-NC for ged-emacs-devel@m.gmane.org; Thu, 19 Jan 2006 22:48:59 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EznGa-0003Ar-Lr for emacs-devel@gnu.org; Thu, 19 Jan 2006 22:48:48 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EznGX-0003Af-BF for emacs-devel@gnu.org; Thu, 19 Jan 2006 22:48:48 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EznGX-0003Ac-80 for emacs-devel@gnu.org; Thu, 19 Jan 2006 22:48:45 -0500 Original-Received: from [206.47.199.165] (helo=simmts7-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EznKg-00051d-30 for emacs-devel@gnu.org; Thu, 19 Jan 2006 22:53:02 -0500 Original-Received: from empanada.home ([67.71.26.73]) by simmts7-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20060120034606.RRMY16677.simmts7-srv.bellnexxia.net@empanada.home>; Thu, 19 Jan 2006 22:46:06 -0500 Original-Received: by empanada.home (Postfix, from userid 502) id 51205712234; Thu, 19 Jan 2006 22:46:05 -0500 (EST) Original-To: storm@cua.dk (Kim F. Storm) In-Reply-To: (Kim F. Storm's message of "Thu, 19 Jan 2006 23:48:43 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:49296 Archived-At: >> I still believe in the race-condition-with-signal-handler, because I'm >> absolutely sure there are bugs left in that area (which is why I came up >> with the SYNC_INPUT patch in the first place). > Please remind me why we don't use SYNC_INPUT by default (except on the mac)? Probably first and foremost because I never bothered too hard to try and get the default to be changed. Second, because it supposedly may delay the processing of C-g since we then processs signals with a "polling" model (if we get stuck in a loop with no QUIT and no BLOCK_INPUT we won't ever process the C-g. It seems to be that even without SYNC_INPUT, under X11, a C-g is not process until we reach a QUIT, so the difference is not clear to me). > Because it is *bug fun* to debug memory corruption? ;-/ No: because it's even more fun to debug *asynchronous* memory corruption ;-) Stefan