From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Jan_Dj=E4rv?= Newsgroups: gmane.emacs.devel Subject: Re: bug#7517: 24.0.50; repeated crash under Mac OS X Date: Fri, 31 Dec 2010 14:10:45 +0100 Message-ID: <4D1DD655.1040809@swipnet.se> References: <87tyic1uzh.fsf@stupidchicken.com> <87vd2dyzfj.fsf@stupidchicken.com> <4D1B22A1.6080202@swipnet.se> <4D1B27AF.7010701@swipnet.se> <4D1C6E7D.2040300@swipnet.se> <4D1D0172.8080404@swipnet.se> <4D1DB555.5080002@swipnet.se> <4D1DBD4A.6010303@swipnet.se> <83d3oiaysj.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1293801062 24609 80.91.229.12 (31 Dec 2010 13:11:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 31 Dec 2010 13:11:02 +0000 (UTC) Cc: cyd@stupidchicken.com, 7517@debbugs.gnu.org, emacs-devel@gnu.org, user.emacs@gmail.com, monnier@iro.umontreal.ca To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 31 14:10:57 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 1PYekz-0006ph-8k for ged-emacs-devel@m.gmane.org; Fri, 31 Dec 2010 14:10:57 +0100 Original-Received: from localhost ([127.0.0.1]:46643 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PYeky-0006KU-Ly for ged-emacs-devel@m.gmane.org; Fri, 31 Dec 2010 08:10:56 -0500 Original-Received: from [140.186.70.92] (port=57088 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PYekt-0006KG-Sq for emacs-devel@gnu.org; Fri, 31 Dec 2010 08:10:52 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PYeks-0004Op-Gt for emacs-devel@gnu.org; Fri, 31 Dec 2010 08:10:51 -0500 Original-Received: from smtprelay-b12.telenor.se ([62.127.194.21]:42473) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PYekr-0004Mr-2f; Fri, 31 Dec 2010 08:10:49 -0500 Original-Received: from ipb4.telenor.se (ipb4.telenor.se [195.54.127.167]) by smtprelay-b12.telenor.se (Postfix) with ESMTP id 9C1C3E8D50; Fri, 31 Dec 2010 14:10:47 +0100 (CET) X-SENDER-IP: [85.225.45.100] X-LISTENER: [smtp.bredband.net] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmIxAG9lHU1V4S1kPGdsb2JhbACIPZt/DAEBAQE1L78qhUoEjiE X-IronPort-AV: E=Sophos;i="4.60,254,1291590000"; d="scan'208";a="1703187867" Original-Received: from c-642de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.100]) by ipb4.telenor.se with ESMTP; 31 Dec 2010 14:10:47 +0100 Original-Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id 6BF997FA05A; Fri, 31 Dec 2010 14:10:46 +0100 (CET) User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.2.13) Gecko/20101129 Thunderbird/3.1.7 In-Reply-To: <83d3oiaysj.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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:134079 Archived-At: Eli Zaretskii skrev 2010-12-31 13.53: >> Date: Fri, 31 Dec 2010 12:23:54 +0100 >> From: Jan Dj=E4rv >> Cc: 7517@debbugs.gnu.org, Chong Yidong, >> Stefan Monnier, emacs-devel@gnu.org >> >> On further thought, it isn't a filename, that would start with / (assu= ming >> buffer filenames are always absolute). In that case, the question is = how a >> buffer name can be a unibyte string? > > Some bad interaction between VM and Emacs? That may be, but I was under the impression that Emacs internally should = use=20 unicode, so why is it even allowed to set such a buffer name? Shouldn't = Emacs=20 internals complain when given such strings, or convert them (if charset i= nfo=20 is available)? This will break for X also, as the title setting code assumes ENCODE_UTF_= 8=20 will do the trick, and then sets an UTF8_STRING as title. There has been= some=20 VM-related bugs reported for Gtk+ also. This may be the source of a memo= ry=20 corruption. Is setting buffer name with a non-ascii unibyte string considered as a bu= g?=20 Then this is a VM bug, but perhaps the title setting code should detect t= his also. Jan D.