From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: My tex file became chaos code without any sake when I reopen it. Date: Wed, 13 Dec 2006 10:00:40 +0900 Message-ID: References: <20061210135952.GA6086@localdomain> NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1165971588 29645 80.91.229.10 (13 Dec 2006 00:59:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 13 Dec 2006 00:59:48 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 13 01:59:47 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1GuITG-0007yc-11 for ged-emacs-devel@m.gmane.org; Wed, 13 Dec 2006 01:59:42 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GuITF-00060Q-4F for ged-emacs-devel@m.gmane.org; Tue, 12 Dec 2006 19:59:41 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GuIT3-00060C-Lx for emacs-devel@gnu.org; Tue, 12 Dec 2006 19:59:29 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GuIT1-0005yq-4x for emacs-devel@gnu.org; Tue, 12 Dec 2006 19:59:28 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GuIT1-0005yd-0k for emacs-devel@gnu.org; Tue, 12 Dec 2006 19:59:27 -0500 Original-Received: from [150.29.246.133] (helo=mx1.aist.go.jp) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GuIT0-000111-Oa for emacs-devel@gnu.org; Tue, 12 Dec 2006 19:59:27 -0500 Original-Received: from rqsmtp1.aist.go.jp (rqsmtp1.aist.go.jp [150.29.254.115]) by mx1.aist.go.jp with ESMTP id kBD0xIq2019209; Wed, 13 Dec 2006 09:59:19 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp3.aist.go.jp by rqsmtp1.aist.go.jp with ESMTP id kBD0xIuX017607; Wed, 13 Dec 2006 09:59:18 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp3.aist.go.jp with ESMTP id kBD0xFY9018400; Wed, 13 Dec 2006 09:59:15 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken.m17n.org with local (Exim 4.63) (envelope-from ) id 1GuIUC-0002P8-Rh; Wed, 13 Dec 2006 10:00:40 +0900 Original-To: Piet van Oostrum In-reply-to: (message from Piet van Oostrum on Mon, 11 Dec 2006 21:06:57 +0100) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.91 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI) 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:63660 Archived-At: In article , Piet van Oostrum writes: >>>>>> Hongyi Zhao (HZ) wrote: > >HZ> Dear Kenichi and others, > >HZ> I encountered a strange thing, the attached is my tex file which I reopen it > >HZ> when I restart my PC, but I find it becomes chaos codes, whose default > >HZ> encoding scheme is GB18030. I've used all the methods to revert it but all > >HZ> these methods like water off a duck's back. > >HZ> Sigh. It this a bug of Emacs, or anything I don't know? Who can tell me? > It typically looks like some file corruptions that I have met occasionally. > It happened to me when I run out of diskspace. Then there isn't enough > swapspace available and virtual memory allocation may fail. I think that > Emacs doesn't check properly if a malloc fails and then corrupts its memory > when a malloc fails. I have no idea if that might be the cause of your > memory corruption, but I have had several times (let's say once a month) > file corruptions. Did you see that file corruptions only with emacs-unicode-2 branch? Or does it happen with HEAD too? --- Kenichi Handa handa@m17n.org