From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: allocate_string_data memory corruption Date: Tue, 24 Jan 2006 13:33:27 -0500 Message-ID: <87irs93288.fsf@stupidchicken.com> References: <87vewha2zl.fsf@stupidchicken.com> <87zmlq6w62.fsf-monnier+emacs@gnu.org> <874q3v6a65.fsf-monnier+emacs@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138128181 16817 80.91.229.2 (24 Jan 2006 18:43:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 24 Jan 2006 18:43:01 +0000 (UTC) Cc: emacs-devel@gnu.org, rms@gnu.org, Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 24 19:42:59 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 1F1T7e-0003Y0-4d for ged-emacs-devel@m.gmane.org; Tue, 24 Jan 2006 19:42:30 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F1TAL-0005Sh-Jr for ged-emacs-devel@m.gmane.org; Tue, 24 Jan 2006 13:45:17 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F1T1F-0003X5-P5 for emacs-devel@gnu.org; Tue, 24 Jan 2006 13:35:56 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F1T1A-0003Lv-6i for emacs-devel@gnu.org; Tue, 24 Jan 2006 13:35:49 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F1T0a-0001hg-3x for emacs-devel@gnu.org; Tue, 24 Jan 2006 13:35:12 -0500 Original-Received: from [18.19.6.82] (helo=localhost.localdomain) by monty-python.gnu.org with esmtp (Exim 4.34) id 1F1T5W-0005fS-FP; Tue, 24 Jan 2006 13:40:18 -0500 Original-Received: by localhost.localdomain (Postfix, from userid 1000) id 022F9120901; Tue, 24 Jan 2006 13:33:27 -0500 (EST) Original-To: storm@cua.dk (Kim F. Storm) In-Reply-To: (Kim F. Storm's message of "Tue, 24 Jan 2006 18:57:22 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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:49493 Archived-At: > "Richard M. Stallman" writes: > >> One possible solution would be to realize the mouse-highlighted version >> of each face when we realize the face itself. In effect, that means >> calling realize_face earlier, so that when lookup_face is called >> in the signal handler, it will find what it needs. > > All of this seems much trickier than just defining SYNC_INPUT by default. I'm beginning to think so too. Just by eyeballing, I can find several other places in handle_one_xevent that can end up calling Fcons or Fmake_vector: 5884: x_handle_dnd_message -> Fmake_vector 6069: record_asynch_buffer_change -> kbd_buffer_store_event -> kbd_buffer_store_event_hold -> Fcons 6865: kbd_buffer_store_event_hold -> Fcons 6882, 6888: gen_help_event -> kbd_buffer_store_event -> kbd_buffer_store_event_hold -> Fcons