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: Emacs 23.1.93 pretest Date: Tue, 02 Mar 2010 14:53:51 -0500 Message-ID: <87635ejy9c.fsf@stupidchicken.com> References: <87pr3rny7e.fsf@stupidchicken.com> <83fx4n122q.fsf@gnu.org> <833a0ndlo0.fsf@gnu.org> <83vddidh73.fsf@gnu.org> <83hbp2cxgx.fsf@gnu.org> <87aauugy1g.fsf@stupidchicken.com> <83eik6co9l.fsf@gnu.org> <87mxyuyvxy.fsf@stupidchicken.com> <87fx4l8mkf.fsf@stupidchicken.com> <831vg5cll1.fsf@gnu.org> <83pr3pb1iu.fsf@gnu.org> <834oky4mkt.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1267559659 23671 80.91.229.12 (2 Mar 2010 19:54:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 2 Mar 2010 19:54:19 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 02 20:54:14 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NmYAM-00035U-1R for ged-emacs-devel@m.gmane.org; Tue, 02 Mar 2010 20:54:02 +0100 Original-Received: from localhost ([127.0.0.1]:41256 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NmYAL-00044i-Hc for ged-emacs-devel@m.gmane.org; Tue, 02 Mar 2010 14:54:01 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NmYAD-000430-KK for emacs-devel@gnu.org; Tue, 02 Mar 2010 14:53:53 -0500 Original-Received: from [140.186.70.92] (port=42049 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NmYAC-00042Q-Oe for emacs-devel@gnu.org; Tue, 02 Mar 2010 14:53:53 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NmYAB-0008FZ-MK for emacs-devel@gnu.org; Tue, 02 Mar 2010 14:53:52 -0500 Original-Received: from pantheon-po35.its.yale.edu ([130.132.50.83]:45647) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NmYAB-0008FN-JQ; Tue, 02 Mar 2010 14:53:51 -0500 Original-Received: from furry (dhcp128036014112.central.yale.edu [128.36.14.112]) (authenticated bits=0) by pantheon-po35.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o22Jrpdk031158 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 2 Mar 2010 14:53:51 -0500 Original-Received: by furry (Postfix, from userid 1000) id 1718BC05D; Tue, 2 Mar 2010 14:53:51 -0500 (EST) In-Reply-To: <834oky4mkt.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 02 Mar 2010 20:15:14 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.93 (gnu/linux) X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 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:121572 Archived-At: Eli Zaretskii writes: > Actually, it turns out it's not ``reshuffling the heap'' that triggers > the bug, but rather the fact that when we call xmalloc, Emacs might > relocate buffer text. > > IOW, I found the reason for the bug. One of the callers of > load_charset_map_from_file maintains pointers into buffer text, so > when that gets relocated, ... you get the idea. Could you point out where this happens?